:root {
    --sidebar-width: 280px;
    --admin-bg: #f5f7fb;
    --admin-surface: #ffffff;
    --admin-surface-soft: #f8fafc;
    --admin-border: #dbe4ef;
    --admin-text: #1f2937;
    --admin-muted: #6b7280;
    --admin-primary: #2563eb;
    --admin-primary-dark: #1d4ed8;
    --admin-success: #0f766e;
    --admin-warning: #d97706;
    --admin-danger: #dc2626;
    --admin-sidebar: #ffffff;
    --admin-sidebar-soft: #f8fafc;
    --admin-shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.06);
    --admin-shadow: 0 18px 46px rgba(15, 23, 42, 0.09);
    --admin-shadow-lg: 0 26px 70px rgba(15, 23, 42, 0.12);
    --admin-ring: 0 0 0 4px rgba(37, 99, 235, 0.12);
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    background: linear-gradient(180deg, #f8fbff 0%, var(--admin-bg) 42%, #eef4fa 100%);
    color: var(--admin-text);
    font-family: "Segoe UI", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

code {
    background: rgba(15, 23, 42, 0.06);
    border-radius: 6px;
    padding: 0.1rem 0.35rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #1f8a5b;
}

.invalid {
    outline: 1px solid #b53131;
}

.validation-message {
    color: #b53131;
}

.admin-shell {
    min-height: 100vh;
}

.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1040;
    width: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
    background: var(--admin-sidebar);
    color: var(--admin-text);
    border-right: 1px solid var(--admin-border);
    box-shadow: 18px 0 42px rgba(15, 23, 42, 0.08);
    transform: translateX(0);
    transition: transform 0.2s ease;
}

.sidebar-header {
    padding: 1.35rem 1.25rem 1.15rem;
    border-bottom: 1px solid var(--admin-border);
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    color: var(--admin-text);
}

.brand-mark:hover,
.brand-mark:focus,
.brand-button:hover,
.brand-button:focus {
    color: var(--admin-text);
}

.brand-button {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    text-align: left;
}

.brand-icon,
.profile-avatar,
.metric-icon,
.nav-icon,
.page-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    font-weight: 800;
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: linear-gradient(135deg, #2563eb, #0f766e);
    color: #ffffff;
}

.brand-logo-placeholder {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.brand-logo-placeholder span {
    font-size: 0.84rem;
    letter-spacing: 0.08em;
}

.brand-logo-shell {
    background: #ffffff;
    padding: 0.3rem;
}

.brand-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-title,
.brand-subtitle {
    display: block;
    line-height: 1.2;
    white-space: nowrap;
}

.brand-title {
    font-size: 1.05rem;
    font-weight: 800;
}

.brand-subtitle {
    color: var(--admin-muted);
    font-size: 0.78rem;
}

.sidebar-nav {
    display: grid;
    gap: 0.45rem;
    padding: 1.1rem 1rem;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 48px;
    width: 100%;
    border: 0;
    padding: 0.78rem 0.9rem;
    border-radius: 8px;
    background: transparent;
    color: #475569;
    font-weight: 700;
    text-align: left;
    transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
    white-space: nowrap;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link:focus,
.sidebar-nav .nav-link.active {
    background: #eff6ff;
    color: var(--admin-primary);
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link:focus {
    transform: translateX(2px);
}

.nav-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #eaf2ff;
    color: var(--admin-primary);
    font-size: 0.76rem;
}

.sidebar-user {
    margin: auto 1rem 1rem;
    padding: 0.85rem;
    display: grid;
    justify-items: center;
    gap: 0.22rem;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background: var(--admin-sidebar-soft);
    text-align: center;
}

.sidebar-user strong {
    color: var(--admin-text);
    font-size: 1rem;
    line-height: 1.1;
}

.sidebar-user small {
    color: var(--admin-muted);
    font-size: 0.84rem;
}

.sidebar-footer {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: auto;
    margin-inline: 1.25rem;
    padding: 1rem 0;
    color: var(--admin-muted);
    border-top: 1px solid var(--admin-border);
    font-size: 0.9rem;
}

.status-dot,
.notification-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.status-dot {
    flex: 0 0 auto;
    background: #22c55e;
}

.sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1030;
    display: none;
    background: rgba(15, 23, 42, 0.5);
}

.admin-main {
    min-width: 0;
    min-height: 100vh;
    margin-left: var(--sidebar-width);
}

.admin-navbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    min-height: 72px;
    border-bottom: 1px solid var(--admin-border);
    box-shadow: var(--admin-shadow-sm);
}

