* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
body {
    background: var(--color-bg-page);
    color: var(--color-text-heading);
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

.hidden {
    display: none !important;
}
.show-block {
    display: block !important;
}
.show-flex {
    display: flex !important;
}
.link-reset-flex {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 14px;
}
.width-zero {
    width: 0%;
}
.mt-14 {
    margin-top: 14px;
}
.toggle-row-strong {
    margin-top: 10px;
    padding: 12px 0;
    border-top: 1px solid var(--color-border);
}
.icon-muted-right {
    color: var(--color-text-subtle);
    margin-right: 6px;
}
.h2-space-between {
    justify-content: space-between;
}
.flex-gap-6 {
    display: flex;
    gap: 6px;
}
.oidc-discover-wrap {
    margin-bottom: 12px;
}
.secret-icon {
    color: var(--color-secret-green);
}
.small-muted {
    font-weight: 400;
    color: var(--color-text-faint);
}
.summary-icon-right {
    margin-right: 6px;
}
.oidc-actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    justify-content: flex-end;
}
.modal-title-icon {
    color: var(--color-accent);
    margin-right: 8px;
}
.quota-input-row {
    display: flex;
    gap: 10px;
    align-items: center;
}
.flex-1 {
    flex: 1;
}
.select-qm-unit {
    width: 90px;
    padding: 10px 14px;
    border: 2px solid var(--color-border);
    border-radius: 10px;
    font-size: 14px;
    background: var(--color-bg-hover);
}
.form-row {
    display: flex;
    gap: 14px;
}
.select-cu-role {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--color-border);
    border-radius: 10px;
    font-size: 14px;
    background: var(--color-bg-hover);
}
.quota-row {
    display: flex;
    gap: 6px;
}
.select-cu-quota-unit {
    width: 70px;
    padding: 10px 8px;
    border: 2px solid var(--color-border);
    border-radius: 10px;
    font-size: 13px;
    background: var(--color-bg-hover);
}
.alert-no-margin {
    margin-top: 0;
}
.table-loading-cell {
    text-align: center;
    padding: 28px;
    color: var(--color-text-faint);
}
.table-status-error {
    color: var(--color-error-text-dark);
    padding: 20px;
}
.table-status-empty {
    text-align: center;
    padding: 28px;
    color: var(--color-text-faint);
}
.user-self-badge {
    color: var(--color-text-faint);
    font-weight: 400;
}
.badge-admin-icon-small {
    font-size: 10px;
}
.quota-progress-fixed {
    width: 80px;
}
.user-last-login-cell {
    font-size: 12px;
    color: var(--color-text);
}

/* ── Top Header Bar ── */
.admin-header {
    background: linear-gradient(135deg, var(--color-sidebar-bg-from) 0%, var(--color-sidebar-bg-to) 100%);
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 12px var(--color-shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
}
.admin-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.admin-logo {
    width: 38px;
    height: 38px;
    background: var(--color-accent-gradient);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px var(--color-sidebar-shadow);
}
.admin-logo svg {
    width: 20px;
    height: 20px;
    fill: var(--color-sidebar-text-active);
}
.admin-title-text {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-sidebar-text-active);
    letter-spacing: 0.3px;
}
.admin-title-separator {
    font-size: 17px;
    color: var(--color-sidebar-storage-faint);
    font-weight: 400;
    margin-left: 6px;
}
.admin-header-right a {
    color: var(--color-sidebar-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.admin-header-right a:hover {
    color: var(--color-sidebar-text-active);
}

/* ── Container ── */
.admin-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 28px 24px 60px;
    width: 100%;
    flex: 1;
}

/* ── Tabs ── */
.admin-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 28px;
    background: var(--color-bg-surface);
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 1px 4px var(--color-shadow-xs);
    position: sticky;
    top: 64px;
    z-index: 50;
}
.admin-tab {
    padding: 10px 22px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13.5px;
    color: var(--color-text-subtle);
    border: none;
    background: none;
    border-radius: 10px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.admin-tab:hover {
    color: var(--color-text-heading);
    background: var(--color-bg-hover);
}
.admin-tab.active {
    color: var(--color-sidebar-text-active);
    background: var(--color-accent-gradient);
    box-shadow: 0 3px 12px var(--color-accent-shadow-sm);
}
.admin-tab.active i {
    color: var(--color-sidebar-text-active);
}
.admin-tab i {
    font-size: 14px;
    width: 16px;
    text-align: center;
}
.tab-content {
    display: none;
    animation: none;
}
.tab-content.active {
    display: block;
}
.tab-content.tab-fade-in {
    animation: tabFadeIn 0.22s ease-out;
}
.tab-content.tab-fade-out {
    animation: tabFadeOut 0.15s ease-in;
    display: block;
}
@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes tabFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* ── Cards ── */
.admin-card {
    background: var(--color-bg-surface);
    border-radius: 16px;
    box-shadow:
        0 1px 4px var(--color-shadow-xs),
        0 0 0 1px var(--color-shadow-xs);
    padding: 28px;
    margin-bottom: 22px;
}
.admin-card h2 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text-heading);
    display: flex;
    align-items: center;
    gap: 10px;
}
.admin-card h2 i {
    color: var(--color-accent);
    font-size: 17px;
}

