:root {
    --ndp-pink: #e91e63;
    --ndp-pink-dark: #b51650;
    --ndp-pink-soft: #fff0f6;
    --ndp-navy: #172033;
    --ndp-text: #303440;
    --ndp-muted: #697080;
    --ndp-border: #efcad9;
    --ndp-shadow: 0 18px 50px rgba(62, 24, 43, 0.09);
}

.driver-portal-page {
    background: #fff8fb;
    color: var(--ndp-text);
}

.ndp-main {
    min-height: 65vh;
    padding: 28px 18px 70px;
    background:
        radial-gradient(circle at 8% 10%, rgba(233, 30, 99, 0.09), transparent 28rem),
        radial-gradient(circle at 92% 24%, rgba(35, 81, 145, 0.08), transparent 25rem),
        #fff8fb;
}

.ndp-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.ndp-portal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    padding: 15px 20px;
    border: 1px solid var(--ndp-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 24px rgba(62, 24, 43, 0.05);
}

.ndp-brand {
    color: var(--ndp-pink-dark);
    font-size: 20px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.ndp-portal-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px 20px;
    flex-wrap: wrap;
}

.ndp-portal-nav a {
    color: var(--ndp-navy);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.ndp-portal-nav a:hover,
.ndp-portal-nav a:focus-visible {
    color: var(--ndp-pink-dark);
    text-decoration: underline;
}

.ndp-hero {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    display: flex;
    align-items: center;
    padding: clamp(36px, 7vw, 82px);
    border-radius: 32px;
    color: #fff;
    background:
        linear-gradient(120deg, rgba(20, 28, 47, 0.98), rgba(55, 42, 83, 0.94) 52%, rgba(190, 21, 81, 0.90)),
        #172033;
    box-shadow: var(--ndp-shadow);
}

.ndp-hero::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -110px;
    top: -110px;
    border-radius: 50%;
    border: 60px solid rgba(255, 255, 255, 0.08);
}

.ndp-hero--inside {
    min-height: 340px;
}

.ndp-hero__content {
    position: relative;
    z-index: 1;
    max-width: 790px;
}

.ndp-hero h1,
.ndp-content-card h1,
.ndp-auth-card h1 {
    margin: 8px 0 18px;
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.ndp-content-card h1,
.ndp-auth-card h1 {
    color: var(--ndp-navy);
    font-size: clamp(32px, 4vw, 48px);
}

.ndp-lead {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(18px, 2.2vw, 23px);
    line-height: 1.55;
}

.ndp-eyebrow {
    margin: 0;
    color: var(--ndp-pink-dark);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.ndp-hero .ndp-eyebrow {
    color: #ffd6e5;
}

.ndp-hero__actions,
.ndp-form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.ndp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 20px;
    border: 2px solid transparent;
    border-radius: 14px;
    font: inherit;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ndp-btn:hover,
.ndp-btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(62, 24, 43, 0.15);
}

.ndp-btn--primary {
    border-color: var(--ndp-pink);
    background: var(--ndp-pink);
    color: #fff;
}

.ndp-btn--primary:hover,
.ndp-btn--primary:focus-visible {
    border-color: var(--ndp-pink-dark);
    background: var(--ndp-pink-dark);
    color: #fff;
}

.ndp-btn--secondary {
    border-color: #d9b2c3;
    background: #fff;
    color: var(--ndp-pink-dark);
}

.ndp-btn--light {
    border-color: #fff;
    background: #fff;
    color: var(--ndp-pink-dark);
}

.ndp-btn--outline-light {
    border-color: rgba(255, 255, 255, 0.75);
    background: transparent;
    color: #fff;
}

.ndp-section {
    margin-top: 28px;
}

.ndp-card {
    border: 1px solid var(--ndp-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(62, 24, 43, 0.06);
}

.ndp-grid {
    display: grid;
    gap: 20px;
}

.ndp-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ndp-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ndp-step,
.ndp-feature {
    padding: 28px;
}

.ndp-step > span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ndp-pink-soft);
    color: var(--ndp-pink-dark);
    font-size: 20px;
    font-weight: 900;
}

.ndp-step h2,
.ndp-feature h3 {
    margin: 18px 0 8px;
    color: var(--ndp-navy);
    font-size: 21px;
}

.ndp-step p,
.ndp-feature p {
    margin: 0;
    color: var(--ndp-muted);
    line-height: 1.55;
}

.ndp-feature > span {
    font-size: 36px;
}

.ndp-form-card,
.ndp-content-card,
.ndp-auth-card,
.ndp-cta-card {
    margin-top: 28px;
    padding: clamp(24px, 5vw, 48px);
}

.ndp-section-heading {
    max-width: 780px;
    margin-bottom: 28px;
}

.ndp-section-heading h2,
.ndp-content-card h2,
.ndp-cta-card h2,
.ndp-signin-strip h2 {
    margin: 7px 0 10px;
    color: var(--ndp-navy);
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.15;
}

.ndp-section-heading p:last-child,
.ndp-content-card > p,
.ndp-auth-card > p,
.ndp-cta-card p,
.ndp-signin-strip p {
    color: var(--ndp-muted);
    line-height: 1.65;
}

.ndp-form {
    display: grid;
    gap: 20px;
}

.ndp-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
}

.ndp-form label,
.ndp-upload {
    display: grid;
    gap: 8px;
    color: var(--ndp-navy);
    font-size: 15px;
    font-weight: 800;
}

.ndp-form label > span,
.ndp-choice-group h3 > span,
.ndp-upload strong > span {
    margin-left: 3px;
    color: var(--ndp-pink-dark);
}

.ndp-form input,
.ndp-form select,
.ndp-form textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 2px solid #e6ced8;
    border-radius: 13px;
    background: #fff;
    color: var(--ndp-text);
    font: inherit;
    font-weight: 500;
}

