/* Application Form Styles */

.apply-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
  padding: 6rem 1rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Progress Bar */
.progress-container {
  width: 100%;
  max-width: 700px;
  margin-bottom: 3rem;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #CC5500, #ff6600);
  transition: width 0.4s ease;
  width: 3%;
}

.progress-text {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Form Wrapper */
.form-wrapper {
  background: white;
  padding: 3rem;
  max-width: 700px;
  width: 100%;
  border-radius: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Question Container */
#question-container {
  min-height: 280px;
  animation: fadeInSlide 0.5s ease-out;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.question {
  display: none;
}

.question.active {
  display: block;
  animation: fadeInSlide 0.5s ease-out;
}

.question-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #000;
  line-height: 1.3;
}

.question-hint {
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.question-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(0, 0, 0, 0.15);
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  background: white;
  margin-bottom: 1rem;
}

.question-input:focus {
  outline: none;
  border-color: #CC5500;
  box-shadow: 0 0 0 3px rgba(204, 85, 0, 0.1);
}

.question-input::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

.question-textarea {
  min-height: 120px;
  resize: vertical;
}

.question-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23CC5500' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

/* Radio/Checkbox Options */
.option-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.option-label {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}

.option-label:hover {
  border-color: #CC5500;
  background: rgba(204, 85, 0, 0.02);
}

.option-label input[type="radio"],
.option-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 1rem;
  cursor: pointer;
  accent-color: #CC5500;
}

.option-label input:checked + span {
  color: #CC5500;
  font-weight: 500;
}

/* File Upload */
.file-upload-container {
  border: 2px dashed rgba(0, 0, 0, 0.2);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.02);
  cursor: pointer;
}

.file-upload-container:hover {
  border-color: #CC5500;
  background: rgba(204, 85, 0, 0.05);
}

.file-upload-container input[type="file"] {
  display: none;
}

.file-upload-label {
  cursor: pointer;
  display: block;
}

.file-upload-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: #CC5500;
}

.file-name {
  margin-top: 1rem;
  color: #CC5500;
  font-weight: 500;
}

/* Form Navigation */
.form-nav {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.form-nav .btn {
  flex: 1;
  justify-content: center;
  display: flex;
  align-items: center;
}

#prev-btn {
  max-width: 200px;
}

/* Error State */
.error {
  border-color: #dc3545 !important;
}

.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: none;
}

.error-message.show {
  display: block;
}

/* Success Screen */
.success-screen {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.success-screen.active {
  display: block;
  animation: fadeIn 0.6s ease-out;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  color: #4CAF50;
}

.success-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.success-message {
  font-size: 1.125rem;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .form-wrapper {
    padding: 2rem 1.5rem;
  }
  
  .question-label {
    font-size: 1.5rem;
  }
  
  .apply-container {
    padding: 5rem 1rem 2rem;
  }
}

@media (max-width: 480px) {
  .form-nav {
    flex-direction: column-reverse;
  }
  
  #prev-btn {
    max-width: 100%;
  }
}

