.df-apply-page {
  background: var(--dfmax-light-gray);
  min-height: 100vh;
}

/* =========================================================
           HERO
        ========================================================= */

.df-apply-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 50px;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(0, 156, 197, 0.22),
      transparent 32%
    ),
    radial-gradient(
      circle at 10% 90%,
      rgba(244, 123, 58, 0.1),
      transparent 28%
    ),
    linear-gradient(135deg, #063b4a 0%, #07566a 48%, #009cc5 100%);
  color: var(--dfmax-white);
}

.df-apply-hero::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  right: -100px;
  top: -160px;
}

.df-apply-hero::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  left: -120px;
  bottom: -150px;
}

.df-apply-hero-content {
  position: relative;
  z-index: 2;
}

.df-apply-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.df-apply-badge i {
  color: #7ee7ff;
}

.df-apply-hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.df-apply-hero h1 span {
  color: #8eeaff;
}

.df-apply-hero p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.75;
}

.df-apply-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 25px;
  margin-top: 28px;
}

.df-apply-hero-point {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
}

.df-apply-hero-point i {
  color: #8eeaff;
}

/* =========================================================
           MAIN APPLICATION SECTION
        ========================================================= */

.df-apply-main {
  position: relative;
  z-index: 5;
  margin-top: -65px;
  padding-bottom: 90px;
}

.df-apply-card {
  overflow: hidden;
  border: 1px solid var(--dfmax-border);
  border-radius: 18px;
  background: var(--dfmax-white);
  box-shadow: 0 20px 60px rgba(6, 59, 74, 0.1);
}

/* =========================================================
           FORM HEADER
        ========================================================= */

.df-apply-form-header {
  padding: 30px 35px;
  border-bottom: 1px solid var(--dfmax-border);
  background: linear-gradient(180deg, #ffffff 0%, #fafdfe 100%);
}

.df-apply-form-header h2 {
  margin: 0 0 7px;
  color: var(--dfmax-text);
  font-size: 25px;
  font-weight: 750;
}

.df-apply-form-header p {
  margin: 0;
  color: var(--dfmax-text-light);
  font-size: 14px;
}

.df-apply-required {
  margin-top: 8px;
  color: #dc2626;
  font-size: 12px;
}

/* =========================================================
           FORM BODY
        ========================================================= */

.df-apply-form-body {
  padding: 35px;
}

.df-form-section {
  margin-bottom: 35px;
}

.df-form-section:last-child {
  margin-bottom: 0;
}

.df-form-section-title {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--dfmax-border);
}

.df-form-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--dfmax-light-blue);
  color: var(--dfmax-primary);
  font-size: 16px;
}

.df-form-section-title h3 {
  margin: 0;
  color: var(--dfmax-text);
  font-size: 17px;
  font-weight: 700;
}

.df-form-section-title p {
  margin: 2px 0 0;
  color: var(--dfmax-text-light);
  font-size: 12px;
}

/* =========================================================
           FORM CONTROLS
        ========================================================= */

.df-form-group {
  margin-bottom: 20px;
}

.df-form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--dfmax-text);
  font-size: 13px;
  font-weight: 650;
}

.df-form-label .required {
  color: #dc2626;
}

.df-form-control,
.df-form-select {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid var(--dfmax-border);
  border-radius: 9px;
  outline: none;
  background: #fff;
  color: var(--dfmax-text);
  font-size: 14px;
  transition: var(--dfmax-transition);
}

.df-form-control::placeholder {
  color: #98a2b3;
}

.df-form-control:focus,
.df-form-select:focus {
  border-color: var(--dfmax-primary);
  box-shadow: 0 0 0 3px rgba(0, 156, 197, 0.1);
}

textarea.df-form-control {
  min-height: 125px;
  resize: vertical;
}

.df-input-with-icon {
  position: relative;
}

.df-input-with-icon i {
  position: absolute;
  top: 50%;
  left: 16px;
  z-index: 2;
  transform: translateY(-50%);
  color: #98a2b3;
  font-size: 14px;
  pointer-events: none;
}

.df-input-with-icon .df-form-control {
  padding-left: 42px;
}

.df-form-help {
  display: block;
  margin-top: 6px;
  color: #98a2b3;
  font-size: 11px;
}

/* =========================================================
           CONSENT
        ========================================================= */

.df-apply-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--dfmax-border);
  border-radius: 10px;
  background: #fafcfd;
}

.df-apply-consent input {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--dfmax-primary);
}

.df-apply-consent label {
  margin: 0;
  color: var(--dfmax-text-light);
  font-size: 12px;
  line-height: 1.6;
  cursor: pointer;
}

.df-apply-consent a {
  color: var(--dfmax-primary-dark);
  font-weight: 600;
  text-decoration: none;
}

