@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.olwso25aue.bundle.scp.css';

/* /Components/Layout/AdminNavMenu.razor.rz.scp.css */
.navbar-toggler[b-ycz9ebxzvc] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-ycz9ebxzvc] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-ycz9ebxzvc] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-ycz9ebxzvc] {
    font-size: 1.1rem;
}

.bi[b-ycz9ebxzvc] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-ycz9ebxzvc] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-ycz9ebxzvc] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-ycz9ebxzvc] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-ycz9ebxzvc] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-ycz9ebxzvc] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-ycz9ebxzvc] {
        padding-bottom: 1rem;
    }

    .nav-item[b-ycz9ebxzvc]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-ycz9ebxzvc]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-ycz9ebxzvc]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-ycz9ebxzvc] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-ycz9ebxzvc] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-ycz9ebxzvc] {
        display: none;
    }

    .nav-scrollable[b-ycz9ebxzvc] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
.navbar[b-ycz9ebxzvc] {
    border-bottom: 1px solid #d6d5d5;
    background-color: #002db3;
    width: 100%;
}
/* /Components/Layout/DeskHelpPartial.razor.rz.scp.css */
/* Đảm bảo class ăn điểm ưu tiên cao hơn Bootstrap */
button.btn-noti[b-norg9rtfrw],
.btn-noti[b-norg9rtfrw] {
    display: inline-block !important;
    background-color: #ff4757 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    font-weight: bold;
    cursor: pointer;
    /* Thiết lập tâm xoay chính giữa nút */
    transform-origin: center center;
    /* Áp dụng animation */
    animation: shakeBtn-b-norg9rtfrw 1.2s infinite ease-in-out !important;
}

/* Đổi tên keyframes tránh trùng lặp */
@keyframes shakeBtn-b-norg9rtfrw {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }

    10%, 30%, 50%, 70% {
        transform: rotate(-12deg) scale(1.05);
    }

    20%, 40%, 60%, 80% {
        transform: rotate(12deg) scale(1.05);
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-xspvgqwmog] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-xspvgqwmog] {
    flex: 1;
}

.sidebar[b-xspvgqwmog] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-xspvgqwmog] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-start;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-xspvgqwmog]  a, .top-row[b-xspvgqwmog]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-xspvgqwmog]  a:hover, .top-row[b-xspvgqwmog]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-xspvgqwmog]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-xspvgqwmog] {
        justify-content: space-between;
    }

    .top-row[b-xspvgqwmog]  a, .top-row[b-xspvgqwmog]  .btn-link {
        margin-left: 0;
    }
}
@media (min-width: 768px) {
    /* Cố định chiều cao và cuộn riêng từ màn hình md trở lên */
    .h-md-100[b-xspvgqwmog] {
        height: 100% !important;
    }

    .overflow-y-md-auto[b-xspvgqwmog] {
        overflow-y: auto !important;
    }

    .overflow-md-hidden[b-xspvgqwmog] {
        overflow: hidden !important;
    }
}

@media (min-width: 641px) {
    .page[b-xspvgqwmog] {
        flex-direction: row;
    }

    .sidebar[b-xspvgqwmog] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-xspvgqwmog] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-xspvgqwmog]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-xspvgqwmog], article[b-xspvgqwmog] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-xspvgqwmog] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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-xspvgqwmog] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-x6rraloijk] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-x6rraloijk] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-x6rraloijk] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-x6rraloijk] {
    font-size: 1.1rem;
}

.bi[b-x6rraloijk] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-x6rraloijk] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-x6rraloijk] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-x6rraloijk] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-x6rraloijk] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-x6rraloijk] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-x6rraloijk] {
        padding-bottom: 1rem;
    }

    .nav-item[b-x6rraloijk]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-x6rraloijk]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-x6rraloijk]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-x6rraloijk] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-x6rraloijk] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-x6rraloijk] {
        display: none;
    }

    .nav-scrollable[b-x6rraloijk] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-cbhb9ind65],
.components-reconnect-repeated-attempt-visible[b-cbhb9ind65],
.components-reconnect-failed-visible[b-cbhb9ind65],
.components-pause-visible[b-cbhb9ind65],
.components-resume-failed-visible[b-cbhb9ind65],
.components-rejoining-animation[b-cbhb9ind65] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-cbhb9ind65],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-cbhb9ind65],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-cbhb9ind65],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-cbhb9ind65],
#components-reconnect-modal.components-reconnect-retrying[b-cbhb9ind65],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-cbhb9ind65],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-cbhb9ind65],
#components-reconnect-modal.components-reconnect-failed[b-cbhb9ind65],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-cbhb9ind65] {
    display: block;
}


