/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-fcp2tu2tq5] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure the page takes full height */
    font-family:Verdana;
    font-size:0.9em;
}

main[b-fcp2tu2tq5] {
    flex: 1;
    width: 100%;
}

.topbar-container[b-fcp2tu2tq5] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100; /* Ensure it stays above other content */
}

.content-wrapper[b-fcp2tu2tq5] {
    margin-top: 70px; /* Adjust based on topbar height + desired gap */
    width: 100%;
    box-sizing: border-box; /* Ensure padding/margins are included in width */
}

.sidebar[b-fcp2tu2tq5] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-fcp2tu2tq5] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-fcp2tu2tq5]  a, .top-row[b-fcp2tu2tq5]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row[b-fcp2tu2tq5]  a:hover, .top-row[b-fcp2tu2tq5]  .btn-link:hover {
            text-decoration: underline;
        }

        .top-row[b-fcp2tu2tq5]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

@media (max-width: 768px) { /* Aligned with other files */
    .top-row[b-fcp2tu2tq5] {
        justify-content: space-between;
    }

        .top-row[b-fcp2tu2tq5]  a, .top-row[b-fcp2tu2tq5]  .btn-link {
            margin-left: 0;
        }

    .content-wrapper[b-fcp2tu2tq5] {
        margin-top: 60px; /* Slightly reduced for mobile to prevent excessive spacing */
    }
}

@media (min-width: 769px) { /* Aligned with other files */
    .page[b-fcp2tu2tq5] {
        flex-direction: row;
    }

    .sidebar[b-fcp2tu2tq5] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-fcp2tu2tq5] {
        position: sticky;
        top: 0;
        z-index: 1050; /* Increased to ensure it’s above content but below topbar */
    }

        .top-row.auth[b-fcp2tu2tq5]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-fcp2tu2tq5], article[b-fcp2tu2tq5] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .content-wrapper[b-fcp2tu2tq5] {
        margin-top: 70px; /* Consistent gap on larger screens */
    }
}

#blazor-error-ui[b-fcp2tu2tq5] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-fcp2tu2tq5] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }



/* ERROR BANNER */
.error-banner[b-fcp2tu2tq5] {
    background-color: #ffff; /* light blue shade */
    border-left: 5px solid #4a6fa5; /* strong accent */
    color: #3b4a5a; /* dark text */
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    margin: 15px;
    animation: slideDown-b-fcp2tu2tq5 0.3s ease-out;
}

/* LEFT CONTENT (ICON + TEXT) */
.error-content[b-fcp2tu2tq5] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* WARNING ICON */
.error-icon[b-fcp2tu2tq5] {
    font-size: 1.4rem;
    margin-top: 2px;
}

/* RIGHT SIDE ACTION BUTTONS */
.error-actions[b-fcp2tu2tq5] {
    display: flex;
    gap: 12px;
}

    .error-actions a[b-fcp2tu2tq5] {
        color: #4a6fa5;
        text-decoration: none;
        font-weight: 600;
        cursor: pointer;
        transition: color 0.2s ease;
    }

        .error-actions a:hover[b-fcp2tu2tq5] {
            color: #2d4f7c;
        }

