/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-9vojn5ptvm] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 8px;
}

main[b-9vojn5ptvm] {
    flex: 1;
    background: linear-gradient(to bottom, #f9fafb 0%, #ffffff 100%);
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 100vh;
}

.sidebar[b-9vojn5ptvm] {
    background: linear-gradient(180deg, 
        #5a1f7a 0%, 
        #4a1868 25%, 
        #3d1459 50%, 
        #2f0f45 75%, 
        #1e0a2e 100%);
    box-shadow: 4px 0 25px rgba(90, 31, 122, 0.3);
    position: relative;
    border-radius: 8px 0 0 8px;
}

.sidebar[b-9vojn5ptvm]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top left, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(75, 0, 130, 0.2) 0%, transparent 50%);
    pointer-events: none;
    border-radius: 8px 0 0 8px;
}

.sidebar[b-9vojn5ptvm]::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(212, 168, 0, 0.4) 0%, 
        rgba(212, 168, 0, 0.1) 30%,
        transparent 50%, 
        rgba(212, 168, 0, 0.1) 70%,
        rgba(212, 168, 0, 0.4) 100%);
    opacity: 0.6;
}

.top-row[b-9vojn5ptvm] {
    background: linear-gradient(135deg, #6b2d8a 0%, #5a1f7a 40%, #4a1868 100%);
    border-bottom: 1px solid rgba(212, 168, 0, 0.2);
    box-shadow: 0 2px 15px rgba(90, 31, 122, 0.4);
    justify-content: space-between;
    min-height: 3.85rem;
    height: 3.85rem;
    max-height: 3.85rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    gap: 1rem;
    padding: 0 1.5rem !important;
    flex-shrink: 0;
}

/* ===== TOPBAR LEFT SECTION ===== */
.topbar-left[b-9vojn5ptvm] {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.topbar-link[b-9vojn5ptvm] {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.topbar-link:hover[b-9vojn5ptvm] {
    color: #ffca05;
    background: rgba(255, 202, 5, 0.1);
    border-color: rgba(255, 202, 5, 0.3);
}

.topbar-link.active[b-9vojn5ptvm] {
    color: #ffca05;
    background: rgba(255, 202, 5, 0.15);
    border-color: rgba(255, 202, 5, 0.5);
}

/* ===== TOPBAR RIGHT SECTION ===== */
.topbar-right[b-9vojn5ptvm] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

    .top-row[b-9vojn5ptvm]  a, .top-row[b-9vojn5ptvm]  .btn-link {
        white-space: nowrap;
        margin-left: 0;
        text-decoration: none;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 500;
        transition: all 200ms ease;
    }

    .top-row[b-9vojn5ptvm]  a:hover, .top-row[b-9vojn5ptvm]  .btn-link:hover {
        color: #ffca05;
        text-decoration: none;
    }

    .top-row[b-9vojn5ptvm]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .page[b-9vojn5ptvm] {
        display: flex;
        flex-direction: column;
        height: 100vh;
        overflow: hidden;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .sidebar[b-9vojn5ptvm] {
        position: relative;
        width: 100%;
        z-index: 1001;
        flex-shrink: 0;
        border-radius: 0;
        /* Sidebar will have its own max-height from NavMenu styles */
    }

    main[b-9vojn5ptvm] {
        display: flex;
        flex-direction: column;
        flex: 1;
        overflow: hidden;
        min-height: 0;
    }

    .top-row[b-9vojn5ptvm] {
        position: relative;
        z-index: 1000;
        justify-content: space-between;
        padding: 0 1rem !important;
        flex-shrink: 0;
        border-radius: 0;
    }

    article[b-9vojn5ptvm] {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        height: auto;
        min-height: 0;
    }

    .topbar-left[b-9vojn5ptvm] {
        gap: 0.5rem;
    }

    .topbar-link span[b-9vojn5ptvm] {
        display: none;
    }

    .topbar-link[b-9vojn5ptvm] {
        padding: 0.5rem;
        font-size: 1.125rem;
    }

    .topbar-right[b-9vojn5ptvm] {
        gap: 0.5rem;
    }

    .top-row[b-9vojn5ptvm]  a, .top-row[b-9vojn5ptvm]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-9vojn5ptvm] {
        flex-direction: row;
        height: 100vh;
        overflow: hidden;
        border-radius: 8px;
    }

    .sidebar[b-9vojn5ptvm] {
        width: 198px;
        height: 100vh;
        position: sticky;
        top: 0;
        z-index: 100;
        overflow-y: auto;
        border-radius: 8px 0 0 8px;
        display: flex;
        flex-direction: column;
        flex-shrink: 0;
    }

    main[b-9vojn5ptvm] {
        flex: 1;
        height: 100vh;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        border-radius: 0 8px 8px 0;
    }

    .top-row[b-9vojn5ptvm] {
        position: sticky;
        top: 0;
        z-index: 1000;
        border-radius: 0 8px 0 0;
        flex-shrink: 0;
    }

    .top-row.auth[b-9vojn5ptvm]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    article[b-9vojn5ptvm] {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        height: auto;
    }

    .top-row[b-9vojn5ptvm], article[b-9vojn5ptvm] {
        /* padding-left: 2rem !important;
        padding-right: 1.5rem !important;*/
    }
}

/* ===== TABLET DEVICES (641px to 1024px) ===== */
@media (min-width: 641px) and (max-width: 1024px) {
    .sidebar[b-9vojn5ptvm] {
        width: 180px;
        min-width: 180px;
    }

    .top-row[b-9vojn5ptvm] {
        padding: 0 1rem !important;
    }

    .topbar-left[b-9vojn5ptvm] {
        gap: 1rem;
    }

    .topbar-right[b-9vojn5ptvm] {
        gap: 0.5rem;
    }
}

/* ===== EXTRA LARGE SCREENS (1600px+) ===== */
@media (min-width: 1600px) {
    .content[b-9vojn5ptvm] {
        width: 100%;
    }
}

/* ===== CONTENT AREA ===== */
.content[b-9vojn5ptvm] {
    flex: 1;
    overflow-y: auto;
    width: 100%;
    padding: 0.5rem;
}

article[b-9vojn5ptvm] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100vh - 3.85rem);
}

