/* Global Branding Colors */
:root {
    --sms-header-bg: #94dcee; /* Light blue top header */
    --sms-nav-bg: #455a64;    /* Dark blue-grey nav bar */
    --sms-header-text: #fff;  /* White text on light header */
}


/* Top Header Styling */
.sms-top-header {
    background-color: var(--sms-header-bg);
    color: var(--sms-header-text) !important;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.sms-top-header h4,
.sms-top-header a,
.sms-top-header i {
    color: var(--sms-header-text) !important;
}


/* Logo Sizing */
.sms-logo {
    height: 50px;
    width: auto;
    margin-right: 10px;
}


/* Reset and Layout */
body {
    min-height: 100vh;
}

.logo-header, nav {
    margin: 0;
    padding: 0;
}

.nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Make container responsive */
.container {
    width: 100% !important;
    max-width: 1140px !important;
    padding: 0 15px !important;
    margin: 0 auto;
}

.logo-header h4 {
    margin: 0;
}

.logo {
    height: 60px;
    margin-right: 15px;
    filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.3));
}

.welcome-message {
    text-align: center;
    padding: 2px 0;
    font-size: 12px;
}

h4 {
    font-size: 20px !important;
    text-shadow: 4px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

h2 {
    font-size: 16px !important;
    text-shadow: 4px 2px 4px rgba(0, 0, 0, 0.5) !important;
    margin-bottom: 0;
}

h5 {
    font-size: 26px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
    margin-top: 40px;
}

nav {
    box-shadow: none;
    height: 50px;
    align-items: center;
    padding-left: 0;
    padding-right: 0;
}

/* Force Navbar Links to White */
.navbar .nav-link,
.navbar .dropdown-toggle,
.navbar .dropdown-item {
    color: #ffffff !important;
}

nav ul li a {
    display: block;
    padding: 0 15px;
    line-height: 50px;
}

nav ul li a:hover {
    background-color: rgba(248, 245, 245, 0.096);
    height: 100%;
}

.logo-header, nav-container, footer {
    z-index: 1000;
}

/* Toast Styling */
#toast-container {
    position: fixed !important;
    top: 50% !important;
    right: 50% !important;
    transform: translate(50%, -50%);
    bottom: auto !important;
    left: auto !important;
    z-index: 1080;
}

.toast {
    background-color: red !important;
}

/* Back to Top Button */
#myBtn {
    display: none;
    position: fixed;
    bottom: 60px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
}
#myBtn:hover {
    background-color: #555;
}

/* Sidenav Adjustments */
.sidenav {
    height: auto !important;
    max-height: 90vh;
}

/* Dropdown Adjustments */
ul#settingsDropdown1,
ul#settingsDropdown2,
ul#utilityDropdown {
    min-width: 150px;
    width: auto;
}

/* Modal Responsive */
/* .modal {
    width: 100%;
    max-width: 850px;
    height: auto;
    margin: auto;
} */

/* Global Dark Dropdown Menu */
.navbar .dropdown-menu,
.dropdown-menu {
    background-color: #37474f !important;
}

/* White text for all dropdown items */
.navbar .dropdown-menu .dropdown-item,
.dropdown-menu .dropdown-item {
    color: #ffffff !important;
}

/* Hover effect */
.navbar .dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:hover {
    background-color: #455a64 !important;
    color: #ffffff !important;
}

/* Divider color adjustment if needed */
.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.15);
}

#toast-container-bootstrap {
    position: fixed !important;
    top: 50% !important;
    right: 50% !important;
    transform: translate(50%, -50%);
    bottom: auto !important;
    left: auto !important;
    z-index: 1080;

    /* position: fixed;
    top: 40px;
    right: 50%;
    transform: translateX(50%);
    z-index: 1080; */
}

h2.custom-3d-effect {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 26px;
    text-align: center !important;
}

.welcome-message {
    margin: 24px 0 32px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.welcome-badge {
    background: #f1f7fc;
    border-radius: 12px;
    padding: 12px 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    font-size: 1rem;
    color: #244262;
    font-weight: 400;
    border: 1px solid #b2dbfa;
    letter-spacing: 0.03em;
}


@media (max-width: 600px) {
    #toast-container-bootstrap {
        right: 5%;
        left: 5%;
        transform: none;
        width: 90vw;
    }
}

@media (max-width: 576px) {
    #myBtn {
        bottom: 120px !important; /* dagdagan para hindi matabunan ng mobile footer */
        right: 20px !important;
    }
}
@media (min-width: 577px) {
    #myBtn {
        bottom: 120px !important;
        right: 40px !important;
    }
}

@media (min-width: 768px) {
    #myBtn {
        bottom: 80px !important;
        right: 40px !important;
    }
}

