        * {
            box-sizing: border-box;
        }

        html,
        body {
            margin: 0;
            padding: 0;
            width: 100%;
            min-height: 100%;
            font-family: "Segoe UI", Arial, sans-serif;
            background: rgb(112, 190, 254);
            color: #263238;
        }

        body {
            min-height: 100vh;
        }

        /* ================= HEADER ================= */

        .page {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .header {
            width: 100%;
            background: rgba(255, 255, 255, 0.96);
            border-bottom: 1px solid #e5eaf0;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
            padding: 14px 5%;
        }

        .header-inner {
            max-width: 1200px;
            margin: auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .brand-logo {
            width: 52px;
            height: 52px;
            border-radius: 12px;
            object-fit: contain;
            background: #ffffff;
        }

        .brand-text {
            display: flex;
            flex-direction: column;
        }

        .brand-title {
            font-size: clamp(20px, 3vw, 32px);
            font-weight: 700;
            color: #123b65;
        }

        .brand-subtitle {
            font-size: clamp(16px, 3vw, 22px);
            color: #718096;
            margin-top: 2px;
        }

        /* ================= MAIN ================= */

        .main {
            flex: 1;
            width: 100%;
            padding: 50px 20px 60px;
            display: flex;
            justify-content: center;
        }

        .content {
            width: 100%;
            max-width: 1100px;
            margin: auto;
        }

        .welcome {
            text-align: center;
            margin-bottom: 25px;
        }

        .welcome h1 {
            margin: 0;
            font-size: clamp(28px, 4vw, 42px);
            font-weight: 700;
            color: #123b65;
        }

        .welcome p {
            margin: 12px auto 0;
            max-width: 700px;
            font-size: 16px;
            line-height: 1.6;
            color: #687789;
        }

        /* ================= LANGUAGE BUTTONS ================= */

        .language-section {
            text-align: center;
            margin-bottom: 45px;
        }

        .language-title {
            font-size: 17px;
            font-weight: 600;
            color: #394b5f;
            margin-bottom: 18px;
        }

        .language-buttons {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 14px;
            flex-wrap: wrap;
        }

        .language-btn.ui-button {
            min-width: 140px;
            height: 48px;
            border-radius: 25px !important;
            font-size: 15px !important;
            font-weight: 600 !important;
            padding: 0 25px !important;
            border: 1px solid #d7e0ea !important;
            background: #ffffff !important;
            color: #164d7a !important;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
            transition: all 0.25s ease;
        }

        .language-btn.ui-button:hover {
            background: #164d7a !important;
            color: #ffffff !important;
            border-color: #164d7a !important;
            transform: translateY(-2px);
            box-shadow: 0 7px 18px rgba(22, 77, 122, 0.20);
        }

        /* ================= CARDS ================= */

        .cards {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
            width: 100%;
        }

        .card {
            background: rgba(255, 255, 255, 0.95);
            border: 1px solid #e4eaf1;
            border-radius: 18px;
            padding: 32px 25px;
            min-height: 220px;

            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;

            box-shadow:
                0 8px 30px rgba(26, 54, 93, 0.08);

            transition:
                transform 0.25s ease,
                box-shadow 0.25s ease;
        }

        .card:hover {
            transform: translateY(-6px);
            box-shadow:
                0 15px 35px rgba(26, 54, 93, 0.14);
        }

        .card-icon {
            width: 65px;
            height: 65px;
            border-radius: 50%;

            display: flex;
            align-items: center;
            justify-content: center;

            background: #eaf3fb;
            color: #14558a;

            font-size: 28px;
            margin-bottom: 18px;
        }

        .card h2 {
            margin: 0 0 10px;
            font-size: 20px;
            color: #173f63;
        }

        .card p {
            margin: 0;
            color: #718096;
            font-size: 14px;
            line-height: 1.6;
            max-width: 280px;
        }

        .card-button.ui-button {
            margin-top: 20px;
            border-radius: 22px !important;
            padding: 8px 20px !important;
            background: #14558a !important;
            border: none !important;
            color: white;
        }

        .card-button.ui-button:hover {
            background: #0d426d !important;
        }

        /* ================= FOOTER ================= */

        .footer {
            width: 100%;
            background: #123b65;
            color: #ffffff;
            padding: 20px 5%;
        }

        .footer-inner {
            max-width: 1200px;
            margin: auto;

            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
        }

        .footer-text {
            font-size: 13px;
            opacity: 0.9;
        }

        .footer-links {
            display: flex;
            gap: 20px;
            font-size: 13px;
        }

        .footer-links a {
            color: #ffffff;
            text-decoration: none;
            opacity: 0.9;
        }

        .footer-links a:hover {
            opacity: 1;
            text-decoration: underline;
        }

        /* ================= TABLET ================= */

        @media (max-width: 900px) {

            .main {
                padding-top: 40px;
            }

            .cards {
                grid-template-columns: repeat(1, 1fr);
            }

            .card:last-child {
                grid-column: span 2;
                max-width: 95%;
                width: 100%;
                margin: auto;
            }
        }

        /* ================= MOBILE ================= */

        @media (max-width: 600px) {

            .header {
                padding: 12px 18px;
            }

            .header-inner {
                justify-content: center;
            }

            .brand-logo {
                width: 45px;
                height: 45px;
            }

            .brand-title {
                font-size: 18px;
            }

            .brand-subtitle {
                font-size: 11px;
            }

            .main {
                padding: 35px 16px 45px;
            }

            .welcome {
                margin-bottom: 28px;
            }

            .welcome h1 {
                font-size: 28px;
            }

            .welcome p {
                font-size: 14px;
            }

            .language-section {
                margin-bottom: 35px;
            }

            .language-buttons {
                flex-direction: column;
                width: 100%;
            }

            .language-btn.ui-button {
                width: 100%;
                max-width: 300px;
            }

            .cards {
                grid-template-columns: 1fr;
                gap: 18px;
            }

            .card {
                min-height: auto;
                padding: 28px 20px;
            }

            .card:last-child {
                grid-column: auto;
                max-width: none;
            }

            .footer {
                padding: 18px;
            }

            .footer-inner {
                flex-direction: column;
                text-align: center;
            }

            .footer-links {
                flex-wrap: wrap;
                justify-content: center;
            }
        }
        
        .responsive-dialog {
    max-width: 600px;
    width: 90vw !important;
}

.instruction-card {
    width: 100%;
    margin-bottom: 1em;
    box-sizing: border-box;
}

.instruction-card p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.6;
}

.responsive-text {
    font-size: clamp(12px, 1.5vw, 16px);
    line-height: 1.6;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}



.modern-instruction-dialog {
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.20) !important;
}