#blazor-error-ui[b-9vojn5ptvm] {
    color-scheme: light only;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    bottom: 0;
    box-shadow: 0 -4px 20px rgba(220, 53, 69, 0.4);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 1rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: white;
    border-top: 3px solid #ffca05;
    border-radius: 8px 8px 0 0;
}

    #blazor-error-ui .dismiss[b-9vojn5ptvm] {
        cursor: pointer;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.5rem;
        background: rgba(255, 255, 255, 0.2);
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 200ms ease;
    }

    #blazor-error-ui .dismiss:hover[b-9vojn5ptvm] {
        background: rgba(255, 255, 255, 0.4);
    }
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-w20kqer9xy] {
    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-w20kqer9xy] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-w20kqer9xy] {
    min-height: 3.85rem;
    height: 3.85rem;
    max-height: 3.85rem;
    box-sizing: border-box;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.navbar-brand[b-w20kqer9xy] {
    font-size: 1.1rem;
}

.bi[b-w20kqer9xy] {
    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-w20kqer9xy] {
    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-w20kqer9xy] {
    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-w20kqer9xy] {
    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-w20kqer9xy] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-w20kqer9xy] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-w20kqer9xy] {
        padding-bottom: 1rem;
    }

    .nav-item[b-w20kqer9xy]  .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-w20kqer9xy]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-w20kqer9xy]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-w20kqer9xy] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-w20kqer9xy] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-w20kqer9xy] {
        display: none;
    }

    .nav-scrollable[b-w20kqer9xy] {
        /* Never collapse the sidebar for wide screens */
        display: block !important;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.85rem);
        overflow-y: auto;
        flex: 1;
    }
}