.ndp-form textarea {
    min-height: 110px;
    resize: vertical;
}

.ndp-form input:focus,
.ndp-form select:focus,
.ndp-form textarea:focus {
    border-color: var(--ndp-pink);
    outline: 3px solid rgba(233, 30, 99, 0.12);
}

.ndp-form input[readonly] {
    background: #f5f6f8;
    color: #616774;
}

.ndp-form small,
.ndp-upload small {
    color: var(--ndp-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.ndp-span-2 {
    grid-column: span 2;
}

.ndp-privacy-note {
    margin: 0;
    color: var(--ndp-muted);
    font-size: 13px;
    line-height: 1.5;
}

.ndp-privacy-note a {
    color: var(--ndp-pink-dark);
    font-weight: 800;
}

.ndp-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.ndp-alert {
    margin: 0 0 20px;
    padding: 16px 18px;
    border: 1px solid #b8d7be;
    border-radius: 14px;
    background: #edf9ef;
    color: #245c2f;
    line-height: 1.55;
}

.ndp-alert--warning {
    border-color: #f1d394;
    background: #fff8e8;
    color: #6f5316;
}

.ndp-alert--error {
    border-color: #efb8b5;
    background: #fff0f0;
    color: #842c28;
}

.ndp-alert ul {
    margin: 8px 0 0;
    padding-left: 22px;
}

.ndp-signin-strip,
.ndp-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.ndp-signin-strip {
    margin-top: 28px;
    padding: 28px 32px;
}

.ndp-signin-strip h2,
.ndp-signin-strip p,
.ndp-cta-card h2,
.ndp-cta-card p {
    margin-top: 0;
    margin-bottom: 6px;
}

.ndp-auth-card {
    width: min(620px, 100%);
    margin: 36px auto 0;
}

.ndp-auth-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.ndp-auth-links a {
    color: var(--ndp-pink-dark);
    font-weight: 800;
}

.ndp-process-list {
    display: grid;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ndp-process-list li {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 18px;
    align-items: start;
}

.ndp-process-list li > span {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--ndp-pink-soft);
    color: var(--ndp-pink-dark);
    font-weight: 900;
}

.ndp-process-list h3,
.ndp-process-list p {
    margin: 0 0 5px;
}

.ndp-process-list h3 {
    color: var(--ndp-navy);
}

.ndp-process-list p,
.ndp-check-list {
    color: var(--ndp-muted);
    line-height: 1.6;
}

.ndp-check-list {
    margin: 18px 0 0;
    padding-left: 22px;
}

.ndp-check-list li + li {
    margin-top: 10px;
}

.ndp-application-form fieldset {
    min-width: 0;
    margin: 0;
    padding: 28px 0;
    border: 0;
    border-top: 1px solid var(--ndp-border);
}

.ndp-application-form legend {
    margin-bottom: 20px;
    padding: 0;
    color: var(--ndp-navy);
    font-size: 24px;
    font-weight: 900;
}

.ndp-choice-group {
    margin-top: 24px;
}

.ndp-choice-group h3 {
    margin: 0 0 12px;
    color: var(--ndp-navy);
    font-size: 16px;
}

.ndp-choice-grid,
.ndp-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ndp-choice,
.ndp-check-label {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: flex-start;
    gap: 10px !important;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid #ead5de;
    border-radius: 12px;
    background: #fffafd;
    font-weight: 700 !important;
    line-height: 1.4;
}

.ndp-choice input,
.ndp-check-label input {
    width: 22px !important;
    min-width: 22px;
    height: 22px;
    min-height: 22px !important;
    margin: 0;
    padding: 0;
    accent-color: var(--ndp-pink);
}

.ndp-upload {
    padding: 18px;
    border: 1px solid #ead5de;
    border-radius: 14px;
    background: #fffafd;
}

.ndp-upload input[type="file"] {
    min-height: 0;
    padding: 10px;
    background: #fff;
}

.ndp-uploaded {
    color: #267137 !important;
    font-weight: 800 !important;
}

.ndp-declarations {
    display: grid;
    gap: 12px;
}

.ndp-status-line {
    display: flex;
    align-items: center;
    gap: 12px 18px;
    flex-wrap: wrap;
    margin: 20px 0;
    color: var(--ndp-muted);
    font-weight: 800;
}

.ndp-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.ndp-pill--good {
    background: #e8f8ec;
    color: #246433;
}

.ndp-pill--pending {
    background: #fff4d9;
    color: #76560c;
}

.ndp-pill--bad {
    background: #ffe9e8;
    color: #8b2c28;
}

@media (max-width: 900px) {
    .ndp-grid--3 {
        grid-template-columns: 1fr;
    }

    .ndp-portal-bar,
    .ndp-signin-strip,
    .ndp-cta-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .ndp-portal-nav {
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .ndp-main {
        padding: 16px 10px 48px;
    }

    .ndp-portal-bar {
        padding: 14px;
        border-radius: 14px;
    }

    .ndp-portal-nav {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .ndp-portal-nav a {
        padding: 8px 0;
    }

    .ndp-hero {
        min-height: 0;
        padding: 34px 24px;
        border-radius: 22px;
    }

    .ndp-grid--2,
    .ndp-form-grid,
    .ndp-choice-grid,
    .ndp-upload-grid {
        grid-template-columns: 1fr;
    }

    .ndp-span-2 {
        grid-column: span 1;
    }

    .ndp-form-card,
    .ndp-content-card,
    .ndp-auth-card,
    .ndp-cta-card,
    .ndp-step,
    .ndp-feature {
        padding: 22px;
        border-radius: 18px;
    }

    .ndp-form-actions,
    .ndp-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ndp-btn {
        width: 100%;
    }
}