/* Dialog header */
.modern-instruction-dialog .ui-dialog-titlebar {
    background: linear-gradient(
        135deg,
        #1976d2,
        #42a5f5
    ) !important;

    color: #ffffff !important;

    border: none !important;

    padding: 18px 24px !important;

    text-align: center !important;
}

/* Center the header title */
.modern-instruction-dialog .ui-dialog-title {
    float: none !important;
    display: block !important;

    width: 100% !important;

    text-align: center !important;

    font-size: clamp(18px, 2vw, 24px) !important;

    font-weight: 600 !important;

    margin: 0 !important;
}

/* Close button */
.modern-instruction-dialog .ui-dialog-titlebar-close {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;

    transform: translateY(-50%) !important;

    color: #ffffff !important;

    background: transparent !important;

    border: none !important;
}

.modern-instruction-dialog .ui-dialog-titlebar-close:hover {
    background: rgba(255, 255, 255, 0.18) !important;

    border-radius: 50% !important;
}


/* ================================
   Dialog Content
   ================================ */

.instruction-content {
    padding: 0 !important;
    background: #ffffff;
}

.instruction-body {
    padding: 24px 28px 10px 28px;
}

/* Instruction paragraphs */
.instruction-body .responsive-text {
    font-size: clamp(13px, 1.5vw, 16px);

    line-height: 1.7;

    color: #444;

    margin: 0 0 14px 0;

    text-align: left;
}

/* ================================
   Footer
   ================================ */

.instruction-footer {
    display: flex;

    justify-content: flex-end;

    align-items: center;

    padding: 16px 24px 20px 24px;

    border-top: 1px solid #eeeeee;

    background: #fafafa;
}


/* ================================
   Continue Button
   ================================ */

.modern-continue-btn {
    border: none !important;

    border-radius: 8px !important;

    padding: 10px 20px !important;

    font-size: 14px !important;

    font-weight: 600 !important;

    background: linear-gradient(
        135deg,
        #1976d2,
        #42a5f5
    ) !important;

    color: #ffffff !important;

    box-shadow: 0 4px 10px rgba(25, 118, 210, 0.25) !important;

    transition: all 0.2s ease !important;
}

.modern-continue-btn:hover {
    transform: translateY(-1px);

    box-shadow: 0 6px 14px rgba(25, 118, 210, 0.35) !important;
}


/* ================================
   Responsive
   ================================ */

@media (max-width: 600px) {

    .modern-instruction-dialog {
        width: 92vw !important;
    }

    .modern-instruction-dialog .ui-dialog-titlebar {
        padding: 15px 20px !important;
    }

    .instruction-body {
        padding: 20px 18px 8px 18px;
    }

    .instruction-body .responsive-text {
        line-height: 1.6;
        margin-bottom: 12px;
    }

    .instruction-footer {
        padding: 14px 18px 16px 18px;
    }

    .modern-continue-btn {
        width: auto !important;
        padding: 9px 16px !important;
    }
}


.header-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header-logo {
    display: block;
}

.brand-subtitle {
    font-weight: bold;
    text-align: center;
    margin-top: 5px;
}


 
