/* /Components/A1Loader.razor.rz.scp.css */
.luxury-loader-wrapper[b-qs5k0u3zeu] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Takes full viewport height */
    width: 100%;
    background-color: var(--surface);
    gap: 2rem;
}

.luxury-spinner[b-qs5k0u3zeu] {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ring[b-qs5k0u3zeu] {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
}

.ring-outer[b-qs5k0u3zeu] {
    width: 100%;
    height: 100%;
    border-top-color: var(--primary);
    border-right-color: var(--outline-variant);
    border-bottom-color: var(--outline-variant);
    border-left-color: var(--outline-variant);
    /* Smooth, slightly asymmetrical spin */
    animation: spin-b-qs5k0u3zeu 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.ring-inner[b-qs5k0u3zeu] {
    width: 70%;
    height: 70%;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: var(--secondary);
    border-left-color: transparent;
    /* Reverse, faster spin */
    animation: spin-reverse-b-qs5k0u3zeu 1s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
}

.core-dot[b-qs5k0u3zeu] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--btn-gradient, linear-gradient(135deg, var(--primary), var(--secondary)));
    animation: pulse-glow-b-qs5k0u3zeu 2s ease-in-out infinite;
}

.loader-text[b-qs5k0u3zeu] {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em; /* Wide editorial tracking */
    text-transform: uppercase;
    color: var(--on-surface-variant);
    animation: fade-pulse-b-qs5k0u3zeu 2s ease-in-out infinite;
}

/* Animations */
@keyframes spin-b-qs5k0u3zeu {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

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

    100% {
        transform: rotate(-360deg);
    }
}

@keyframes pulse-glow-b-qs5k0u3zeu {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
        box-shadow: 0 0 0 rgba(0,0,0,0);
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 0 0 15px var(--primary);
    }
}

@keyframes fade-pulse-b-qs5k0u3zeu {
    0%, 100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}
/* /Components/AvailablePlansWidget.razor.rz.scp.css */
/* --- HORIZONTAL ADMIN OVERRIDE BANNER --- */
.admin-override-banner[b-wdlisktllq] {
    display: flex;
    align-items: center;
    background: #f0f4f8;
    border: 1px solid var(--outline-variant);
    border-radius: 0.75rem;
    padding: 1.5rem 2rem;
    gap: 2rem;
    border-left: 5px solid #002855;
}

.ao-left[b-wdlisktllq] {
    flex: 1.25;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ao-title[b-wdlisktllq] {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--on-surface);
    margin: 0;
}

.ao-desc[b-wdlisktllq] {
    font-size: 0.9rem;
    color: var(--on-surface-variant);
    margin: 0;
}

.ao-center[b-wdlisktllq] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-left: 1px solid #cbd5e1;
    border-right: 1px solid #cbd5e1;
    padding: 0 2rem;
}

.math-row[b-wdlisktllq] {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--on-surface-variant);
    font-weight: 600;
}

    .math-row.total-row[b-wdlisktllq] {
        margin-top: 0.25rem;
        padding-top: 0.5rem;
        border-top: 1px dashed #cbd5e1;
    }

.ao-right[b-wdlisktllq] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.btn-dark-blue[b-wdlisktllq] {
    background: #002855;
    color: white;
}

    .btn-dark-blue:hover[b-wdlisktllq] {
        background: #001f44;
        transform: translateY(-2px);
    }

.secure-text[b-wdlisktllq] {
    font-size: 0.7rem;
    font-weight: 600;
}

