/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-4cxtci119y] {
    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-4cxtci119y] {
    flex: 1;
    width: 100%;
}

.topbar-container[b-4cxtci119y] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100; /* Ensure it stays above other content */
}

.content-wrapper[b-4cxtci119y] {
    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-4cxtci119y] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-4cxtci119y] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-4cxtci119y]  a, .top-row[b-4cxtci119y]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row[b-4cxtci119y]  a:hover, .top-row[b-4cxtci119y]  .btn-link:hover {
            text-decoration: underline;
        }

        .top-row[b-4cxtci119y]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

@media (max-width: 768px) { /* Aligned with other files */
    .top-row[b-4cxtci119y] {
        justify-content: space-between;
    }

        .top-row[b-4cxtci119y]  a, .top-row[b-4cxtci119y]  .btn-link {
            margin-left: 0;
        }

    .content-wrapper[b-4cxtci119y] {
        margin-top: 60px; /* Slightly reduced for mobile to prevent excessive spacing */
    }
}

@media (min-width: 769px) { /* Aligned with other files */
    .page[b-4cxtci119y] {
        flex-direction: row;
    }

    .sidebar[b-4cxtci119y] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-4cxtci119y] {
        position: sticky;
        top: 0;
        z-index: 1050; /* Increased to ensure it�s above content but below topbar */
    }

        .top-row.auth[b-4cxtci119y]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-4cxtci119y], article[b-4cxtci119y] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .content-wrapper[b-4cxtci119y] {
        margin-top: 70px; /* Consistent gap on larger screens */
    }
}

#blazor-error-ui[b-4cxtci119y] {
    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-4cxtci119y] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


/* ERROR BANNER */
.error-banner[b-4cxtci119y] {
    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-4cxtci119y 0.3s ease-out;
}

/* LEFT CONTENT (ICON + TEXT) */
.error-content[b-4cxtci119y] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* WARNING ICON */
.error-icon[b-4cxtci119y] {
    font-size: 1.4rem;
    margin-top: 2px;
}

/* RIGHT SIDE ACTION BUTTONS */
.error-actions[b-4cxtci119y] {
    display: flex;
    gap: 12px;
}

    .error-actions a[b-4cxtci119y] {
        color: #4a6fa5;
        text-decoration: none;
        font-weight: 600;
        cursor: pointer;
        transition: color 0.2s ease;
    }

        .error-actions a:hover[b-4cxtci119y] {
            color: #2d4f7c;
        }