.admin-navbar.bg-white {
    background-color: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(14px);
}

.sidebar-toggle {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    gap: 4px;
    padding: 9px;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.sidebar-toggle:hover,
.sidebar-toggle:focus {
    border-color: #bfdbfe;
    background: #f8fbff;
    box-shadow: var(--admin-ring);
}

.sidebar-toggle span {
    width: 18px;
    height: 2px;
    display: block;
    background: var(--admin-text);
    border-radius: 999px;
}

.search-input,
.table-search,
.form-control,
.form-select,
textarea.form-control {
    border-color: var(--admin-border);
    border-radius: 8px;
    background: var(--admin-surface-soft);
    box-shadow: none;
}

.search-input {
    max-width: 520px;
    min-height: 42px;
}

.search-input:focus,
.table-search:focus,
.form-control:focus,
.form-select:focus {
    border-color: #93c5fd;
    box-shadow: var(--admin-ring);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-dropdown {
    position: relative;
}

.profile-dropdown-toggle {
    min-width: 0;
}

.profile-chevron {
    color: var(--admin-muted);
    font-size: 0.75rem;
}

.profile-menu {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    z-index: 1050;
    width: min(220px, calc(100vw - 2rem));
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    background: var(--admin-surface);
    box-shadow: var(--admin-shadow);
    padding: 0.45rem;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--admin-text);
    padding: 0.8rem 0.9rem;
    text-align: left;
    transition: background 0.16s ease, color 0.16s ease;
}

.profile-menu-item:hover,
.profile-menu-item:focus {
    background: var(--admin-surface-soft);
    color: var(--admin-primary);
}

.profile-menu-divider {
    height: 1px;
    background: var(--admin-border);
    margin: 0.35rem 0;
}

.profile-menu-signout {
    color: var(--admin-danger);
}

.profile-menu-signout:hover,
.profile-menu-signout:focus {
    background: #fff1f1;
    color: var(--admin-danger);
}

.icon-button,
.profile-button {
    border: 1px solid var(--admin-border);
    background: #ffffff;
    color: var(--admin-text);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.icon-button:hover,
.icon-button:focus,
.profile-button:hover,
.profile-button:focus {
    border-color: #bfdbfe;
    box-shadow: var(--admin-ring);
}

.icon-button {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    font-weight: 800;
}

.profile-button {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 42px;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    font-weight: 700;
}

.profile-avatar {
    background: #e0ecff;
    color: var(--admin-primary-dark);
    font-size: 0.76rem;
}

.avatar-sm {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.avatar-md {
    width: 56px;
    height: 56px;
    border-radius: 50%;
}

.dashboard-content {
    min-height: calc(100vh - 132px);
}

.dashboard-content > .container-fluid {
    padding-top: 1.75rem !important;
    padding-bottom: 1.75rem !important;
}

.page-heading,
.panel-header,
.metric-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.page-heading {
    margin-bottom: 1.35rem;
}

.page-heading-copy {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-heading h1 {
    font-weight: 800;
}

.page-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eaf2ff;
    color: var(--admin-primary);
    font-size: 1.15rem;
}

.eyebrow {
    color: var(--admin-primary);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.heading-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
}

.btn {
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.btn:hover,
.btn:focus {
    transform: translateY(-1px);
}

.btn-primary {
    border-color: var(--admin-primary);
    background: var(--admin-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    border-color: var(--admin-primary-dark);
    background: var(--admin-primary-dark);
}

.metric-card,
.panel,
.auth-card {
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background: var(--admin-surface);
    box-shadow: var(--admin-shadow);
}

.metric-card {
    position: relative;
    min-height: 164px;
    padding: 1.35rem;
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.metric-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--metric-color, var(--admin-primary));
}

.metric-card:hover,
.panel:hover {
    border-color: #c6d5e8;
    box-shadow: var(--admin-shadow-lg);
}

.metric-card:hover {
    transform: translateY(-3px);
}

.metric-primary {
    --metric-color: var(--admin-primary);
}

.metric-success {
    --metric-color: var(--admin-success);
}

.metric-warning {
    --metric-color: var(--admin-warning);
}

.metric-danger {
    --metric-color: var(--admin-danger);
}

.metric-label {
    color: var(--admin-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.metric-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #eaf2ff;
    color: var(--metric-color, var(--admin-primary));
}

.metric-success .metric-icon {
    background: #e7f6f3;
}

.metric-warning .metric-icon {
    background: #fff4df;
}

.metric-danger .metric-icon {
    background: #ffecec;
}

.metric-value {
    margin-top: 1rem;
    color: var(--admin-text);
    font-size: 2.18rem;
    font-weight: 800;
    line-height: 1;
}

.metric-value-compact {
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.15;
}

.metric-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.9rem;
    color: var(--admin-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.panel {
    padding: 1.35rem;
}

.panel-header {
    margin-bottom: 1.25rem;
}

.panel-header p {
    font-size: 0.92rem;
}

.section-title {
    display: flex;
    align-items: center;
}

.activity-list {
    display: grid;
    gap: 1.1rem;
}

.activity-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--admin-border);
}

.activity-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.activity-dot {
    width: 12px;
    height: 12px;
    margin-top: 0.45rem;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.08);
}

.tiny-text {
    font-size: 0.75rem;
}

.table {
    --bs-table-bg: transparent;
}

.table thead th {
    color: var(--admin-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.table tbody td {
    min-width: 120px;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.table tbody tr {
    transition: background 0.16s ease;
}

.table tbody tr:hover,
.selected-customer-row {
    background: #f8fbff;
}

.badge {
    border-radius: 8px;
    padding: 0.45rem 0.65rem;
}

.table-search {
    width: min(260px, 100%);
}

.table-media {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.table-row-button {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    text-align: left;
}

.customer-access-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.action-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem;
}

.row-action-menu {
    position: relative;
    display: inline-flex;
    justify-content: flex-end;
    margin: 0;
}

.row-action-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    width: 38px;
    height: 38px;
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
    color: var(--admin-text);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.row-action-trigger::-webkit-details-marker {
    display: none;
}

.row-action-trigger:hover,
.row-action-trigger:focus {
    border-color: #bfdbfe;
    background: #f8fbff;
    box-shadow: var(--admin-ring);
}

.row-action-dropdown {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    z-index: 1200;
    min-width: 220px;
    display: none;
    gap: 0.25rem;
    padding: 0.45rem;
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    background: var(--admin-surface);
    box-shadow: var(--admin-shadow);
}

.row-action-menu.open .row-action-dropdown {
    display: grid;
}

.customer-table-responsive {
    overflow-x: auto;
    overflow-y: visible;
}

.row-action-hint {
    padding: 0.1rem 0.35rem 0.35rem;
    color: var(--admin-muted);
    font-size: 0.72rem;
    line-height: 1.35;
}

.panel {
    overflow: visible;
}

.row-action-item {
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--admin-text);
    padding: 0.75rem 0.8rem;
    text-align: left;
    font-weight: 700;
    transition: background 0.16s ease, color 0.16s ease;
}

.row-action-item:hover,
.row-action-item:focus {
    background: var(--admin-surface-soft);
    color: var(--admin-primary);
}

.row-action-item:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.info-list {
    display: grid;
    gap: 0.85rem;
}

.info-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background: var(--admin-surface-soft);
}

.info-list span {
    color: var(--admin-muted);
    font-size: 0.84rem;
}

.info-list strong {
    text-align: right;
}

.status-summary-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
}

.summary-chip {
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--admin-border);
    font-weight: 700;
}

.summary-chip span {
    font-size: 0.82rem;
    text-transform: uppercase;
}

.summary-chip strong {
    font-size: 1.4rem;
    line-height: 1;
}

.summary-active {
    background: #e7f6f3;
    color: #0f766e;
}

.summary-pending {
    background: #fff4df;
    color: #b45309;
}

.summary-suspended {
    background: #f1f5f9;
    color: #475569;
}

.summary-blocked {
    background: #ffecec;
    color: #b91c1c;
}

.summary-inactive {
    background: #111827;
    color: #ffffff;
}

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fbff 0%, #eaf2ff 44%, #eef8f6 100%);
}

.auth-card {
    width: min(100%, 460px);
    padding: 1.5rem;
}

.auth-visual {
    margin-bottom: 1rem;
    min-height: 110px;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    overflow: hidden;
}

.auth-visual-placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #eef5ff, #f7fbff);
}

