/* ========================================
   APPLICATION PAGE STYLES
   ======================================== */

.btn--back {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 12px 28px;
  border-radius: 999px;
  flex-shrink: 0;
  transition: all 0.2s;
}

.btn--back:hover {
  border-color: var(--green-primary);
  background: rgba(82, 180, 131, 0.1);
}

/* Application Section */
.application {
  min-height: 100vh;
  background: var(--bg-dark);
  padding: 100px 20px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.application__container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

/* Header */
.application__header {
  text-align: center;
  margin-bottom: 48px;
}

.application__header .logo {
  justify-content: center;
  margin-bottom: 24px;
}

.application__title {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.application__subtitle {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.5;
  max-width: 520px;
  margin: 0 auto;
}

/* Progress Bar */
.progress {
  margin-bottom: 40px;
}

.progress__text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 12px;
}

.progress__text span {
  color: var(--green-light);
}

.progress__bar {
  width: 100%;
  height: 8px;
  background: var(--bg-card);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.progress__fill {
  height: 100%;
  background: linear-gradient(to right, var(--green-primary), var(--green-light));
  width: 20%;
  transition: width 0.3s ease;
  border-radius: 999px;
}

/* Form */
.form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 32px;
}

.form__step {
  display: none;
  animation: fadeIn 0.3s ease;
}

.form__step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form__label {
  display: block;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 20px;
  line-height: 1.3;
}

.form__hint {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 16px;
  opacity: 0.85;
}

.form__input,
.form__textarea {
  width: 100%;
  background: var(--bg-dark);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 18px;
  font-family: var(--font);
  color: var(--text-white);
  transition: all 0.2s;
  margin-bottom: 32px;
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--green-primary);
  background: rgba(82, 180, 131, 0.05);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: #666;
}

.form__textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.5;
}

/* Form Buttons */
.form__buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.btn--primary,
.btn--secondary {
  flex: 1;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: var(--font);
}

.btn--primary {
  background: linear-gradient(to right, var(--green-primary), #439688);
  color: var(--text-white);
  box-shadow: 0 2px 10px 0 #106947;
}

.btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px 0 #106947;
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn--secondary {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text-white);
}

.btn--secondary:hover {
  border-color: var(--green-primary);
  background: rgba(82, 180, 131, 0.1);
}

/* Success Message */
.success-message {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 60px 40px;
}

.success-message__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: white;
  margin: 0 auto 24px;
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.success-message__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
}

.success-message__text {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 32px;
}

/* Responsive */
@media (min-width: 600px) {
  .application {
    padding: 120px 40px 80px;
  }

  .form {
    padding: 50px 50px;
  }
}

@media (min-width: 900px) {
  .application__container {
    max-width: 700px;
  }

  .application__title {
    font-size: 56px;
  }

  .application__subtitle {
    font-size: 22px;
  }

  .form__label {
    font-size: 28px;
  }

  .form__input,
  .form__textarea {
    font-size: 20px;
    padding: 18px 24px;
  }
}