/* Slide-down animation */
@keyframes slideDown-b-fcp2tu2tq5 {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE FRIENDLY */
@media (max-width: 600px) {
    .error-banner[b-fcp2tu2tq5] {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .error-content[b-fcp2tu2tq5] {
        justify-content: center;
    }
}
/* /Components/Layout/TopBar.razor.rz.scp.css */
.drp-f-size[b-av9syz8syo] {
    font-size: 0.9em;
}

.dropdown-menu[b-av9syz8syo] {
    position: absolute !important;
    background-color: white !important;
    z-index: 1051 !important;
    display: none;
    max-height: calc(100vh - 120px);
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
    min-width: 200px;
}

.dropdown-submenu[b-av9syz8syo] {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu[b-av9syz8syo] {
        top: 0;
        left: 100%;
        display: none;
        min-width: 200px;
        z-index: 1060;
        max-height: none !important;
        overflow-y: visible !important;
        position: absolute !important;
        border: 1px solid #ddd;
        border-radius: 4px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .dropdown-hover:hover > .dropdown-menu[b-av9syz8syo],
    .dropdown-submenu:hover > .dropdown-menu[b-av9syz8syo] {
        display: block;
    }

    .dropdown-hover > .dropdown-toggle:active[b-av9syz8syo],
    .dropdown-submenu > .dropdown-toggle:active[b-av9syz8syo] {
        pointer-events: none;
    }

    .dropdown-menu .dropdown-item[b-av9syz8syo],
    .dropdown-submenu .dropdown-item[b-av9syz8syo] {
        display: flex;
        align-items: center;
        padding: 8px 15px;
        color: #333 !important;
        font-size: 0.9rem;
        transition: background-color 0.2s;
    }

        .dropdown-menu .dropdown-item .biIcon[b-av9syz8syo],
        .dropdown-submenu .dropdown-item .biIcon[b-av9syz8syo] {
            margin-right: 10px;
            font-size: 0.9rem;
            color: #555;
        }

        .dropdown-menu .dropdown-item:hover[b-av9syz8syo],
        .dropdown-submenu .dropdown-item:hover[b-av9syz8syo],
        .dropdown-menu .dropdown-item:focus[b-av9syz8syo],
        .dropdown-submenu .dropdown-item:focus[b-av9syz8syo] {
            background-color: #f1f1f1 !important;
            color: #000 !important;
        }

        .dropdown-menu .dropdown-item.active[b-av9syz8syo],
        .dropdown-submenu .dropdown-item.active[b-av9syz8syo] {
            background-color: #6f42c1 !important;
            color: white !important;
        }

.dropdown-menu > .dropdown-submenu > a[b-av9syz8syo]:after {
    float: right;
    margin-left: 10px;
    font-size: 0.9em;
}

.topbar-container[b-av9syz8syo] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.1);
    background-color: #128f8b;
    z-index: 1100;
}

.topbar-lower[b-av9syz8syo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 15px;
    background: #128f8b;
}

.navbar[b-av9syz8syo] {
    padding: 0.5rem 1rem;
    background-color: #128f8b !important;
}

.container-fluid[b-av9syz8syo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.navbar-collapse[b-av9syz8syo] {
    flex-grow: 1;
    justify-content: flex-start;
}

.navbar-nav[b-av9syz8syo] {
    margin-right: auto;
    justify-content: flex-start !important;
}

.nav-link[b-av9syz8syo] {
    color: white !important;
    padding: 0.5rem 1rem;
}

.navbar-brand-container[b-av9syz8syo] {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .navbar-brand-container h5[b-av9syz8syo] {
        margin: 0;
        font-size: 1.2em;
        font-weight: bold;
    }

.navbar-toggler[b-av9syz8syo] {
    border: none;
    background: transparent;
    padding: 0.25rem 0.5rem;
}

.dropdown-item.active[b-av9syz8syo], .dropdown-item:active[b-av9syz8syo] {
   background-color: #128f8b !important;
    color: white !important;
}

.imageIcon[b-av9syz8syo] {
    margin-right: 8px;
}

.brandText[b-av9syz8syo] {
    font-weight: bold;
    color: white;
}

.companyNameText[b-av9syz8syo] {
    font-size: 0.9em;
}

.page-title-container[b-av9syz8syo] {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.page-title[b-av9syz8syo] {
    color: #128f8b;
    font-size: 0.9em;
    font-weight: 600;
    background-color: white;
    padding: 5px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.verText[b-av9syz8syo] {
    font-size: 0.9em;
    color: #6c757d;
}

.biIcon[b-av9syz8syo] {
    margin-right: 8px;
}

@media (max-width: 991px) {
    .container-fluid[b-av9syz8syo] {
        justify-content: space-between;
    }

    .navbar-brand-container[b-av9syz8syo] {
        order: 2;
    }

    .navbar-collapse[b-av9syz8syo] {
        order: 3;
        width: 100%;
        margin-top: 1rem;
        background-color: rgba(18, 143, 139, 0.95);
        border-radius: 0.375rem;
        padding: 1rem;
    }

    .navbar-nav[b-av9syz8syo] {
        flex-direction: column;
        width: 100%;
        margin: 0;
    }

    .nav-item[b-av9syz8syo] {
        width: 100%;
    }

    .nav-link[b-av9syz8syo] {
        padding: 0.75rem 1rem;
        border-radius: 0.375rem;
        margin-bottom: 0.25rem;
    }

    .dropdown-menu[b-av9syz8syo] {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0.25rem;
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: 0.375rem;
        box-shadow: none;
        padding: 0.5rem 0;
    }

    .dropdown-submenu .dropdown-menu[b-av9syz8syo] {
        position: static !important;
        left: 0 !important;
        width: 100%;
        margin: 0.25rem 0 0 1rem;
        background-color: #e9ecef;
    }

    .topbar-container[b-av9syz8syo] {
        padding: 5px 10px;
    }

    .navbar-collapse[b-av9syz8syo] {
        position: static;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #128f8b;
        padding: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 1099;
    }

    .navbar-nav .dropdown-menu[b-av9syz8syo],
    .navbar-nav .dropdown-submenu[b-av9syz8syo] {
        position: static !important;
        width: 100%;
        max-height: none !important;
        overflow-y: visible !important;
        border: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        left: auto !important;
        transform: none !important;
        background-color: white !important;
    }

    .dropdown-item[b-av9syz8syo] {
        font-size: 0.9em;
        padding: 8px 15px;
    }

        .dropdown-item.active[b-av9syz8syo], .dropdown-item:active[b-av9syz8syo] {
            background-color: #808080 !important;
            color: white !important;
        }

    .navbar-brand-container[b-av9syz8syo] {
        gap: 5px;
    }

    .brandText[b-av9syz8syo] {
        font-size: 0.9em;
    }

    .companyNameText[b-av9syz8syo] {
        font-size: 0.6em;
    }

    .navbar-toggler[b-av9syz8syo] {
        padding: 5px;
    }

    .page-title-container[b-av9syz8syo] {
        display: none;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse[b-av9syz8syo] {
        display: flex !important;
        flex-basis: auto;
        justify-content: flex-start;
    }

    .navbar-toggler[b-av9syz8syo] {
        display: none;
    }

    .navbar-nav[b-av9syz8syo] {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .nav-item[b-av9syz8syo] {
        margin-right: 0.5rem;
    }

    .dropdown-hover:hover > .dropdown-menu[b-av9syz8syo] {
        display: block !important;
    }

    .dropdown-menu[b-av9syz8syo] {
        position: absolute !important;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: none;
        min-width: 200px;
        padding: 0.5rem 0;
        margin: 0.125rem 0 0;
        font-size: 0.8rem;
        background-color: white;
        border: 1px solid rgba(0,0,0,.15);
        border-radius: 0.375rem;
        box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
    }
}

.nav-item:last-child .btn[b-av9syz8syo] {
    margin-right: 1rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
}



.logout-btn[b-av9syz8syo] {
    background-color: #128f8b;
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    border: 2px solid white; /* added border */
    transition: all 0.2s ease;
}

    .logout-btn:hover[b-av9syz8syo] {
        background-color: #0f6f6b; /* slightly darker hover */
        border-color: #e0e0e0; /* subtle border color change on hover */
        color: #fff;
    }

.logout-modal[b-av9syz8syo] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1200;
}

.logout-modal-content[b-av9syz8syo] {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 300px;
    text-align: center;
}

.logout-modal-header[b-av9syz8syo] {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.logout-modal-body[b-av9syz8syo] {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
}

.logout-modal-footer[b-av9syz8syo] {
    display: flex;
    justify-content: space-around;
}

.btn-confirm[b-av9syz8syo] {
    background-color: #128f8b;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .btn-confirm:hover[b-av9syz8syo] {
        background-color: #0f6f6b;
    }

.btn-cancel[b-av9syz8syo] {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .btn-cancel:hover[b-av9syz8syo] {
        background-color: #c82333;
    }

.bottom-row[b-av9syz8syo] {
    background-color: #f8f9fa;
    padding: 8px 0;
    border-top: 1px solid #dee2e6;
}

.logout-link[b-av9syz8syo] {
    background: none;
    border: none;
    color: #6c757d;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 15px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

    .logout-link:hover[b-av9syz8syo] {
        background-color: #e9ecef;
        color: #495057;
    }

    .logout-link i[b-av9syz8syo] {
        font-size: 1.1em;
    }


.brand-container[b-av9syz8syo] {
    font-family: 'Verdana', sans-serif;
}

.brand-main[b-av9syz8syo] {
    font-weight: bold;
    font-size: 1.2rem; /* Smaller size for AyursoftWeb */
    color: #ffffff; /* White color to match navbar-dark theme */
}

.brand-version[b-av9syz8syo] {
    font-size: 0.7rem; /* Even smaller size for Ver 2.0 */
    color: #d1d1d1; /* Slightly lighter shade for contrast */
    vertical-align: super; /* Aligns version number slightly above baseline */
}

.navbar-brand:hover .brand-main[b-av9syz8syo],
.navbar-brand:hover .brand-version[b-av9syz8syo] {
    color: #f0f0f0; /* Subtle hover effect for professionalism */
    text-decoration: none; /* Remove underline on hover */
    transition: color 0.3s ease; /* Smooth color transition */
}