#main-content,
#ds-warn-card,
#ds-danger-card,
#registration-warning,
#oidc-form,
#secret-hint,
#password-warning,
#storage-secret-hint,
#quota-modal,
#create-user-modal,
#reset-pw-modal {
    display: none;
}

/* ── Stats Grid ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}
.stat-card {
    padding: 20px;
    background: var(--color-bg-hover);
    border-radius: 14px;
    text-align: center;
    border: 1px solid var(--color-border);
    transition:
        transform 0.15s,
        box-shadow 0.15s;
}
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--color-shadow-xs);
}
.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-text-heading);
}
.stat-label {
    font-size: 11.5px;
    color: var(--color-text-faint);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
    font-weight: 600;
}
.stat-card.warn {
    border-color: var(--color-stat-warn-border);
    background: var(--color-warning-bg-faint);
}
.stat-card.danger {
    border-color: var(--color-danger-alt);
    background: var(--color-danger-light-bg);
}
.text-blue {
    color: var(--color-info-blue) !important;
}
.text-green {
    color: var(--color-secret-green) !important;
}
.text-orange {
    color: var(--color-star-active) !important;
}
.text-red {
    color: var(--color-error-text-dark) !important;
}

/* ── Progress bar ── */
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--color-border);
    border-radius: 4px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}
.progress-fill.green {
    background: var(--color-storage-fill-green);
}
.progress-fill.orange {
    background: var(--color-storage-fill-orange);
}
.progress-fill.red {
    background: var(--color-storage-fill-red);
}

/* ── Table ── */
.table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
th {
    text-align: left;
    padding: 12px 16px;
    background: var(--color-bg-subtle);
    color: var(--color-text-faint);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    white-space: nowrap;
    border-bottom: 1px solid var(--color-border);
}
td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border-light);
    vertical-align: middle;
}
tr:last-child td {
    border-bottom: none;
}
tr:hover {
    background: var(--color-bg-hover);
}
.user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.user-name {
    font-weight: 600;
    color: var(--color-text-heading);
}
.user-email {
    font-size: 12px;
    color: var(--color-text-faint);
}

/* ── Badges ── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
}
.badge-admin {
    background: var(--color-role-admin-bg);
    color: var(--color-role-admin-text);
}
.badge-user {
    background: var(--color-border-light);
    color: var(--color-text-subtle);
}
.badge-active {
    background: var(--color-badge-success-bg-medium);
    color: var(--color-badge-success-text);
}
.badge-inactive {
    background: var(--color-error-bg);
    color: var(--color-error-text-dark);
}
.badge-oidc {
    background: var(--color-badge-indigo-bg);
    color: var(--color-badge-indigo-text);
}
.badge-local {
    background: var(--color-border-light);
    color: var(--color-text-subtle);
}
.badge-env {
    background: var(--color-warning-bg-light);
    color: var(--color-badge-warning-text);
    font-size: 10px;
    padding: 1px 6px;
    margin-left: 4px;
}

/* ── Buttons ── */
.btn {
    padding: 8px 18px;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 8px;
}
.btn-primary {
    background: var(--color-accent-gradient);
    color: var(--color-sidebar-text-active);
    box-shadow: 0 2px 8px var(--color-accent-shadow-sm);
}
.btn-primary:hover {
    box-shadow: 0 4px 14px var(--color-sidebar-shadow);
    transform: translateY(-1px);
}
.btn-secondary {
    background: var(--color-bg-surface);
    color: var(--color-text-dark);
    border: 1px solid var(--color-border);
}
.btn-secondary:hover {
    background: var(--color-bg-hover);
    border-color: var(--color-border-medium);
}
.btn-danger {
    background: var(--color-danger-light-bg);
    color: var(--color-error-text-dark);
    border: 1px solid var(--color-badge-error-border);
}
.btn-danger:hover {
    background: var(--color-error-bg);
}
.btn-success {
    background: var(--color-badge-success-bg);
    color: var(--color-badge-success-text);
    border: 1px solid var(--color-badge-success-border);
}
.btn-success:hover {
    background: var(--color-badge-success-bg-medium);
}
.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
}
.actions-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* ── Forms ── */
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-text-dark);
}
.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="url"],
.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--color-border);
    border-radius: 10px;
    font-size: 14px;
    background: var(--color-bg-hover);
    transition: all 0.2s;
    font-family: inherit;
    color: var(--color-text-heading);
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-bg-surface);
    box-shadow: 0 0 0 3px var(--color-accent-ring);
}
.form-group small {
    color: var(--color-text-faint);
    font-size: 12px;
    display: block;
    margin-top: 3px;
}

.toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}
.toggle-row label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-dark);
}
.switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--color-badge-gray);
    border-radius: 24px;
    transition: 0.3s;
}
.slider:before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: var(--color-bg-surface);
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 1px 3px var(--color-shadow-md);
}
.switch input:checked + .slider {
    background: var(--color-accent-gradient);
}
.switch input:checked + .slider:before {
    transform: translateX(20px);
}

.readonly-field {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-bg-hover);
    border: 2px solid var(--color-border);
    border-radius: 10px;
    padding: 10px 14px;
    font-family: "SF Mono", Monaco, Consolas, monospace;
    font-size: 13px;
    word-break: break-all;
    color: var(--color-text-dark);
}
.readonly-field button {
    flex-shrink: 0;
    padding: 6px 10px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-bg-surface);
    cursor: pointer;
    font-size: 12px;
    transition: all 0.15s;
    color: var(--color-text-subtle);
}
.readonly-field button:hover {
    background: var(--color-border-light);
    color: var(--color-text-dark);
}

/* ── Alerts ── */
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    margin-top: 14px;
    display: none;
    font-weight: 500;
}
.alert-success {
    background: var(--color-badge-success-bg);
    color: var(--color-badge-success-text);
    border: 1px solid var(--color-badge-success-border);
    display: block;
}
.alert-error {
    background: var(--color-danger-light-bg);
    color: var(--color-error-text-dark);
    border: 1px solid var(--color-badge-error-border);
    display: block;
}
.alert-info {
    background: var(--color-badge-blue-bg);
    color: var(--color-badge-blue-text);
    border: 1px solid var(--color-badge-blue-border);
    display: block;
}
.warning {
    background: var(--color-warning-bg-faint);
    border: 1px solid var(--color-badge-warning-border);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--color-badge-warning-text);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

/* ── Discovery ── */
.discovery-result {
    margin: 12px 0;
    padding: 14px;
    border-radius: 10px;
    font-size: 13px;
}
.discovery-result.ok {
    background: var(--color-badge-success-bg);
    border: 1px solid var(--color-badge-success-border);
    color: var(--color-badge-success-text);
}
.discovery-result.fail {
    background: var(--color-danger-light-bg);
    border: 1px solid var(--color-badge-error-border);
    color: var(--color-error-text-dark);
}
.discovery-result dt {
    font-weight: 700;
    margin-top: 6px;
}
.discovery-result dd {
    margin-left: 0;
    word-break: break-all;
}

/* ── Details ── */
details {
    margin-top: 14px;
    border-top: 1px solid var(--color-border);
    padding-top: 12px;
}
details summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text-subtle);
    padding: 6px 0;
    user-select: none;
    transition: color 0.2s;
}
details summary:hover {
    color: var(--color-accent);
}
details[open] summary {
    margin-bottom: 14px;
    color: var(--color-accent);
}

/* ── Modal ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: var(--color-overlay-light);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
}
.modal {
    background: var(--color-bg-surface);
    border-radius: 20px;
    padding: 28px;
    width: 420px;
    max-width: 90vw;
    box-shadow: 0 20px 60px var(--color-shadow-xl);
    animation: modalIn 0.2s ease-out;
}
@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
.modal h3 {
    margin-bottom: 18px;
    font-size: 17px;
    color: var(--color-text-heading);
    display: flex;
    align-items: center;
}
.modal-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 18px;
}

/* ── Quota bar inline ── */
.quota-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}
.quota-bar .progress-bar {
    flex: 1;
    height: 6px;
}
.quota-text {
    font-size: 12px;
    color: var(--color-text-faint);
    white-space: nowrap;
}