/* --- PERFECTLY CENTERED TOGGLE --- */
.pricing-header-row[b-wdlisktllq] {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.header-left[b-wdlisktllq], .header-center[b-wdlisktllq], .header-right[b-wdlisktllq] {
    flex: 1;
    display: flex;
}

.header-left[b-wdlisktllq] {
    justify-content: flex-start;
}

.header-center[b-wdlisktllq] {
    justify-content: center;
}

.ios-segmented-control[b-wdlisktllq] {
    display: inline-flex;
    position: relative;
    background: var(--surface-container-high);
    border-radius: 2rem;
    padding: 0.25rem;
    border: 1px solid var(--outline-variant);
}

.segment-btn[b-wdlisktllq] {
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 0.5rem 1.25rem;
    border: none;
    background: transparent;
    color: var(--on-surface-variant);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 2rem;
    /* ADDED THESE 3 LINES TO FIX THE BADGE ALIGNMENT */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

    .segment-btn.active[b-wdlisktllq] {
        color: var(--on-surface);
    }

.selection-pill[b-wdlisktllq] {
    position: absolute;
    top: 0.25rem;
    bottom: 0.25rem;
    width: calc(50% - 0.25rem);
    background: var(--surface-container-lowest);
    border-radius: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    z-index: 1;
}

    .selection-pill.left[b-wdlisktllq] {
        transform: translateX(0);
    }

    .selection-pill.right[b-wdlisktllq] {
        transform: translateX(100%);
    }

.discount-badge[b-wdlisktllq] {
    background: #10b981;
    color: white;
    padding: 0.15rem 0.35rem;
    border-radius: 1rem;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
}

/* --- COMPACT PRICING CARDS --- */
.pricing-grid[b-wdlisktllq] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.pricing-card[b-wdlisktllq] {
    background: var(--surface-container-lowest);
    border: 2px solid var(--outline-variant);
    border-radius: 1rem;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

    .pricing-card:hover[b-wdlisktllq] {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    }

    .pricing-card.is-selected[b-wdlisktllq] {
        border-color: #10b981;
        box-shadow: 0 0 0 1px color-mix(in srgb, #10b981 30%, transparent);
    }

    .pricing-card.is-current[b-wdlisktllq] {
        border-color: #10b981;
        cursor: default;
    }

        .pricing-card.is-current:hover[b-wdlisktllq] {
            transform: none;
            box-shadow: none;
        }

.current-plan-flat-badge[b-wdlisktllq] {
    position: absolute;
    top: 0;
    right: 0;
    background: #10b981;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 0 0.85rem 0 0.5rem;
}

.card-header[b-wdlisktllq] {
    margin-bottom: 1.5rem;
}

.plan-name[b-wdlisktllq] {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    color: var(--on-surface);
}

.plan-price[b-wdlisktllq] {
    font-size: 1.85rem;
    font-weight: 900;
    color: #002855;
    margin: 0.25rem 0;
}

    .plan-price .currency[b-wdlisktllq] {
        font-size: 1.1rem;
        vertical-align: top;
        margin-right: 2px;
    }

    .plan-price .cycle[b-wdlisktllq] {
        font-size: 0.85rem;
        color: var(--on-surface-variant);
        font-weight: 600;
    }

.plan-desc[b-wdlisktllq] {
    font-size: 0.85rem;
    color: var(--on-surface-variant);
    margin: 0;
}

/* --- DYNAMIC FEATURE LIST STYLES --- */
.plan-feature-list[b-wdlisktllq] {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex-grow: 1;
}

.feature-item[b-wdlisktllq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px dashed var(--outline-variant);
    font-size: 0.8rem;
    color: var(--on-surface-variant);
}

    .feature-item:last-child[b-wdlisktllq] {
        border-bottom: none;
    }

.feature-disabled[b-wdlisktllq] {
    opacity: 0.6;
    text-decoration: line-through;
    text-decoration-color: var(--outline-variant);
}

.feat-name-group[b-wdlisktllq] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

    .feat-name-group .material-symbols-outlined[b-wdlisktllq] {
        font-size: 1rem;
    }

.bullet-icon[b-wdlisktllq] {
    font-size: 0.6rem !important;
    color: #cbd5e1 !important;
}

.text-success[b-wdlisktllq] {
    color: #10b981 !important;
}

.text-muted[b-wdlisktllq] {
    color: #94a3b8 !important;
}

.feat-val[b-wdlisktllq] {
    font-weight: 600;
    text-align: right;
    max-width: 50%;
    word-wrap: break-word;
}

    .feat-val.highlighted[b-wdlisktllq] {
        color: var(--on-surface);
        font-weight: 800;
    }

.premium-btn[b-wdlisktllq] {
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-primary[b-wdlisktllq] {
    background: var(--primary);
    color: white;
}

.btn-secondary[b-wdlisktllq] {
    background: var(--surface-container-high);
    color: var(--on-surface);
    border: 1px solid var(--outline-variant);
}

.btn-outline-success[b-wdlisktllq] {
    background: transparent;
    color: #10b981;
    border: 2px solid #10b981;
}

@media (max-width: 1024px) {
    .admin-override-banner[b-wdlisktllq] {
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
        gap: 1rem;
    }

    .ao-center[b-wdlisktllq] {
        border-left: none;
        border-right: none;
        border-top: 1px solid #cbd5e1;
        border-bottom: 1px solid #cbd5e1;
        padding: 1rem 0;
    }
}

@media (max-width: 768px) {
    .pricing-header-row[b-wdlisktllq] {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .header-left[b-wdlisktllq], .header-center[b-wdlisktllq], .header-right[b-wdlisktllq] {
        width: 100%;
        justify-content: flex-start;
    }

    .ios-segmented-control[b-wdlisktllq] {
        width: 100%;
    }
}
/* /Components/PaymentHistoryWidget.razor.rz.scp.css */
.content-panel[b-90298ej3eh] {
    background: var(--surface-container-lowest, #fff);
    border: 1px solid var(--outline-variant, #e0e0e0);
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.subsection-title[b-90298ej3eh] {
    font-size: 1rem;
    font-weight: 800;
    color: var(--on-surface);
    margin: 0;
}

.history-list-wrapper[b-90298ej3eh] {
    overflow-y: auto;
    max-height: 500px;
}

.history-table[b-90298ej3eh] {
    display: flex;
    flex-direction: column;
}

.history-header[b-90298ej3eh] {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 80px;
    padding: 0.85rem 1.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--on-surface-variant);
    background: var(--surface-container-low);
    border-bottom: 1px solid var(--outline-variant);
}

.history-row[b-90298ej3eh] {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 80px;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--outline-variant);
    transition: background 0.2s ease;
}

    .history-row:hover[b-90298ej3eh] {
        background: var(--surface-container-low);
    }

.hist-mobile-main[b-90298ej3eh] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hist-icon[b-90298ej3eh] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 123, 255, 0.1);
    color: var(--primary);
    border-radius: 50%;
}

.hist-desc-group[b-90298ej3eh] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hist-desc[b-90298ej3eh] {
    font-weight: 700;
    color: var(--on-surface);
}

.status-badge-small[b-90298ej3eh] {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.status-success[b-90298ej3eh] {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-failed[b-90298ej3eh] {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-pending[b-90298ej3eh] {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.icon-btn[b-90298ej3eh] {
    background: transparent;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

    .icon-btn:hover[b-90298ej3eh] {
        background: rgba(0, 123, 255, 0.1);
    }

.empty-state-container[b-90298ej3eh] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 2rem;
    text-align: center;
}

/* INVOICE MODAL */
.invoice-modal-overlay[b-90298ej3eh] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.invoice-modal-content[b-90298ej3eh] {
    background: var(--surface-container-lowest);
    border-radius: 1rem;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

.invoice-modal-header[b-90298ej3eh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--surface-container-low);
    border-bottom: 1px solid var(--outline-variant);
}

.invoice-paper[b-90298ej3eh] {
    padding: 3rem;
    background: #ffffff;
    color: #333333;
    overflow-y: auto;
    flex-grow: 1;
}

.invoice-header[b-90298ej3eh] {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.company-brand h2[b-90298ej3eh] {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 900;
    color: #111;
}

.invoice-addresses[b-90298ej3eh] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.address-title[b-90298ej3eh] {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #666;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.invoice-table[b-90298ej3eh] {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

    .invoice-table th[b-90298ej3eh] {
        background: #f8f9fa;
        padding: 0.75rem 1rem;
        text-align: left;
        font-size: 0.85rem;
        text-transform: uppercase;
        border-bottom: 2px solid #e0e0e0;
    }

    .invoice-table td[b-90298ej3eh] {
        padding: 1rem;
        border-bottom: 1px solid #e0e0e0;
        vertical-align: top;
    }

.invoice-totals[b-90298ej3eh] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.totals-row.grand-total[b-90298ej3eh] {
    font-size: 1.25rem;
    font-weight: 800;
    border-top: 2px solid #111;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .history-header[b-90298ej3eh] {
        display: none;
    }

    .history-row[b-90298ej3eh] {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
        align-items: flex-start;
    }

    .hist-mobile-main[b-90298ej3eh] {
        margin-bottom: 0.5rem;
    }

    .hist-date[b-90298ej3eh], .hist-amount[b-90298ej3eh], .hist-status[b-90298ej3eh], .hist-action[b-90298ej3eh] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-top: 0.5rem;
        border-top: 1px dashed var(--outline-variant);
    }

        .hist-date[b-90298ej3eh]::before {
            content: 'Date';
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
        }

        .hist-amount[b-90298ej3eh]::before {
            content: 'Amount';
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
        }

        .hist-status[b-90298ej3eh]::before {
            content: 'Status';
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
        }

        .hist-action[b-90298ej3eh]::before {
            content: 'Action';
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
        }
}
/* /Layout/LoginLayout.razor.rz.scp.css */
.auth-canvas[b-9jil6pckqq] {
    position: relative;
    min-height: 100vh;
    width: 100%;
    background-color: var(--surface);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The Glowing Orbs */
.ambient-orb[b-9jil6pckqq] {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px); /* Massive blur creates the glowing aura */
    opacity: 0.6;
    z-index: 0;
    animation: floatOrb-b-9jil6pckqq 20s ease-in-out infinite alternate;
}

.orb-primary[b-9jil6pckqq] {
    width: 50vw;
    height: 50vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, var(--accent-icon-bg) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-secondary[b-9jil6pckqq] {
    width: 40vw;
    height: 40vw;
    max-width: 500px;
    max-height: 500px;
    background: radial-gradient(circle, rgba(0, 31, 77, 0.05) 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
    animation-duration: 25s;
}

/* Switches the secondary orb to a warm gold glow in dark mode */
[data-theme="dark"] .orb-secondary[b-9jil6pckqq] {
    background: radial-gradient(circle, rgba(242, 202, 80, 0.05) 0%, transparent 70%);
}

/* A very subtle physical texture over the background */
.noise-overlay[b-9jil6pckqq] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.03"/%3E%3C/svg%3E');
    z-index: 1;
    pointer-events: none;
}

.auth-content-wrapper[b-9jil6pckqq] {
    position: relative;
    z-index: 10; /* Ensures the login card sits above the orbs */
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Smooth, breathing float animation */
@keyframes floatOrb-b-9jil6pckqq {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(5%, 5%) scale(1.05);
    }

    66% {
        transform: translate(-2%, 8%) scale(0.95);
    }

    100% {
        transform: translate(-5%, -5%) scale(1);
    }
}
/* --- FLOATING THEME TOGGLE --- */
.theme-toggle-wrapper[b-9jil6pckqq] {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    z-index: 20; /* Keep it above the orbs and the card */
}

.theme-toggle-btn[b-9jil6pckqq] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: var(--on-surface);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Mini Frosted Glass Effect */
    background: color-mix(in srgb, var(--surface-container-lowest) 60%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--outline-variant);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

    .theme-toggle-btn:hover[b-9jil6pckqq] {
        background: var(--surface-container-low);
        color: var(--primary);
        transform: translateY(-2px) scale(1.05);
        border-color: var(--primary);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    .theme-toggle-btn .material-symbols-outlined[b-9jil6pckqq] {
        font-size: 1.5rem;
        transition: transform 0.3s ease;
    }

    .theme-toggle-btn:active .material-symbols-outlined[b-9jil6pckqq] {
        transform: rotate(45deg) scale(0.9); /* Playful click interaction */
    }

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .theme-toggle-wrapper[b-9jil6pckqq] {
        top: 1rem;
        right: 1rem;
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
.app-layout[b-tacyzmmd6o] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--surface);
}

.glass-header[b-tacyzmmd6o] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    /* Upgraded Glassmorphism */
    background: color-mix(in srgb, var(--surface-container-lowest) 85%, transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--outline-variant);
    box-shadow: 0 4px 20px -10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.header-accent-line[b-tacyzmmd6o] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0.5;
}

.header-left[b-tacyzmmd6o], .header-right[b-tacyzmmd6o] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.brand-text[b-tacyzmmd6o] {
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    color: var(--on-surface);
}

.brand-light[b-tacyzmmd6o] {
    font-weight: 300;
    color: var(--primary);
}

.icon-btn[b-tacyzmmd6o] {
    background: none;
    border: none;
    color: var(--on-surface);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

    .icon-btn:hover[b-tacyzmmd6o] {
        background-color: var(--surface-container-low);
        color: var(--primary);
    }

.logout-btn:hover[b-tacyzmmd6o] {
    color: #cf6679; /* Red for logout */
}

/* Hide Hamburger on Desktop */
@media (min-width: 769px) {
    .menu-icon[b-tacyzmmd6o] {
        display: none !important;
    }

    .header-left[b-tacyzmmd6o] {
        gap: 0 !important;
    }
}

.avatar[b-tacyzmmd6o] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--on-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
}

.user-menu[b-tacyzmmd6o] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 1rem;
    border-left: 1px solid var(--outline-variant);
}

.main-workspace[b-tacyzmmd6o] {
    margin-top: 70px; /* Offset for fixed header */
    padding: 1.5rem 2rem;
    flex-grow: 1;
    transition: margin-top 0.3s ease;
}

/* Push content down when banner is active */
.layout-shifted .main-workspace[b-tacyzmmd6o] {
    margin-top: 135px !important;
}

.content-container[b-tacyzmmd6o] {
    max-width: 1200px;
    margin: 0 auto;
}

.cursor-pointer[b-tacyzmmd6o] {
    cursor: pointer;
}

.user-profile-menu[b-tacyzmmd6o] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--outline-variant);
}

.profile-text[b-tacyzmmd6o] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.user-name[b-tacyzmmd6o] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--on-surface);
    line-height: 1.2;
}

.company-name[b-tacyzmmd6o] {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--secondary);
    font-weight: 700;
}

.avatar[b-tacyzmmd6o] {
    width: 40px;
    height: 40px;
    border-radius: 0.75rem;
    background: var(--btn-gradient);
    color: var(--on-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* --- PROFILE DROPDOWN MENU --- */
.profile-container[b-tacyzmmd6o] {
    position: relative;
    outline: none;
}

.user-profile-trigger[b-tacyzmmd6o] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-left: 1rem;
    border-left: 1px solid var(--outline-variant);
    cursor: pointer;
    transition: opacity 0.2s ease;
    user-select: none;
}

    .user-profile-trigger:hover[b-tacyzmmd6o] {
        opacity: 0.8;
    }

.expand-icon[b-tacyzmmd6o] {
    font-size: 1.25rem;
    color: var(--on-surface-variant);
    transition: transform 0.2s ease;
}

.profile-container:focus-within .expand-icon[b-tacyzmmd6o] {
    transform: rotate(180deg);
}

.profile-dropdown[b-tacyzmmd6o] {
    position: absolute;
    top: 125%;
    right: 0;
    background: var(--surface-container-lowest);
    border: 1px solid var(--outline-variant);
    border-radius: 0.75rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    padding: 0.5rem;
    z-index: 1001;
    display: flex;
    flex-direction: column;
}

.dropdown-item[b-tacyzmmd6o] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    color: var(--on-surface);
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    text-align: left;
}

    .dropdown-item:hover[b-tacyzmmd6o] {
        background: var(--surface-container-low);
        color: var(--primary);
    }

    .dropdown-item.logout-action:hover[b-tacyzmmd6o] {
        color: #e57373;
        background: rgba(229, 115, 115, 0.1);
    }

.mobile-only[b-tacyzmmd6o] {
    display: none;
}

.animate-fade-in-fast[b-tacyzmmd6o] {
    animation: fadeInFast-b-tacyzmmd6o 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInFast-b-tacyzmmd6o {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- THE IMPERSONATION BANNER --- */
.impersonation-banner[b-tacyzmmd6o] {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 990;
    background: color-mix(in srgb, var(--surface-container-highest) 85%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--outline-variant);
    box-shadow: 0 4px 20px rgba(255, 152, 0, 0.15), inset 0 -2px 0 0 #ff9800;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-content[b-tacyzmmd6o] {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--on-surface);
    font-size: 0.95rem;
}

.glowing-icon[b-tacyzmmd6o] {
    color: #ff9800;
    text-shadow: 0 0 12px rgba(255, 152, 0, 0.6);
    font-size: 1.5rem;
}

.exit-btn[b-tacyzmmd6o] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

    .exit-btn:hover[b-tacyzmmd6o] {
        background: #f44336;
        color: #ffffff;
        box-shadow: 0 4px 16px rgba(244, 67, 54, 0.3);
        transform: translateY(-2px);
    }

.animate-slide-down[b-tacyzmmd6o] {
    animation: bannerSlideDown-b-tacyzmmd6o 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes bannerSlideDown-b-tacyzmmd6o {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* --- MOBILE RESPONSIVE OVERRIDES --- */
@media (max-width: 768px) {
    .desktop-only[b-tacyzmmd6o] {
        display: none !important;
    }

    .mobile-only[b-tacyzmmd6o] {
        display: flex;
        flex-direction: column;
        padding: 0.5rem 1rem;
        text-align: right;
    }

    .dropdown-divider[b-tacyzmmd6o] {
        height: 1px;
        background: var(--outline-variant);
        margin: 0.5rem 0;
    }

    .user-profile-trigger[b-tacyzmmd6o] {
        border-left: none;
        padding-left: 0;
    }

    .glass-header[b-tacyzmmd6o] {
        padding: 0 1rem;
    }

    .brand-text[b-tacyzmmd6o] {
        font-size: 1.1rem;
    }

    .main-workspace[b-tacyzmmd6o] {
        padding: 2rem 1rem;
    }

    .impersonation-banner[b-tacyzmmd6o] {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
        padding: 1rem;
    }

    .exit-btn[b-tacyzmmd6o] {
        width: 100%;
        justify-content: center;
    }

    .layout-shifted .main-workspace[b-tacyzmmd6o] {
        margin-top: 180px !important;
    }
}
/* /Pages/AdminHome.razor.rz.scp.css */
/* --- AMBIENT GLOW EFFECT --- */
.page-header-wrapper[b-jywwxwkv66] {
    position: relative;
    margin-bottom: 2.5rem;
}

.ambient-glow[b-jywwxwkv66] {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-icon-bg) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.page-header[b-jywwxwkv66] {
    position: relative;
    z-index: 1;
}

.welcome-title[b-jywwxwkv66] {
    font-size: 2rem;
    color: var(--on-surface);
    margin: 0;
}

.text-gradient[b-jywwxwkv66] {
    background: var(--btn-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- GRID --- */
.module-grid[b-jywwxwkv66] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

/* --- VIBRANT TILE ARCHITECTURE --- */
.hub-tile[b-jywwxwkv66] {
    background-color: var(--surface-container-lowest);
    border-radius: 1rem;
    padding: 1.5rem;
    min-height: 140px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border: 1px solid var(--outline-variant);
    /* Subtle top accent line that stays transparent until hovered */
    border-top: 3px solid transparent;
    box-shadow: var(--shadow-ambient);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy spring transition */
}

.tile-content[b-jywwxwkv66] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* --- THE NEW VIBRANT ICON BOX --- */
.icon-box[b-jywwxwkv66] {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    background: var(--accent-icon-bg); /* Pulls the glowing background tint */
    color: var(--accent-icon-color); /* Pulls the vibrant gold */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

/* CSS TRICK: Forces Material Icons to render as Solid/Filled shapes for premium look */
.solid-icon[b-jywwxwkv66] {
    font-size: 1.5rem;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.tile-title[b-jywwxwkv66] {
    font-size: 1.15rem;
    color: var(--on-surface);
    margin: 0 0 0.25rem 0;
}

.tile-desc[b-jywwxwkv66] {
    font-size: 0.85rem;
    color: var(--on-surface-variant);
    margin: 0;
    line-height: 1.4;
}

.arrow-icon[b-jywwxwkv66] {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.4s ease;
    color: var(--accent-icon-color);
}

/* --- HOVER STATES --- */
.hub-tile:not(.disabled):hover[b-jywwxwkv66] {
    transform: translateY(-6px);
    border-top: 3px solid var(--card-hover-border); /* Colorized top line reveals itself */
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

    /* Invert the icon box to solid gradient on hover */
    .hub-tile:not(.disabled):hover .icon-box[b-jywwxwkv66] {
        background: var(--btn-gradient);
        color: var(--on-primary);
        transform: scale(1.1) rotate(-8deg); /* Playful tilt */
        box-shadow: 0 8px 16px var(--accent-icon-bg);
    }

    .hub-tile:not(.disabled):hover .arrow-icon[b-jywwxwkv66] {
        opacity: 1;
        transform: translateX(0);
    }

/* --- DISABLED TILE --- */
.hub-tile.disabled[b-jywwxwkv66] {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: transparent;
    border: 1px dashed var(--outline-variant);
    box-shadow: none;
}

    .hub-tile.disabled .icon-box[b-jywwxwkv66] {
        background: var(--surface-container-high);
        color: var(--on-surface-variant);
    }

.title-row[b-jywwxwkv66] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.badge[b-jywwxwkv66] {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid var(--outline-variant);
    color: var(--on-surface-variant);
    background: var(--surface-container-low);
}

/* --- ANIMATIONS --- */
.animate-fade-in[b-jywwxwkv66] {
    animation: fadeIn-b-jywwxwkv66 0.6s ease forwards;
}

.animate-slide-up[b-jywwxwkv66] {
    animation: slideUp-b-jywwxwkv66 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@keyframes fadeIn-b-jywwxwkv66 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp-b-jywwxwkv66 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* /Pages/CompanySettings.razor.rz.scp.css */
/* --- COMPACT HEADER ROW --- */
.setup-header-row[b-pubcv5dzgk] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
}

.setup-title[b-pubcv5dzgk] {
    font-size: 1.5rem;
    color: var(--on-surface);
    margin: 0;
    letter-spacing: -0.01em;
}

.brand-light[b-pubcv5dzgk] {
    font-weight: 300;
    color: var(--primary);
}

.compact-save-btn[b-pubcv5dzgk] {
    width: auto;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    border-radius: 0.5rem;
}

.absolute-center-loader[b-pubcv5dzgk] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    width: 100%;
}

/* --- LAYOUT ARCHITECTURE --- */
.setup-layout[b-pubcv5dzgk] {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

/* --- FLOATING TABS --- */
.modern-sidebar[b-pubcv5dzgk] {
    width: 230px;
    flex-shrink: 0;
    position: sticky;
    top: 90px;
}

.modern-nav[b-pubcv5dzgk] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.modern-tab[b-pubcv5dzgk] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    color: var(--on-surface-variant);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .modern-tab:hover[b-pubcv5dzgk] {
        background: var(--surface-container-low);
        color: var(--on-surface);
    }

    .modern-tab.active[b-pubcv5dzgk] {
        background: var(--surface-container-lowest);
        color: var(--primary);
        border-color: var(--outline-variant);
        box-shadow: 0 4px 15px rgba(0,0,0,0.03);
        font-weight: 600;
    }

        .modern-tab.active[b-pubcv5dzgk]::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: var(--btn-gradient);
            border-radius: 4px 0 0 4px;
        }

    .modern-tab .material-symbols-outlined[b-pubcv5dzgk] {
        font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
        font-size: 1.25rem;
        transition: all 0.3s ease;
    }

    .modern-tab.active .material-symbols-outlined[b-pubcv5dzgk] {
        font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
        transform: scale(1.1);
    }

.layout-divider[b-pubcv5dzgk] {
    width: 1px;
    background: var(--outline-variant);
    align-self: stretch;
    opacity: 0.5;
}

/* --- MAIN CONTENT AREA --- */
.setup-content[b-pubcv5dzgk] {
    flex-grow: 1;
    min-width: 0;
    padding-bottom: 4rem;
}

.max-w-desktop[b-pubcv5dzgk] {
    max-width: 800px;
}

/* Dashboards */
.split-dashboard-grid[b-pubcv5dzgk] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

/* ADJUSTED FEATURES GRID: 1.25fr gives the right side plenty of room! */
.features-layout-grid[b-pubcv5dzgk] {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.email-layout-grid[b-pubcv5dzgk] {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.column-wrapper[b-pubcv5dzgk] {
    display: flex;
    flex-direction: column;
}

.content-panel[b-pubcv5dzgk] {
    background: var(--surface-container-lowest);
    border: 1px solid var(--outline-variant);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.transparent-panel[b-pubcv5dzgk] {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.subsection-title[b-pubcv5dzgk] {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--on-surface-variant);
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--outline-variant);
}

/* --- FORMS & GRIDS --- */
.form-grid[b-pubcv5dzgk] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.compact-form .form-group[b-pubcv5dzgk] {
    margin-bottom: 0;
}

.span-2[b-pubcv5dzgk] {
    grid-column: 1 / -1;
}

.span-all[b-pubcv5dzgk] {
    grid-column: 1 / -1;
}

.form-group[b-pubcv5dzgk] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.flex-row-3[b-pubcv5dzgk] {
    display: flex;
    gap: 1rem;
}

    .flex-row-3 > div[b-pubcv5dzgk] {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

.flex-row[b-pubcv5dzgk] {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.gap-2[b-pubcv5dzgk] {
    gap: 0.5rem;
}

.gap-3[b-pubcv5dzgk] {
    gap: 1.5rem;
}

.gap-4[b-pubcv5dzgk] {
    gap: 1.5rem;
}

.flex-wrap[b-pubcv5dzgk] {
    flex-wrap: wrap;
}

.flex-center-vertical[b-pubcv5dzgk] {
    display: flex;
    align-items: center;
    height: 100%;
}

.align-items-center[b-pubcv5dzgk] {
    align-items: center;
}

.align-items-end[b-pubcv5dzgk] {
    align-items: flex-end;
}

/* --- HIDE DEFAULT SPINNERS ON NUMBER INPUTS --- */
input[type=number].hide-spinners[b-pubcv5dzgk]::-webkit-inner-spin-button,
input[type=number].hide-spinners[b-pubcv5dzgk]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number].hide-spinners[b-pubcv5dzgk] {
    -moz-appearance: textfield;
}

/* --- GROUPED GENERAL FEATURES --- */
.feature-masonry[b-pubcv5dzgk] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-group-card[b-pubcv5dzgk] {
    background: var(--surface-container-low);
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid var(--outline-variant);
}

.feature-group-title[b-pubcv5dzgk] {
    margin: 0 0 1rem 0;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 0.5rem;
}

.feature-grid-2col[b-pubcv5dzgk] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-list[b-pubcv5dzgk] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.passcode-grid[b-pubcv5dzgk] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
}

.passcode-item[b-pubcv5dzgk] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Toggles */
.inline-toggle[b-pubcv5dzgk] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.premium-switch-wrapper input[type="checkbox"][b-pubcv5dzgk] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.small-switch[b-pubcv5dzgk] {
    width: 36px;
    height: 20px;
    flex-shrink: 0;
}

    .small-switch[b-pubcv5dzgk]::after {
        width: 16px;
        height: 16px;
    }

.premium-switch-wrapper input:checked + .small-switch[b-pubcv5dzgk]::after {
    transform: translateX(16px);
}

.disabled-toggle[b-pubcv5dzgk] {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(100%);
}

.premium-input.compact-input[b-pubcv5dzgk] {
    padding: 0.35rem 0.5rem;
    font-size: 0.85rem;
    border-radius: 0.25rem;
    border: 1px solid var(--outline-variant);
}

/* Helpers */
.m-0[b-pubcv5dzgk] {
    margin: 0 !important;
}

.mt-2[b-pubcv5dzgk] {
    margin-top: 0.5rem;
}

.mt-3[b-pubcv5dzgk] {
    margin-top: 1rem;
}

.mt-4[b-pubcv5dzgk] {
    margin-top: 1.5rem;
}

.mb-2[b-pubcv5dzgk] {
    margin-bottom: 0.5rem;
}

.mb-3[b-pubcv5dzgk] {
    margin-bottom: 1rem;
}

.mb-4[b-pubcv5dzgk] {
    margin-bottom: 1.5rem;
}

.p-0[b-pubcv5dzgk] {
    padding: 0 !important;
}

.p-3[b-pubcv5dzgk] {
    padding: 1rem;
}

.p-4[b-pubcv5dzgk] {
    padding: 1.5rem;
}

.pt-3[b-pubcv5dzgk] {
    padding-top: 1rem;
}

.pb-3[b-pubcv5dzgk] {
    padding-bottom: 1rem;
}

.border-top[b-pubcv5dzgk] {
    border-top: 1px solid var(--outline-variant);
}

.border-bottom[b-pubcv5dzgk] {
    border-bottom: 1px solid var(--outline-variant);
}

.flex-grow-1[b-pubcv5dzgk] {
    flex-grow: 1;
    min-width: 0;
}

.text-primary[b-pubcv5dzgk] {
    color: var(--primary);
}

.text-muted[b-pubcv5dzgk] {
    color: var(--on-surface-variant);
}

.text-sm[b-pubcv5dzgk] {
    font-size: 0.8rem;
}

.bold[b-pubcv5dzgk] {
    font-weight: bold;
}

.text-center[b-pubcv5dzgk] {
    text-align: center;
}

.w-100[b-pubcv5dzgk] {
    width: 100%;
}

.w-150[b-pubcv5dzgk] {
    width: 150px;
}

.btn-secondary[b-pubcv5dzgk] {
    background: var(--surface-container-high);
    color: var(--on-surface);
    box-shadow: none;
    border: 1px solid var(--outline-variant);
}

.highlight-box[b-pubcv5dzgk] {
    justify-content: center;
    padding: 1rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 0.5rem;
    border: 1px dashed var(--secondary);
}

.alert-box-info[b-pubcv5dzgk] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    background: rgba(33, 150, 243, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #1e88e5;
    font-size: 0.8rem;
}

    .alert-box-info .material-symbols-outlined[b-pubcv5dzgk] {
        font-variation-settings: 'FILL' 1;
        font-size: 1.25rem;
    }

/* --- RATES GRID --- */
.rates-grid[b-pubcv5dzgk] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.rate-card[b-pubcv5dzgk] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface-container-lowest);
    border: 1px solid var(--outline-variant);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: border-color 0.2s ease;
}

    .rate-card:hover[b-pubcv5dzgk] {
        border-color: var(--primary);
    }

.rate-label[b-pubcv5dzgk] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--on-surface);
}

.rate-input[b-pubcv5dzgk] {
    width: 100px;
    text-align: right;
    background: var(--surface-container-low);
    font-weight: bold;
    color: var(--primary);
}

/* --- DIV-BASED PRINT SETTINGS TABLE --- */
.div-table[b-pubcv5dzgk] {
    display: flex;
    flex-direction: column;
}
/* Ensures the dropdown column is 240px, while description takes the rest */
.div-table-header[b-pubcv5dzgk] {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) 240px;
    gap: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--on-surface-variant);
    background: var(--surface-container-low);
    border-radius: 0.5rem 0.5rem 0 0;
}

.div-table-row[b-pubcv5dzgk] {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) 240px;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--outline-variant);
}

.font-weight-semibold[b-pubcv5dzgk] {
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.3;
}

/* --- SMS REDESIGN GRIDS --- */
.sms-header-grid[b-pubcv5dzgk] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.sms-triggers-grid[b-pubcv5dzgk] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.sms-gateway-config[b-pubcv5dzgk] {
    border-right: 1px solid var(--outline-variant);
    padding-right: 2rem;
}

.sms-stats-config[b-pubcv5dzgk] {
    padding-left: 1rem;
}

/* --- EDITABLE DEVICES GRID --- */
.device-grid[b-pubcv5dzgk] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}

.device-card[b-pubcv5dzgk] {
    background: var(--surface-container-lowest);
    border: 1px solid var(--outline-variant);
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

    .device-card:hover[b-pubcv5dzgk] {
        transform: translateY(-4px);
        border-color: var(--primary);
    }

    .device-card.device-active[b-pubcv5dzgk] {
        border: 2px solid var(--primary);
        box-shadow: 0 4px 20px color-mix(in srgb, var(--primary) 12%, transparent);
    }

.device-card-header[b-pubcv5dzgk] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--outline-variant);
}

.bg-gradient[b-pubcv5dzgk] {
    background: linear-gradient(135deg, var(--surface-container-lowest) 0%, var(--surface-container-low) 100%);
}

.device-screen-name[b-pubcv5dzgk] {
    margin: 0 0 0.25rem 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--on-surface);
    line-height: 1.2;
}

.device-module-badge[b-pubcv5dzgk] {
    display: inline-block;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--primary);
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.device-card-body[b-pubcv5dzgk] {
    padding: 1.5rem;
}

.device-specs-grid[b-pubcv5dzgk] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background: transparent;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--outline-variant);
}

