﻿:root {
    --brand-blue: #00538F;
    --brand-blue-hover: #003f6b;
    --footer-bg: #003A63;
    --footer-text: #f1f1f1;
    --error-color: #d9534f;
}

/* Reset & Base */
html, body {
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: url('background.svg') no-repeat center center fixed;
    background-size: cover;
}

/* ────────────────────────────────────────────────────────
   Layout
───────────────────────────────────────────────────────── */
.main-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.main-body {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ────────────────────────────────────────────────────────
   Splash Page
───────────────────────────────────────────────────────── */
.splash-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    width: 100%;
}

.splash-content {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    max-width: 1000px;
    width: 100%;
}

    .splash-content h1 {
        font-size: 2.8rem;
        color: var(--brand-blue);
        margin-bottom: 10px;
    }

.splash-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #444;
}

.splash-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.splash-card {
    width: 280px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

    .splash-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    }

    .splash-card .k-card-footer {
        min-height: 7rem; /* tweak this value until it matches your tallest footer */
        /* optional centering inside the footer: */
        display: flex;
        align-items: center;
        justify-content: center;
    }



/* ────────────────────────────────────────────────────────
   Toolbar (in MainLayout)
───────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    /* hide center as before */
    .app-toolbar .toolbar-center {
        display: none !important;
    }

    /* keep the toolbar tall enough */
    .app-toolbar {
        display: flex;
        align-items: center;
      
    }
    .k-toolbar {
        min-height: 6rem;
    }
    /* toolbar-items flex for logo + buttons */
    .app-toolbar .k-toolbar-items {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }

    /* ── NEW: stack the buttons ── */
    .app-toolbar .toolbar-right {
        display: flex;
        flex-direction: column; /* stack vertically */
        align-items: flex-end; /* or center, as you prefer */
    }

        .app-toolbar .toolbar-right .tb-button {
            margin-left: 0; /* remove horizontal gap */
            margin-top: 0.5rem; /* add some vertical spacing */
            width: auto; /* you can also set width:100% to full‑width */
        }
}




.app-toolbar {
    background: white;
    box-shadow: none;
    padding: 0,10px,0,10px;

}



.toolbar-section {
    display: flex;
    align-items: center;
}

/* left logo */
.toolbar-left .toolbar-logo {
    height: 40px;
}

.toolbar-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px; /* space between logos */
}

.toolbar-partner-logo {
    max-height: 32px;
    max-width: 120px;
    object-fit: contain;
}

.toolbar-banner {
    max-height: 50px;
    max-width: 100%;
}

/* right buttons */
.toolbar-right .tb-button {
    margin-left: 20px;
    padding: 6px 12px;
    font-size: 0.875rem;
    color: #fff;
    background-color: var(--brand-blue);
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease-in-out;
}

    .toolbar-right .tb-button:hover {
        background-color: var(--brand-blue-hover);
    }




/* ================================
       Footer
       ================================ */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 0.75rem 1rem;
    margin-top: auto;
}

    footer .footer-container {
        max-width: 1200px;
        margin: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    footer .footer-logo {
        max-height: 40px;
        margin-right: 0.5rem;
    }

    footer .footer-text {
        font-size: 0.875rem;
    }


.k-card-title {
    font-size: 20px;
}
.k-card-header {
    background-color: var(--brand-blue);
    color: white;
}