#components-reconnect-modal[b-cbhb9ind65] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-cbhb9ind65 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-cbhb9ind65 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-cbhb9ind65 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-cbhb9ind65]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-cbhb9ind65 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-cbhb9ind65 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-cbhb9ind65 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-cbhb9ind65 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-cbhb9ind65] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-cbhb9ind65] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-cbhb9ind65] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-cbhb9ind65] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-cbhb9ind65] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-cbhb9ind65] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-cbhb9ind65] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-cbhb9ind65 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-cbhb9ind65] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-cbhb9ind65 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.card[b-drw35r83wk] {
    height: 200px;
    width: 180px;
    background-color: white;
    cursor: pointer;
}

.area[b-drw35r83wk] {
    width: 100%;
    background-color: lightgreen;
    border-radius: 15px;
    border: 1px blue;
}

.area-text[b-drw35r83wk] {
    font-weight: bold;
    font-style: italic;
    font-size: 22px;
    font-family: 'Times New Roman';
    color: darkblue;
}

.desk-text[b-drw35r83wk] {
    font-weight: bold;
    font-style: italic;
    font-size: 18px;
    font-family: 'Times New Roman';
    color: brown;
}
/* /Components/Pages/Logins/Login.razor.rz.scp.css */
body[b-ti6ru9a4pg] {
}

.login-container[b-ti6ru9a4pg] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Chiều cao toàn màn hình f0f2f5*/
    /*background-color: white;*/
}

.login-box[b-ti6ru9a4pg] {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 400px;
}

.form-control[b-ti6ru9a4pg] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-top: 0.25rem;
}


/* /Components/Pages/Logins/LoginLayout.razor.rz.scp.css */
.main-login[b-2s55lgmlyv] {
    margin-top: auto !important;
    margin-bottom: 0;
    padding: 0;
    background-color: var(--dark-bg);
    height: 100vh;
    width: 100%;
}
/* /Components/UC/DateEngine/VietDateInput.razor.rz.scp.css */
/* Container chính - Giữ nguyên layout flex cũ và mở rộng thêm position relative */
.viet-date-container[b-hy99vajgo5] {
    display: inline-flex;
    align-items: center;
    cursor: text;
    padding: 0.375rem 0.75rem;
    overflow: hidden; /* Giảm thiểu khoảng cách tràn */
    position: relative; /* Thêm mới: Giúp định vị absolute cho input hidden */
}

/* Ẩn các thuộc tính input cơ bản */
.date-cell[b-hy99vajgo5] {
    border: none;
    background: transparent;
    padding: 0;
    text-align: center;
    outline: none;
    font-family: inherit;
    font-size: inherit;
}

/* Đặt chiều rộng chính xác cho từng loại ô */
.day-month-cell[b-hy99vajgo5], .time-cell[b-hy99vajgo5] {
    width: 2ch; /* 2 ký tự */
}

.year-cell[b-hy99vajgo5] {
    width: 4.5ch; /* 4.5 ký tự */
}

/* Style dấu phân cách */
.date-separator[b-hy99vajgo5], .time-separator[b-hy99vajgo5] {
    color: #6c757d;
    user-select: none;
    padding: 0; /* Xóa padding để gọn */
}

.date-space[b-hy99vajgo5] {
    width: 1ch; /* Khoảng cách giữa date và time */
}

/* --- THÊM MỚI: Style cho nút bấm Icon Picker & Input Native --- */
.btn-picker-trigger[b-hy99vajgo5] {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0 0 0 0.4rem;
    margin: 0;
    font-size: 0.9em;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    outline: none;
    box-shadow: none;
    user-select: none;
    transition: color 0.15s ease-in-out;
}

    .btn-picker-trigger:hover[b-hy99vajgo5] {
        color: #0d6efd;
    }

    .btn-picker-trigger:focus[b-hy99vajgo5] {
        outline: none;
        box-shadow: none;
    }