/* ── Access / Loading ── */
#access-denied {
    display: none;
    text-align: center;
    padding: 80px 20px;
}
#access-denied .access-icon {
    width: 80px;
    height: 80px;
    background: var(--color-danger-light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
#access-denied .access-icon i {
    font-size: 32px;
    color: var(--color-danger-alt);
}
#access-denied h2 {
    color: var(--color-error-text-dark);
    margin-bottom: 8px;
    font-size: 20px;
}
#access-denied p {
    color: var(--color-text-subtle);
    margin-bottom: 20px;
    font-size: 14px;
}
#access-denied a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: var(--color-accent-gradient);
    color: var(--color-sidebar-text-active);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 3px 12px var(--color-accent-shadow);
    transition: all 0.2s;
}
#access-denied a:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 18px var(--color-accent-shadow-lg);
}
#loading {
    text-align: center;
    padding: 80px;
    color: var(--color-text-faint);
    font-size: 15px;
}
#loading i {
    font-size: 32px;
    color: var(--color-accent);
    display: block;
    margin-bottom: 12px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Pagination ── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    font-size: 13px;
    color: var(--color-text-faint);
    padding: 0 4px;
}
.pagination button {
    padding: 6px 14px;
}

/* ── Confirm modal ── */
.modal-confirm {
    max-width: 420px;
}
.modal-confirm h3 {
    color: var(--color-error-text-dark);
}
.modal-confirm p {
    margin: 14px 0 22px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--color-dark-mid);
}
.btn-danger {
    background: var(--color-danger-gradient);
    color: var(--color-danger-text);
    border: none;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
}
.btn-danger:hover {
    opacity: 0.88;
}

/* ── Storage Tab ── */

.storage-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}
.storage-stat {
    padding: 14px;
    background: var(--color-bg-hover);
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--color-border);
}
.storage-stat__label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
}
.storage-stat__value {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text-heading);
}

.storage-backend-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.storage-backend-option {
    flex: 1;
    cursor: pointer;
}
.storage-backend-option input[type="radio"] {
    display: none;
}
.storage-backend-option__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 14px;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    transition:
        border-color 0.2s,
        background 0.2s;
    text-align: center;
    font-weight: 500;
}
.storage-backend-option__card i {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    transition: color 0.2s;
}
.storage-backend-option input[type="radio"]:checked + .storage-backend-option__card {
    border-color: var(--color-accent);
    background: var(--color-accent-subtle);
}
.storage-backend-option input[type="radio"]:checked + .storage-backend-option__card i {
    color: var(--color-accent);
}

.storage-form {
    margin-top: 8px;
}

.storage-actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    justify-content: flex-end;
}

.storage-migration-section {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}
.storage-migration-section h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--color-text-heading);
}
.storage-migration-section h3 i {
    color: var(--color-text-secondary);
    margin-right: 6px;
}

/* ── Migration UI ── */

.migration-status-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 14px;
}

.badge-migration {
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.badge-migration--idle {
    background: var(--color-bg-hover);
    color: var(--color-text-secondary);
}
.badge-migration--running {
    background: var(--color-accent-subtle);
    color: var(--color-accent);
}
.badge-migration--paused {
    background: var(--color-warning-bg, #fff8e1);
    color: var(--color-warning-text, #b28704);
}
.badge-migration--completed {
    background: var(--color-success-bg, #e8f5e9);
    color: var(--color-success-text, #2e7d32);
}
.badge-migration--failed {
    background: var(--color-danger-bg, #fce4ec);
    color: var(--color-danger-text, #c62828);
}

.migration-progress-bar {
    width: 100%;
    height: 10px;
    background: var(--color-bg-hover);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 6px;
}
.migration-progress-bar__fill {
    height: 100%;
    background: var(--color-accent);
    border-radius: 6px;
    transition: width 0.3s ease;
}

.migration-progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
}

.migration-failed-list {
    max-height: 150px;
    overflow-y: auto;
    font-size: 11px;
    background: var(--color-bg-hover);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    margin-top: 6px;
}

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