/* Animations */
.animate-fade-in[b-pubcv5dzgk] {
    animation: fadeIn-b-pubcv5dzgk 0.4s ease forwards;
}

.animate-slide-up[b-pubcv5dzgk] {
    animation: slideUp-b-pubcv5dzgk 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@keyframes fadeIn-b-pubcv5dzgk {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp-b-pubcv5dzgk {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- MOBILE RESPONSIVE TWEAKS --- */
@media (max-width: 1024px) {
    .split-dashboard-grid[b-pubcv5dzgk] {
        grid-template-columns: 1fr;
    }

    .features-layout-grid[b-pubcv5dzgk] {
        grid-template-columns: 1fr;
    }

    .email-layout-grid[b-pubcv5dzgk] {
        grid-template-columns: 1fr;
    }

    .span-all[b-pubcv5dzgk] {
        grid-column: auto;
    }

    .sms-header-grid[b-pubcv5dzgk] {
        grid-template-columns: 1fr;
    }

    .sms-gateway-config[b-pubcv5dzgk] {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid var(--outline-variant);
        padding-bottom: 1.5rem;
    }

    .sms-stats-config[b-pubcv5dzgk] {
        padding-left: 0;
    }
}

@media (max-width: 900px) {
    .desktop-only[b-pubcv5dzgk] {
        display: none !important;
    }

    .setup-header-row[b-pubcv5dzgk] {
        margin-bottom: 1rem;
    }

    .setup-layout[b-pubcv5dzgk] {
        flex-direction: column;
        gap: 1rem;
    }

    .modern-sidebar[b-pubcv5dzgk] {
        width: 100%;
        position: relative;
        z-index: 50;
        overflow: hidden;
        margin-bottom: 1rem;
    }

    .modern-nav-wrapper[b-pubcv5dzgk] {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

        .modern-nav-wrapper[b-pubcv5dzgk]::-webkit-scrollbar {
            display: none;
        }

    .modern-nav[b-pubcv5dzgk] {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        width: max-content;
        gap: 0.5rem;
        padding: 0.2rem 1rem 0.5rem 0.2rem;
    }

    .modern-tab[b-pubcv5dzgk] {
        white-space: nowrap;
        padding: 0.5rem 1rem;
        border-radius: 2rem;
        flex-shrink: 0;
    }

        .modern-tab.active[b-pubcv5dzgk]::before {
            display: none;
        }

        .modern-tab.active[b-pubcv5dzgk] {
            background: var(--primary);
            color: var(--on-primary);
        }

            .modern-tab.active .material-symbols-outlined[b-pubcv5dzgk] {
                color: var(--on-primary);
            }

    .form-grid[b-pubcv5dzgk] {
        grid-template-columns: 1fr;
    }

    .flex-row-3[b-pubcv5dzgk] {
        flex-direction: column;
        gap: 0.5rem;
    }

    .device-specs-grid[b-pubcv5dzgk] {
        grid-template-columns: 1fr;
    }

    .div-table-header[b-pubcv5dzgk], .div-table-row[b-pubcv5dzgk] {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

        .div-table-header span:last-child[b-pubcv5dzgk] {
            display: none;
        }
}

/* --- DYNAMIC PREMIUM TOAST NOTIFICATION --- */
.toast-overlay[b-pubcv5dzgk] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 9999;
    display: flex;
    justify-content: center;
    padding-top: 1.5rem;
}

.premium-toast[b-pubcv5dzgk] {
    background: var(--surface-container-lowest);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 0.5rem;
    display: flex;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    gap: 1rem;
    max-width: 600px;
    pointer-events: auto;
}

    /* ERROR TOAST THEME */
    .premium-toast.toast-error[b-pubcv5dzgk] {
        border: 1px solid #ef4444;
        border-left: 4px solid #ef4444;
    }

        .premium-toast.toast-error .toast-icon[b-pubcv5dzgk] {
            color: #ef4444;
            background: rgba(239, 68, 68, 0.1);
            padding: 0.5rem;
            border-radius: 0.5rem;
        }

        .premium-toast.toast-error .toast-close:hover[b-pubcv5dzgk] {
            color: #ef4444;
        }

    /* SUCCESS TOAST THEME */
    .premium-toast.toast-success[b-pubcv5dzgk] {
        border: 1px solid #10b981;
        border-left: 4px solid #10b981;
    }

        .premium-toast.toast-success .toast-icon[b-pubcv5dzgk] {
            color: #10b981;
            background: rgba(16, 185, 129, 0.1);
            padding: 0.5rem;
            border-radius: 0.5rem;
        }

        .premium-toast.toast-success .toast-close:hover[b-pubcv5dzgk] {
            color: #10b981;
        }

.toast-icon[b-pubcv5dzgk] {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .toast-icon .material-symbols-outlined[b-pubcv5dzgk] {
        font-variation-settings: 'FILL' 1;
    }

.toast-content[b-pubcv5dzgk] {
    flex-grow: 1;
}

.toast-title[b-pubcv5dzgk] {
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--on-surface);
}

.toast-message[b-pubcv5dzgk] {
    margin: 0;
    font-size: 0.85rem;
    color: var(--on-surface-variant);
    line-height: 1.4;
}

.toast-close[b-pubcv5dzgk] {
    background: transparent;
    border: none;
    color: var(--on-surface-variant);
    cursor: pointer;
    padding: 0;
    display: flex;
    transition: color 0.2s ease;
}

.animate-slide-down[b-pubcv5dzgk] {
    animation: slideDown-b-pubcv5dzgk 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDown-b-pubcv5dzgk {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* /Pages/Login.razor.rz.scp.css */
/* --- THE FROSTED GLASS LOGIN CARD --- */
.premium-card[b-a5akk4no16] {
    background-color: var(--surface-container-lowest);
    /* Light mode: white transparent. Dark mode: charcoal transparent */
    background: color-mix(in srgb, var(--surface-container-lowest) 90%, transparent);
    border-radius: 1.5rem;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-ambient);
    border: 1px solid var(--outline-variant);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: all 0.3s ease;
    /* Subtle inner bevel highlight */
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.2), var(--shadow-ambient);
}

[data-theme="dark"] .premium-card[b-a5akk4no16] {
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05), var(--shadow-ambient);
}

.login-container[b-a5akk4no16] {
    width: 100%;
    max-width: 420px;
    padding: 2rem;
}

.brand-header[b-a5akk4no16] {
    margin-bottom: 2.5rem;
    text-align: center;
}

.logo-badge[b-a5akk4no16] {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem auto;
    background: transparent; /* Removed the background block */
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: none; /* Removed the shadow */
}
    .logo-badge img[b-a5akk4no16] {
        width: 36px;
        height: 36px;
        object-fit: contain;
    }

.brand-title[b-a5akk4no16] {
    font-size: 2rem;
    color: var(--primary);
    margin: 0 0 0.5rem 0;
}

.brand-subtitle[b-a5akk4no16] {
    color: var(--on-surface-variant);
    font-size: 0.875rem;
    margin: 0;
}

.input-group[b-a5akk4no16] {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.otp-header-wrapper[b-a5akk4no16] {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.otp-group[b-a5akk4no16] {
    margin-bottom: 0.5rem;
}

/* --- STRICT HORIZONTAL LAYOUT FOR ACTIONS --- */
.otp-actions-row[b-a5akk4no16] {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.action-left[b-a5akk4no16], .action-right[b-a5akk4no16] {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.action-left[b-a5akk4no16] {
    justify-content: flex-start;
}

.action-right[b-a5akk4no16] {
    justify-content: flex-end;
}

/* Ghost Buttons */
.text-btn[b-a5akk4no16] {
    background: none;
    border: none;
    color: var(--on-surface-variant);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

    .text-btn:hover:not(:disabled)[b-a5akk4no16] {
        color: var(--primary);
    }

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

.timer-text[b-a5akk4no16] {
    color: var(--secondary);
}

/* Validations & Status */
.validation-error[b-a5akk4no16] {
    color: #e57373;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.4rem;
    letter-spacing: 0.02em;
    padding-left: 0.25rem;
    animation: fadeInLift-b-a5akk4no16 0.3s ease forwards;
}


/* --- FLOATING TOAST ALERTS --- */
.toast-container[b-a5akk4no16] {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050; /* Float high above the orbs and the glass card */
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none; /* Let clicks pass right through the container */
    width: max-content;
    max-width: 90vw;
}

.status-message[b-a5akk4no16] {
    margin-top: 0; /* Remove old spacing */
    padding: 0.75rem 1.5rem;
    border-radius: 2rem; /* Modern Pill shape */
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    animation: slideDownFade-b-a5akk4no16 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    /* Frosted Glass Toast Effect */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    pointer-events: auto;
}

    .status-message.error[b-a5akk4no16] {
        background: color-mix(in srgb, var(--surface-container-lowest) 75%, transparent);
        color: #cf6679;
        border: 1px solid rgba(207, 102, 121, 0.3);
    }

    .status-message.success[b-a5akk4no16] {
        background: color-mix(in srgb, var(--surface-container-lowest) 75%, transparent);
        color: #4caf50;
        border: 1px solid rgba(76, 175, 80, 0.3);
    }

@keyframes slideDownFade-b-a5akk4no16 {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.footer-text[b-a5akk4no16] {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--on-surface-variant);
}

.animate-fade-in[b-a5akk4no16] {
    animation: fadeInLift-b-a5akk4no16 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes fadeInLift-b-a5akk4no16 {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- PREMIUM COUNTRY SELECTOR WRAPPER --- */
.premium-input-wrapper[b-a5akk4no16] {
    display: flex;
    align-items: center;
    background: var(--surface-container-low);
    border: 1px solid var(--outline-variant);
    border-radius: 0.75rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
}

    .premium-input-wrapper:focus-within[b-a5akk4no16] {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
        background: var(--surface-container-lowest);
    }

.country-selector[b-a5akk4no16] {
    background: transparent;
    border: none;
    color: var(--on-surface);
    padding: 0.875rem 0.5rem 0.875rem 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

    .country-selector option[b-a5akk4no16] {
        background-color: var(--surface);
        color: var(--on-surface);
    }

.selector-divider[b-a5akk4no16] {
    width: 1px;
    height: 24px;
    background-color: var(--outline-variant);
    margin: 0 0.5rem;
}

.premium-input.seamless-input[b-a5akk4no16] {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0;
    flex-grow: 1;
    padding-left: 0.75rem;
    margin: 0 !important;
    outline: none !important;
    height: 100%;
}

/* --- REMEMBER ME CHECKBOX --- */
.remember-wrapper[b-a5akk4no16] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.custom-checkbox[b-a5akk4no16] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--outline-variant);
    border-radius: 4px;
    background-color: var(--surface-container-low);
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .custom-checkbox:checked[b-a5akk4no16] {
        background-color: var(--primary);
        border-color: var(--primary);
    }

        .custom-checkbox:checked[b-a5akk4no16]::after {
            content: '';
            position: absolute;
            left: 5px;
            top: 2px;
            width: 4px;
            height: 8px;
            border: solid var(--on-primary);
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

.remember-wrapper .label-text[b-a5akk4no16] {
    margin: 0;
    text-transform: none;
    letter-spacing: normal;
    color: var(--on-surface-variant);
    font-size: 0.8rem;
    font-weight: 500;
}

/* --- OVERRIDE BLAZOR'S DEFAULT GREEN VALIDATION LINES --- */
[b-a5akk4no16] .valid,
[b-a5akk4no16] .modified.valid,
.premium-input.valid[b-a5akk4no16],
.premium-input.modified[b-a5akk4no16] {
    border-left: none !important;
    outline: none !important;
}
/* --- COMPACT INLINE CAPTCHA --- */
.captcha-input[b-a5akk4no16] {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em; /* Slightly reduced for better fit */
    font-size: 0.85rem;
    width: 105px; /* Gave it a tiny bit more room */
}

    /* FIX 1: Make ONLY the placeholder normal size and spacing so it fits! */
    .captcha-input[b-a5akk4no16]::placeholder {
        text-transform: none;
        font-weight: 500;
        letter-spacing: normal;
        font-size: 0.8rem;
    }

.canvas-box[b-a5akk4no16] {
    height: 42px;
    border-left: 1px solid var(--outline-variant);
    border-right: 1px solid var(--outline-variant);
    background: color-mix(in srgb, var(--surface) 40%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.25rem;
}

.captcha-canvas[b-a5akk4no16] {
    height: 100%;
    user-select: none;
    -webkit-user-drag: none;
    cursor: not-allowed;
}

.refresh-action[b-a5akk4no16] {
    background: transparent;
    border: none;
    color: var(--on-surface-variant);
    height: 42px;
    width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
    /* FIX 2: Curve the right side of the button to perfectly match the outer glass wrapper! */
    border-top-right-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}

    .refresh-action:hover[b-a5akk4no16] {
        color: var(--primary);
        background: color-mix(in srgb, var(--primary) 10%, transparent);
    }
/* /Pages/ServicesAndBilling.razor.rz.scp.css */
.billing-layout-vertical[b-hlxti91al7] {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 4rem;
}

.plan-summary-hero[b-hlxti91al7] {
    background: linear-gradient(135deg, var(--surface-container-lowest) 0%, var(--surface-container-low) 100%);
    border: 1px solid var(--outline-variant);
    border-radius: 1.25rem;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    gap: 2rem;
}

    .plan-summary-hero[b-hlxti91al7]::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 6px;
        background: var(--btn-gradient, linear-gradient(180deg, #007bff, #00d2ff));
    }

.hero-left[b-hlxti91al7] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.current-plan-title[b-hlxti91al7] {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0;
    line-height: 1.1;
    color: var(--on-surface);
    letter-spacing: -0.02em;
}

.hero-right[b-hlxti91al7] {
    display: flex;
    gap: 2rem;
    background: var(--surface-container-lowest);
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    border: 1px solid var(--outline-variant);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.hero-stat-box[b-hlxti91al7] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-label[b-hlxti91al7] {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--on-surface-variant);
    font-weight: 700;
}

.stat-value[b-hlxti91al7] {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--on-surface);
}

.status-badge[b-hlxti91al7] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    width: fit-content;
}

.status-success[b-hlxti91al7] {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-failed[b-hlxti91al7] {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* --- THEME AWARE CHECKOUT BANNER --- */
.admin-override-banner[b-hlxti91al7] {
    display: flex;
    align-items: center;
    background: var(--surface-container-lowest);
    border: 1px solid var(--outline-variant);
    border-radius: 0.75rem;
    padding: 1.5rem 2rem;
    gap: 2rem;
    border-left: 5px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.ao-left[b-hlxti91al7] {
    flex: 1.25;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ao-title[b-hlxti91al7] {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--on-surface);
    margin: 0;
}

.ao-desc[b-hlxti91al7] {
    font-size: 0.9rem;
    color: var(--on-surface-variant);
    margin: 0;
}

.ao-center[b-hlxti91al7] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-left: 1px solid var(--outline-variant);
    border-right: 1px solid var(--outline-variant);
    padding: 0 2rem;
}

.math-row[b-hlxti91al7] {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--on-surface-variant);
    font-weight: 600;
}

    .math-row.total-row[b-hlxti91al7] {
        margin-top: 0.25rem;
        padding-top: 0.5rem;
        border-top: 1px dashed var(--outline-variant);
    }

        .math-row.total-row .math-label[b-hlxti91al7], .math-row.total-row .math-value[b-hlxti91al7] {
            color: var(--on-surface) !important;
        }

.ao-right[b-hlxti91al7] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.secure-text[b-hlxti91al7] {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--on-surface-variant) !important;
}

.premium-btn[b-hlxti91al7] {
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-primary[b-hlxti91al7] {
    background: var(--primary);
    color: var(--on-primary);
}

/* --- NEW WRAPPER CONTAINER --- */
.section-container[b-hlxti91al7] {
    background: var(--surface-container-lowest);
    border: 1px solid var(--outline-variant);
    border-radius: 1.25rem;
    padding: 2.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.02);
}

@media print {
    body > *[b-hlxti91al7] {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .plan-summary-hero[b-hlxti91al7] {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-right[b-hlxti91al7] {
        justify-content: space-between;
    }

    .admin-override-banner[b-hlxti91al7] {
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
        gap: 1rem;
    }

    .ao-center[b-hlxti91al7] {
        border-left: none;
        border-right: none;
        border-top: 1px solid var(--outline-variant);
        border-bottom: 1px solid var(--outline-variant);
        padding: 1rem 0;
    }

    .section-container[b-hlxti91al7] {
        padding: 1.5rem;
    }
}
/* /Pages/SuperAdmin/AmcPlanMaster.razor.rz.scp.css */
/* --- GLOBALS TO BANISH HORIZONTAL SCROLLBARS --- */
*[b-0mbkz70nho] {
    box-sizing: border-box;
}

/* --- BASE LAYOUT --- */
.sa-layout[b-0mbkz70nho] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 4rem;
}

.modern-top-bar[b-0mbkz70nho] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.stylish-back-btn[b-0mbkz70nho] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: none;
    color: var(--on-surface-variant);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

    .stylish-back-btn:hover[b-0mbkz70nho] {
        color: var(--primary);
    }

/* --- MAIN SEGMENTED TABS --- */
.ios-segmented-control[b-0mbkz70nho] {
    background: var(--surface-container-low);
    padding: 0.35rem;
    border-radius: 1rem;
    display: inline-flex;
    position: relative;
    border: 1px solid var(--outline-variant);
    width: 400px;
    max-width: 100%;
}

.selection-pill[b-0mbkz70nho] {
    position: absolute;
    top: 0.35rem;
    bottom: 0.35rem;
    width: calc(33.333% - 0.25rem);
    background: var(--surface-container-lowest);
    border-radius: 0.65rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

.segment-btn[b-0mbkz70nho] {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 0.6rem 1rem;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--on-surface-variant);
    cursor: pointer;
    transition: color 0.3s ease;
}

    .segment-btn.active[b-0mbkz70nho] {
        color: var(--primary);
    }

/* --- HEADERS & CONTAINERS --- */
.section-container[b-0mbkz70nho] {
    background: var(--surface-container-lowest);
    border: 1px solid var(--outline-variant);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.02);
}

.sc-header[b-0mbkz70nho] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--outline-variant);
    flex-wrap: wrap;
    gap: 1rem;
}

.single-line-title[b-0mbkz70nho] {
    margin: 0;
    font-weight: 800;
    color: var(--on-surface);
    white-space: nowrap;
}

.header-text-group[b-0mbkz70nho] {
    display: flex;
    flex-direction: column;
}

.plan-category-header[b-0mbkz70nho] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spaced-top[b-0mbkz70nho] {
    margin-top: 2.5rem;
}

.divider[b-0mbkz70nho] {
    height: 1px;
    background: var(--outline-variant);
    margin: 3rem 0;
    width: 100%;
}

/* --- NEW SLEEK BUTTONS --- */
.btn-new-entity[b-0mbkz70nho] {
    background: var(--primary);
    color: var(--on-primary);
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem; /* Pill shape */
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px color-mix(in srgb, var(--primary) 30%, transparent);
}

    .btn-new-entity:hover[b-0mbkz70nho] {
        transform: translateY(-2px);
        filter: brightness(1.1);
    }

    .btn-new-entity .material-symbols-outlined[b-0mbkz70nho] {
        font-size: 1.1rem;
    }

.btn-save-matrix[b-0mbkz70nho] {
    background: #0f172a; /* Dark Slate */
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-edit-plan[b-0mbkz70nho] {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 2rem; /* Pill shape */
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

    .btn-edit-plan:hover[b-0mbkz70nho] {
        background: var(--primary);
        color: var(--on-primary);
    }

    .btn-edit-plan .material-symbols-outlined[b-0mbkz70nho] {
        font-size: 1.1rem;
    }

/* --- PLAN CARDS --- */
.plan-cards-grid[b-0mbkz70nho] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.admin-plan-card[b-0mbkz70nho] {
    border: 1px solid var(--outline-variant);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    background: var(--surface-container-lowest);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .admin-plan-card:hover[b-0mbkz70nho] {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.05);
        border-color: color-mix(in srgb, var(--primary) 50%, transparent);
    }

.apc-header[b-0mbkz70nho] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.apc-price[b-0mbkz70nho] {
    font-size: 2rem;
    font-weight: 900;
    color: var(--on-surface);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

    .apc-price .cycle[b-0mbkz70nho] {
        font-size: 0.9rem;
        color: var(--on-surface-variant);
        font-weight: 600;
    }

.apc-desc[b-0mbkz70nho] {
    font-size: 0.85rem;
    color: var(--on-surface-variant);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.apc-details-row[b-0mbkz70nho] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.detail-pill[b-0mbkz70nho] {
    background: var(--surface-container-low);
    border: 1px solid var(--outline-variant);
    color: var(--on-surface-variant);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

    .detail-pill .material-symbols-outlined[b-0mbkz70nho] {
        font-size: 0.9rem;
    }

/* --- PRO LIST LAYOUT (Replaces Features Table) --- */
.pro-list-container[b-0mbkz70nho] {
    width: 100%;
    border: 1px solid var(--outline-variant);
    border-radius: 0.75rem;
    background: var(--surface-container-lowest);
    overflow: hidden;
}

.pro-list-header[b-0mbkz70nho] {
    display: flex;
    background: var(--surface-container-low);
    padding: 1rem;
    border-bottom: 2px solid var(--outline-variant);
    color: var(--on-surface-variant);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pro-list-body[b-0mbkz70nho] {
    max-height: 500px;
    overflow-y: auto;
}

.pro-list-row[b-0mbkz70nho] {
    display: flex;
    padding: 1rem;
    border-bottom: 1px solid var(--outline-variant);
    align-items: center;
    font-size: 0.9rem;
    color: var(--on-surface);
}

    .pro-list-row:last-child[b-0mbkz70nho] {
        border-bottom: none;
    }

.col-order[b-0mbkz70nho] {
    width: 80px;
    flex-shrink: 0;
}

.col-name[b-0mbkz70nho] {
    flex: 2;
    min-width: 200px;
}

.col-type[b-0mbkz70nho] {
    flex: 1;
    min-width: 120px;
}

.col-status[b-0mbkz70nho] {
    flex: 1;
    min-width: 100px;
}

.col-actions[b-0mbkz70nho] {
    width: 80px;
    flex-shrink: 0;
}

.status-indicator[b-0mbkz70nho] {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

    .status-indicator.active[b-0mbkz70nho] {
        background: #10b981;
        box-shadow: 0 0 8px rgba(16,185,129,0.4);
    }

    .status-indicator.inactive[b-0mbkz70nho] {
        background: #ef4444;
    }


/* --- PRO MATRIX LAYOUT (Replaces Matrix Table) --- */
.pro-matrix-container[b-0mbkz70nho] {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--outline-variant);
    border-radius: 0.75rem;
    background: var(--surface-container-lowest);
    display: flex;
    flex-direction: column;
}

.pro-matrix-row[b-0mbkz70nho] {
    display: flex;
    width: max-content;
    min-width: 100%;
    border-bottom: 1px solid var(--outline-variant);
}

    .pro-matrix-row:last-child[b-0mbkz70nho] {
        border-bottom: none;
    }

.matrix-header-row[b-0mbkz70nho] {
    background: var(--surface-container-low);
    position: sticky;
    top: 0;
    z-index: 11;
    border-bottom: 2px solid var(--outline-variant);
}

.pro-matrix-cell[b-0mbkz70nho] {
    padding: 1rem;
    display: flex;
    align-items: center;
    border-right: 1px solid var(--outline-variant);
}

    .pro-matrix-cell:last-child[b-0mbkz70nho] {
        border-right: none;
    }

/* Sticky Left Column for Features */
.sticky-left[b-0mbkz70nho] {
    position: sticky;
    left: 0;
    z-index: 12;
    background: var(--surface-container-lowest);
    width: 320px;
    flex-shrink: 0;
    border-right: 2px solid var(--outline-variant);
    box-shadow: 4px 0 10px rgba(0,0,0,0.02); /* Depth effect when scrolling */
}

.matrix-header-row .sticky-left[b-0mbkz70nho] {
    background: var(--surface-container-low);
    z-index: 13;
}

.feature-header[b-0mbkz70nho] {
    font-weight: 800;
    color: var(--on-surface-variant);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.feature-name-cell[b-0mbkz70nho] {
    font-weight: 700;
    color: var(--on-surface);
}

.feat-name[b-0mbkz70nho] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Plan Columns */
.plan-header[b-0mbkz70nho] {
    width: 180px;
    flex-shrink: 0;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.plan-name[b-0mbkz70nho] {
    font-weight: 800;
    color: var(--on-surface);
    font-size: 1.1rem;
}

.plan-cycle[b-0mbkz70nho] {
    font-size: 0.75rem;
    color: var(--on-surface-variant);
    font-weight: 600;
    text-transform: uppercase;
}

/* Interactive Data Cells */
.interactive-cell[b-0mbkz70nho] {
    width: 180px;
    flex-shrink: 0;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    height: 65px;
}

    .interactive-cell:hover[b-0mbkz70nho] {
        background: color-mix(in srgb, var(--primary) 5%, transparent);
    }

.matrix-inline-input[b-0mbkz70nho] {
    width: 90%;
    text-align: center;
    border: 1px solid var(--primary);
    border-radius: 0.25rem;
    padding: 0.4rem;
    background: var(--surface-container-low);
    color: var(--on-surface);
    outline: none;
    font-weight: 700;
}

.matrix-text-val[b-0mbkz70nho] {
    font-weight: 700;
    color: var(--on-surface);
}

.empty-val[b-0mbkz70nho] {
    color: var(--on-surface-variant);
    opacity: 0.5;
    font-weight: 400;
}

/* --- PRO TOGGLE SWITCH --- */
.pro-toggle[b-0mbkz70nho] {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    margin: 0;
}

    .pro-toggle input[b-0mbkz70nho] {
        display: none;
    }

.toggle-track[b-0mbkz70nho] {
    width: 44px;
    height: 24px;
    background: var(--surface-container-highest);
    border-radius: 12px;
    position: relative;
    transition: background 0.3s ease;
    border: 1px solid var(--outline-variant);
    flex-shrink: 0;
}

.toggle-thumb[b-0mbkz70nho] {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: var(--on-surface-variant);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pro-toggle input:checked + .toggle-track[b-0mbkz70nho] {
    background: #10b981;
    border-color: #10b981;
}

    .pro-toggle input:checked + .toggle-track .toggle-thumb[b-0mbkz70nho] {
        transform: translateX(20px); /* 44px (width) - 18px (thumb) - 4px (padding) = 22px, scaled cleanly */
        background: white;
    }

.toggle-text[b-0mbkz70nho] {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-right: 0.5rem;
}


/* --- THEME AWARE MODAL (WIDER TO PREVENT SCROLLBARS) --- */
.dark-modal-overlay[b-0mbkz70nho] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.dark-modal[b-0mbkz70nho] {
    background: var(--surface-container-lowest);
    border: 1px solid var(--outline-variant);
    border-radius: 1.25rem;
    width: 95%; /* Responsive width */
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    overflow: hidden;
}

.plan-modal-width[b-0mbkz70nho] {
    max-width: 680px;
}

.feature-modal-width[b-0mbkz70nho] {
    max-width: 550px;
}

.dm-header[b-0mbkz70nho] {
    padding: 1.5rem;
    border-bottom: 1px solid var(--outline-variant);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface-container-lowest);
}

.dark-modal .text-white[b-0mbkz70nho] {
    color: var(--on-surface) !important;
}

.icon-btn-light[b-0mbkz70nho] {
    background: var(--surface-container-low);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .icon-btn-light:hover[b-0mbkz70nho] {
        background: var(--surface-container-highest);
    }

.dm-body[b-0mbkz70nho] {
    padding: 1.5rem;
    overflow-y: auto;
    max-height: 70vh;
}

/* HORIZONTAL TOP CONTROLS FOR MODALS */
.dm-header-controls[b-0mbkz70nho] {
    display: flex;
    background: var(--surface-container-low);
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--outline-variant);
}

.cycle-group[b-0mbkz70nho] {
    flex: 1;
    padding-right: 1.5rem;
}

.status-group[b-0mbkz70nho] {
    flex: 1;
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.control-divider[b-0mbkz70nho] {
    width: 1px;
    background: var(--outline-variant);
}

/* STRICT BOX SIZING TO FIX HORIZONTAL SCROLLBARS */
.dm-form-grid[b-0mbkz70nho] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    box-sizing: border-box;
}

.dm-form-row[b-0mbkz70nho] {
    display: flex;
    gap: 1.25rem;
    width: 100%;
    box-sizing: border-box;
}

.dm-form-group[b-0mbkz70nho] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
}

.dm-label[b-0mbkz70nho] {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--on-surface-variant);
    letter-spacing: 0.05em;
}

.dm-input[b-0mbkz70nho] {
    width: 100%;
    background: transparent;
    border: 1px solid var(--outline-variant);
    color: var(--on-surface);
    padding: 0.85rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
}

    .dm-input:focus[b-0mbkz70nho] {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent);
    }

.dm-footer[b-0mbkz70nho] {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--outline-variant);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    background: var(--surface-container-low);
}

.dm-btn-cancel[b-0mbkz70nho] {
    background: var(--surface-container-highest);
    color: var(--on-surface);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 2rem; /* Pill shape */
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .dm-btn-cancel:hover[b-0mbkz70nho] {
        filter: brightness(0.95);
    }

.dm-btn-confirm[b-0mbkz70nho] {
    background: var(--primary);
    color: var(--on-primary);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 2rem; /* Pill shape */
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

    .dm-btn-confirm:hover[b-0mbkz70nho] {
        filter: brightness(1.1);
        transform: translateY(-1px);
        box-shadow: 0 4px 10px color-mix(in srgb, var(--primary) 30%, transparent);
    }

/* --- MODAL SEGMENTED CONTROL --- */
.modal-segmented-control[b-0mbkz70nho] {
    background: var(--surface-container-highest);
    padding: 0.25rem;
    border-radius: 0.5rem;
    border: 1px solid var(--outline-variant);
    display: inline-flex;
    position: relative;
    width: 100%;
}

.modal-selection-pill[b-0mbkz70nho] {
    position: absolute;
    top: 0.25rem;
    bottom: 0.25rem;
    width: calc(50% - 0.25rem);
    background: var(--primary);
    border-radius: 0.35rem;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

    .modal-selection-pill.left[b-0mbkz70nho] {
        transform: translateX(0);
    }

    .modal-selection-pill.right[b-0mbkz70nho] {
        transform: translateX(100%);
    }

.modal-segment-btn[b-0mbkz70nho] {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 0.5rem 0;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--on-surface-variant);
    cursor: pointer;
    transition: color 0.3s ease;
}

    .modal-segment-btn.active[b-0mbkz70nho] {
        color: var(--on-primary);
    }

/* --- UTILS & TOAST --- */
.badge-soft[b-0mbkz70nho] {
    background: var(--surface-container-high);
    color: var(--on-surface-variant);
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
}

.bg-surface-low[b-0mbkz70nho] {
    background-color: var(--surface-container-low);
}

.toast-overlay[b-0mbkz70nho] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 999999;
    display: flex;
    justify-content: center;
    padding-top: 1.5rem;
}

.premium-toast[b-0mbkz70nho] {
    background: var(--surface-container-lowest);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 0.5rem;
    display: flex;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    gap: 1rem;
    max-width: 500px;
    border: 1px solid #10b981;
    border-left: 4px solid #10b981;
    pointer-events: auto;
}

    .premium-toast .toast-icon[b-0mbkz70nho] {
        color: #10b981;
        background: rgba(16, 185, 129, 0.1);
        padding: 0.5rem;
        border-radius: 0.5rem;
        display: flex;
    }

.toast-content[b-0mbkz70nho] {
    flex-grow: 1;
}

.toast-title[b-0mbkz70nho] {
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--on-surface);
}

.toast-message[b-0mbkz70nho] {
    margin: 0;
    font-size: 0.85rem;
    color: var(--on-surface-variant);
    line-height: 1.4;
}

/* ANIMATIONS */
.animate-fade-in[b-0mbkz70nho] {
    animation: fadeIn-b-0mbkz70nho 0.3s ease forwards;
}

.animate-slide-up[b-0mbkz70nho] {
    animation: slideUp-b-0mbkz70nho 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.animate-slide-down[b-0mbkz70nho] {
    animation: slideDown-b-0mbkz70nho 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-scale-up[b-0mbkz70nho] {
    animation: scaleUp-b-0mbkz70nho 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn-b-0mbkz70nho {
    to {
        opacity: 1;
    }
}

@keyframes slideUp-b-0mbkz70nho {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown-b-0mbkz70nho {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleUp-b-0mbkz70nho {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .sc-header[b-0mbkz70nho] {
        flex-direction: column;
        align-items: flex-start;
    }

    .dm-form-row[b-0mbkz70nho] {
        flex-direction: column;
        gap: 1rem;
    }

    .dm-header-controls[b-0mbkz70nho] {
        flex-direction: column;
        gap: 1.5rem;
    }

    .control-divider[b-0mbkz70nho] {
        display: none;
    }

    .cycle-group[b-0mbkz70nho], .status-group[b-0mbkz70nho] {
        padding: 0;
        width: 100%;
        align-items: flex-start;
    }

    .ios-segmented-control[b-0mbkz70nho] {
        width: 100%;
    }
}
/* /Pages/SuperAdmin/CompanyDirectory.razor.rz.scp.css */
/* --- SINGLE LINE HEADER & SEARCH --- */
.directory-header-row[b-6rc67q6znb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    gap: 1rem;
}

.ambient-glow[b-6rc67q6znb] {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    z-index: 0;
    pointer-events: none;
}

.page-header[b-6rc67q6znb] {
    position: relative;
    z-index: 1;
    margin: 0;
}

.welcome-title[b-6rc67q6znb] {
    font-size: 2rem;
    color: var(--on-surface);
    margin: 0;
    white-space: nowrap; /* Prevents the title from breaking on smaller screens */
}

/* --- PREMIUM SEARCH BAR --- */
.premium-search-wrapper[b-6rc67q6znb] {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 350px;
    z-index: 1;
}

.search-icon[b-6rc67q6znb] {
    position: absolute;
    left: 1.25rem;
    color: var(--on-surface-variant);
    font-size: 1.25rem;
    pointer-events: none;
    transition: color 0.3s ease;
}

.premium-search-input[b-6rc67q6znb] {
    width: 100%;
    background: var(--surface-container-low);
    border: 1px solid var(--outline-variant);
    border-radius: 2rem;
    padding: 0.875rem 1.5rem 0.875rem 3.25rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--on-surface);
    outline: none;
    transition: all 0.2s ease;
}

    .premium-search-input:focus[b-6rc67q6znb] {
        background: var(--surface-container-lowest);
        border-color: var(--primary);
        box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 15%, transparent);
    }

        .premium-search-input:focus + .search-icon[b-6rc67q6znb] {
            color: var(--primary);
        }

/* --- TENANT GRID --- */
.tenant-grid[b-6rc67q6znb] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

/* --- THE TENANT CARD --- */
.tenant-card[b-6rc67q6znb] {
    background: var(--surface-container-lowest);
    border: 1px solid var(--outline-variant);
    border-radius: 1.25rem;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    box-shadow: var(--shadow-ambient);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

    .tenant-card:hover[b-6rc67q6znb] {
        transform: translateY(-6px);
        box-shadow: 0 12px 24px rgba(0,0,0,0.1);
        border-color: #4caf50;
    }

/* Pushes the footer to the absolute bottom */
.tenant-card-content[b-6rc67q6znb] {
    flex-grow: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

/* Header: Icon and ID Badge */
.tenant-header[b-6rc67q6znb] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.tenant-icon[b-6rc67q6znb] {
    width: 48px;
    height: 48px;
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tenant-id-badge[b-6rc67q6znb] {
    background: var(--surface-container-low);
    color: var(--on-surface-variant);
    padding: 0.35rem 0.85rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 1px solid var(--outline-variant);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

/* Title that gracefully handles long names */
.tenant-title[b-6rc67q6znb] {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--on-surface);
    line-height: 1.3;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Details Section */
.tenant-details[b-6rc67q6znb] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
}

.detail-row[b-6rc67q6znb] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--on-surface);
}

.detail-icon[b-6rc67q6znb] {
    font-size: 1.1rem;
    color: var(--on-surface-variant);
    margin-top: 0.1rem;
}

.text-muted[b-6rc67q6znb] {
    color: var(--on-surface-variant);
}

/* --- CARD FOOTER & BUTTON --- */
.tenant-card-footer[b-6rc67q6znb] {
    padding: 1rem 1.5rem;
    background: var(--surface-container-low);
    border-top: 1px solid var(--outline-variant);
}

.tenant-btn[b-6rc67q6znb] {
    width: 100%;
    background: transparent;
    border: 1px solid #4caf50;
    color: #4caf50;
    padding: 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.tenant-card:hover .tenant-btn[b-6rc67q6znb] {
    background: #4caf50;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

/* Animations */
.animate-fade-in[b-6rc67q6znb] {
    animation: fadeInLift-b-6rc67q6znb 0.5s ease forwards;
}

.animate-slide-up[b-6rc67q6znb] {
    animation: slideUpLift-b-6rc67q6znb 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeInLift-b-6rc67q6znb {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUpLift-b-6rc67q6znb {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Adjustments: Stacks the title and search bar vertically on smaller screens */
@media (max-width: 768px) {
    .directory-header-row[b-6rc67q6znb] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .premium-search-wrapper[b-6rc67q6znb] {
        max-width: 100%;
    }
}
/* /Pages/SuperAdmin/FeatureMaster.razor.rz.scp.css */
/* --- GLOBALS --- */
*[b-0xzgkkiu9m] {
    box-sizing: border-box;
}

/* Reduced gap to pull the grid up closer to the title */
.sa-layout[b-0xzgkkiu9m] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-bottom: 2rem;
}

/* --- REDESIGNED TOP BAR & BACK BUTTON --- */
.modern-top-bar[b-0xzgkkiu9m] {
    margin-bottom: 0;
}

.stylish-back-btn[b-0xzgkkiu9m] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    background: transparent !important; /* Overrides white background */
    border: none !important; /* Overrides black border */
    box-shadow: none !important; /* Removes default button shadow */
    color: var(--on-surface-variant) !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    padding: 0 !important;
    outline: none !important;
    transition: all 0.2s ease !important;
}

    .stylish-back-btn:hover[b-0xzgkkiu9m] {
        color: #ec4899 !important; /* Turns pink on hover */
        transform: translateX(-2px) !important;
    }

.loader-wrapper[b-0xzgkkiu9m] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
    width: 100%;
}

/* --- MAIN CONTAINER --- */
.section-container[b-0xzgkkiu9m] {
    background: var(--surface-container-lowest);
    border: 1px solid var(--outline-variant);
    border-radius: 1.25rem;
    padding: 1.5rem; /* Reduced from 2rem for a tighter look */
    box-shadow: 0 8px 24px rgba(0,0,0,0.02);
}

/* --- SEARCH BADGE (INSIDE INPUT) --- */
.search-total-badge[b-0xzgkkiu9m] {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--surface-container-highest);
    color: var(--on-surface-variant);
    padding: 0.3rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 800;
    pointer-events: none; /* So clicks pass through to the input */
}
/* --- BULLETPROOF SINGLE ROW ACTION BAR --- */
.search-action-row[b-0xzgkkiu9m] {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 1.5rem !important; /* Strictly forces space between search and button */
    width: 100%;
}

    .search-action-row .premium-search-wrapper[b-0xzgkkiu9m] {
        flex-grow: 1;
        position: relative;
        max-width: 500px;
        min-width: 250px;
    }

    .search-action-row .premium-input[b-0xzgkkiu9m] {
        padding-left: 2.75rem;
        padding-right: 5.5rem;
        background: var(--surface-container-low);
        border: 1px solid var(--outline-variant);
        border-radius: 2rem;
        width: 100%;
        height: 46px;
        color: var(--on-surface);
    }

    .search-action-row .search-icon[b-0xzgkkiu9m] {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--on-surface-variant);
        z-index: 2;
        font-size: 1.2rem;
    }

    .search-action-row .btn-new-entity[b-0xzgkkiu9m] {
        flex-shrink: 0 !important; /* Prevents the button from squishing */
        white-space: nowrap !important; /* Prevents the text inside from wrapping */
        background: #ec4899;
        height: 46px;
    }

/* Ensure the total badge doesn't get squished */
.search-total-badge[b-0xzgkkiu9m] {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--surface-container-highest);
    color: var(--on-surface-variant);
    padding: 0.3rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 800;
    pointer-events: none;
    white-space: nowrap;
}
/* --- BUTTONS --- */
.btn-new-entity[b-0xzgkkiu9m] {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.65rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.3);
    white-space: nowrap;
}

    .btn-new-entity:hover[b-0xzgkkiu9m] {
        transform: translateY(-2px);
        filter: brightness(1.1);
    }

/* --- RESPONSIVE FLEX TABLE --- */
.table-responsive-wrapper[b-0xzgkkiu9m] {
    width: 100%;
    overflow-x: auto; /* Horizontal scroll ONLY for mobile */
    padding-bottom: 0.5rem;
}

.pro-list-container[b-0xzgkkiu9m] {
    width: 100%;
    min-width: 900px; /* Forces swipe on mobile */
    border: 1px solid var(--outline-variant);
    border-radius: 0.75rem;
    background: var(--surface-container-lowest);
    overflow: hidden;
}

.pro-list-header[b-0xzgkkiu9m] {
    display: flex;
    background: var(--surface-container-low);
    padding: 1rem;
    border-bottom: 2px solid var(--outline-variant);
    color: var(--on-surface-variant);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* FIX: Removed max-height and overflow-y to let the page scroll naturally! */
.pro-list-body[b-0xzgkkiu9m] {
    width: 100%;
}

.pro-list-row[b-0xzgkkiu9m] {
    display: flex;
    padding: 1rem;
    border-bottom: 1px solid var(--outline-variant);
    align-items: center;
    font-size: 0.9rem;
    color: var(--on-surface);
    transition: background 0.2s ease;
}

    .pro-list-row:hover[b-0xzgkkiu9m] {
        background: color-mix(in srgb, var(--primary) 5%, transparent);
    }

    .pro-list-row:last-child[b-0xzgkkiu9m] {
        border-bottom: none;
    }

.empty-state-row[b-0xzgkkiu9m] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 1rem;
    width: 100%;
    color: var(--on-surface-variant);
    font-style: italic;
    background: color-mix(in srgb, var(--surface-container-lowest) 50%, transparent);
}

/* --- COLUMN WIDTHS --- */
.col-id[b-0xzgkkiu9m] {
    width: 60px;
    flex-shrink: 0;
}

.col-desc[b-0xzgkkiu9m] {
    flex: 2;
    min-width: 250px;
}

.col-key[b-0xzgkkiu9m] {
    flex: 1.5;
    min-width: 180px;
}

.col-type[b-0xzgkkiu9m] {
    width: 100px;
    flex-shrink: 0;
}

.col-cat[b-0xzgkkiu9m] {
    flex: 1;
    min-width: 120px;
}

.col-status[b-0xzgkkiu9m] {
    width: 120px;
    flex-shrink: 0;
}

.col-actions[b-0xzgkkiu9m] {
    width: 60px;
    flex-shrink: 0;
}

/* --- BADGES --- */
.badge-soft[b-0xzgkkiu9m] {
    background: var(--surface-container-high);
    color: var(--on-surface-variant);
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.code-badge[b-0xzgkkiu9m] {
    font-family: 'Courier New', Courier, monospace;
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.type-badge[b-0xzgkkiu9m] {
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

    .type-badge.bool[b-0xzgkkiu9m] {
        background: rgba(59, 130, 246, 0.1);
        color: #3b82f6;
    }

    .type-badge.num[b-0xzgkkiu9m] {
        background: rgba(245, 158, 11, 0.1);
        color: #f59e0b;
    }

    .type-badge.str[b-0xzgkkiu9m] {
        background: rgba(16, 185, 129, 0.1);
        color: #10b981;
    }

.status-indicator[b-0xzgkkiu9m] {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

    .status-indicator.active[b-0xzgkkiu9m] {
        background: #10b981;
        box-shadow: 0 0 8px rgba(16,185,129,0.4);
    }

    .status-indicator.inactive[b-0xzgkkiu9m] {
        background: #ef4444;
    }

.icon-btn-light[b-0xzgkkiu9m] {
    background: var(--surface-container-low);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

    .icon-btn-light:hover[b-0xzgkkiu9m] {
        background: var(--surface-container-highest);
    }

/* --- THEME AWARE MODAL --- */
.dark-modal-overlay[b-0xzgkkiu9m] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.dark-modal[b-0xzgkkiu9m] {
    background: var(--surface-container-lowest);
    border: 1px solid var(--outline-variant);
    border-radius: 1.25rem;
    width: 95%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.6);
    overflow: hidden;
}

.feature-modal-width[b-0xzgkkiu9m] {
    max-width: 650px;
}

.dm-header[b-0xzgkkiu9m] {
    padding: 1.5rem;
    border-bottom: 1px solid var(--outline-variant);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface-container-lowest);
}

.dm-body[b-0xzgkkiu9m] {
    padding: 2rem 1.5rem;
    overflow-y: auto;
    max-height: 70vh;
}

/* MODAL FORM RE-STYLED FOR BREATHING ROOM */
.dm-form-grid[b-0xzgkkiu9m] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.dm-form-row[b-0xzgkkiu9m] {
    display: flex;
    gap: 1.5rem;
    width: 100%;
}

.dm-form-group[b-0xzgkkiu9m] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.dm-label[b-0xzgkkiu9m] {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--on-surface-variant);
    letter-spacing: 0.05em;
}

.dm-input[b-0xzgkkiu9m] {
    width: 100%;
    background: transparent;
    border: 1px solid var(--outline-variant);
    color: var(--on-surface);
    padding: 0.85rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s;
}

    .dm-input:focus[b-0xzgkkiu9m] {
        border-color: #ec4899;
        box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.15);
        background: var(--surface-container-lowest);
    }

.dm-footer[b-0xzgkkiu9m] {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--outline-variant);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    background: var(--surface-container-low);
}

.dm-btn-cancel[b-0xzgkkiu9m] {
    background: var(--surface-container-highest);
    color: var(--on-surface);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .dm-btn-cancel:hover[b-0xzgkkiu9m] {
        filter: brightness(0.95);
    }

.dm-btn-confirm[b-0xzgkkiu9m] {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

    .dm-btn-confirm:hover[b-0xzgkkiu9m] {
        filter: brightness(1.1);
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(236, 72, 153, 0.3);
    }

/* --- MODAL SEGMENTED CONTROL --- */
.modal-segmented-control[b-0xzgkkiu9m] {
    background: var(--surface-container-highest);
    padding: 0.35rem;
    border-radius: 0.6rem;
    border: 1px solid var(--outline-variant);
    display: inline-flex;
    position: relative;
    width: 100%;
}

.modal-selection-pill[b-0xzgkkiu9m] {
    position: absolute;
    top: 0.35rem;
    bottom: 0.35rem;
    background: #ec4899;
    border-radius: 0.4rem;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

.modal-segment-btn[b-0xzgkkiu9m] {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 0.5rem 0;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--on-surface-variant);
    cursor: pointer;
    transition: color 0.3s ease;
}

    .modal-segment-btn.active[b-0xzgkkiu9m] {
        color: white;
    }

/* --- PRO TOGGLE SWITCH --- */
.pro-toggle[b-0xzgkkiu9m] {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    margin: 0;
}

    .pro-toggle input[b-0xzgkkiu9m] {
        display: none;
    }

.toggle-track[b-0xzgkkiu9m] {
    width: 44px;
    height: 24px;
    background: var(--surface-container-highest);
    border-radius: 12px;
    position: relative;
    transition: background 0.3s ease;
    border: 1px solid var(--outline-variant);
    flex-shrink: 0;
}

.toggle-thumb[b-0xzgkkiu9m] {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: var(--on-surface-variant);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pro-toggle input:checked + .toggle-track[b-0xzgkkiu9m] {
    background: #10b981;
    border-color: #10b981;
}

    .pro-toggle input:checked + .toggle-track .toggle-thumb[b-0xzgkkiu9m] {
        transform: translateX(20px);
        background: white;
    }

.toggle-text[b-0xzgkkiu9m] {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-right: 0.5rem;
}

/* ANIMATIONS */
.animate-fade-in[b-0xzgkkiu9m] {
    animation: fadeIn-b-0xzgkkiu9m 0.3s ease forwards;
}

.animate-slide-up[b-0xzgkkiu9m] {
    animation: slideUp-b-0xzgkkiu9m 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.animate-scale-up[b-0xzgkkiu9m] {
    animation: scaleUp-b-0xzgkkiu9m 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn-b-0xzgkkiu9m {
    to {
        opacity: 1;
    }
}

@keyframes slideUp-b-0xzgkkiu9m {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleUp-b-0xzgkkiu9m {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .sc-header[b-0xzgkkiu9m] {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .header-actions[b-0xzgkkiu9m] {
        width: 100%;
        justify-content: flex-start;
    }

    .dm-form-row[b-0xzgkkiu9m] {
        flex-direction: column;
        gap: 1rem;
    }

    .app-id-mobile[b-0xzgkkiu9m] {
        width: 100% !important;
    }

    .premium-search-wrapper[b-0xzgkkiu9m] {
        width: 100% !important;
    }
}

/* --- PREMIUM TOAST NOTIFICATIONS --- */
.toast-overlay[b-0xzgkkiu9m] {
    position: fixed;
    top: 20px; /* Floats beautifully at the top */
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 999999;
    display: flex;
    justify-content: center;
}

.premium-toast[b-0xzgkkiu9m] {
    background: var(--surface-container-lowest, #1e293b); /* Dark background */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius: 0.75rem;
    display: flex;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    gap: 1rem;
    max-width: 500px;
    pointer-events: auto;
    border: 1px solid var(--outline-variant, #334155);
}

    .premium-toast.toast-success[b-0xzgkkiu9m] {
        border-left: 4px solid #10b981; /* Green edge */
    }

    .premium-toast.toast-error[b-0xzgkkiu9m] {
        border-left: 4px solid #ef4444; /* Red edge */
    }

.toast-icon[b-0xzgkkiu9m] {
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-success .toast-icon[b-0xzgkkiu9m] {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.toast-error .toast-icon[b-0xzgkkiu9m] {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.toast-content[b-0xzgkkiu9m] {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.toast-title[b-0xzgkkiu9m] {
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: white; /* Clean white title */
}

.toast-message[b-0xzgkkiu9m] {
    margin: 0;
    font-size: 0.85rem;
    color: #cbd5e1; /* Subtle gray text */
    line-height: 1.4;
}

/* Toast Animations */
.animate-slide-down[b-0xzgkkiu9m] {
    animation: slideDown-b-0xzgkkiu9m 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDown-b-0xzgkkiu9m {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}
/* /Pages/SuperAdmin/SuperAdminHome.razor.rz.scp.css */
/* --- AMBIENT GLOW EFFECT --- */
.page-header-wrapper[b-630j3n81sq] {
    position: relative;
    margin-bottom: 2.5rem;
}

.ambient-glow[b-630j3n81sq] {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-icon-bg) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.page-header[b-630j3n81sq] {
    position: relative;
    z-index: 1;
}

.welcome-title[b-630j3n81sq] {
    font-size: 2rem;
    color: var(--on-surface);
    margin: 0;
}

.text-gradient[b-630j3n81sq] {
    background: var(--btn-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- GRID --- */
.module-grid[b-630j3n81sq] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

/* --- VIBRANT TILE ARCHITECTURE --- */
.hub-tile[b-630j3n81sq] {
    background-color: var(--surface-container-lowest);
    border-radius: 1rem;
    padding: 1.5rem;
    min-height: 140px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border: 1px solid var(--outline-variant);
    /* Subtle top accent line that stays transparent until hovered */
    border-top: 3px solid transparent;
    box-shadow: var(--shadow-ambient);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy spring transition */
}

.tile-content[b-630j3n81sq] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* --- THE NEW VIBRANT ICON BOX --- */
.icon-box[b-630j3n81sq] {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    background: var(--accent-icon-bg); /* Pulls the glowing background tint */
    color: var(--accent-icon-color); /* Pulls the vibrant gold */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

/* CSS TRICK: Forces Material Icons to render as Solid/Filled shapes for premium look */
.solid-icon[b-630j3n81sq] {
    font-size: 1.5rem;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.tile-title[b-630j3n81sq] {
    font-size: 1.15rem;
    color: var(--on-surface);
    margin: 0 0 0.25rem 0;
}

.tile-desc[b-630j3n81sq] {
    font-size: 0.85rem;
    color: var(--on-surface-variant);
    margin: 0;
    line-height: 1.4;
}

.arrow-icon[b-630j3n81sq] {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.4s ease;
    color: var(--accent-icon-color);
}

/* --- HOVER STATES --- */
.hub-tile:not(.disabled):hover[b-630j3n81sq] {
    transform: translateY(-6px);
    border-top: 3px solid var(--card-hover-border); /* Colorized top line reveals itself */
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

    /* Invert the icon box to solid gradient on hover */
    .hub-tile:not(.disabled):hover .icon-box[b-630j3n81sq] {
        background: var(--btn-gradient);
        color: var(--on-primary);
        transform: scale(1.1) rotate(-8deg); /* Playful tilt */
        box-shadow: 0 8px 16px var(--accent-icon-bg);
    }

    .hub-tile:not(.disabled):hover .arrow-icon[b-630j3n81sq] {
        opacity: 1;
        transform: translateX(0);
    }

/* --- DISABLED TILE --- */
.hub-tile.disabled[b-630j3n81sq] {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: transparent;
    border: 1px dashed var(--outline-variant);
    box-shadow: none;
}

    .hub-tile.disabled .icon-box[b-630j3n81sq] {
        background: var(--surface-container-high);
        color: var(--on-surface-variant);
    }

.title-row[b-630j3n81sq] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.badge[b-630j3n81sq] {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid var(--outline-variant);
    color: var(--on-surface-variant);
    background: var(--surface-container-low);
}

/* --- ANIMATIONS --- */
.animate-fade-in[b-630j3n81sq] {
    animation: fadeIn-b-630j3n81sq 0.6s ease forwards;
}

.animate-slide-up[b-630j3n81sq] {
    animation: slideUp-b-630j3n81sq 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@keyframes fadeIn-b-630j3n81sq {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp-b-630j3n81sq {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* /Pages/SuperAdmin/SuperAdminMasterTables.razor.rz.scp.css */
/* --- AMBIENT GLOW EFFECT --- */
.page-header-wrapper[b-vpxm187hqr] {
    position: relative;
    margin-bottom: 2.5rem;
}

.ambient-glow[b-vpxm187hqr] {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-icon-bg) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.page-header[b-vpxm187hqr] {
    position: relative;
    z-index: 1;
}

.welcome-title[b-vpxm187hqr] {
    font-size: 2rem;
    color: var(--on-surface);
    margin: 0;
}

.text-gradient[b-vpxm187hqr] {
    background: var(--btn-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- GRID --- */
.module-grid[b-vpxm187hqr] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

/* --- VIBRANT TILE ARCHITECTURE --- */
.hub-tile[b-vpxm187hqr] {
    background-color: var(--surface-container-lowest);
    border-radius: 1rem;
    padding: 1.5rem;
    min-height: 140px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border: 1px solid var(--outline-variant);
    /* Subtle top accent line that stays transparent until hovered */
    border-top: 3px solid transparent;
    box-shadow: var(--shadow-ambient);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy spring transition */
}

.tile-content[b-vpxm187hqr] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* --- THE NEW VIBRANT ICON BOX --- */
.icon-box[b-vpxm187hqr] {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    background: var(--accent-icon-bg); /* Pulls the glowing background tint */
    color: var(--accent-icon-color); /* Pulls the vibrant gold */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

/* CSS TRICK: Forces Material Icons to render as Solid/Filled shapes for premium look */
.solid-icon[b-vpxm187hqr] {
    font-size: 1.5rem;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.tile-title[b-vpxm187hqr] {
    font-size: 1.15rem;
    color: var(--on-surface);
    margin: 0 0 0.25rem 0;
}

.tile-desc[b-vpxm187hqr] {
    font-size: 0.85rem;
    color: var(--on-surface-variant);
    margin: 0;
    line-height: 1.4;
}

.arrow-icon[b-vpxm187hqr] {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.4s ease;
    color: var(--accent-icon-color);
}

/* --- HOVER STATES --- */
.hub-tile:not(.disabled):hover[b-vpxm187hqr] {
    transform: translateY(-6px);
    border-top: 3px solid var(--card-hover-border); /* Colorized top line reveals itself */
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

    /* Invert the icon box to solid gradient on hover */
    .hub-tile:not(.disabled):hover .icon-box[b-vpxm187hqr] {
        background: var(--btn-gradient);
        color: var(--on-primary);
        transform: scale(1.1) rotate(-8deg); /* Playful tilt */
        box-shadow: 0 8px 16px var(--accent-icon-bg);
    }

    .hub-tile:not(.disabled):hover .arrow-icon[b-vpxm187hqr] {
        opacity: 1;
        transform: translateX(0);
    }

/* --- DISABLED TILE --- */
.hub-tile.disabled[b-vpxm187hqr] {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: transparent;
    border: 1px dashed var(--outline-variant);
    box-shadow: none;
}

    .hub-tile.disabled .icon-box[b-vpxm187hqr] {
        background: var(--surface-container-high);
        color: var(--on-surface-variant);
    }

.title-row[b-vpxm187hqr] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.badge[b-vpxm187hqr] {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid var(--outline-variant);
    color: var(--on-surface-variant);
    background: var(--surface-container-low);
}

/* --- ANIMATIONS --- */
.animate-fade-in[b-vpxm187hqr] {
    animation: fadeIn-b-vpxm187hqr 0.6s ease forwards;
}

.animate-slide-up[b-vpxm187hqr] {
    animation: slideUp-b-vpxm187hqr 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@keyframes fadeIn-b-vpxm187hqr {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp-b-vpxm187hqr {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* /Pages/SuperAdmin/SuperAdminPayments.razor.rz.scp.css */
.sa-layout[b-gzzpr3u7z5] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 4rem;
}

/* --- MODERN TOP BAR & METRICS --- */
.modern-top-bar[b-gzzpr3u7z5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 0.5rem; /* REDUCED SPACE HERE */
}

.header-metrics[b-gzzpr3u7z5] {
    display: flex;
    gap: 1rem;
}

.metric-card[b-gzzpr3u7z5] {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--surface-container-lowest, #fff);
    border: 1px solid var(--outline-variant);
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    min-width: 240px;
}

    .metric-card.overdue-card[b-gzzpr3u7z5] {
        border-bottom: 4px solid #ef4444;
    }

    .metric-card.active-card[b-gzzpr3u7z5] {
        border-bottom: 4px solid #10b981;
    }

.metric-icon[b-gzzpr3u7z5] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.overdue-card .metric-icon[b-gzzpr3u7z5] {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.active-card .metric-icon[b-gzzpr3u7z5] {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.metric-info[b-gzzpr3u7z5] {
    display: flex;
    flex-direction: column;
}

.metric-title[b-gzzpr3u7z5] {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--on-surface-variant);
    margin-bottom: 0.15rem;
}

.metric-value[b-gzzpr3u7z5] {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--on-surface);
    line-height: 1;
}

/* --- UNIFIED CONTROL BAR (Search + Filters) --- */
.unified-control-bar[b-gzzpr3u7z5] {
    display: flex;
    align-items: center;
    background: var(--surface-container-lowest);
    border: 1px solid var(--outline-variant);
    border-radius: 3rem;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: 2rem; /* PRESERVED SPACE BELOW BAR */
    gap: 1rem;
}

.search-wrapper[b-gzzpr3u7z5] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-right: 1rem;
}

    .search-wrapper input[b-gzzpr3u7z5] {
        border: none;
        outline: none;
        width: 100%;
        background: transparent;
        font-size: 0.95rem;
        color: var(--on-surface);
    }

.filter-wrapper[b-gzzpr3u7z5] {
    display: flex;
    align-items: center;
    gap: 1.25rem; /* INCREASED GAP TO DE-CONGEST */
    padding-left: 1rem;
}

.vertical-divider[b-gzzpr3u7z5] {
    width: 1px;
    height: 24px;
    background: var(--outline-variant);
}

/* WIDER & CLEANER DROPDOWNS */
.premium-input.compact-input[b-gzzpr3u7z5] {
    padding: 0;
    outline: none;
    box-shadow: none;
    cursor: pointer;
    min-width: 110px; /* ENFORCES PROPER ALIGNMENT */
}

/* EXPAND/COLLAPSE BUTTONS */
.expand-actions[b-gzzpr3u7z5] {
    display: flex;
    gap: 0.35rem;
    align-items: center;
}

.icon-btn-small[b-gzzpr3u7z5] {
    background: var(--surface-container-low);
    border: 1px solid transparent;
    border-radius: 0.5rem;
    padding: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--on-surface-variant);
    transition: all 0.2s ease;
}

    .icon-btn-small:hover[b-gzzpr3u7z5] {
        background: var(--surface-container-lowest);
        border-color: var(--outline-variant);
        color: var(--primary);
        transform: translateY(-1px);
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

/* --- COLLAPSIBLE PLAN GROUP HEADERS --- */
.plan-group-header[b-gzzpr3u7z5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--surface-container-low);
    border: 1px solid var(--outline-variant);
    border-radius: 0.75rem;
    color: var(--on-surface);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

    .plan-group-header:hover[b-gzzpr3u7z5] {
        background: var(--outline-variant);
    }

.pgh-left[b-gzzpr3u7z5] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .pgh-left .icon[b-gzzpr3u7z5] {
        color: var(--primary);
    }

.chevron[b-gzzpr3u7z5] {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--on-surface-variant);
}

.plan-group-header.expanded .chevron[b-gzzpr3u7z5] {
    transform: rotate(90deg);
}

.badge-soft[b-gzzpr3u7z5] {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 0.25rem;
    background: #e2e8f0;
    color: #475569;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
}

/* --- SPACING FIX: ENSURES CARDS DONT TOUCH HEADER --- */
.plan-group-body[b-gzzpr3u7z5] {
    padding-top: 1.5rem;
}

/* --- TENANT CARDS --- */
.tenant-card-grid[b-gzzpr3u7z5] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.tenant-card[b-gzzpr3u7z5] {
    background: var(--surface-container-lowest);
    border: 1px solid var(--outline-variant);
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .tenant-card:hover[b-gzzpr3u7z5] {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    }

.card-active[b-gzzpr3u7z5] {
    border-top: 4px solid #10b981;
}

.card-overdue[b-gzzpr3u7z5] {
    border-top: 4px solid #ef4444;
    border-color: color-mix(in srgb, #ef4444 40%, var(--outline-variant));
}

.tc-header[b-gzzpr3u7z5] {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
}

.tc-identity[b-gzzpr3u7z5] {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.tc-avatar[b-gzzpr3u7z5] {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tc-title-group[b-gzzpr3u7z5] {
    display: flex;
    flex-direction: column;
}

.tc-name[b-gzzpr3u7z5] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--on-surface);
    white-space: normal;
    line-height: 1.2;
    overflow: visible;
}

.tc-id-badge[b-gzzpr3u7z5] {
    background: var(--surface-container-high);
    color: var(--on-surface-variant);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 0.25rem;
    width: fit-content;
    margin-top: 0.5rem;
    border: 1px solid var(--outline-variant);
}

.tc-body[b-gzzpr3u7z5] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0 1.5rem 1rem 1.5rem;
    gap: 1rem;
}

.tc-stat-block[b-gzzpr3u7z5] {
    display: flex;
    flex-direction: column;
}

.tc-label[b-gzzpr3u7z5] {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--on-surface-variant);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.tc-value[b-gzzpr3u7z5] {
    font-size: 1rem;
    color: var(--on-surface);
}

.tc-actions[b-gzzpr3u7z5] {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--surface-container-low);
}

.tc-comms[b-gzzpr3u7z5] {
    display: flex;
    gap: 0.5rem;
}

/* BORDERLESS ICONS */
.icon-btn.no-border[b-gzzpr3u7z5] {
    border: none !important;
    box-shadow: none !important;
    outline: none;
    background: transparent;
    padding: 0.2rem;
}

.btn-wa[b-gzzpr3u7z5] {
    color: #25D366;
}

    .btn-wa:hover[b-gzzpr3u7z5] {
        color: #1da851;
        transform: scale(1.1);
    }

.btn-sms[b-gzzpr3u7z5] {
    color: #3b82f6;
}

    .btn-sms:hover[b-gzzpr3u7z5] {
        color: #2563eb;
        transform: scale(1.1);
    }

.compact-btn[b-gzzpr3u7z5] {
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
    border-radius: 0.5rem;
}

.text-danger[b-gzzpr3u7z5] {
    color: #ef4444 !important;
}

.text-success[b-gzzpr3u7z5] {
    color: #10b981 !important;
}

.ms-auto[b-gzzpr3u7z5] {
    margin-left: auto;
}

/* ANIMATIONS */
.animate-fade-in[b-gzzpr3u7z5] {
    animation: fadeIn-b-gzzpr3u7z5 0.4s ease forwards;
}

.animate-slide-up[b-gzzpr3u7z5] {
    animation: slideUp-b-gzzpr3u7z5 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.animate-slide-down[b-gzzpr3u7z5] {
    animation: slideDown-b-gzzpr3u7z5 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-origin: top;
}

@keyframes fadeIn-b-gzzpr3u7z5 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp-b-gzzpr3u7z5 {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown-b-gzzpr3u7z5 {
    from {
        opacity: 0;
        transform: scaleY(0.9);
    }

    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 1024px) {
    .modern-top-bar[b-gzzpr3u7z5] {
        flex-direction: column;
        align-items: stretch;
    }

    .header-metrics[b-gzzpr3u7z5] {
        justify-content: space-between;
    }

    .metric-card[b-gzzpr3u7z5] {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .desktop-only[b-gzzpr3u7z5] {
        display: none !important;
    }

    .unified-control-bar[b-gzzpr3u7z5] {
        flex-direction: column;
        border-radius: 1rem;
        align-items: stretch;
        padding: 1rem;
    }

    .search-wrapper[b-gzzpr3u7z5] {
        padding-right: 0;
        border-bottom: 1px solid var(--outline-variant);
        padding-bottom: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .filter-wrapper[b-gzzpr3u7z5] {
        padding-left: 0;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .premium-input.compact-input[b-gzzpr3u7z5] {
        min-width: auto;
        width: 100%;
    }
}
/* /Pages/SuperAdmin/SuperAdminTenantBilling.razor.rz.scp.css */
.satb-page-container[b-p8xzd1ium0] {
    max-width: 1400px;
    margin: 0 auto;
}

.satb-layout-vertical[b-p8xzd1ium0] {
    display: flex;
    flex-direction: column;
    padding-bottom: 4rem;
}

/* --- REFINED HORIZONTAL HEADER --- */
.satb-header-row[b-p8xzd1ium0] {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--outline-variant);
}

.satb-header-left[b-p8xzd1ium0] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.satb-title[b-p8xzd1ium0] {
    font-size: 1.5rem;
    color: var(--on-surface);
    white-space: nowrap;
    margin: 0;
    line-height: 1;
}

.stylish-back-btn[b-p8xzd1ium0] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--surface-container-lowest);
    border: 1px solid var(--outline-variant);
    padding: 0.4rem 1rem 0.4rem 0.75rem;
    border-radius: 2rem;
    color: var(--on-surface-variant);
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    cursor: pointer;
}

    .stylish-back-btn:hover[b-p8xzd1ium0] {
        background: var(--surface-container-low);
        color: var(--primary);
        transform: translateX(-3px);
    }

    .stylish-back-btn .material-symbols-outlined[b-p8xzd1ium0] {
        font-size: 1.1rem;
    }

/* --- EXPLICIT SEPARATION GAPS --- */
.spaced-group-box[b-p8xzd1ium0] {
    margin-top: 2.5rem;
}

/* --- ADMIN OVERRIDE BANNER (Theme Aware) --- */
.admin-override-banner[b-p8xzd1ium0] {
    display: flex;
    align-items: center;
    background: var(--surface-container-lowest);
    border: 1px solid var(--outline-variant);
    border-radius: 0.75rem;
    padding: 1.5rem 2rem;
    gap: 2rem;
    border-left: 5px solid var(--primary);
    margin-top: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.ao-left[b-p8xzd1ium0] {
    flex: 1.25;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ao-title[b-p8xzd1ium0] {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--on-surface);
    margin: 0;
}

.ao-desc[b-p8xzd1ium0] {
    font-size: 0.9rem;
    color: var(--on-surface-variant);
    margin: 0;
}

.ao-center[b-p8xzd1ium0] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-left: 1px solid var(--outline-variant);
    border-right: 1px solid var(--outline-variant);
    padding: 0 2rem;
}

.math-row[b-p8xzd1ium0] {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--on-surface-variant);
    font-weight: 600;
}

    .math-row.total-row[b-p8xzd1ium0] {
        margin-top: 0.25rem;
        padding-top: 0.5rem;
        border-top: 1px dashed var(--outline-variant);
    }

        .math-row.total-row .math-label[b-p8xzd1ium0], .math-row.total-row .math-value[b-p8xzd1ium0] {
            color: var(--on-surface) !important;
        }

.ao-right[b-p8xzd1ium0] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.btn-dark-blue[b-p8xzd1ium0] {
    background: var(--primary);
    color: var(--on-primary);
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-dark-blue:hover[b-p8xzd1ium0] {
        filter: brightness(0.9);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

.secure-text[b-p8xzd1ium0] {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--on-surface-variant) !important;
}

/* --- MODERN TENANT HERO CARD --- */
.tenant-hero-card[b-p8xzd1ium0] {
    background: var(--surface-container-lowest, #fff);
    border: 1px solid var(--outline-variant);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

    .tenant-hero-card[b-p8xzd1ium0]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 6px;
    }

    .tenant-hero-card.is-active[b-p8xzd1ium0]::before {
        background: #10b981;
    }

    .tenant-hero-card.is-overdue[b-p8xzd1ium0]::before {
        background: #ef4444;
    }

.hero-content-wrapper[b-p8xzd1ium0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.hero-main-info[b-p8xzd1ium0] {
    flex: 1;
}

.hero-top-row[b-p8xzd1ium0] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tenant-name[b-p8xzd1ium0] {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--on-surface);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.hero-details-row[b-p8xzd1ium0] {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    border-top: 1px solid var(--outline-variant);
    padding-top: 1.5rem;
}

.detail-item[b-p8xzd1ium0] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label[b-p8xzd1ium0] {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--on-surface-variant);
    letter-spacing: 0.05em;
}

.detail-value[b-p8xzd1ium0] {
    font-size: 1.1rem;
    color: var(--on-surface);
}

.detail-divider[b-p8xzd1ium0] {
    width: 1px;
    height: 40px;
    background: var(--outline-variant);
}

/* --- INLINE PAYMENT BUTTON --- */
.hero-action-area[b-p8xzd1ium0] {
    flex-shrink: 0;
}

.desktop-only-border[b-p8xzd1ium0] {
    border-left: 1px solid var(--outline-variant);
    padding-left: 2rem;
}

.hero-pay-btn[b-p8xzd1ium0] {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

    .hero-pay-btn .material-symbols-outlined[b-p8xzd1ium0] {
        font-size: 1.75rem;
    }

.btn-text-group[b-p8xzd1ium0] {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-subtitle[b-p8xzd1ium0] {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.9;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.btn-title[b-p8xzd1ium0] {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
}

/* --- ACCORDION GROUP BOX --- */
.accordion-box[b-p8xzd1ium0] {
    background: var(--surface-container-lowest, #fff);
    border: 1px solid var(--outline-variant);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.accordion-header[b-p8xzd1ium0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: var(--surface-container-low, #f8f9fa);
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

    .accordion-header:hover[b-p8xzd1ium0] {
        background: color-mix(in srgb, var(--surface-container-low) 80%, var(--outline-variant));
    }

.accordion-title-group[b-p8xzd1ium0] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .accordion-title-group h3[b-p8xzd1ium0] {
        margin: 0;
        font-size: 1.1rem;
        font-weight: 800;
        color: var(--on-surface);
    }

.accordion-icon[b-p8xzd1ium0] {
    color: var(--primary);
}

.accordion-chevron[b-p8xzd1ium0] {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--on-surface-variant);
}

.accordion-header.expanded .accordion-chevron[b-p8xzd1ium0] {
    transform: rotate(90deg);
}

.accordion-body[b-p8xzd1ium0] {
    padding: 1.5rem;
    border-top: 1px solid var(--outline-variant);
}

/* --- FLOATING SECTION TITLE FOR HISTORY --- */
.section-title-floating[b-p8xzd1ium0] {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--on-surface);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-left: 0.5rem;
    border-left: 4px solid var(--primary);
}

/* --- BADGES --- */
.status-badge[b-p8xzd1ium0] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-icon[b-p8xzd1ium0] {
    font-size: 1.1rem !important;
}

.status-success[b-p8xzd1ium0] {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-failed[b-p8xzd1ium0] {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-soft[b-p8xzd1ium0] {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 0.25rem;
    background: #e2e8f0;
    color: #475569;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.text-danger[b-p8xzd1ium0] {
    color: #ef4444 !important;
}

.text-success[b-p8xzd1ium0] {
    color: #10b981 !important;
}

.font-monospace[b-p8xzd1ium0] {
    font-family: monospace;
    letter-spacing: -0.02em;
}

.text-truncate[b-p8xzd1ium0] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.premium-btn[b-p8xzd1ium0] {
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

    .premium-btn:hover:not(:disabled)[b-p8xzd1ium0] {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .premium-btn:disabled[b-p8xzd1ium0] {
        opacity: 0.6;
        cursor: not-allowed;
    }

.btn-primary[b-p8xzd1ium0] {
    background: var(--primary);
    color: var(--on-primary);
}

/* --- TOAST NOTIFICATIONS --- */
.toast-overlay[b-p8xzd1ium0] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 99999;
    display: flex;
    justify-content: center;
    padding-top: 1.5rem;
}

.premium-toast[b-p8xzd1ium0] {
    background: var(--surface-container-lowest);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 0.5rem;
    display: flex;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    gap: 1rem;
    max-width: 600px;
    pointer-events: auto;
}

    .premium-toast.toast-error[b-p8xzd1ium0] {
        border: 1px solid #ef4444;
        border-left: 4px solid #ef4444;
    }

        .premium-toast.toast-error .toast-icon[b-p8xzd1ium0] {
            color: #ef4444;
            background: rgba(239, 68, 68, 0.1);
            padding: 0.5rem;
            border-radius: 0.5rem;
        }

    .premium-toast.toast-success[b-p8xzd1ium0] {
        border: 1px solid #10b981;
        border-left: 4px solid #10b981;
    }

        .premium-toast.toast-success .toast-icon[b-p8xzd1ium0] {
            color: #10b981;
            background: rgba(16, 185, 129, 0.1);
            padding: 0.5rem;
            border-radius: 0.5rem;
        }

.toast-icon[b-p8xzd1ium0] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-content[b-p8xzd1ium0] {
    flex-grow: 1;
}

.toast-title[b-p8xzd1ium0] {
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--on-surface);
}

.toast-message[b-p8xzd1ium0] {
    margin: 0;
    font-size: 0.85rem;
    color: var(--on-surface-variant);
    line-height: 1.4;
}

.toast-close[b-p8xzd1ium0] {
    background: transparent;
    border: none;
    color: var(--on-surface-variant);
    cursor: pointer;
    padding: 0;
    display: flex;
    transition: color 0.2s ease;
}

    .toast-close:hover[b-p8xzd1ium0] {
        color: #ef4444;
    }

/* --- THEME AWARE MODAL --- */
.dark-modal-overlay[b-p8xzd1ium0] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.dark-modal[b-p8xzd1ium0] {
    background: var(--surface-container-lowest);
    border: 1px solid var(--outline-variant);
    border-radius: 0.75rem;
    width: 100%;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.dm-header[b-p8xzd1ium0] {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--outline-variant);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Override the hardcoded text-white class inside the modal */
.dark-modal .text-white[b-p8xzd1ium0] {
    color: var(--on-surface) !important;
}

.icon-btn-light[b-p8xzd1ium0] {
    background: var(--surface-container-low);
    border: none;
    border-radius: 0.25rem;
    padding: 0.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .icon-btn-light:hover[b-p8xzd1ium0] {
        background: var(--surface-container-highest);
    }

    .icon-btn-light .material-symbols-outlined[b-p8xzd1ium0] {
        font-size: 1.2rem;
        color: var(--on-surface);
        font-weight: bold;
    }

.dm-body[b-p8xzd1ium0] {
    padding: 1.5rem;
    overflow-y: auto;
    max-height: 70vh;
}

.custom-scrollbar[b-p8xzd1ium0]::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar[b-p8xzd1ium0]::-webkit-scrollbar-track {
    background: var(--surface-container-lowest);
    border-radius: 10px;
}

.custom-scrollbar[b-p8xzd1ium0]::-webkit-scrollbar-thumb {
    background: var(--outline-variant);
    border-radius: 10px;
}

    .custom-scrollbar[b-p8xzd1ium0]::-webkit-scrollbar-thumb:hover {
        background: var(--on-surface-variant);
    }

.dm-form-grid[b-p8xzd1ium0] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dm-form-row[b-p8xzd1ium0] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.dm-form-group[b-p8xzd1ium0] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.dm-label[b-p8xzd1ium0] {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--on-surface-variant);
    letter-spacing: 0.05em;
}

.dm-read-only-box[b-p8xzd1ium0] {
    display: flex;
    align-items: center;
    background: var(--surface-container-low);
    padding: 0.85rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--outline-variant);
}

.dm-badge-plan[b-p8xzd1ium0] {
    background: var(--surface-container-highest);
    color: var(--on-surface);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
}

.dm-input[b-p8xzd1ium0] {
    background: var(--surface-container-low);
    border: 1px solid var(--outline-variant);
    color: var(--on-surface);
    padding: 0.85rem 1rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

    .dm-input:focus[b-p8xzd1ium0] {
        border-color: var(--primary);
    }

[data-theme="dark"] .dm-input[b-p8xzd1ium0]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.dm-total-section[b-p8xzd1ium0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin: 0.5rem 0;
}

.dm-total-label[b-p8xzd1ium0] {
    font-size: 1.1rem;
    color: var(--on-surface);
    font-weight: 600;
}

.dm-total-value[b-p8xzd1ium0] {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.dm-footer[b-p8xzd1ium0] {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--outline-variant);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    background: var(--surface-container-low);
}

.dm-btn-cancel[b-p8xzd1ium0] {
    flex: 1;
    background: transparent;
    color: var(--on-surface-variant);
    border: 1px solid var(--outline-variant);
    padding: 0.85rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

    .dm-btn-cancel:hover[b-p8xzd1ium0] {
        background: var(--surface-container-highest);
        color: var(--on-surface);
    }

.dm-btn-confirm[b-p8xzd1ium0] {
    flex: 1;
    background: var(--primary);
    color: var(--on-primary);
    border: none;
    padding: 0.85rem;
    border-radius: 0.5rem;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

    .dm-btn-confirm:hover:not(:disabled)[b-p8xzd1ium0] {
        filter: brightness(1.1);
        transform: translateY(-1px);
    }

    .dm-btn-confirm:disabled[b-p8xzd1ium0] {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .admin-override-banner[b-p8xzd1ium0] {
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
        gap: 1rem;
    }

    .ao-center[b-p8xzd1ium0] {
        border-left: none;
        border-right: none;
        border-top: 1px solid var(--outline-variant);
        border-bottom: 1px solid var(--outline-variant);
        padding: 1rem 0;
    }
}

@media (max-width: 600px) {
    .dm-form-row[b-p8xzd1ium0] {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}
/* /Pages/UserEditor.razor.rz.scp.css */
/* --- GLOBALS & TYPOGRAPHY --- */
.d-flex-align[b-wpaw8l2l37] {
    display: flex;
    align-items: center;
}

.mb-3[b-wpaw8l2l37] {
    margin-bottom: 1rem;
}

.mb-4[b-wpaw8l2l37] {
    margin-bottom: 1.5rem;
}

.w-100[b-wpaw8l2l37] {
    width: 100%;
}

.text-body[b-wpaw8l2l37] {
    color: var(--on-surface);
    font-weight: 600;
}

.text-muted[b-wpaw8l2l37] {
    color: var(--on-surface-variant);
}

.text-primary[b-wpaw8l2l37] {
    color: var(--primary);
}

.font-weight-bold[b-wpaw8l2l37] {
    font-weight: 700;
    color: var(--on-surface);
}

.title-sm[b-wpaw8l2l37] {
    font-size: 1.1rem;
    margin: 0;
    color: var(--on-surface);
}

.title-md[b-wpaw8l2l37] {
    font-size: 1.25rem;
    margin: 0;
    font-weight: 700;
    color: var(--on-surface);
}

/* --- FULL PAGE LOADER CENTERING --- */
.full-page-loader[b-wpaw8l2l37] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    width: 100%;
}

.loader-container[b-wpaw8l2l37] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem;
}

.rotating-icon[b-wpaw8l2l37] {
    animation: rotate-b-wpaw8l2l37 2s linear infinite;
    font-size: 2.5rem;
    color: var(--primary);
}

@keyframes rotate-b-wpaw8l2l37 {
    100% {
        transform: rotate(360deg);
    }
}

/* --- THE ULTRA COMPACT HEADER --- */
.compact-app-header[b-wpaw8l2l37] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--outline-variant);
    gap: 1rem;
}

.header-brand-group[b-wpaw8l2l37] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.back-btn[b-wpaw8l2l37] {
    width: 40px;
    height: 40px;
    background: var(--surface-container-low);
    border: 1px solid var(--outline-variant);
    border-radius: 50%;
    flex-shrink: 0;
}

    .back-btn:hover[b-wpaw8l2l37] {
        background: var(--surface-container-high);
        color: var(--primary);
    }

.title-stack[b-wpaw8l2l37] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
    min-width: 0;
}

    .title-stack .label-text[b-wpaw8l2l37] {
        margin: 0;
        font-size: 0.7rem;
    }

.compact-title[b-wpaw8l2l37] {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    color: var(--on-surface);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.compact-save-btn[b-wpaw8l2l37] {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    border-radius: 2rem;
    flex-shrink: 0;
    width: 160px;
    justify-content: center;
}


/* --- THE 3x2 HORIZONTAL CREDENTIALS GRID --- */
.credentials-grid[b-wpaw8l2l37] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: end;
}

.input-group[b-wpaw8l2l37] {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.compact-input[b-wpaw8l2l37] {
    height: 42px !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
}

.toggle-cell[b-wpaw8l2l37] {
    display: flex;
    align-items: center;
    background: var(--surface-container-low);
    padding: 0 1rem;
    border-radius: 0.5rem 0.5rem 0 0;
    border-bottom: 2px solid transparent;
    height: 42px;
    transition: all 0.3s ease;
}

    .toggle-cell:hover[b-wpaw8l2l37] {
        background: var(--surface);
        border-bottom-color: var(--primary);
    }

/* --- COUNTRY CODE SELECTOR FIX --- */
.premium-input-wrapper[b-wpaw8l2l37] {
    display: flex;
    align-items: center;
    background: var(--surface-container-low);
    border: 1px solid transparent;
    border-bottom: 2px solid transparent;
    border-radius: 0.5rem 0.5rem 0 0;
    transition: all 0.3s ease;
    height: 42px;
    overflow: hidden;
}

    .premium-input-wrapper:focus-within[b-wpaw8l2l37] {
        border-bottom-color: var(--primary);
        background: var(--surface);
    }

.country-selector[b-wpaw8l2l37] {
    background: transparent;
    border: none;
    color: var(--on-surface);
    padding: 0 0.5rem 0 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
    height: 100%;
    -webkit-appearance: none;
    appearance: none;
}

.selector-divider[b-wpaw8l2l37] {
    width: 1px;
    height: 20px;
    background-color: var(--outline-variant);
    margin: 0 0.5rem;
}

.premium-input.seamless-input[b-wpaw8l2l37] {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0;
    flex-grow: 1;
    padding: 0 1rem 0 0 !important;
    margin: 0 !important;
    outline: none !important;
    height: 100% !important;
}


/* --- PERMISSION TILES MASONRY GRID --- */

/* REDESIGNED HEADER SEPARATOR */
.panel-header-row[b-wpaw8l2l37] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--outline-variant); /* Strong visual baseline */
    background: transparent;
}

.section-title-wrapper[b-wpaw8l2l37] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.permission-tiles-grid[b-wpaw8l2l37] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

/* --- INDIVIDUAL MODULE CARD --- */
.module-card[b-wpaw8l2l37] {
    background: var(--surface-container-lowest);
    border-radius: 1rem;
    border: 1px solid var(--outline-variant);
    box-shadow: 0 4px 20px -10px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

    .module-card:hover[b-wpaw8l2l37] {
        box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    }

    .module-card[b-wpaw8l2l37]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        transition: background 0.3s ease;
        z-index: 10;
    }

.active-card[b-wpaw8l2l37]::before {
    background: #4caf50;
}

.inactive-card[b-wpaw8l2l37]::before {
    background: var(--outline-variant);
}

/* --- CRITICAL FIX: Replaced opacity/grayscale with crisp, native text softening --- */
.inactive-card[b-wpaw8l2l37] {
    border-color: var(--outline-variant);
}

    /* Soften the text and icon natively so it remains crisp and readable */
    .inactive-card .module-title[b-wpaw8l2l37] {
        color: var(--on-surface-variant);
        transition: color 0.3s ease;
    }

        .inactive-card .module-title .material-symbols-outlined[b-wpaw8l2l37] {
            color: var(--on-surface-variant);
            transition: color 0.3s ease;
        }

    /* Smooth transition back to bright, active colors when hovered */
    .inactive-card:hover .module-title[b-wpaw8l2l37] {
        color: var(--on-surface);
    }

        .inactive-card:hover .module-title .material-symbols-outlined[b-wpaw8l2l37] {
            color: var(--secondary); /* Brings back the premium golden folder */
        }

.module-header[b-wpaw8l2l37] {
    padding: 1rem 1.25rem;
    background: var(--surface-container-low);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--outline-variant);
    margin-top: 2px;
}

.module-title[b-wpaw8l2l37] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--on-surface);
    font-size: 1.05rem;
}

    .module-title .material-symbols-outlined[b-wpaw8l2l37] {
        color: var(--secondary);
        font-size: 1.3rem;
    }

.module-bulk-row[b-wpaw8l2l37] {
    padding: 0.6rem 1.25rem;
    background: var(--surface);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--outline-variant);
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--on-surface-variant);
    letter-spacing: 0.05em;
}

.child-row[b-wpaw8l2l37] {
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--outline-variant);
    transition: background 0.2s ease;
}

    .child-row:hover[b-wpaw8l2l37] {
        background: var(--surface-container-low);
    }

    .child-row:last-child[b-wpaw8l2l37] {
        border-bottom: none;
    }

.child-name[b-wpaw8l2l37] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--on-surface);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toggle-matrix[b-wpaw8l2l37] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.matrix-col[b-wpaw8l2l37] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 34px;
}

/* --- MINI CHECKBOXES FOR CARDS --- */
.custom-checkbox-wrapper[b-wpaw8l2l37] {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

    .custom-checkbox-wrapper input[b-wpaw8l2l37] {
        display: none;
    }

.custom-check[b-wpaw8l2l37] {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid var(--outline-variant);
    background: var(--surface-container-low);
    position: relative;
    transition: all 0.2s ease;
}

    .custom-check.mini-check[b-wpaw8l2l37] {
        width: 16px;
        height: 16px;
        border-radius: 3px;
    }

.custom-checkbox-wrapper input:checked + .custom-check.box-primary[b-wpaw8l2l37] {
    background: var(--primary);
    border-color: var(--primary);
}

.custom-checkbox-wrapper input:checked + .custom-check.box-secondary[b-wpaw8l2l37] {
    background: var(--secondary);
    border-color: var(--secondary);
}

.custom-checkbox-wrapper input:checked + .custom-check.box-error[b-wpaw8l2l37] {
    background: #e57373;
    border-color: #e57373;
}

.custom-checkbox-wrapper input:disabled + .custom-check[b-wpaw8l2l37] {
    opacity: 0.3;
    cursor: not-allowed;
}

.custom-check[b-wpaw8l2l37]::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--on-primary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}

.custom-check.mini-check[b-wpaw8l2l37]::after {
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
}

.custom-checkbox-wrapper input:checked + .custom-check[b-wpaw8l2l37]::after {
    opacity: 1;
}

@media (max-width: 992px) {
    .credentials-grid[b-wpaw8l2l37] {
        grid-template-columns: repeat(2, 1fr);
    }

    .permission-tiles-grid[b-wpaw8l2l37] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .credentials-grid[b-wpaw8l2l37] {
        grid-template-columns: 1fr;
    }

    .compact-app-header[b-wpaw8l2l37] {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .compact-save-btn[b-wpaw8l2l37] {
        width: 100%;
    }

    .panel-header-row[b-wpaw8l2l37] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .premium-search-wrapper[b-wpaw8l2l37] {
        max-width: 100% !important;
        width: 100%;
    }
}
/* --- DYNAMIC PREMIUM TOAST NOTIFICATION --- */
.toast-overlay[b-wpaw8l2l37] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 9999;
    display: flex;
    justify-content: center;
    padding-top: 1.5rem;
}

.premium-toast[b-wpaw8l2l37] {
    background: var(--surface-container-lowest);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 0.5rem;
    display: flex;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    gap: 1rem;
    max-width: 600px;
    pointer-events: auto;
}

    /* ERROR TOAST THEME */
    .premium-toast.toast-error[b-wpaw8l2l37] {
        border: 1px solid #ef4444;
        border-left: 4px solid #ef4444;
    }

        .premium-toast.toast-error .toast-icon[b-wpaw8l2l37] {
            color: #ef4444;
            background: rgba(239, 68, 68, 0.1);
            padding: 0.5rem;
            border-radius: 0.5rem;
        }

        .premium-toast.toast-error .toast-close:hover[b-wpaw8l2l37] {
            color: #ef4444;
        }

    /* SUCCESS TOAST THEME */
    .premium-toast.toast-success[b-wpaw8l2l37] {
        border: 1px solid #10b981;
        border-left: 4px solid #10b981;
    }

        .premium-toast.toast-success .toast-icon[b-wpaw8l2l37] {
            color: #10b981;
            background: rgba(16, 185, 129, 0.1);
            padding: 0.5rem;
            border-radius: 0.5rem;
        }

        .premium-toast.toast-success .toast-close:hover[b-wpaw8l2l37] {
            color: #10b981;
        }

.toast-icon[b-wpaw8l2l37] {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .toast-icon .material-symbols-outlined[b-wpaw8l2l37] {
        font-variation-settings: 'FILL' 1;
    }

.toast-content[b-wpaw8l2l37] {
    flex-grow: 1;
}

.toast-title[b-wpaw8l2l37] {
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--on-surface);
}

.toast-message[b-wpaw8l2l37] {
    margin: 0;
    font-size: 0.85rem;
    color: var(--on-surface-variant);
    line-height: 1.4;
}

.toast-close[b-wpaw8l2l37] {
    background: transparent;
    border: none;
    color: var(--on-surface-variant);
    cursor: pointer;
    padding: 0;
    display: flex;
    transition: color 0.2s ease;
}

/* Animations */
.animate-slide-down[b-wpaw8l2l37] {
    animation: slideDown-b-wpaw8l2l37 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDown-b-wpaw8l2l37 {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in[b-wpaw8l2l37] {
    animation: fadeIn-b-wpaw8l2l37 0.4s ease forwards;
}

@keyframes fadeIn-b-wpaw8l2l37 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
/* /Pages/Users.razor.rz.scp.css */
/* --- HEADER REFINEMENTS --- */
.page-header[b-qo3ba06597] {
    margin-bottom: 2rem;
}

.header-actions[b-qo3ba06597] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.action-group[b-qo3ba06597] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-grow: 1;
    justify-content: flex-end;
}

.compact-title[b-qo3ba06597] {
    font-size: 1.5rem; /* Smaller, sharper title */
    margin: 0;
}

.compact-btn[b-qo3ba06597] {
    padding: 0.65rem 1.25rem;
    font-size: 0.875rem;
    border-radius: 2rem; /* Matches search bar pill shape */
    width: auto;
}

/* --- THE FLUID GRID --- */
/* Automatically stacks to 1 column on phones, expands to many on desktop */
.users-grid[b-qo3ba06597] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

/* --- PREMIUM USER CARD --- */
.user-card[b-qo3ba06597] {
    background: color-mix(in srgb, var(--surface-container-lowest) 90%, transparent);
    border-radius: 1.25rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--outline-variant);
    box-shadow: 0 4px 15px -5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

    /* Top Color Bar indicating Status */
    .user-card[b-qo3ba06597]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        transition: background 0.3s ease;
    }

    .user-card.status-active[b-qo3ba06597]::before {
        background: #4caf50;
    }

    .user-card.status-inactive[b-qo3ba06597]::before {
        background: #cf6679;
    }

    /* The recognizable Hover State */
    .user-card:hover[b-qo3ba06597] {
        transform: translateY(-5px);
        border-color: var(--primary);
        box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.15); /* Makes it pop out heavily on light mode */
    }

/* --- CARD INTERNALS --- */
.card-header[b-qo3ba06597] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.status-indicator[b-qo3ba06597] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pulse-dot[b-qo3ba06597] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-active .pulse-dot[b-qo3ba06597] {
    background-color: #4caf50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
}

.status-inactive .pulse-dot[b-qo3ba06597] {
    background-color: #cf6679;
}

.status-inactive[b-qo3ba06597] {
    opacity: 0.85; /* Dims inactive cards slightly */
}

.status-text[b-qo3ba06597] {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--on-surface-variant);
}

.otp-badge[b-qo3ba06597] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    background: var(--accent-icon-bg);
    color: var(--accent-icon-color);
    padding: 0.2rem 0.5rem;
    border-radius: 1rem;
}

/* Identity Body */
.card-body[b-qo3ba06597] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.avatar-ring[b-qo3ba06597] {
    padding: 3px;
    border-radius: 50%;
    border: 2px solid var(--outline-variant);
}

.status-active .avatar-ring[b-qo3ba06597] {
    border-color: rgba(76, 175, 80, 0.3);
}

.avatar-circle[b-qo3ba06597] {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--surface-container-high);
    color: var(--on-surface);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
}

.user-identity[b-qo3ba06597] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.user-name[b-qo3ba06597] {
    margin: 0;
    font-size: 1.1rem;
    color: var(--on-surface);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role[b-qo3ba06597] {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.card-divider[b-qo3ba06597] {
    height: 1px;
    background: var(--outline-variant);
    margin: 0 -1.25rem 1rem -1.25rem; /* Bleeds to edges */
}

/* Footer Actions */
.card-footer[b-qo3ba06597] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info[b-qo3ba06597] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--on-surface-variant);
    font-size: 0.8rem;
    font-weight: 500;
}

    .contact-info .material-symbols-outlined[b-qo3ba06597] {
        font-size: 1.1rem;
        color: var(--secondary);
    }

/* --- PREMIUM ACTION BUTTONS --- */
.edit-btn[b-qo3ba06597] {
    background: var(--surface);
    border: 1px solid var(--outline-variant);
    border-radius: 0.6rem;
    padding: 0.4rem;
    color: var(--on-surface-variant);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy spring transition */
    display: flex;
    justify-content: center;
    align-items: center;
}

    .edit-btn .material-symbols-outlined[b-qo3ba06597] {
        font-size: 1.15rem; /* Sharper, slightly smaller icon */
    }

    .edit-btn:hover[b-qo3ba06597] {
        background: var(--btn-gradient);
        color: var(--on-primary);
        border-color: transparent;
        transform: translateY(-2px) scale(1.05); /* Lifts and slightly enlarges */
        box-shadow: 0 6px 16px rgba(212, 175, 55, 0.25); /* Soft gold ambient glow */
    }

    .edit-btn:active[b-qo3ba06597] {
        transform: translateY(0) scale(0.95); /* Satisfying click compression */
    }

/* --- STATES (LOADER & EMPTY) --- */
.full-page-loader[b-qo3ba06597] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 55vh; /* Centers perfectly between the header and bottom of screen */
    width: 100%;
}

.empty-state[b-qo3ba06597] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
    color: var(--on-surface-variant);
    text-align: center;
}

    .empty-state h3[b-qo3ba06597] {
        color: var(--on-surface);
        margin: 1rem 0 0.25rem 0;
    }

.empty-icon[b-qo3ba06597] {
    font-size: 3rem;
    color: var(--outline-variant);
}

.loader-container[b-qo3ba06597] {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--on-surface-variant);
    text-align: center;
}

.rotating-icon[b-qo3ba06597] {
    animation: rotate-b-qo3ba06597 2s linear infinite;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

@keyframes rotate-b-qo3ba06597 {
    100% {
        transform: rotate(360deg);
    }
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .header-actions[b-qo3ba06597] {
        flex-direction: column;
        align-items: stretch;
    }

    .action-group[b-qo3ba06597] {
        width: 100%;
        justify-content: space-between;
    }

    .premium-search-wrapper[b-qo3ba06597] {
        max-width: none;
        flex-grow: 1;
    }

    .desktop-text[b-qo3ba06597] {
        display: none;
    }

    .compact-btn[b-qo3ba06597] {
        padding: 0.65rem;
        border-radius: 50%;
    }
}
