/* =========================================================
   BASIC SITE STYLES
   ========================================================= */

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    margin-bottom: 60px;
    background-color: #ffffff;
}

/* Bootstrap focus */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}


/* =========================================================
   D-MENTION TOP HEADER
   ========================================================= */

/*
    Only this header is sticky.
    The page heading below it is NOT sticky.
*/

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
    background-color: #ffffff;
}


/* =========================================================
   TOP BANNER
   ========================================================= */

.top-banner {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 14px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}


/* =========================================================
   BRAND LOGO
   ========================================================= */

.brand-logo {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 8px;
    background-color: #3a57e8;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
}


/* =========================================================
   BRAND TEXT
   ========================================================= */

.top-banner h5 {
    margin: 0;
    color: #232d42;
    font-weight: 600;
}

.top-banner small {
    color: #8a92a6;
}


/* =========================================================
   TOP MENU LINKS
   ========================================================= */

.banner-link {
    color: #232d42;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

    .banner-link:hover {
        color: #3a57e8;
        text-decoration: none;
    }


/* =========================================================
   PAGE HEADING BANNER
   ========================================================= */

/*
    IMPORTANT:
    This is intentionally NOT sticky.
*/

.page-heading-banner {
    width: 100%;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e5e5e5;
    padding: 28px 0;
    margin: 0 0 25px 0;
}


/* =========================================================
   PAGE TITLE
   ========================================================= */

.page-heading-title {
    margin: 0;
    color: #232d42;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
}


/* =========================================================
   PAGE SUBTITLE
   ========================================================= */

.page-heading-subtitle {
    margin: 5px 0 0 0;
    color: #8a92a6;
    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.page-heading-banner .breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

.page-heading-banner .breadcrumb-item {
    font-size: 14px;
}

    .page-heading-banner .breadcrumb-item a {
        color: #3a57e8;
        text-decoration: none;
    }

        .page-heading-banner .breadcrumb-item a:hover {
            color: #2f46c5;
            text-decoration: none;
        }

    .page-heading-banner .breadcrumb-item.active {
        color: #8a92a6;
    }


/* =========================================================
   MAIN CONTENT
   ========================================================= */

main {
    min-height: 400px;
}


/* =========================================================
   GLOBAL TOAST CONTAINER
   ========================================================= */

.global-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.global-toast {
    min-width: 320px;
    max-width: 420px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateX(120%);
}

    .global-toast.toast-show {
        animation: toastSlideIn 0.4s ease forwards;
    }

    .global-toast.toast-hide {
        animation: toastSlideOut 0.4s ease forwards;
    }

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(120%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(120%);
    }
}

.global-toast .toast-body {
    padding: 14px 16px;
    font-size: 14px;
}

.global-toast-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 10px;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    margin-top: 40px;
}


/* =========================================================
   MOBILE RESPONSIVE
   ========================================================= */

@media (max-width: 767.98px) {

    .top-banner {
        padding: 10px 0;
    }

    .brand-logo {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 20px;
    }

    .top-banner h5 {
        font-size: 16px;
    }

    .top-banner small {
        font-size: 12px;
    }

    .banner-link {
        font-size: 13px;
    }

    .page-heading-banner {
        padding: 20px 0;
        margin-bottom: 20px;
    }

    .page-heading-title {
        font-size: 20px;
    }

    .page-heading-subtitle {
        font-size: 13px;
    }

    .global-toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .global-toast {
        min-width: 0;
        width: 100%;
        max-width: none;
    }
}
/* =========================================
   TOP NAVIGATION
   ========================================= */

.top-navigation {
    height: 100%;
}

.banner-link {
    color: #000;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 4px;
    transition: all 0.2s ease;
}

    .banner-link:hover {
        color: #0d6efd;
    }


/* =========================================
   PROFILE DROPDOWN
   ========================================= */