/* Input date ẩn hoàn toàn bên dưới để không làm vỡ giao diện */
.native-date-picker-left[b-hy99vajgo5] {
    position: absolute;
    top: 100%; /* Nằm ngay dưới mép đáy của textbox */
    left: 0; /* Neo vào góc TRÁI để bảng popup bung ra từ bên trái */
    width: 0;
    height: 0;
    border: none;
    padding: 0;
    margin: 0;
    opacity: 0; /* Ẩn hình ảnh input nhưng giữ nguyên vị trí kích hoạt */
    pointer-events: none;
}

/* Zone cảnh báo (Căn phải) */
.date-hint-zone[b-hy99vajgo5] {
    margin-left: auto;
    cursor: help;
    padding-left: 0.25rem;
}

/* Style cho container khi lỗi */
.is-invalid.viet-date-container[b-hy99vajgo5] {
    border-color: #dc3545;
}
/* /Components/UC/Dialog/ConfirmDialog.razor.rz.scp.css */
.cd-overlay[b-27myy2tj10] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.cd-dialog[b-27myy2tj10] {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    width: 600px;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* responsive */
@media (max-width: 768px) {
    .cd-dialog[b-27myy2tj10] {
        width: 70%;
    }
}

/* header */
.cd-header[b-27myy2tj10] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.cd-icon[b-27myy2tj10] {
    font-size: 22px;
}

.cd-title[b-27myy2tj10] {
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

/* body */
.cd-body[b-27myy2tj10] {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin-bottom: 20px;
}

/* footer */
.cd-footer[b-27myy2tj10] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* buttons */
.cd-btn-primary[b-27myy2tj10] {
    background-color: #0d6efd;
    color: white;
    border-radius: 8px;
    padding: 6px 16px;
}

.cd-btn-secondary[b-27myy2tj10] {
    background-color: #6c757d;
    color: white;
    border-radius: 8px;
    padding: 6px 16px;
}

.cd-btn-light[b-27myy2tj10] {
    background-color: #e9ecef;
    color: #333;
    border-radius: 8px;
    padding: 6px 16px;
}
/* /Components/UC/Dialog/EditDialog.razor.rz.scp.css */
body[b-h9g0mnhqef] {
}
.res-size[b-h9g0mnhqef]{
    min-width:500px;
    width:fit-content;
}
@media(max-width: 767.98px)
{
    .res-size[b-h9g0mnhqef]{
        min-width: 300px;
    }
}
/* /Components/UC/FilterSelect/FilterSelect.razor.rz.scp.css */
.btn-hover-effect:hover[b-907skeyqjg] {
    background-color: #0d6efd; /* hoặc màu khác */
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.2s ease-in-out;
}
.filter-dropdown[b-907skeyqjg] {
    position: absolute;
    background-color: lightcyan;
    border: 1px solid #ccc;
    border-radius: 0px 0px 14px 14px;
    margin-top: 3px;
    z-index: 1000;
    max-height: 200px; /* 👈 Giới hạn chiều cao dropdown */
    overflow-y: auto; /* 👈 Hiện scroll nếu vượt quá */
    width: 100%; /* 👈 Bằng với input select */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    overflow-y: auto;
}
.filter-select-wrapper[b-907skeyqjg] {
    position: relative;
    flex-wrap: nowrap !important;
}

    .filter-select-wrapper input[b-907skeyqjg] {
        flex: 1 1 auto;
        min-width: 0;
    }
/* /Components/UC/ImagePreview.razor.rz.scp.css */
.previewer-container[b-xtyfllj7fq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.preview-frame[b-xtyfllj7fq] {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #fff;
    border-radius: 12px;
    touch-action: pan-y; /* cho phép swipe ngang */
    padding:8px;
}

.preview-image[b-xtyfllj7fq] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

    .preview-image.fade[b-xtyfllj7fq] {
        opacity: 0;
    }

.nav-btn[b-xtyfllj7fq] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    border: none;
    color: white;
    height:60px;
    font-size: 1.5rem;
    padding: 2px;
    cursor: pointer;
    z-index: 2;
    border-radius: 3px;
}

    .nav-btn.left[b-xtyfllj7fq] {
        left: 10px;
    }

    .nav-btn.right[b-xtyfllj7fq] {
        right: 10px;
    }

.thumbnail-frame[b-xtyfllj7fq] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 600px;
}

.thumbnail[b-xtyfllj7fq] {
    width: 100%;
    aspect-ratio: 1 / 0.7;
    object-fit: cover;
    cursor: pointer;
    border-radius: 6px;
    border: 2px solid transparent;
    transition: transform 0.2s, border 0.2s;
}

    .thumbnail:hover[b-xtyfllj7fq] {
        transform: scale(1.05);
    }

    .thumbnail.active[b-xtyfllj7fq] {
        border: 2px solid #007bff;
    }

.pagination[b-xtyfllj7fq] {
    display: flex;
    justify-content: center;
    align-items: center;

}

button[disabled][b-xtyfllj7fq] {
    opacity: 0.4;
    cursor: not-allowed;
}
/* /Components/UC/ListViewSelect.razor.rz.scp.css */
.lvs-container[b-tsznxujkez] {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

/* Input Trigger: Viền xanh thiên thanh, bo góc mềm */
.lvs-trigger[b-tsznxujkez] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1.5px solid #4fc3f7;
    border-radius: 8px;
    background: #fff;
    height: 40px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

    .lvs-trigger:hover[b-tsznxujkez],
    .lvs-trigger.active[b-tsznxujkez] {
        border-color: #0288d1;
        box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.25);
    }

.lvs-selected-text[b-tsznxujkez] {
    padding: 0 12px;
    font-size: 15px;
    color: #333;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Ô chứa Icon Bootstrap */
.lvs-icon-box[b-tsznxujkez] {
    width: 36px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
}

.lvs-caret[b-tsznxujkez] {
    color: #dc3545;
    font-size: 14px;
    transition: transform 0.2s;
}

.lvs-trigger.active .lvs-caret[b-tsznxujkez] {
    transform: rotate(180deg);
}

/* Dropdown Bảng: Thêm khoảng hở thấy rõ bo góc */
.lvs-dropdown[b-tsznxujkez] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 6px;
    background: #fff;
    border: 1.5px solid #4fc3f7;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    z-index: 1050;
    overflow: hidden;
}

/* Khung Search */
.lvs-search-box[b-tsznxujkez] {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.lvs-search-icon[b-tsznxujkez] {
    color: #0288d1;
    font-size: 14px;
    margin-right: 8px;
}

.lvs-search-input[b-tsznxujkez] {
    width: 100%;
    border: 1px solid #b2ebf2;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 13px;
    outline: none;
}

    .lvs-search-input:focus[b-tsznxujkez] {
        border-color: #0288d1;
    }

/* Header Row */
.lvs-header-row[b-tsznxujkez] {
    display: flex;
    background: #e0f7fa;
    border-bottom: 1px solid #b2ebf2;
}

.lvs-header-cell[b-tsznxujkez] {
    flex: 1;
    padding: 8px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    color: #006064;
    border-right: 1px solid #b2ebf2;
}

    .lvs-header-cell:last-child[b-tsznxujkez] {
        border-right: none;
    }

/* Body Row */
.lvs-body[b-tsznxujkez] {
    max-height: 200px;
    overflow-y: auto;
}

.lvs-row[b-tsznxujkez] {
    display: flex;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

    .lvs-row:last-child[b-tsznxujkez] {
        border-bottom: none;
    }

    .lvs-row:hover[b-tsznxujkez] {
        background-color: #e1f5fe;
    }

    .lvs-row.selected[b-tsznxujkez] {
        background-color: #b3e5fc;
        font-weight: 500;
    }

.lvs-cell[b-tsznxujkez] {
    flex: 1;
    padding: 8px;
    font-size: 14px;
    color: #333;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-right: 1px solid #f0f0f0;
}

    .lvs-cell:last-child[b-tsznxujkez] {
        border-right: none;
    }

.lvs-empty[b-tsznxujkez] {
    padding: 12px;
    text-align: center;
    color: #888;
    font-size: 13px;
}
/* /Components/UC/ModalDialog/ModalDialog.razor.rz.scp.css */
.modal-backdrop-custom[b-5s8ytoejox] {
    position: fixed;
    inset: 0;
    background: rgba(40, 20, 30, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-container[b-5s8ytoejox] {
    background: white;
    border-radius: 10px;
    width: min(var(--modal-width, 800px), 95vw);
    height: min(var(--modal-height, 600px), 90vh);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.modal-header[b-5s8ytoejox] {
    flex-shrink: 0;
    padding: 10px 15px;
    background: lightgray;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.modal-title[b-5s8ytoejox] {
    font-weight: 600;
}

.modal-body[b-5s8ytoejox] {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.modal-footer[b-5s8ytoejox] {
    flex-shrink: 0;
    padding: 10px 15px;
    background: lightgray;
    display: flex;
    align-items: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Mobile tối ưu */
@media (max-width: 576px) {
    .modal-container[b-5s8ytoejox] {
        width: 95vw;
        height: 80vh;
    }
}
/* /Components/UC/SideMenu/SideMenu.razor.rz.scp.css */

@media(max-width:768px) {
    .menu-background[b-ylprj68lg5] {
        width: 100vw;
    }
}
/* /Components/UC/TreeList/TreeListComponent.razor.rz.scp.css */
.treelist-header[b-ypbt2ucib9] {
    position: sticky;
    z-index: 20;
    display: grid;
    align-items: center;
    font-weight: bold;
    background-color: lightblue;
    border-bottom: 1px solid #ccc;
    padding: 4px 0;
}

    .treelist-header .header-cell[b-ypbt2ucib9] {
        padding: 4px 8px;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
.tl-cell[b-ypbt2ucib9] {
    padding: 2px 6px;
    white-space: wrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tl-expander[b-ypbt2ucib9] {
    width: 30px; /* khớp ExpanderWidth */
    text-align: center;
}

.tl-expander-icon[b-ypbt2ucib9] {
    cursor: pointer;
    color: #555;
}

    .tl-expander-icon:hover[b-ypbt2ucib9] {
        color: #000;
    }
/* /Components/UC/TreeList/TreeListView.razor.rz.scp.css */
.treelist-level[b-7vhiou21mr] {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Header */
.treelist-header[b-7vhiou21mr] {
    position: sticky;
    top: 0;
    z-index: 10;
    display: grid;
    align-items: center;
    font-weight: bold;
    background-color: lightblue;
    border-bottom: 1px solid #ccc;
    padding: 4px 0;
    
}
    .treelist-header .header-cell[b-7vhiou21mr] {
        padding: 4px 8px;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* Row */
.treelist-row[b-7vhiou21mr] {
    /*display: grid;*/
    align-items: center;
    border-bottom: 1px solid darkgray;
    cursor: pointer;
    min-height: 28px;
    background-color: whitesmoke;
    touch-action: manipulation;

}

    .treelist-row:hover[b-7vhiou21mr] {
        background-color: #f9f9f9;
    }

    .treelist-row .selected[b-7vhiou21mr] {
        background-color: #dbeafe; /* xanh nhạt khi dòng được chọn */
    }
    .treelist-row.selected[b-7vhiou21mr] {
        background-color: #dbeafe;
    }
/* Cell */
.tl-cell[b-7vhiou21mr] {
    padding: 2px 6px;
    white-space: wrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.button-cell[b-7vhiou21mr]{

}
.top-level[b-7vhiou21mr] { /*style cho dòng level đầu tiên trong cây*/
    font-style: italic;
    font-weight: bold;
    color: darkblue;
}

/* Expander cell */
.tl-expander[b-7vhiou21mr] {
    width: 30px; /* khớp ExpanderWidth */
    text-align: center;
}

[b-7vhiou21mr] .tl-expander-icon {
    cursor: pointer;
    color: #0000cc !important;
}

    [b-7vhiou21mr] .tl-expander-icon:hover {
        color: #4d4dff !important;
    }
/* Mobile layout */
.tl-mobile-line[b-7vhiou21mr] {
    display: flex;
    gap: 6px;
    line-height: 1.4;
}

    .tl-mobile-line.mobile-main[b-7vhiou21mr] {
        font-weight: 600;
        padding-left: 0;
    }

    .tl-mobile-line.mobile-sub[b-7vhiou21mr] {
        padding-left: 12px; /* 👈 thụt dòng không phải dòng đầu */
    }

.mobile-header[b-7vhiou21mr] {
    min-width: 90px;
    color: #666;
    font-size: 0.85rem;
}

.mobile-value[b-7vhiou21mr] {
    flex: 1;
    word-break: break-word;
}
.treelist-mobile-cell[b-7vhiou21mr] {
    display: flex;
    align-items: center;
    min-height: 28px;
}

.mobile-indent[b-7vhiou21mr] {
    padding-left: 12px;
}