/* Slide-down animation */
@keyframes slideDown-b-4cxtci119y {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE FRIENDLY */
@media (max-width: 600px) {
    .error-banner[b-4cxtci119y] {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .error-content[b-4cxtci119y] {
        justify-content: center;
    }
}
/* /Components/Layout/TopBar.razor.rz.scp.css */
    .drp-f-size[b-mnqsp0ohj3] {
        font-size: 0.9em;
        color: #1A1D2B !important; /* Added your color */
    }

    .dropdown-menu[b-mnqsp0ohj3] {
        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: 300px;
    }

    .dropdown-submenu[b-mnqsp0ohj3] {
        position: relative;
    }

        .dropdown-submenu > .dropdown-menu[b-mnqsp0ohj3] {
            top: 0;
            left: 100%;
            display: none;
            min-width: 300px;
            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-mnqsp0ohj3],
        .dropdown-submenu:hover > .dropdown-menu[b-mnqsp0ohj3] {
            display: block;
        }

        .dropdown-hover > .dropdown-toggle:active[b-mnqsp0ohj3],
        .dropdown-submenu > .dropdown-toggle:active[b-mnqsp0ohj3] {
            pointer-events: none;
        }

        .dropdown-menu .dropdown-item[b-mnqsp0ohj3],
        .dropdown-submenu .dropdown-item[b-mnqsp0ohj3] {
            display: flex;
            align-items: center;
            padding: 8px 15px;
            color: #1A1D2B !important; /* Updated from #333 to your color */
            white-space: normal; /* Allow text wrapping */
            font-size: 0.8rem;
            transition: background-color 0.2s;
        }

            .dropdown-menu .dropdown-item .biIcon[b-mnqsp0ohj3],
            .dropdown-submenu .dropdown-item .biIcon[b-mnqsp0ohj3] {
                margin-right: 10px;
                font-size: 0.9rem;
                color: #555;
            }

            .dropdown-menu .dropdown-item:hover[b-mnqsp0ohj3],
            .dropdown-submenu .dropdown-item:hover[b-mnqsp0ohj3],
            .dropdown-menu .dropdown-item:focus[b-mnqsp0ohj3],
            .dropdown-submenu .dropdown-item:focus[b-mnqsp0ohj3] {
                background-color: #f1f1f1 !important;
                color: #000 !important;
            }

            .dropdown-menu .dropdown-item.active[b-mnqsp0ohj3],
            .dropdown-submenu .dropdown-item.active[b-mnqsp0ohj3] {
                background-color: #6f42c1 !important;
                color: white !important;
            }

    .dropdown-menu > .dropdown-submenu > a[b-mnqsp0ohj3]:after {
        float: right;
        margin-left: 10px;
        font-size: 0.9em;
    }

    .topbar-container[b-mnqsp0ohj3] {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.1);
        background-color: #BCCBDE;
        z-index: 1100;
    }

    .topbar-lower[b-mnqsp0ohj3] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px 15px;
        background: #BCCBDE;
    }

    .navbar[b-mnqsp0ohj3] {
        padding: 0.5rem 1rem;
        background-color: #BCCBDE !important;
    }

    .container-fluid[b-mnqsp0ohj3] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .navbar-collapse[b-mnqsp0ohj3] {
        flex-grow: 1;
        justify-content: flex-start;
    }

    .navbar-nav[b-mnqsp0ohj3] {
        margin-right: auto;
        justify-content: flex-start !important;
    }

    .nav-link[b-mnqsp0ohj3] {
        color: #1A1D2B !important; /* Updated from white to your color */
        padding: 0.5rem 1rem;
    }

    .navbar-brand-container[b-mnqsp0ohj3] {
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .navbar-brand-container h5[b-mnqsp0ohj3] {
            margin: 0;
            font-size: 1.2em;
            font-weight: bold;
        }

    .navbar-toggler[b-mnqsp0ohj3] {
        border: none;
        background: transparent;
        padding: 0.25rem 0.5rem;
    }

    .dropdown-item.active[b-mnqsp0ohj3], .dropdown-item:active[b-mnqsp0ohj3] {
        background-color: #BCCBDE !important;
        color: white !important;
    }

    .imageIcon[b-mnqsp0ohj3] {
        margin-right: 8px;
    }

    .brandText[b-mnqsp0ohj3] {
        font-weight: bold;
        color: white;
    }

    .companyNameText[b-mnqsp0ohj3] {
        font-size: 0.9em;
    }

    .page-title-container[b-mnqsp0ohj3] {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }

    .page-title[b-mnqsp0ohj3] {
        color: #BCCBDE;
        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-mnqsp0ohj3] {
        font-size: 0.9em;
        color: #6c757d;
    }

    .biIcon[b-mnqsp0ohj3] {
        margin-right: 8px;
    }

    @media (max-width: 991px) {
        .container-fluid[b-mnqsp0ohj3] {
            justify-content: space-between;
        }

        .navbar-brand-container[b-mnqsp0ohj3] {
            order: 2;
        }

        .navbar-collapse[b-mnqsp0ohj3] {
            order: 3;
            width: 100%;
            margin-top: 1rem;
            background-color: rgba(18, 143, 139, 0.95);
            border-radius: 0.375rem;
            padding: 1rem;
        }

        .navbar-nav[b-mnqsp0ohj3] {
            flex-direction: column;
            width: 100%;
            margin: 0;
        }

        .nav-item[b-mnqsp0ohj3] {
            width: 100%;
        }

        .nav-link[b-mnqsp0ohj3] {
            padding: 0.75rem 1rem;
            border-radius: 0.375rem;
            margin-bottom: 0.25rem;
        }

        .dropdown-menu[b-mnqsp0ohj3] {
            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-mnqsp0ohj3] {
            position: static !important;
            left: 0 !important;
            width: 100%;
            margin: 0.25rem 0 0 1rem;
            background-color: #e9ecef;
        }

        .topbar-container[b-mnqsp0ohj3] {
            padding: 5px 10px;
        }

        .navbar-collapse[b-mnqsp0ohj3] {
            position: static;
            top: 0;
            left: 0;
            width: 100%;
            background-color: #BCCBDE;
            padding: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            z-index: 1099;
        }

        .navbar-nav .dropdown-menu[b-mnqsp0ohj3],
        .navbar-nav .dropdown-submenu[b-mnqsp0ohj3] {
            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-mnqsp0ohj3] {
            font-size: 0.9em;
            padding: 8px 15px;
        }

            .dropdown-item.active[b-mnqsp0ohj3], .dropdown-item:active[b-mnqsp0ohj3] {
                background-color: #808080 !important;
                color: white !important;
            }

        .navbar-brand-container[b-mnqsp0ohj3] {
            gap: 5px;
        }

        .brandText[b-mnqsp0ohj3] {
            font-size: 0.9em;
        }

        .companyNameText[b-mnqsp0ohj3] {
            font-size: 0.6em;
        }

        .navbar-toggler[b-mnqsp0ohj3] {
            padding: 5px;
        }

        .page-title-container[b-mnqsp0ohj3] {
            display: none;
        }
    }

    @media (min-width: 992px) {
        .navbar-expand-lg .navbar-collapse[b-mnqsp0ohj3] {
            display: flex !important;
            flex-basis: auto;
            justify-content: flex-start;
        }

        .navbar-toggler[b-mnqsp0ohj3] {
            display: none;
        }

        .navbar-nav[b-mnqsp0ohj3] {
            display: flex;
            flex-direction: row;
            align-items: center;
        }

        .nav-item[b-mnqsp0ohj3] {
            margin-right: 0.5rem;
        }

        .dropdown-hover:hover > .dropdown-menu[b-mnqsp0ohj3] {
            display: block !important;
        }

        .dropdown-menu[b-mnqsp0ohj3] {
            position: absolute !important;
            top: 100%;
            left: 0;
            z-index: 1000;
            display: none;
            min-width: 300px;
            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-mnqsp0ohj3] {
        margin-right: 1rem;
        padding: 0.375rem 0.75rem;
        border-radius: 0.375rem;
    }



    .logout-btn[b-mnqsp0ohj3] {
        background-color: #BCCBDE;
        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-mnqsp0ohj3] {
            background-color: #0f6f6b; /* slightly darker hover */
            border-color: #e0e0e0; /* subtle border color change on hover */
            color: #fff;
        }

    .logout-modal[b-mnqsp0ohj3] {
        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-mnqsp0ohj3] {
        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-mnqsp0ohj3] {
        font-size: 1.2em;
        font-weight: 600;
        margin-bottom: 15px;
        color: #333;
    }

    .logout-modal-body[b-mnqsp0ohj3] {
        font-size: 1em;
        color: #555;
        margin-bottom: 20px;
    }

    .logout-modal-footer[b-mnqsp0ohj3] {
        display: flex;
        justify-content: space-around;
    }

    .btn-confirm[b-mnqsp0ohj3] {
        background-color: #BCCBDE;
        color: white;
        border: none;
        padding: 8px 20px;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.2s;
    }

        .btn-confirm:hover[b-mnqsp0ohj3] {
            background-color: #0f6f6b;
        }

    .btn-cancel[b-mnqsp0ohj3] {
        background-color: #dc3545;
        color: white;
        border: none;
        padding: 8px 20px;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.2s;
    }

        .btn-cancel:hover[b-mnqsp0ohj3] {
            background-color: #c82333;
        }

    .bottom-row[b-mnqsp0ohj3] {
        background-color: #f8f9fa;
        padding: 8px 0;
        border-top: 1px solid #dee2e6;
    }

    .logout-link[b-mnqsp0ohj3] {
        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-mnqsp0ohj3] {
            background-color: #e9ecef;
            color: #495057;
        }

        .logout-link i[b-mnqsp0ohj3] {
            font-size: 1.1em;
        }


    .brand-container[b-mnqsp0ohj3] {
        font-family: 'Verdana', sans-serif;
    }

    .brand-main[b-mnqsp0ohj3] {
        font-weight: bold;
        font-size: 1.2rem; /* Smaller size for AyursoftWeb */
        color: #1A1D2B !important; /* Updated from #ffffff to your color */
    }

    .brand-version[b-mnqsp0ohj3] {
        font-size: 0.7rem; /* Even smaller size for Ver 2.0 */
        color: #1A1D2B !important; /* Updated from #d1d1d1 to your color */
        vertical-align: super; /* Aligns version number slightly above baseline */
        opacity: 0.8; /* Added opacity for better visual hierarchy */
    }

    .navbar-brand:hover .brand-main[b-mnqsp0ohj3],
    .navbar-brand:hover .brand-version[b-mnqsp0ohj3] {
        color: #1A1D2B !important; /* Updated hover color to maintain consistency */
        text-decoration: none; /* Remove underline on hover */
        transition: color 0.3s ease; /* Smooth color transition */
    }

    /* Additional rule for better visibility on your background */
    .navbar-nav .nav-link:hover[b-mnqsp0ohj3] {
        color: #1A1D2B !important;
        opacity: 0.9;
    }