/* ===== TABLET DEVICES (641px to 1024px) ===== */
@media (min-width: 641px) and (max-width: 1024px) {
    .navbar-toggler[b-w20kqer9xy] {
        display: none !important;
    }

    .nav-scrollable[b-w20kqer9xy] {
        display: block !important;
        height: calc(100vh - 3.85rem);
        overflow-y: auto;
    }

    .nav-item[b-w20kqer9xy] {
        font-size: 0.85rem;
    }

    .nav-item[b-w20kqer9xy]  .nav-link {
        height: 2.75rem;
        line-height: 2.75rem;
    }
}
/* /Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-m3ydbviau7],
.components-reconnect-repeated-attempt-visible[b-m3ydbviau7],
.components-reconnect-failed-visible[b-m3ydbviau7],
.components-pause-visible[b-m3ydbviau7],
.components-resume-failed-visible[b-m3ydbviau7],
.components-rejoining-animation[b-m3ydbviau7] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-m3ydbviau7],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-m3ydbviau7],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-m3ydbviau7],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-m3ydbviau7],
#components-reconnect-modal.components-reconnect-retrying[b-m3ydbviau7],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-m3ydbviau7],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-m3ydbviau7],
#components-reconnect-modal.components-reconnect-failed[b-m3ydbviau7],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-m3ydbviau7] {
    display: block;
}


#components-reconnect-modal[b-m3ydbviau7] {
    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-m3ydbviau7 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-m3ydbviau7 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-m3ydbviau7 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-m3ydbviau7]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-m3ydbviau7 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-m3ydbviau7 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-m3ydbviau7 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-m3ydbviau7 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-m3ydbviau7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-m3ydbviau7] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-m3ydbviau7] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-m3ydbviau7] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-m3ydbviau7] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-m3ydbviau7] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-m3ydbviau7] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-m3ydbviau7 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-m3ydbviau7] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-m3ydbviau7 {
    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;
    }
}
/* /Pages/AccessDenied.razor.rz.scp.css */
.access-denied-container[b-1ifdbyc6gx] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.access-denied-card[b-1ifdbyc6gx] {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

.icon-container[b-1ifdbyc6gx] {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
}

.icon-container i[b-1ifdbyc6gx] {
    font-size: 3rem;
    color: white;
}

.access-denied-card h1[b-1ifdbyc6gx] {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.access-denied-card .message[b-1ifdbyc6gx] {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.access-denied-card .description[b-1ifdbyc6gx] {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.actions[b-1ifdbyc6gx] {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.actions button[b-1ifdbyc6gx] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.actions .btn-primary[b-1ifdbyc6gx] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
}

.actions .btn-primary:hover[b-1ifdbyc6gx] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.actions .btn-secondary[b-1ifdbyc6gx] {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.actions .btn-secondary:hover[b-1ifdbyc6gx] {
    background: #e5e7eb;
}
/* /Pages/UserManagement/ManageRetailUser.razor.rz.scp.css */
/* ===== RETAILER ROLES CONTAINER ===== */
.retailer-roles-container[b-7onvf97x3f] {
    padding: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
}

/* ===== PAGE HEADER ===== */
.page-header[b-7onvf97x3f] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-left[b-7onvf97x3f] {
    flex: 1;
}

.page-title[b-7onvf97x3f] {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d1b4e;
    margin: 0 0 0.25rem 0;
}

.page-subtitle[b-7onvf97x3f] {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0 0 0.75rem 0;
}

.header-badge[b-7onvf97x3f] {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: #e0e7ff;
    color: #3730a3;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.header-right[b-7onvf97x3f] {
    display: flex;
    align-items: center;
}

.btn-add-role[b-7onvf97x3f] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.btn-add-role:hover[b-7onvf97x3f] {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.btn-add-role i[b-7onvf97x3f] {
    font-size: 1.1rem;
    font-weight: 700;
}

/* ===== CONTENT CARD ===== */
.content-card[b-7onvf97x3f] {
    background: white;
    border-radius: 16px;
    border: 1px solid #f3e8ff;
    box-shadow: 0 4px 20px rgba(107, 45, 138, 0.08);
    padding: 1.5rem;
}

/* ===== FILTER SECTION ===== */
.filter-section[b-7onvf97x3f] {
    margin-bottom: 1.5rem;
}

.search-box[b-7onvf97x3f] {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.search-box i[b-7onvf97x3f] {
    position: absolute;
    left: 14px;
    color: #9ca3af;
    font-size: 1rem;
}

.search-box input[b-7onvf97x3f] {
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9rem;
    width: 320px;
    transition: all 0.2s ease;
    background: #fafafa;
}

.search-box input:focus[b-7onvf97x3f] {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    background: white;
}

.search-box input[b-7onvf97x3f]::placeholder {
    color: #9ca3af;
}

/* ===== FILTER TABS ===== */
.filter-tabs[b-7onvf97x3f] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tab[b-7onvf97x3f] {
    padding: 0.5rem 1.25rem;
    border: 1px solid #e5e7eb;
    background: white;
    color: #4b5563;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tab:hover[b-7onvf97x3f] {
    background: #f9fafb;
    border-color: #d1d5db;
}

.filter-tab.active[b-7onvf97x3f] {
    background: #f3e8ff;
    border-color: #c4b5fd;
    color: #7c3aed;
}

.filter-tab.more-btn[b-7onvf97x3f] {
    padding: 0.5rem 0.75rem;
}

.filter-tab.more-btn i[b-7onvf97x3f] {
    font-size: 0.8rem;
}

/* ===== DATA TABLE ===== */
.table-responsive[b-7onvf97x3f] {
    overflow-x: auto;
    margin-bottom: 1rem;
}

.roles-table[b-7onvf97x3f] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.roles-table thead[b-7onvf97x3f] {
    background: linear-gradient(135deg, #faf5ff 0%, #f5f3ff 100%);
}

.roles-table th[b-7onvf97x3f] {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    color: #6b21a8;
    border-bottom: 2px solid #e9d5ff;
    white-space: nowrap;
}

.roles-table th.sortable[b-7onvf97x3f] {
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

.roles-table th.sortable:hover[b-7onvf97x3f] {
    background: #f3e8ff;
}

.roles-table th i[b-7onvf97x3f] {
    margin-left: 0.35rem;
    font-size: 0.75rem;
    opacity: 0.6;
}

.roles-table tbody tr[b-7onvf97x3f] {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s ease;
}

.roles-table tbody tr:hover[b-7onvf97x3f] {
    background: #faf5ff;
}

.roles-table td[b-7onvf97x3f] {
    padding: 1rem 1.25rem;
    color: #374151;
    vertical-align: middle;
}

/* ===== ROLE NAME CELL ===== */
.role-name-cell[b-7onvf97x3f] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.role-name[b-7onvf97x3f] {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.95rem;
}

.role-type-badge[b-7onvf97x3f] {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.type-retailer[b-7onvf97x3f] {
    background: #dbeafe;
    color: #1e40af;
}

.type-admin[b-7onvf97x3f] {
    background: #fce7f3;
    color: #9d174d;
}

.type-custom[b-7onvf97x3f] {
    background: #fef3c7;
    color: #92400e;
}

.type-default[b-7onvf97x3f] {
    background: #f3f4f6;
    color: #4b5563;
}

/* ===== DESCRIPTION CELL ===== */
.description-cell[b-7onvf97x3f] {
    color: #6b7280;
    max-width: 300px;
}

/* ===== USED BY CELL ===== */
.used-by-cell[b-7onvf97x3f] {
    color: #374151;
    font-weight: 500;
}

/* ===== STATUS BADGES ===== */
.status-badge[b-7onvf97x3f] {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-active[b-7onvf97x3f] {
    background: #dcfce7;
    color: #166534;
}

.status-inactive[b-7onvf97x3f] {
    background: #fee2e2;
    color: #991b1b;
}

.status-default[b-7onvf97x3f] {
    background: #f3f4f6;
    color: #4b5563;
}

/* ===== ACTION BUTTONS ===== */
.action-buttons[b-7onvf97x3f] {
    display: flex;
    gap: 0.5rem;
}

.btn-action[b-7onvf97x3f] {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-edit[b-7onvf97x3f] {
    background: #f3f4f6;
    color: #6b7280;
}

.btn-edit:hover[b-7onvf97x3f] {
    background: #e5e7eb;
    color: #374151;
}

.btn-delete[b-7onvf97x3f] {
    background: #fef2f2;
    color: #ef4444;
}

.btn-delete:hover[b-7onvf97x3f] {
    background: #fee2e2;
    color: #dc2626;
}

.btn-action i[b-7onvf97x3f] {
    font-size: 0.85rem;
}

/* ===== PAGINATION ===== */
.pagination-container[b-7onvf97x3f] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-top: 1px solid #e8e8e8;
    background: #fafafa;
    border-radius: 0 0 12px 12px;
}

.pagination-info[b-7onvf97x3f] {
    font-size: 0.8125rem;
    color: #6b7280;
}

.pagination-controls[b-7onvf97x3f] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-btn[b-7onvf97x3f] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    color: #5a5a6e;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-btn:hover:not(:disabled)[b-7onvf97x3f] {
    background: #411459;
    border-color: #411459;
    color: white;
}

.page-btn:disabled[b-7onvf97x3f] {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-number[b-7onvf97x3f] {
    padding: 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #411459;
}

/* ===== LOADING & NO DATA ===== */
.loading-spinner[b-7onvf97x3f] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem;
    color: #6b7280;
}

.spinner[b-7onvf97x3f] {
    width: 32px;
    height: 32px;
    border: 3px solid #e5e7eb;
    border-top-color: #7c3aed;
    border-radius: 50%;
    animation: spin-b-7onvf97x3f 0.8s linear infinite;
}

@keyframes spin-b-7onvf97x3f {
    to {
        transform: rotate(360deg);
    }
}

.no-data[b-7onvf97x3f] {
    padding: 3rem 1rem;
    color: #9ca3af;
}

.no-data i[b-7onvf97x3f] {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.75rem;
}

.no-data p[b-7onvf97x3f] {
    margin: 0;
    font-size: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .retailer-roles-container[b-7onvf97x3f] {
        padding: 1rem;
    }

    .page-header[b-7onvf97x3f] {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-add-role[b-7onvf97x3f] {
        width: 100%;
        justify-content: center;
    }

    .search-box input[b-7onvf97x3f] {
        width: 100%;
    }

    .filter-tabs[b-7onvf97x3f] {
        justify-content: center;
    }

    .pagination-container[b-7onvf97x3f] {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .roles-table[b-7onvf97x3f] {
        font-size: 0.8rem;
    }

    .roles-table th[b-7onvf97x3f],
    .roles-table td[b-7onvf97x3f] {
        padding: 0.75rem;
    }

    .role-name-cell[b-7onvf97x3f] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }
}
/* /Pages/UserManagement/ManageRolePermission.razor.rz.scp.css */
.roles-permissions-container[b-tziicxy8dr] {
    padding: 24px;
    background-color: #f5f5f5;
    min-height: 100vh;
}

/* Header Section */
.page-header[b-tziicxy8dr] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.header-left[b-tziicxy8dr] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.page-title[b-tziicxy8dr] {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.page-subtitle[b-tziicxy8dr] {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.header-right[b-tziicxy8dr] {
    display: flex;
    align-items: center;
}

.btn-create-role[b-tziicxy8dr] {
    background-color: #6b5b95;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-create-role:hover[b-tziicxy8dr] {
    background-color: #5a4a84;
}

/* Content Card */
.content-card[b-tziicxy8dr] {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Search Section */
.search-section[b-tziicxy8dr] {
    margin-bottom: 20px;
}

.search-box[b-tziicxy8dr] {
    position: relative;
    max-width: 400px;
}

.search-box i[b-tziicxy8dr] {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.search-box input[b-tziicxy8dr] {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.search-box input:focus[b-tziicxy8dr] {
    border-color: #6b5b95;
}

.search-box input[b-tziicxy8dr]::placeholder {
    color: #999;
}

/* Table Controls */
.table-controls[b-tziicxy8dr] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.controls-left[b-tziicxy8dr] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-label[b-tziicxy8dr] {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.page-size-wrapper[b-tziicxy8dr] {
    position: relative;
    display: inline-block;
}

.page-size-select[b-tziicxy8dr] {
    appearance: none;
    background: white;
    border: 1px solid #e0e0e0;
    padding: 8px 32px 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}

.page-size-wrapper i[b-tziicxy8dr] {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
    font-size: 12px;
}

.controls-right[b-tziicxy8dr] {
    display: flex;
    gap: 8px;
}

.export-btn[b-tziicxy8dr] {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
}

.export-btn:hover[b-tziicxy8dr] {
    background: #eee;
    border-color: #ccc;
}

/* Roles Table */
.table-container[b-tziicxy8dr] {
    overflow-x: auto;
}

.roles-table[b-tziicxy8dr] {
    width: 100%;
    border-collapse: collapse;
}

.roles-table thead[b-tziicxy8dr] {
    background-color: #f8f9fa;
}

.roles-table th[b-tziicxy8dr] {
    padding: 14px 16px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
}

.roles-table td[b-tziicxy8dr] {
    padding: 14px 16px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.roles-table tbody tr:hover[b-tziicxy8dr] {
    background-color: #fafafa;
}

.role-col[b-tziicxy8dr] {
    width: 50%;
}

.status-col[b-tziicxy8dr] {
    width: 25%;
}

.action-col[b-tziicxy8dr] {
    width: 25%;
}

/* Status Badge */
.status-badge[b-tziicxy8dr] {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.status-badge.active[b-tziicxy8dr] {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-badge.inactive[b-tziicxy8dr] {
    background-color: #ffebee;
    color: #c62828;
}

/* Action Buttons */
.action-btn[b-tziicxy8dr] {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    transition: opacity 0.2s;
}

.action-btn:hover[b-tziicxy8dr] {
    opacity: 0.8;
}

.action-btn i[b-tziicxy8dr] {
    font-size: 14px;
    color: white;
}

.edit-btn[b-tziicxy8dr] {
    background-color: #6b5b95;
}

.delete-btn[b-tziicxy8dr] {
    background-color: #e74c3c;
}

/* Pagination */
.pagination-section[b-tziicxy8dr] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.pagination-info[b-tziicxy8dr] {
    font-size: 14px;
    color: #666;
}

.pagination-controls[b-tziicxy8dr] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn[b-tziicxy8dr] {
    width: 36px;
    height: 36px;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled)[b-tziicxy8dr] {
    background: #f5f5f5;
    border-color: #ccc;
}

.pagination-btn:disabled[b-tziicxy8dr] {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn i[b-tziicxy8dr] {
    font-size: 12px;
    color: #666;
}

.page-indicator[b-tziicxy8dr] {
    font-size: 14px;
    color: #666;
    padding: 0 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .roles-permissions-container[b-tziicxy8dr] {
        padding: 16px;
    }

    .page-header[b-tziicxy8dr] {
        flex-direction: column;
        gap: 16px;
    }

    .page-title[b-tziicxy8dr] {
        font-size: 24px;
    }

    .table-controls[b-tziicxy8dr] {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .controls-right[b-tziicxy8dr] {
        flex-wrap: wrap;
    }

    .pagination-section[b-tziicxy8dr] {
        flex-direction: column;
        gap: 12px;
    }

    .roles-table th[b-tziicxy8dr],
    .roles-table td[b-tziicxy8dr] {
        padding: 10px 12px;
    }
}
/* /Pages/UserManagement/ManageUserRole.razor.rz.scp.css */
/* ===== MANAGE USER ROLE CONTAINER ===== */
.manage-user-role-container[b-gejavbhgzh] {
    padding: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== PAGE HEADER ===== */
.page-header[b-gejavbhgzh] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-left[b-gejavbhgzh] {
    flex: 1;
}

.page-title[b-gejavbhgzh] {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.25rem 0;
}

.page-subtitle[b-gejavbhgzh] {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
}

.header-right[b-gejavbhgzh] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-cancel[b-gejavbhgzh] {
    padding: 0.6rem 1.25rem;
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel:hover[b-gejavbhgzh] {
    background: #f9fafb;
    border-color: #9ca3af;
}

.btn-save[b-gejavbhgzh] {
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.3);
}

.btn-save:hover[b-gejavbhgzh] {
    background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.4);
}

.btn-close[b-gejavbhgzh] {
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: #6b7280;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-close:hover[b-gejavbhgzh] {
    background: #f3f4f6;
    color: #374151;
}

/* ===== CONTENT WRAPPER ===== */
.content-wrapper[b-gejavbhgzh] {
    display: flex;
    gap: 1.5rem;
    flex: 1;
}

/* ===== ROLE INFO PANEL ===== */
.role-info-panel[b-gejavbhgzh] {
    width: 280px;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #f3e8ff;
    box-shadow: 0 2px 8px rgba(107, 45, 138, 0.06);
    flex-shrink: 0;
    height: fit-content;
}

.panel-title[b-gejavbhgzh] {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 1.25rem 0;
}

/* ===== FORM ELEMENTS ===== */
.form-group[b-gejavbhgzh] {
    margin-bottom: 1.25rem;
}

.form-label[b-gejavbhgzh] {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-label .required[b-gejavbhgzh] {
    color: #ef4444;
    margin-left: 2px;
}

.form-input[b-gejavbhgzh] {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #1f2937;
    background: #fafafa;
    transition: all 0.2s ease;
}

.form-input:focus[b-gejavbhgzh] {
    outline: none;
    border-color: #8b5cf6;
    background: white;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-input[b-gejavbhgzh]::placeholder {
    color: #9ca3af;
}

.sort-order-input[b-gejavbhgzh] {
    width: 80px;
}

/* ===== SELECT WRAPPER ===== */
.select-wrapper[b-gejavbhgzh] {
    position: relative;
}

.form-select[b-gejavbhgzh] {
    width: 100%;
    padding: 0.6rem 2rem 0.6rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #1f2937;
    background: #fafafa;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-select:focus[b-gejavbhgzh] {
    outline: none;
    border-color: #8b5cf6;
    background: white;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.select-icon[b-gejavbhgzh] {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    pointer-events: none;
    font-size: 0.75rem;
}

/* ===== RADIO GROUP ===== */
.radio-group[b-gejavbhgzh] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-item[b-gejavbhgzh] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.radio-item:hover[b-gejavbhgzh] {
    background: #f9fafb;
}

.radio-item.selected[b-gejavbhgzh] {
    background: linear-gradient(135deg, #f3e8ff 0%, #ede9fe 100%);
}

.radio-item input[type="radio"][b-gejavbhgzh] {
    display: none;
}

.radio-circle[b-gejavbhgzh] {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.radio-item.selected .radio-circle[b-gejavbhgzh] {
    border-color: #7c3aed;
}

.radio-item.selected .radio-circle[b-gejavbhgzh]::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #7c3aed;
    border-radius: 50%;
}

.radio-label[b-gejavbhgzh] {
    font-size: 0.875rem;
    color: #374151;
}

.radio-item.selected .radio-label[b-gejavbhgzh] {
    color: #5b21b6;
    font-weight: 500;
}

/* ===== TOGGLE SWITCH ===== */
.toggle-group[b-gejavbhgzh] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toggle-switch[b-gejavbhgzh] {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input[b-gejavbhgzh] {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider[b-gejavbhgzh] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d1d5db;
    border-radius: 24px;
    transition: 0.3s;
}

.toggle-slider[b-gejavbhgzh]::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-switch input:checked + .toggle-slider[b-gejavbhgzh] {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

.toggle-switch input:checked + .toggle-slider[b-gejavbhgzh]::before {
    transform: translateX(20px);
}

.toggle-label[b-gejavbhgzh] {
    font-size: 0.875rem;
    font-weight: 500;
}

.toggle-label.active[b-gejavbhgzh] {
    color: #059669;
}

.toggle-label.inactive[b-gejavbhgzh] {
    color: #6b7280;
}

/* ===== PERMISSIONS PANEL ===== */
.permissions-panel[b-gejavbhgzh] {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #f3e8ff;
    box-shadow: 0 2px 8px rgba(107, 45, 138, 0.06);
    display: flex;
    flex-direction: column;
}

/* ===== PERMISSIONS HEADER ===== */
.permissions-header[b-gejavbhgzh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.permissions-header .search-box[b-gejavbhgzh] {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.permissions-header .search-box i[b-gejavbhgzh] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.9rem;
}

.permissions-header .search-box input[b-gejavbhgzh] {
    width: 100%;
    padding: 0.6rem 0.75rem 0.6rem 2.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    background: #fafafa;
    transition: all 0.2s ease;
}

.permissions-header .search-box input:focus[b-gejavbhgzh] {
    outline: none;
    border-color: #8b5cf6;
    background: white;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.header-actions[b-gejavbhgzh] {
    display: flex;
    gap: 0.5rem;
}

.btn-text[b-gejavbhgzh] {
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #374151;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-text:hover[b-gejavbhgzh] {
    background: #f9fafb;
    border-color: #d1d5db;
}

/* ===== PERMISSIONS TABS ===== */
.permissions-tabs[b-gejavbhgzh] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.tabs-label[b-gejavbhgzh] {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1f2937;
    margin-right: 0.75rem;
}

.permission-tab[b-gejavbhgzh] {
    padding: 0.4rem 0.85rem;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #6b7280;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.permission-tab:hover[b-gejavbhgzh] {
    background: #f9fafb;
    border-color: #d1d5db;
}

.permission-tab.active[b-gejavbhgzh] {
    background: #7c3aed;
    border-color: #7c3aed;
    color: white;
}

/* ===== PERMISSIONS TABLE ===== */
.permissions-table-container[b-gejavbhgzh] {
    flex: 1;
    overflow: auto;
}

.permissions-table[b-gejavbhgzh] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.permissions-table th[b-gejavbhgzh] {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: #6b7280;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.permissions-table th.check-col[b-gejavbhgzh] {
    text-align: center;
    width: 70px;
}

.permission-col[b-gejavbhgzh] {
    min-width: 250px;
}

/* ===== GROUP ROW ===== */
.group-row[b-gejavbhgzh] {
    background: #faf5ff;
}

.group-row td[b-gejavbhgzh] {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f3e8ff;
}

.expand-btn[b-gejavbhgzh] {
    background: transparent;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    transition: color 0.2s ease;
}

.expand-btn:hover[b-gejavbhgzh] {
    color: #7c3aed;
}

.group-name[b-gejavbhgzh] {
    font-weight: 600;
    color: #1f2937;
}

.check-indicator[b-gejavbhgzh] {
    color: #9ca3af;
    font-size: 0.75rem;
}

/* ===== PERMISSION ROW ===== */
.permission-row td[b-gejavbhgzh] {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.permission-row:hover[b-gejavbhgzh] {
    background: #faf5ff;
}

.permission-name[b-gejavbhgzh] {
    padding-left: 1.75rem;
    color: #374151;
}

.check-col[b-gejavbhgzh] {
    text-align: center;
}

/* ===== CHECKBOX ===== */
.checkbox-wrapper[b-gejavbhgzh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"][b-gejavbhgzh] {
    display: none;
}

.checkbox-custom[b-gejavbhgzh] {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-custom[b-gejavbhgzh] {
    background: #7c3aed;
    border-color: #7c3aed;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-custom[b-gejavbhgzh]::after {
    content: '✓';
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
}

/* ===== UNSAVED FOOTER ===== */
.unsaved-footer[b-gejavbhgzh] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fef9c3;
    border-top: 1px solid #fcd34d;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.unsaved-message[b-gejavbhgzh] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #92400e;
    font-size: 0.875rem;
    font-weight: 500;
}

.unsaved-message i[b-gejavbhgzh] {
    font-size: 1rem;
    color: #f59e0b;
}

.footer-actions[b-gejavbhgzh] {
    display: flex;
    gap: 0.75rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .content-wrapper[b-gejavbhgzh] {
        flex-direction: column;
    }

    .role-info-panel[b-gejavbhgzh] {
        width: 100%;
    }

    .radio-group[b-gejavbhgzh] {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .radio-item[b-gejavbhgzh] {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .manage-user-role-container[b-gejavbhgzh] {
        padding: 1rem;
        padding-bottom: 5rem;
    }

    .page-header[b-gejavbhgzh] {
        flex-direction: column;
    }

    .header-right[b-gejavbhgzh] {
        width: 100%;
        justify-content: flex-end;
    }

    .permissions-header[b-gejavbhgzh] {
        flex-direction: column;
        align-items: stretch;
    }

    .permissions-header .search-box[b-gejavbhgzh] {
        max-width: 100%;
    }

    .header-actions[b-gejavbhgzh] {
        justify-content: flex-end;
    }

    .permissions-tabs[b-gejavbhgzh] {
        flex-wrap: wrap;
    }

    .permission-col[b-gejavbhgzh] {
        min-width: 180px;
    }

    .unsaved-footer[b-gejavbhgzh] {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }
}

/* ===== AYAPA LOADING SPINNER ===== */
.loading-overlay[b-gejavbhgzh],
.saving-overlay[b-gejavbhgzh] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.ayapa-loader[b-gejavbhgzh] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.loader-ring[b-gejavbhgzh] {
    width: 64px;
    height: 64px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-ring[b-gejavbhgzh]::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid #f3e8ff;
}

.loader-ring-inner[b-gejavbhgzh] {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: #7c3aed;
    border-right-color: #8b5cf6;
    animation: ayapa-spin-b-gejavbhgzh 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.loader-ring[b-gejavbhgzh]::after {
    content: '';
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-bottom-color: #a78bfa;
    border-left-color: #c4b5fd;
    animation: ayapa-spin-reverse-b-gejavbhgzh 0.8s ease-in-out infinite;
}

@keyframes ayapa-spin-b-gejavbhgzh {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes ayapa-spin-reverse-b-gejavbhgzh {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}

.loader-text[b-gejavbhgzh] {
    font-size: 0.95rem;
    font-weight: 500;
    color: #6d28d9;
    letter-spacing: 0.025em;
}

/* Button spinner for inline loading */
.btn-spinner[b-gejavbhgzh] {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: ayapa-spin-b-gejavbhgzh 0.7s linear infinite;
    display: inline-block;
    margin-right: 0.5rem;
}

.btn-save:disabled[b-gejavbhgzh] {
    opacity: 0.7;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cancel:disabled[b-gejavbhgzh],
.btn-close:disabled[b-gejavbhgzh] {
    opacity: 0.5;
    cursor: not-allowed;
}
/* /Pages/UserManagement/RetailUser.razor.rz.scp.css */
/* ===== RETAIL USER CONTAINER ===== */
.retail-user-container[b-0y1yf64964] {
    padding: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
}

/* ===== PAGE HEADER ===== */
.page-header[b-0y1yf64964] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-left[b-0y1yf64964] {
    flex: 1;
}

.page-title[b-0y1yf64964] {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d1b4e;
    margin: 0 0 0.25rem 0;
}

.page-subtitle[b-0y1yf64964] {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
}

.header-right[b-0y1yf64964] {
    display: flex;
    align-items: center;
}

.btn-add-user[b-0y1yf64964] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.btn-add-user:hover[b-0y1yf64964] {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.btn-add-user i[b-0y1yf64964] {
    font-size: 1rem;
}

/* ===== CONTENT CARD ===== */
.content-card[b-0y1yf64964] {
    background: white;
    border-radius: 12px;
    border: 1px solid #f3e8ff;
    box-shadow: 0 4px 20px rgba(107, 45, 138, 0.08);
    padding: 1.5rem;
}

/* ===== TOOLBAR SECTION ===== */
.toolbar-section[b-0y1yf64964] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.toolbar-left[b-0y1yf64964] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-box[b-0y1yf64964] {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i[b-0y1yf64964] {
    position: absolute;
    left: 12px;
    color: #9ca3af;
    font-size: 0.9rem;
}

.search-box input[b-0y1yf64964] {
    padding: 0.6rem 0.75rem 0.6rem 2.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    width: 250px;
    transition: all 0.2s ease;
    background: #fafafa;
}

.search-box input:focus[b-0y1yf64964] {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    background: white;
}

.search-box input[b-0y1yf64964]::placeholder {
    color: #9ca3af;
}

/* ===== EXPORT SECTION ===== */
.export-section[b-0y1yf64964] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.entries-control[b-0y1yf64964] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.entries-control span[b-0y1yf64964] {
    font-size: 0.875rem;
    color: #4b5563;
}

.entries-control select[b-0y1yf64964] {
    padding: 0.4rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.875rem;
    background: white;
    cursor: pointer;
}

.entries-control select:focus[b-0y1yf64964] {
    outline: none;
    border-color: #8b5cf6;
}

.export-btn[b-0y1yf64964] {
    padding: 0.4rem 0.75rem;
    background: #374151;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.export-btn:hover[b-0y1yf64964] {
    background: #1f2937;
}

.dropdown[b-0y1yf64964] {
    position: relative;
    display: inline-block;
}

.dropdown-toggle[b-0y1yf64964] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-toggle i[b-0y1yf64964] {
    font-size: 0.7rem;
}

.dropdown-menu[b-0y1yf64964] {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    min-width: 140px;
    margin-top: 4px;
}

.dropdown-menu.show[b-0y1yf64964] {
    display: block;
}

.dropdown-item[b-0y1yf64964] {
    display: block;
    padding: 0.5rem 1rem;
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.dropdown-item:hover[b-0y1yf64964] {
    background: #f3f4f6;
}

.dropdown-item:first-child[b-0y1yf64964] {
    border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child[b-0y1yf64964] {
    border-radius: 0 0 8px 8px;
}

.search-control[b-0y1yf64964] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-control span[b-0y1yf64964] {
    font-size: 0.875rem;
    color: #4b5563;
}

.search-control input[b-0y1yf64964] {
    padding: 0.4rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.875rem;
    width: 180px;
}

.search-control input:focus[b-0y1yf64964] {
    outline: none;
    border-color: #8b5cf6;
}

/* ===== DATA TABLE ===== */
.table-responsive[b-0y1yf64964] {
    overflow-x: auto;
    margin-bottom: 1rem;
}

.data-table[b-0y1yf64964] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.data-table thead[b-0y1yf64964] {
    background: linear-gradient(135deg, #faf5ff 0%, #f5f3ff 100%);
}

.data-table th[b-0y1yf64964] {
    padding: 0.875rem 0.75rem;
    text-align: left;
    font-weight: 600;
    color: #6b21a8;
    border-bottom: 2px solid #e9d5ff;
    white-space: nowrap;
}

.data-table th.sortable[b-0y1yf64964] {
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

.data-table th.sortable:hover[b-0y1yf64964] {
    background: #f3e8ff;
}

.data-table th i[b-0y1yf64964] {
    margin-left: 0.25rem;
    font-size: 0.7rem;
    opacity: 0.6;
}

.data-table tbody tr[b-0y1yf64964] {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s ease;
}

.data-table tbody tr:hover[b-0y1yf64964] {
    background: #faf5ff;
}

.data-table td[b-0y1yf64964] {
    padding: 0.75rem;
    color: #374151;
    vertical-align: middle;
}

.email-cell[b-0y1yf64964] {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== PROFILE AVATAR ===== */
.profile-avatar[b-0y1yf64964] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-avatar img[b-0y1yf64964] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar i[b-0y1yf64964] {
    font-size: 1.5rem;
    color: #9ca3af;
}

/* ===== SHOP INFO ===== */
.shop-info[b-0y1yf64964] {
    display: flex;
    flex-direction: column;
}

.shop-name[b-0y1yf64964] {
    font-weight: 500;
    color: #1f2937;
}

.shop-subtitle[b-0y1yf64964] {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* ===== ROLE BADGES ===== */
.role-badge[b-0y1yf64964] {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.role-owner[b-0y1yf64964] {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.role-manager[b-0y1yf64964] {
    background: #e0e7ff;
    color: #3730a3;
    border: 1px solid #a5b4fc;
}

.role-staff[b-0y1yf64964] {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.role-viewer[b-0y1yf64964] {
    background: #fce7f3;
    color: #9d174d;
    border: 1px solid #f9a8d4;
}

.role-accountant[b-0y1yf64964] {
    background: #ffedd5;
    color: #c2410c;
    border: 1px solid #fdba74;
}

.role-default[b-0y1yf64964] {
    background: #f3f4f6;
    color: #4b5563;
    border: 1px solid #d1d5db;
}

/* ===== STATUS BADGES ===== */
.status-badge[b-0y1yf64964] {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-active[b-0y1yf64964] {
    background: #dcfce7;
    color: #166534;
}

.status-inactive[b-0y1yf64964] {
    background: #fee2e2;
    color: #991b1b;
}

.status-default[b-0y1yf64964] {
    background: #f3f4f6;
    color: #4b5563;
}

/* ===== ACTION BUTTONS ===== */
.action-buttons[b-0y1yf64964] {
    display: flex;
    gap: 0.5rem;
}

.btn-action[b-0y1yf64964] {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-edit[b-0y1yf64964] {
    background: #ede9fe;
    color: #7c3aed;
}

.btn-edit:hover[b-0y1yf64964] {
    background: #ddd6fe;
    color: #6d28d9;
}

.btn-delete[b-0y1yf64964] {
    background: #581c87;
    color: white;
}

.btn-delete:hover[b-0y1yf64964] {
    background: #3b0764;
}

.btn-action i[b-0y1yf64964] {
    font-size: 0.8rem;
}

/* ===== PAGINATION ===== */
.pagination-container[b-0y1yf64964] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-top: 1px solid #e8e8e8;
    background: #fafafa;
    border-radius: 0 0 12px 12px;
}

.pagination-info[b-0y1yf64964] {
    font-size: 0.8125rem;
    color: #6b7280;
}

.pagination-controls[b-0y1yf64964] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-btn[b-0y1yf64964] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    color: #5a5a6e;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-btn:hover:not(:disabled)[b-0y1yf64964] {
    background: #411459;
    border-color: #411459;
    color: white;
}

.page-btn:disabled[b-0y1yf64964] {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-number[b-0y1yf64964] {
    padding: 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #411459;
}

/* ===== LOADING & NO DATA ===== */
.loading-spinner[b-0y1yf64964] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem;
    color: #6b7280;
}

.spinner[b-0y1yf64964] {
    width: 32px;
    height: 32px;
    border: 3px solid #e5e7eb;
    border-top-color: #7c3aed;
    border-radius: 50%;
    animation: spin-b-0y1yf64964 0.8s linear infinite;
}

@keyframes spin-b-0y1yf64964 {
    to {
        transform: rotate(360deg);
    }
}

.no-data[b-0y1yf64964] {
    padding: 3rem 1rem;
    color: #9ca3af;
}

.no-data i[b-0y1yf64964] {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.75rem;
}

.no-data p[b-0y1yf64964] {
    margin: 0;
    font-size: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .retail-user-container[b-0y1yf64964] {
        padding: 1rem;
    }

    .page-header[b-0y1yf64964] {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-add-user[b-0y1yf64964] {
        width: 100%;
        justify-content: center;
    }

    .export-section[b-0y1yf64964] {
        flex-direction: column;
        align-items: stretch;
    }

    .entries-control[b-0y1yf64964] {
        justify-content: center;
    }

    .search-control[b-0y1yf64964] {
        justify-content: center;
    }

    .search-box input[b-0y1yf64964] {
        width: 100%;
    }

    .pagination-section[b-0y1yf64964] {
        flex-direction: column;
        align-items: center;
    }

    .data-table[b-0y1yf64964] {
        font-size: 0.8rem;
    }

    .data-table th[b-0y1yf64964],
    .data-table td[b-0y1yf64964] {
        padding: 0.5rem;
    }
}
/* /Shared/AyapaSpinner.razor.rz.scp.css */
/* ===== AYAPA GLOBAL SPINNER STYLES ===== */

/* Container for inline loading */
.ayapa-loading-container[b-n3hf5ldt2r] {
    text-align: center;
    padding: 4rem 2rem;
}

/* Overlay for full-page loading */
.ayapa-loading-overlay[b-n3hf5ldt2r] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.ayapa-loading-content[b-n3hf5ldt2r] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Spinner wrapper */
.ayapa-spinner-wrapper[b-n3hf5ldt2r] {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main spinner - Ayapa brand colors */
.ayapa-spinner[b-n3hf5ldt2r] {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border: 6px solid rgba(255, 202, 5, 0.2);
    border-top-color: #ffca05;
    border-right-color: #411459;
    border-radius: 50%;
    animation: ayapa-spinner-rotate-b-n3hf5ldt2r 1s linear infinite;
}

/* Small spinner */
.ayapa-spinner.ayapa-spinner-sm[b-n3hf5ldt2r] {
    width: 32px;
    height: 32px;
    border-width: 4px;
}

/* Large spinner */
.ayapa-spinner.ayapa-spinner-lg[b-n3hf5ldt2r] {
    width: 80px;
    height: 80px;
    border-width: 8px;
}

/* Loading text */
.ayapa-loading-text[b-n3hf5ldt2r] {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
    margin: 0;
    text-align: center;
}

/* Spinner animation */
@keyframes ayapa-spinner-rotate-b-n3hf5ldt2r {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Button inline spinner */
.ayapa-btn-spinner[b-n3hf5ldt2r] {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: ayapa-spinner-rotate-b-n3hf5ldt2r 0.7s linear infinite;
    display: inline-block;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Dark background variant */
.ayapa-spinner-dark[b-n3hf5ldt2r] {
    border-color: rgba(65, 20, 89, 0.2);
    border-top-color: #411459;
    border-right-color: #ffca05;
}