.logo-dropzone {
    display: grid;
    justify-items: center;
    gap: 0.35rem;
    color: var(--admin-text);
    text-align: center;
}

.logo-dropzone-title {
    font-weight: 800;
}

.logo-dropzone small {
    color: var(--admin-muted);
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--admin-text);
}

.auth-brand:hover,
.auth-brand:focus {
    color: var(--admin-text);
}

.auth-brand span:last-child {
    display: grid;
    line-height: 1.2;
}

.auth-brand small,
.auth-footer {
    color: var(--admin-muted);
}

.auth-footer {
    margin-top: 1.2rem;
    text-align: center;
    font-size: 0.92rem;
}

.auth-logo-wrap {
    display: grid;
    place-items: center;
    margin-bottom: 1.5rem;
}

.auth-logo-image {
    max-width: 220px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.confirmation-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1090;
    background: rgba(15, 23, 42, 0.55);
}

.confirmation-modal-wrap {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.confirmation-modal {
    width: min(100%, 480px);
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    background: var(--admin-surface);
    box-shadow: var(--admin-shadow-lg);
    padding: 1.5rem;
}

.confirmation-modal h3 {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
    font-weight: 800;
}

.confirmation-modal p {
    color: var(--admin-text);
    line-height: 1.6;
    margin: 0 0 1rem;
}

.confirmation-summary {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background: var(--admin-surface-soft);
    color: var(--admin-muted);
    font-size: 0.92rem;
}

.confirmation-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.action-popup-backdrop {
    background: rgba(15, 23, 42, 0.38);
}

.action-popup-wrap {
    z-index: 1110;
}

.action-popup-card {
    width: min(100%, 440px);
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: var(--admin-shadow-lg);
    padding: 1.75rem;
    text-align: center;
}

.action-popup-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #e7f6f3;
    color: var(--admin-success);
    font-size: 2rem;
    box-shadow: inset 0 0 0 8px rgba(15, 118, 110, 0.08);
}

