* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #f4f6f9;
    color: #1f2937;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    min-height: 64px;
    background: #1565c0;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    font-size: 16px;
    font-weight: bold;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.header-brand-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.header-company {
    font-size: 13px;
    line-height: 1.25;
    font-weight: 700;
    white-space: normal;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.header-company-main,
.header-company-sub {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-role {
    font-size: 11px;
    line-height: 1.2;
    font-weight: 600;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    flex-shrink: 0;
    background: transparent;
}

.brand-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    background: transparent;
}

.header-brand .brand-logo-wrap {
    width: 46px;
    height: 46px;
}

.header-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portal-brand-logo {
    display: block;
    object-fit: contain;
    flex-shrink: 0;
    background: transparent;
}

.portal-brand-logo-sm {
    width: 40px;
    height: 40px;
}

.portal-brand-logo-md {
    width: 56px;
    height: 56px;
}

.portal-brand-logo-lg {
    width: 110px;
    height: 110px;
}

.sidebar-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-brand .brand-logo-wrap {
    width: 96px;
    height: 96px;
}

.sidebar-brand-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
}

.sidebar-brand-text strong {
    color: #fff;
    font-size: 12px;
    line-height: 1.25;
}

.sidebar-brand-text span {
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.portal-login-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.portal-login-brand .brand-logo-wrap {
    width: 132px;
    height: 132px;
}

.portal-login-brand h1,
.portal-login-brand .login-company-name {
    margin: 0;
    text-align: center;
    font-size: 18px;
    line-height: 1.35;
    color: #0f172a;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 2px solid #ffffff;
    border-radius: 10px;
    background: #ffffff;
    color: #1565c0;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.28);
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.menu-toggle:hover {
    background: #e3f2fd;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.32);
}

.menu-toggle:active {
    transform: scale(0.94);
    background: #bbdefb;
}

body.sidebar-open .menu-toggle {
    background: #ffc107;
    color: #1f2937;
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1001;
}

.sidebar {
    position: fixed;
    top: 68px;
    left: 0;
    width: 240px;
    height: calc(100vh - 68px);
    background: #1f2937;
    overflow-y: auto;
    z-index: 1002;
    transition: transform 0.25s ease;
}

.sidebar h2 {
    display: none;
    color: #fff;
    padding: 16px 20px 8px;
    font-size: 16px;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
    background: #2563eb;
}

.sidebar-group {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-group-label {
    display: block;
    padding: 12px 20px 8px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sidebar-group.is-open .sidebar-group-label {
    color: #dbeafe;
}

.sidebar-subnav {
    list-style: none;
    margin: 0;
    padding: 0 0 6px;
}

.sidebar-subnav a {
    padding: 10px 20px 10px 34px;
    font-size: 14px;
    border-bottom: none;
}

.sidebar-subnav a.active {
    background: #1d4ed8;
    box-shadow: inset 3px 0 0 #93c5fd;
}

.content {
    margin-left: 240px;
    margin-top: 68px;
    padding: 20px;
    min-height: calc(100vh - 68px);
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.page-header h1 {
    font-size: 28px;
    line-height: 1.2;
}

.page-header p {
    color: #666;
    margin-top: 4px;
}

.page-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.card h2,
.card h3 {
    margin-top: 0;
    margin-bottom: 16px;
}

.row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.dashboard-page h1 {
    margin-bottom: 20px;
}

.staff-announcements-panel {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 18px;
    overflow: hidden;
}

.staff-announcements-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.staff-announcements-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #1565c0;
}

.staff-announcements-title i {
    font-size: 18px;
}

.staff-announcements-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
}

.staff-announcements-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.staff-announcements-link {
    font-size: 13px;
    color: #1565c0;
    text-decoration: none;
    font-weight: 500;
}

.staff-announcements-link:hover {
    text-decoration: underline;
}

.staff-announcements-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    cursor: pointer;
    padding: 0;
}

.staff-announcements-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.staff-announcements-viewport {
    position: relative;
    min-height: 92px;
}

.staff-announcements-track {
    position: relative;
}

.staff-announcement-slide {
    display: none;
    padding: 14px 16px 12px;
    border-left: 4px solid #1565c0;
}

.staff-announcement-slide.is-active {
    display: block;
}

.staff-announcement-head {
    margin-bottom: 6px;
    color: #0f172a;
}

.staff-announcement-head strong {
    font-size: 15px;
    line-height: 1.35;
}

.staff-announcement-message {
    margin: 0;
    color: #475569;
    line-height: 1.45;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.staff-announcement-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

.staff-announcement-meta small {
    color: #64748b;
    font-size: 12px;
}

.staff-announcement-meta a {
    font-size: 12px;
    color: #1565c0;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.staff-announcement-meta a:hover {
    text-decoration: underline;
}

.staff-announcements-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px 12px;
}

.staff-announcements-dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: #cbd5e1;
    padding: 0;
    cursor: pointer;
}

.staff-announcements-dot.is-active {
    width: 18px;
    background: #1565c0;
}

.stat-card {
    width: auto;
    min-height: 120px;
    margin-bottom: 0;
}

.stat-card h3 {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.stat-card h2 {
    color: #1565c0;
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 0;
}

.stat-card.stat-danger h2 {
    color: #dc3545;
}

.stat-card.stat-warning h2 {
    color: #d97706;
}

a.stat-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.stat-card-link:hover,
a.stat-card-link.active {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(21, 101, 192, 0.15);
}

a.stat-card-link.active {
    outline: 2px solid #1565c0;
}

.filter-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.filter-note span {
    color: #475569;
    font-size: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.2;
    min-height: 42px;
}

.btn-primary { background: #1565c0; color: #fff; }
.btn-secondary { background: #6c757d; color: #fff; }
.btn-success { background: #198754; color: #fff; }
.btn-danger { background: #dc3545; color: #fff; }
.btn-warning { background: #d97706; color: #fff; }
.btn-outline-primary { background: #fff; color: #1565c0; border: 1px solid #1565c0; }
.btn-sm { padding: 8px 12px; min-height: 36px; font-size: 13px; }

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.alert-success {
    background: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.alert-danger {
    background: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

.alert-warning {
    background: #fff3cd;
    color: #664d03;
    border: 1px solid #ffecb5;
}

.alert ul {
    margin: 0;
    padding-left: 18px;
}

.table-card {
    padding: 0;
    overflow: hidden;
}

.table-card.has-mobile-cards,
.card.has-mobile-cards {
    padding: 0;
    overflow: hidden;
}

.table-card.has-mobile-cards > .filter-note,
.table-card.has-mobile-cards > h2,
.table-card > h2,
.card.has-mobile-cards > .search-input {
    padding: 16px 16px 0;
}

.search-input {
    width: calc(100% - 32px);
    margin: 16px;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px;
}

.global-search-form {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 420px;
    min-width: 140px;
    margin: 0 8px 0 auto;
    gap: 6px;
}

.global-search-input {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    border: 0;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
}

.global-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    cursor: pointer;
}

.global-search-btn:hover {
    background: rgba(255, 255, 255, 0.28);
}

.module-search-bar {
    margin-bottom: 16px;
    padding: 14px 16px;
}

.module-search-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.module-search-input {
    flex: 1;
    min-width: 220px;
    margin: 0;
    width: auto;
}

.module-search-note {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 14px;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    background: #fff;
}

.search-result-item:hover {
    border-color: #93c5fd;
    background: #f8fbff;
}

.search-result-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.search-result-main span {
    color: #64748b;
    font-size: 13px;
}

.portal-search-bar {
    margin-bottom: 14px;
}

.portal-search-bar .search-input {
    width: 100%;
    margin: 0;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.data-table th {
    background: #f8fafc;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748b;
}

.data-table tbody tr:hover {
    background: #f8fafc;
}

.table-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.billing-sms-form {
    display: inline-flex;
    margin: 0;
}

.mobile-cards {
    display: none;
}

.customer-card {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.customer-card:last-child {
    border-bottom: none;
}

.customer-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.customer-card-header strong {
    font-size: 16px;
    line-height: 1.3;
}

.customer-card-body {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.customer-card-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
}

.customer-card-row span {
    color: #64748b;
}

.customer-card-actions {
    display: flex;
    gap: 8px;
}

.customer-card-actions .btn {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.badge-pending { background: #fff3cd; color: #856404; }
.badge-active { background: #d1e7dd; color: #0f5132; }
.badge-disconnected { background: #f8d7da; color: #842029; }
.badge-suspended { background: #e2e3e5; color: #41464b; }
.badge-terminated { background: #343a40; color: #fff; }

.detail-grid,
.form-grid,
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.detail-grid > div,
.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-grid strong,
.form-group label {
    font-size: 13px;
    color: #64748b;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.empty-state {
    padding: 30px 16px;
    text-align: center;
    color: #64748b;
}

@media (max-width: 992px) {
    .content {
        margin-left: 0;
        padding: 16px;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    body.sidebar-open .sidebar {
        transform: translateX(0);
    }

    body.sidebar-open .sidebar-overlay {
        display: block;
    }

    .page-header h1 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .header {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        gap: 8px 10px;
        align-items: center;
        padding: 8px 10px 10px;
        min-height: auto;
    }

    .menu-toggle {
        grid-column: 1;
        grid-row: 1;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .header-brand {
        grid-column: 2;
        grid-row: 1;
        flex: none;
        min-width: 0;
        gap: 8px;
    }

    .staff-notify-wrap {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }

    .global-search-form {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0;
    }

    .global-search-input {
        font-size: 16px;
        padding: 10px 14px;
    }

    .global-search-btn {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .header-company-main {
        font-size: 12px;
    }

    .header-company-sub,
    .header-role {
        font-size: 10px;
    }

    .header-company:not(:has(.header-company-main)) {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 11px;
        line-height: 1.2;
    }

    .header-brand .brand-logo-wrap {
        width: 38px;
        height: 38px;
    }

    .header-title {
        font-size: 13px;
    }

    .content {
        margin-top: 118px;
        padding: 14px;
    }

    .sidebar {
        top: 118px;
        height: calc(100vh - 118px);
    }

    .page-header,
    .page-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .page-actions .btn,
    .form-actions .btn {
        width: 100%;
    }

    .has-mobile-cards .data-table {
        display: none;
    }

    .has-mobile-cards .mobile-cards {
        display: block;
    }

    .card {
        padding: 16px;
        border-radius: 10px;
    }

    .table-card > h2,
    .filter-note h2 {
        font-size: 18px;
    }

    .detail-grid,
    .form-grid,
    .grid {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .stat-card {
        min-height: 100px;
        padding: 16px;
    }

    .stat-card h2 {
        font-size: 24px;
    }

    .stat-card h3 {
        font-size: 12px;
    }

    a.stat-card-link:active {
        transform: scale(0.98);
    }
}

@media (max-width: 480px) {
    .header {
        gap: 6px 8px;
        padding: 6px 8px 8px;
    }

    .header-company-main {
        font-size: 11px;
    }

    .header-company-sub,
    .header-role {
        font-size: 9px;
    }

    .header-brand .brand-logo-wrap {
        width: 34px;
        height: 34px;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
    }

    .staff-notify-btn {
        width: 36px;
        height: 36px;
    }

    .content {
        margin-top: 112px;
    }

    .sidebar {
        top: 112px;
        height: calc(100vh - 112px);
    }

    .header-title {
        font-size: 13px;
    }

    .page-header h1 {
        font-size: 22px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .stat-card h2 {
        font-size: 28px;
    }

    .table-responsive {
        margin: 0 -4px;
    }

    .data-table th,
    .data-table td {
        padding: 12px;
        font-size: 13px;
    }
}

.staff-notify-wrap {
    position: relative;
    flex-shrink: 0;
}

.staff-notify-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.staff-notify-btn:hover {
    background: rgba(255, 255, 255, 0.24);
}

.staff-notify-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.staff-notify-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(360px, calc(100vw - 24px));
    max-height: 420px;
    overflow: auto;
    background: #fff;
    color: #1f2937;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
    z-index: 1200;
}

.staff-notify-panel-head,
.staff-notify-panel-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px;
    border-bottom: 1px solid #e5e7eb;
}

.staff-notify-panel-foot {
    border-bottom: none;
    border-top: 1px solid #e5e7eb;
}

.staff-notify-panel-foot a {
    color: #1565c0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.staff-notify-mark-all {
    margin: 0;
}

.staff-notify-empty {
    padding: 20px 14px;
    color: #64748b;
    font-size: 14px;
}

.staff-notify-list,
.staff-notify-page-list {
    display: flex;
    flex-direction: column;
}

.staff-notify-item,
.staff-notify-page-item {
    display: block;
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
}

.staff-notify-item:last-child,
.staff-notify-page-item:last-child {
    border-bottom: none;
}

.staff-notify-item.unread,
.staff-notify-page-item.unread {
    background: #eff6ff;
}

.staff-notify-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.staff-notify-item p,
.staff-notify-page-item p {
    margin: 0 0 4px;
    font-size: 13px;
    color: #475569;
    line-height: 1.4;
}

.staff-notify-item small,
.staff-notify-page-item small {
    color: #94a3b8;
    font-size: 12px;
}

.list-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid #e2e8f0;
}

.list-pagination__summary {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.list-pagination__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.list-pagination__current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    background: #1e293b;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.billing-invoice-search-card {
    margin-bottom: 16px;
}

.billing-invoice-search__row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.billing-invoice-search__row input[type="search"] {
    flex: 1 1 240px;
    min-width: 0;
}

.billing-filter-summary {
    margin: 0 0 14px;
    padding: 0 4px;
    color: #475569;
    font-size: 14px;
}

.billing-filter-summary strong {
    color: #0f172a;
}

.billing-filter-summary__note {
    color: #64748b;
    font-size: 13px;
}

.billing-active-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.backup-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.backup-upload-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}

.backup-upload-form .form-label {
    font-weight: 600;
    color: #0f172a;
}

.backup-upload-form input[type="file"] {
    width: 100%;
}

.backup-upload-restore {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #475569;
}

.backup-download-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.backup-download-modal[hidden] {
    display: none !important;
}

.backup-download-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.backup-download-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0;
    z-index: 1;
}