.df-apply-consent a:hover {
  text-decoration: underline;
}

/* =========================================================
           SUBMIT
        ========================================================= */

.df-apply-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 25px;
  border-top: 1px solid var(--dfmax-border);
}

.df-apply-secure-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dfmax-text-light);
  font-size: 12px;
}

.df-apply-secure-note i {
  color: var(--dfmax-success);
  font-size: 15px;
}

.df-apply-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(
    135deg,
    var(--dfmax-primary),
    var(--dfmax-primary-dark)
  );
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 156, 197, 0.2);
  transition: var(--dfmax-transition);
  cursor: pointer;
}

.df-apply-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 156, 197, 0.28);
}

/* =========================================================
           RIGHT SIDEBAR
        ========================================================= */

.df-apply-sidebar {
  position: sticky;
  top: 105px;
}

.df-apply-info-card {
  margin-bottom: 20px;
  padding: 27px;
  border: 1px solid var(--dfmax-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(6, 59, 74, 0.07);
}

.df-apply-info-card:last-child {
  margin-bottom: 0;
}

.df-apply-info-card h3 {
  margin: 0 0 18px;
  color: var(--dfmax-text);
  font-size: 18px;
  font-weight: 750;
}

.df-apply-benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.df-apply-benefit:last-child {
  margin-bottom: 0;
}

.df-apply-benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--dfmax-light-blue);
  color: var(--dfmax-primary);
}

.df-apply-benefit strong {
  display: block;
  margin-bottom: 3px;
  color: var(--dfmax-text);
  font-size: 13px;
}

.df-apply-benefit span {
  display: block;
  color: var(--dfmax-text-light);
  font-size: 12px;
  line-height: 1.55;
}

/* =========================================================
           HELP CARD
        ========================================================= */

.df-apply-help-card {
  position: relative;
  overflow: hidden;
  padding: 27px;
  border-radius: 16px;
  background: linear-gradient(135deg, #063b4a, #075d70);
  color: #fff;
}

.df-apply-help-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -45px;
  bottom: -55px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.df-apply-help-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 8px;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
}

.df-apply-help-card p {
  position: relative;
  z-index: 2;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.6;
}

.df-apply-call {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.df-apply-call i {
  color: #8eeaff;
}

.df-apply-call:hover {
  color: #8eeaff;
}

/* =========================================================
           RESPONSIVE
        ========================================================= */

@media (max-width: 991.98px) {
  .df-apply-hero {
    padding: 65px 0 95px;
  }

  .df-apply-main {
    margin-top: -50px;
  }

  .df-apply-sidebar {
    position: static;
    margin-top: 25px;
  }

  .df-apply-info-card {
    height: 100%;
  }
}

@media (max-width: 767.98px) {
  .df-apply-hero {
    padding: 50px 0 80px;
  }

  .df-apply-hero h1 {
    font-size: 38px;
    letter-spacing: -0.8px;
  }

  .df-apply-hero p {
    font-size: 15px;
    line-height: 1.65;
  }

  .df-apply-hero-points {
    display: block;
  }

  .df-apply-hero-point {
    margin-bottom: 10px;
  }

  .df-apply-main {
    margin-top: -40px;
    padding-bottom: 60px;
  }

  .df-apply-card {
    border-radius: 14px;
  }

  .df-apply-form-header {
    padding: 24px 20px;
  }

  .df-apply-form-body {
    padding: 24px 20px;
  }

  .df-form-section {
    margin-bottom: 28px;
  }

  .df-apply-submit-row {
    display: block;
  }

  .df-apply-secure-note {
    margin-bottom: 18px;
  }

  .df-apply-submit {
    width: 100%;
  }

  .df-apply-info-card,
  .df-apply-help-card {
    padding: 23px 20px;
  }
}

@media (max-width: 575.98px) {
  .df-apply-hero {
    padding: 42px 0 70px;
  }

  .df-apply-badge {
    font-size: 11px;
  }

  .df-apply-hero h1 {
    font-size: 32px;
  }

  .df-apply-hero p {
    font-size: 14px;
  }

  .df-apply-form-header h2 {
    font-size: 21px;
  }

  .df-form-section-title h3 {
    font-size: 15px;
  }

  .df-form-section-title p {
    font-size: 11px;
  }

  .df-form-control,
  .df-form-select {
    min-height: 48px;
    font-size: 13px;
  }

  textarea.df-form-control {
    min-height: 110px;
  }
}

/* =========================================================
   APPLICATION MESSAGE
========================================================= */

.df-application-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}

.df-application-alert i {
  margin-top: 2px;
  font-size: 17px;
  flex-shrink: 0;
}

.df-application-alert.success {
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.df-application-alert.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}
