/* =========================================================
   BrightHealth Patient Portal - Global Styles
   ========================================================= */

:root {
    --portal-blue: #0d6efd;
    --portal-dark-blue: #005b96;
    --portal-overlay: rgba(0, 70, 120, 0.62);
}


/* ---------------------------------------------------------
   GLOBAL BACKGROUND
   --------------------------------------------------------- */

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;

    font-family:
        "Segoe UI",
        Tahoma,
        Geneva,
        Verdana,
        sans-serif;

    background-image:
        linear-gradient(
            var(--portal-overlay),
            var(--portal-overlay)
        ),
        url("../img/bh-bg.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


/* ---------------------------------------------------------
   TOPBAR
   --------------------------------------------------------- */

.portal-topbar {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.5);

    padding: 14px 25px;

    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.08);
}


.portal-logo {
    height: 45px;
    width: auto;
}


/* ---------------------------------------------------------
   MAIN CONTENT
   --------------------------------------------------------- */

.portal-container {
    padding: 40px 20px;
}


/* ---------------------------------------------------------
   GLASS CARD
   --------------------------------------------------------- */

.portal-card {
    background: rgba(255, 255, 255, 0.94);

    border: 1px solid rgba(255, 255, 255, 0.65);

    border-radius: 20px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.12);

    backdrop-filter: blur(10px);
}


/* ---------------------------------------------------------
   WELCOME CARD
   --------------------------------------------------------- */

.portal-welcome {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            rgba(13, 110, 253, 0.95),
            rgba(0, 91, 150, 0.92)
        );

    border-radius: 20px;

    padding: 32px;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.18);
}


/* ---------------------------------------------------------
   RESULT CARD
   --------------------------------------------------------- */

.result-card {
    background: rgba(255, 255, 255, 0.95);

    border: 0;

    border-radius: 18px;

    padding: 25px;

    height: 100%;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.10);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.result-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.15);
}


/* ---------------------------------------------------------
   BUTTON
   --------------------------------------------------------- */

.btn-portal {
    background: var(--portal-blue);

    border: none;

    color: #ffffff;

    border-radius: 10px;

    padding: 10px 20px;
}


.btn-portal:hover {
    background: #0b5ed7;

    color: #ffffff;
}


/* ---------------------------------------------------------
   BACK LINK
   --------------------------------------------------------- */

.portal-back {
    color: #ffffff;

    text-decoration: none;

    font-weight: 500;
}


.portal-back:hover {
    color: #e8f3ff;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 768px) {

    body {
        background-attachment: scroll;
    }

    .portal-container {
        padding: 25px 15px;
    }

    .portal-welcome {
        padding: 25px;
    }

}