:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --dark: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --background: #f8fafc;
    --white: #ffffff;
    --success: #16a34a;
}

* {
    box-sizing: border-box;
}

body {
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--dark);
    background: var(--background);
}

.public-navbar {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    min-height: 76px;
}

.navbar-brand {
    color: var(--dark);
}

.navbar-brand:hover {
    color: var(--dark);
}

.navbar-brand small {
    display: block;
    font-size: 11px;
    color: var(--muted);
}

.brand-logo {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
    border-radius: 12px;
}

.nav-link {
    color: #475569;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.hero-section {
    padding: 110px 0;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(37, 99, 235, .15),
            transparent 35%
        ),
        linear-gradient(135deg, #f8fbff, #eef4ff);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: #dbeafe;
    color: #1d4ed8;
    border-radius: 50px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section h1 {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.05;
    max-width: 720px;
}

.hero-section h1 span {
    color: var(--primary);
}

.hero-section p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
    max-width: 620px;
    margin: 24px 0 32px;
}

.hero-card {
    background: #fff;
    padding: 40px;
    border-radius: 28px;
    box-shadow: 0 25px 70px rgba(15, 23, 42, .12);
}

.hero-card-icon {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #dbeafe;
    color: var(--primary);
    font-size: 30px;
    margin-bottom: 22px;
}

.hero-check {
    padding: 12px 0;
    color: #475569;
}

.hero-check i {
    color: var(--success);
    margin-right: 8px;
}

.section-padding {
    padding: 100px 0;
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 50px;
}

.section-heading span,
.section-eyebrow {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.section-heading h2 {
    margin-top: 12px;
    font-size: 38px;
    font-weight: 800;
}

.section-heading p {
    color: var(--muted);
}

.process-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 35px;
    height: 100%;
    position: relative;
    transition: .25s;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, .08);
}

.process-card i {
    font-size: 34px;
    color: var(--primary);
    display: block;
    margin-bottom: 22px;
}

.process-number {
    position: absolute;
    right: 25px;
    top: 20px;
    color: #cbd5e1;
    font-weight: 800;
    font-size: 30px;
}

.process-card h5 {
    font-weight: 700;
}

.process-card p {
    color: var(--muted);
    line-height: 1.7;
}

.benefits-section {
    padding: 100px 0;
    background: #fff;
}

.benefits-section h2 {
    font-size: 42px;
    font-weight: 800;
    margin: 12px 0 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #475569;
}

.benefit-item i {
    color: var(--success);
}

.status-preview {
    background: #f8fafc;
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 24px;
}

.status-line {
    display: flex;
    gap: 16px;
    padding: 18px 0;
}

.status-line > span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    margin-top: 6px;
}

.status-line strong {
    display: block;
}

.status-line small {
    display: block;
    color: var(--muted);
    margin-top: 4px;
}

.public-footer {
    padding: 55px 0 30px;
    background: #0f172a;
    color: #cbd5e1;
}

.public-footer h5 {
    color: #fff;
}

.public-footer a {
    color: #cbd5e1;
    text-decoration: none;
    margin-left: 20px;
}

.application-page {
    background: #f1f5f9;
}

.application-form-heading {
    margin-bottom: 35px;
}

.application-form-heading h1 {
    font-weight: 800;
    font-size: 42px;
    margin-top: 10px;
}

.application-form-heading p {
    color: var(--muted);
}

.form-section {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 24px;
}

.form-section-title {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.form-section-title > span {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #dbeafe;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.form-section-title h4 {
    font-weight: 750;
    margin-bottom: 3px;
}

.form-section-title p {
    color: var(--muted);
    margin: 0;
}

.form-label {
    font-weight: 600;
    color: #334155;
}

.form-label span {
    color: #dc2626;
}

.form-control,
.form-select {
    min-height: 48px;
    border-color: #dbe2ea;
    border-radius: 10px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}

.form-submit-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.success-page,
.lookup-page,
.login-page {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at top right,
            rgba(37, 99, 235, .12),
            transparent 35%
        ),
        #f8fafc;
}

.success-wrapper,
.lookup-wrapper,
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
}

.success-card,
.lookup-card,
.login-card {
    width: 100%;
    max-width: 650px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 50px;
    box-shadow: 0 25px 70px rgba(15, 23, 42, .08);
    text-align: center;
}

.success-icon,
.lookup-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 35px;
}

.success-icon {
    background: #dcfce7;
    color: #16a34a;
}

.lookup-icon {
    background: #dbeafe;
    color: #2563eb;
}

.success-card h1,
.lookup-card h1 {
    font-size: 34px;
    font-weight: 800;
    margin: 10px 0 15px;
}

.application-number-box {
    margin: 30px 0;
    padding: 25px;
    background: #eff6ff;
    border: 1px dashed #93c5fd;
    border-radius: 16px;
}

.application-number-box small {
    display: block;
    color: var(--muted);
    font-weight: 700;
    letter-spacing: 1px;
}

.application-number-box strong {
    display: block;
    color: var(--primary);
    font-size: 28px;
    margin-top: 8px;
}

.login-brand {
    text-align: center;
    margin-bottom: 25px;
}

.login-brand .brand-logo {
    margin: 0 auto 15px;
}

.login-brand h3 {
    margin-bottom: 3px;
}

.login-brand p {
    color: var(--muted);
}

.login-card {
    max-width: 470px;
    text-align: left;
}

.login-card h1 {
    font-size: 32px;
    font-weight: 800;
    margin: 10px 0;
}

.login-card .section-eyebrow {
    display: block;
}

.application-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
}

.application-header {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #f8fbff, #eff6ff);
    border-bottom: 1px solid var(--border);
}

.application-meta {
    padding: 20px 30px;
    display: flex;
    gap: 50px;
    border-bottom: 1px solid var(--border);
}

.application-meta span,
.application-meta strong {
    display: block;
}

.application-meta span {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.application-meta strong {
    margin-top: 5px;
}

.section-title {
    margin: 30px;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    font-size: 18px;
    font-weight: 750;
    display: flex;
    gap: 10px;
    align-items: center;
}

.section-title i {
    color: var(--primary);
}

.application-card .row {
    padding: 0 30px;
}

.info-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.info-value {
    margin-top: 5px;
    font-size: 16px;
    color: #1e293b;
}

.admin-action-panel {
    margin: 25px 30px;
    padding: 20px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.document-box {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 30px 30px;
}

.document-box i {
    color: var(--primary);
    font-size: 22px;
}

.document-box span {
    flex: 1;
}

@media (max-width: 767px) {

    .hero-section {
        padding: 70px 0;
    }

    .hero-section h1 {
        font-size: 45px;
    }

    .section-padding,
    .benefits-section {
        padding: 70px 0;
    }

    .form-section {
        padding: 22px;
    }

    .form-submit-card {
        align-items: stretch;
        flex-direction: column;
    }

    .application-header,
    .admin-action-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .application-meta {
        flex-direction: column;
        gap: 20px;
    }

    .success-card,
    .lookup-card,
    .login-card {
        padding: 30px 20px;
    }

    .application-card .row {
        padding: 0 20px;
    }

    .section-title {
        margin-left: 20px;
        margin-right: 20px;
    }

    .document-box {
        margin-left: 20px;
        margin-right: 20px;
    }

}