.action-popup-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.3rem;
    font-weight: 800;
}

.action-popup-card p {
    margin: 0;
    color: var(--admin-muted);
    line-height: 1.6;
}

.action-popup-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.admin-footer {
    padding: 1.1rem 0 1.35rem;
    color: var(--admin-muted);
    font-size: 0.9rem;
}

.admin-footer .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.blazor-error-boundary {
    background: #b53131;
    border-radius: 8px;
    color: #ffffff;
    margin: 1rem;
    padding: 1rem 1.2rem;
}

.blazor-error-boundary::after {
    content: "An unexpected error occurred.";
}

@media (max-width: 1199.98px) {
    .status-summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .admin-sidebar {
        width: min(var(--sidebar-width), calc(100vw - 48px));
        transform: translateX(-100%);
    }

    .admin-main {
        margin-left: 0;
    }

    .admin-shell.sidebar-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-shell.sidebar-open .sidebar-backdrop {
        display: block;
    }
}

@media (max-width: 767.98px) {
    .status-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .action-stack {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .page-heading,
    .panel-header,
    .page-heading-copy {
        align-items: flex-start;
        flex-direction: column;
    }

    .heading-actions {
        width: 100%;
    }

    .heading-actions .btn {
        flex: 1 1 0;
        width: 100%;
    }

    .metric-value {
        font-size: 1.85rem;
    }

    .metric-card,
    .panel,
    .auth-card {
        padding: 1.1rem;
    }

    .status-summary-grid {
        grid-template-columns: 1fr;
    }

    .admin-footer .container-fluid {
        align-items: flex-start;
        flex-direction: column;
    }
}

.pagination-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-top: 1px solid var(--admin-border);
}

.pagination-info {
    color: var(--admin-muted);
    font-size: 0.84rem;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background: var(--admin-surface);
    color: var(--admin-text);
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0 0.5rem;
    transition: border-color 0.16s ease, background 0.16s ease;
}

.pagination-btn:hover:not(:disabled):not(.active) {
    border-color: #bfdbfe;
    background: #f8fbff;
}

.pagination-btn.active {
    background: var(--admin-primary);
    border-color: var(--admin-primary);
    color: #ffffff;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
