  :root {
        --primary: #051153;
        --secondary: #163f8c;
        --accent: #ff9933;
        --accent2: #ff6b00;
    }

    body {
        background:
            linear-gradient(135deg, #eef4ff 0%, #f7fbff 100%);
    }

    .hero-section {

        position: relative;
        overflow: hidden;
        border-radius: 30px;
        background: linear-gradient(135deg, #051153 0%, #1d4ed8 100%);
        min-height: 250px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-shadow: 0 20px 60px rgba(5, 17, 83, .25);
    }

    .hero-section::before {

        content: '';

        position: absolute;

        width: 450px;
        height: 450px;

        border-radius: 50%;

        background:
            rgba(255, 255, 255, .06);

        top: -180px;
        right: -180px;
    }

    .hero-title {

        color: #fff;
        font-size: 28px;
        font-weight: 600;
        margin-bottom: 0px;
    }

    .hero-subtitle {

        color: #ffffffd9;
        font-size: 21px;
        font-weight: 500;
        opacity: .95;
    }

    .slot-btn {
        border-radius: 12px;
        margin-bottom: 10px;
        font-weight: 600;
        transition: .3s;
    }

    .slot-btn:hover {
        transform: scale(1.02);
    }

    .slot-selected {
        background: linear-gradient(135deg,
                #28a745,
                #20c997) !important;

        color: #fff !important;

        border-color: #28a745 !important;
    }

    .progress-wrapper {

        margin-top: -45px;

        position: relative;

        z-index: 10;
    }

    .progress-card {

        background: #fff;

        border-radius: 20px;

        padding: 25px;

        box-shadow:
            0 15px 40px rgba(0, 0, 0, .08);
    }

    .step {

        text-align: center;
    }

    .step-circle {

        width: 60px;
        height: 60px;

        border-radius: 50%;

        display: flex;

        align-items: center;

        justify-content: center;

        margin: auto;

        background: #e5e7eb;

        color: #64748b;

        font-size: 22px;
    }

    .step.active .step-circle {

        background:
            linear-gradient(135deg,
                #ff9933,
                #ff6b00);

        color: #fff;
    }

    .form-main-card {

        background: #fff;

        border-radius: 30px;

        padding: 40px;

        margin-top: 30px;

        box-shadow:
            0 20px 60px rgba(0, 0, 0, .08);
    }

    .section-card {

        background: #fff;

        border-radius: 20px;

        padding: 30px;

        margin-bottom: 25px;

        border: 1px solid #edf2f7;

        transition: .3s;
    }

    .section-card:hover {

        transform: translateY(-3px);

        box-shadow:
            0 15px 35px rgba(0, 0, 0, .06);
    }

    .embassy-popup {
        border-radius: 25px !important;
    }

    .embassy-header {

        background: linear-gradient(135deg, #051153, #163f8c);
        color: #fff;
        padding: 25px;
        border-radius: 20px;
        text-align: center;
        display: flex;
        align-items: center;
        gap: 20px;
        animation: fadeDown .5s ease;
        justify-content: center;
        flex-direction: column;
    }

    .embassy-logo {
        width: 90px;
        height: 90px;
        object-fit: contain;
    }

    .reference-strip {

        background: #fff8e6;

        border: 1px solid #ffd87a;

        border-radius: 12px;

        padding: 12px;

        text-align: center;

        margin: 15px 0;

        font-weight: 700;
    }

    @keyframes fadeDown {
        from {
            opacity: 0;
            transform: translateY(-15px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .success-popup {
        border-radius: 30px !important;
    }

    .success-wrapper {
        padding: 20px;
    }

    .success-icon {

        width: 90px;
        height: 90px;

        border-radius: 50%;

        margin: auto;

        background:
            linear-gradient(135deg,
                #28a745,
                #20c997);

        display: flex;
        align-items: center;
        justify-content: center;

        color: #fff;

        font-size: 60px;

        animation:
            pulse 1.5s infinite;
    }

    .preview-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .preview-card {
        background: #f8faff;
        border: 1px solid #dfe7f5;
        border-radius: 16px;
        padding: 18px;
        transition: .3s;
        text-align: left;
    }

    .preview-card:hover {
        transform: translateY(-2px);
    }

    .preview-card label {
        display: block;
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 1px;
        color: #6c757d;
        margin-bottom: 8px;
    }

    .embassy-title h3 {
        font-size: 28px;
    }

    .embassy-title h5 {
        font-size: 20px;
        color: #ffffffc4;
    }

    .preview-card div {
        color: #051153;
        font-size: 15px;
        font-weight: 600;
        text-transform: uppercase;
        word-break: break-word;
    }

    .declaration-box {
        margin-top: 20px;
        padding: 18px;
        border-radius: 16px;
        background: #fff8e6;
        border: 1px solid #ffd87a;
        color: #444;
    }

    @media(max-width:768px) {

        .preview-grid {
            grid-template-columns: 1fr;
        }

    }

    .success-title {

        margin-top: 20px;

        color: #051153;

        font-size: 30px;

        font-weight: 800;

        letter-spacing: 2px;
    }

    .success-subtitle {

        color: #666;

        font-size: 15px;
    }

    .reference-card {

        margin-top: 20px;

        background:
            linear-gradient(135deg,
                #051153,
                #163f8c);

        color: #fff;

        padding: 20px;

        border-radius: 20px;
    }

    .ref-label {

        font-size: 14px;

        opacity: .8;

        letter-spacing: 2px;
    }

    .ref-number {

        font-size: 30px;

        font-weight: 800;

        margin-top: 10px;

        letter-spacing: 3px;
    }

    .success-info {

        margin-top: 20px;

        font-weight: 600;

        color: #444;
        font-size: 15px;
    }

    @keyframes pulse {

        0% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.05);
        }

        100% {
            transform: scale(1);
        }
    }

    .section-title {

        color: var(--primary);

        font-size: 22px;

        font-weight: 700;

        margin-bottom: 25px;

        display: flex;

        align-items: center;

        gap: 12px;
    }

    .section-icon {

        width: 50px;
        height: 50px;

        border-radius: 15px;

        display: flex;

        align-items: center;

        justify-content: center;

        color: #fff;

        background:
            linear-gradient(135deg,
                #051153,
                #163f8c);
    }

    .form-label {

        color: var(--primary);

        font-weight: 600;
    }

    .form-control,
    .form-select {

        height: 55px;

        border-radius: 15px;

        border: 1px solid #dbe4f0;
    }

    .form-control:focus,
    .form-select:focus {

        border-color: #163f8c;

        box-shadow:
            0 0 0 .15rem rgba(5, 17, 83, .12);
    }

    .ccode {

        min-width: 120px;

        justify-content: center;

        font-weight: 700;

        letter-spacing: 4px;

        background: #eef4ff;
    }

    .btn-submit {

        height: 65px;

        min-width: 320px;

        border: none;

        border-radius: 60px;

        color: #fff;

        font-size: 20px;

        font-weight: 700;

        background:
            linear-gradient(135deg,
                #ff9933,
                #ff6b00);
    }

    .btn-submit:hover {

        color: #fff;

        transform: translateY(-2px);
    }

    @media(max-width:768px) {

        .hero-title {
            font-size: 28px;
        }

        .form-main-card {
            padding: 20px;
        }

        .btn-submit {
            width: 100%;
            min-width: auto;
        }
    }

    .validation-error {
        color: #dc3545;
        font-size: 14px;
        font-weight: 500;
        margin-top: 6px;
        display: block;
    }

    .is-invalid {
        border-color: #dc3545 !important;
        box-shadow: 0 0 0 .15rem rgba(220, 53, 69, .15) !important;
    }

    .validation-error::before {
        content: "⚠ ";
    }

    .validation-error {
        color: #dc3545;
        font-size: 14px;
        display: block;
        margin-top: 5px;
    }

    .is-invalid {
        border-color: #dc3545 !important;
    }

    .portal-top-bar {

        display: flex;

        justify-content: space-between;

        align-items: center;

        flex-wrap: wrap;

        gap: 20px;
    }

    .portal-breadcrumb {

        display: flex;

        align-items: center;

        gap: 10px;

        color: #051153;

        font-weight: 600;

        font-size: 15px;
    }

    .portal-breadcrumb strong {

        color: #ff6b00;
        font-weight: bold;
    }

    .portal-actions {

        display: flex;

        gap: 12px;
    }

    .portal-action-btn {

        display: flex;

        align-items: center;

        gap: 8px;

        text-decoration: none;

        padding: 12px 18px;

        border-radius: 12px;

        font-size: 14px;

        font-weight: 600;

        transition: .3s;
    }

    .status-btn {

        background: #eef4ff;

        color: #051153;

        border: 1px solid #d8e3ff;
    }

    .status-btn:hover {

        background: #051153;

        color: #fff;
    }

    .cancel-btn {

        background: #fff5f5;

        color: #dc3545;

        border: 1px solid #ffd4da;
    }

    .cancel-btn:hover {

        background: #dc3545;

        color: #fff;
    }

    @media(max-width:768px) {

        .portal-top-bar {

            flex-direction: column;

            align-items: flex-start;
        }

        .portal-actions {

            width: 100%;

            flex-direction: column;
        }

        .portal-action-btn {

            justify-content: center;

            width: 100%;
        }
    }