/* =========================================================
   BALSA DESIGN SYSTEM
========================================================= */

:root {

    /* =========================================
       BSU COLORS
    ========================================== */

    --bsu-green: #176b3a;

    --bsu-green-dark: #10532d;

    --bsu-green-light: #eaf4ee;

    --bsu-yellow: #f4c430;

    --bsu-yellow-light: #fff7d6;


    /* =========================================
       LIS PROGRAM COLOR
    ========================================== */

    --lis-teal: #087f8c;

    --lis-teal-dark: #05636d;

    --lis-teal-light: #e6f5f6;


    /* =========================================
       NEUTRAL COLORS
    ========================================== */

    --balsa-text: #263238;

    --balsa-muted: #6c757d;

    --balsa-border: #dee2e6;

    --balsa-background: #f6f8f7;

}


/* =========================================================
   GLOBAL
========================================================= */

html,
body {

    min-height: 100%;

}


body {

    margin: 0;

    background-color: var(--balsa-background);

    color: var(--balsa-text);

    font-family:
        system-ui,
        -apple-system,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

}


/* =========================================================
   PAGE WRAPPER
========================================================= */

.balsa-page {

    min-height: 100vh;

    display: flex;

    flex-direction: column;

}


/* =========================================================
   MAIN CONTENT
========================================================= */

.balsa-main {

    flex: 1;

    width: 100%;

}


/* =========================================================
   NAVBAR
========================================================= */

.balsa-navbar {

    background-color: var(--bsu-green);

    border-bottom: 4px solid var(--bsu-yellow);

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.08);

    padding-top: 0.65rem;

    padding-bottom: 0.65rem;

}


/* =========================================================
   BRAND
========================================================= */

.balsa-brand {

    display: flex;

    align-items: center;

    gap: 0.6rem;

    color: #ffffff !important;

    text-decoration: none;

}


.balsa-brand:hover {

    color: #ffffff !important;

}


.balsa-brand-symbol {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 42px;

    height: 42px;

    border-radius: 8px;

    background-color: var(--bsu-yellow);

    color: var(--bsu-green-dark);

    font-weight: 800;

    font-size: 1.05rem;

}


.balsa-brand-text {

    display: flex;

    flex-direction: column;

    line-height: 1.05;

}


.balsa-brand-text strong {

    font-size: 1.05rem;

    letter-spacing: 0.04em;

}


.balsa-brand-text small {

    margin-top: 3px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 0.68rem;

    font-weight: 400;

}


/* =========================================================
   NAVIGATION LINKS
========================================================= */

.balsa-navbar .nav-link {

    color: rgba(255, 255, 255, 0.88);

    padding-left: 0.75rem;

    padding-right: 0.75rem;

    border-radius: 6px;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;

}


.balsa-navbar .nav-link:hover {

    color: #ffffff;

    background-color:
        rgba(255, 255, 255, 0.10);

}


.balsa-navbar .nav-link.active {

    color: #ffffff;

    background-color:
        rgba(255, 255, 255, 0.15);

}


/* =========================================================
   ROLE LINK
========================================================= */

.balsa-role-link {

    color: #ffffff !important;

}


.balsa-role-link:hover {

    background-color: var(--lis-teal) !important;

}


/* =========================================================
   WELCOME
========================================================= */

.balsa-welcome {

    color: rgba(255, 255, 255, 0.85) !important;

}


.balsa-welcome strong {

    color: var(--bsu-yellow);

}


/* =========================================================
   LOGIN
========================================================= */

.balsa-login {

    border: 1px solid
        rgba(255, 255, 255, 0.35);

    margin-left: 0.25rem;

}


.balsa-login:hover {

    background-color: var(--bsu-yellow) !important;

    color: var(--bsu-green-dark) !important;

}


/* =========================================================
   MOBILE NAVBAR
========================================================= */

.balsa-navbar .navbar-toggler {

    border-color:
        rgba(255, 255, 255, 0.45);

}


.balsa-navbar .navbar-toggler:focus {

    box-shadow:
        0 0 0 0.15rem
        rgba(244, 196, 48, 0.35);

}


/* =========================================================
   BUTTON SYSTEM
========================================================= */


.btn-primary {

    --bs-btn-color: #fff;

    --bs-btn-bg: var(--bsu-green);

    --bs-btn-border-color: var(--bsu-green);

    --bs-btn-hover-color: #fff;

    --bs-btn-hover-bg: var(--bsu-green-dark);

    --bs-btn-hover-border-color: var(--bsu-green-dark);

    --bs-btn-active-bg: var(--bsu-green-dark);

    --bs-btn-active-border-color: var(--bsu-green-dark);

}


.btn-teal {

    color: #fff;

    background-color: var(--lis-teal);

    border-color: var(--lis-teal);

}


.btn-teal:hover {

    color: #fff;

    background-color: var(--lis-teal-dark);

    border-color: var(--lis-teal-dark);

}


.btn-bsu-yellow {

    color: var(--bsu-green-dark);

    background-color: var(--bsu-yellow);

    border-color: var(--bsu-yellow);

    font-weight: 600;

}


.btn-bsu-yellow:hover {

    color: var(--bsu-green-dark);

    background-color: #e4b51e;

    border-color: #e4b51e;

}


/* =========================================================
   LINKS
========================================================= */

a {

    color: var(--lis-teal);

}


a:hover {

    color: var(--lis-teal-dark);

}


/* =========================================================
   CARDS
========================================================= */

.card {

    border: 1px solid var(--balsa-border);

    border-radius: 10px;

}


.card-header {

    background-color: var(--bsu-green-light);

    border-bottom:
        1px solid var(--balsa-border);

    color: var(--bsu-green-dark);

    font-weight: 600;

}


/* =========================================================
   FORM CONTROLS
========================================================= */

.form-control:focus,
.form-select:focus {

    border-color: var(--lis-teal);

    box-shadow:
        0 0 0 0.2rem
        rgba(8, 127, 140, 0.15);

}


/* =========================================================
   BADGES
========================================================= */

.badge.bg-primary {

    background-color:
        var(--lis-teal) !important;

}


.badge.bg-success {

    background-color:
        var(--bsu-green) !important;

}


/* =========================================================
   FOOTER
========================================================= */

.balsa-footer {

    background-color: var(--bsu-green-dark);

    color: #ffffff;

    border-top: 4px solid var(--bsu-yellow);

    padding-top: 1.75rem;

    padding-bottom: 1.75rem;

    margin-top: auto;

}


.balsa-footer-title {

    font-weight: 700;

    font-size: 1rem;

}


.balsa-footer-subtitle {

    margin-top: 0.35rem;

    font-size: 0.85rem;

    color:
        rgba(255, 255, 255, 0.75);

}


.balsa-footer-muted {

    color:
        rgba(255, 255, 255, 0.55);

    margin-top: 0.2rem;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .balsa-navbar .nav-link {

        margin-top: 2px;

        margin-bottom: 2px;

    }

    .balsa-login {

        margin-left: 0;

        margin-top: 0.4rem;

    }

}