.profile-dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.profile-toggle {
    border: none;
    background: transparent;
    color: #000;
    display: flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .profile-toggle:hover {
        background: rgba(255, 255, 255, 0.12);
    }

.profile-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    color: #082b55;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 15px;
}

.profile-name {
    margin-right: 7px;
}

.profile-arrow {
    font-size: 13px;
    transition: transform 0.2s ease;
}


/* =========================================
   DROPDOWN MENU
   ========================================= */

.profile-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 245px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    padding: 8px;
    z-index: 9999;
    /* Hidden initially */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}


/* Show menu when mouse is over profile */

.profile-dropdown:hover .profile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Rotate arrow */

.profile-dropdown:hover .profile-arrow {
    transform: rotate(180deg);
}


/* =========================================
   PROFILE HEADER
   ========================================= */

.profile-menu-header {
    display: flex;
    align-items: center;
    padding: 12px 10px;
}

.profile-menu-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #082b55;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 18px;
}

.profile-menu-header strong {
    display: block;
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
}

.profile-menu-header small {
    display: block;
    color: #6b7280;
    font-size: 12px;
    margin-top: 2px;
}


/* =========================================
   DIVIDER
   ========================================= */

.profile-menu-divider {
    height: 1px;
    background: #eeeeee;
    margin: 5px 2px;
}


/* =========================================
   MENU ITEMS
   ========================================= */

.profile-menu-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 11px;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.15s ease;
}

    .profile-menu-item i {
        width: 22px;
        margin-right: 9px;
        color: #64748b;
        font-size: 15px;
        text-align: center;
    }

    .profile-menu-item:hover {
        background: #f1f5f9;
        color: #082b55;
    }

        .profile-menu-item:hover i {
            color: #082b55;
        }


    /* =========================================
   LOGOUT
   ========================================= */

    .profile-menu-item.logout-item {
        color: #dc3545;
    }

        .profile-menu-item.logout-item i {
            color: #dc3545;
        }

        .profile-menu-item.logout-item:hover {
            background: #fff1f2;
            color: #dc3545;
        }

```css
/* Desktop Navigation */
.top-navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navigation-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

    .navigation-menu .profile-dropdown {
        position: relative;
    }

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 26px;
    cursor: pointer;
    padding: 6px 10px;
}

/* Mobile Navigation */
@media (max-width: 768px) {

    .top-banner .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .top-banner .d-flex.align-items-center.justify-content-between {
        position: relative;
        flex-wrap: wrap;
    }

    .brand-logo {
        max-width: 45px;
        margin-right: 8px !important;
    }

    .top-banner h5 {
        font-size: 15px;
    }

    .top-banner small {
        font-size: 11px;
    }

    .top-navigation {
        margin-left: auto;
        position: relative;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .navigation-menu {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        width: 230px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0;
        background: #ffffff;
        border-radius: 8px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
        z-index: 1050;
    }

        .navigation-menu.show {
            display: flex;
        }

        .navigation-menu .banner-link {
            display: block;
            padding: 12px 18px;
            margin: 0 !important;
            color: #082B55;
            text-decoration: none;
        }

            .navigation-menu .banner-link:hover {
                background: #f1f4f8;
            }

        .navigation-menu .profile-dropdown {
            width: 100%;
            margin: 0 !important;
        }

        .navigation-menu .profile-toggle {
            display: flex;
            align-items: center;
            width: 100%;
            padding: 12px 18px;
            border: none;
            background: transparent;
            color: #082B55;
            text-align: left;
        }

        .navigation-menu .profile-arrow {
            margin-left: auto;
        }

        .navigation-menu .profile-menu {
            position: static;
            width: 100%;
            box-shadow: none;
            border: none;
            border-radius: 0;
        }

    .page-heading-banner .d-flex {
        align-items: flex-start !important;
        flex-direction: column;
        gap: 10px;
    }

    .page-heading-banner nav {
        font-size: 12px;
    }
}

