:root {
    --admin-bg: #070b1d;
    --admin-panel: rgba(17, 25, 48, 0.82);
    --admin-panel-strong: rgba(10, 14, 28, 0.92);
    --admin-border: rgba(80, 130, 255, 0.25);
    --admin-highlight: #5082ff;
    --admin-highlight-secondary: #7b5bff;
    --admin-text: #f5f7ff;
    --admin-muted: rgba(245, 247, 255, 0.68);
    --admin-success: #4caf50;
    --admin-warning: #ffb300;
    --admin-danger: #ef5350;
    --admin-card-gradient: linear-gradient(135deg, rgba(80, 130, 255, 0.18), rgba(123, 91, 255, 0.12));
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: radial-gradient(circle at 20% 20%, rgba(120, 90, 255, 0.12), transparent 45%),
                radial-gradient(circle at 80% 0%, rgba(80, 130, 255, 0.14), transparent 55%),
                #05060f;
    color: var(--admin-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hidden {
    display: none !important;
}

.admin-bg {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -2;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-size: 120px 120px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    transform: perspective(800px) rotateX(60deg);
    opacity: 0.45;
}

.bg-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(80, 130, 255, 0.22), transparent 55%),
                radial-gradient(circle at bottom right, rgba(123, 91, 255, 0.18), transparent 45%);
}

.bg-orb {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    animation: float-orb 12s ease-in-out infinite;
}

.orb-primary {
    top: -140px;
    left: 10%;
    background: rgba(80, 130, 255, 0.5);
}

.orb-secondary {
    bottom: -180px;
    right: 5%;
    background: rgba(123, 91, 255, 0.5);
    animation-delay: 3s;
}

.orb-tertiary {
    bottom: 20%;
    left: -120px;
    width: 320px;
    height: 320px;
    background: rgba(38, 198, 218, 0.35);
    animation-delay: 6s;
}

@keyframes float-orb {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, 30px, 0); }
}

.admin-app {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.5rem 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.65rem 2.1rem;
    border: 1px solid rgba(80, 130, 255, 0.28);
    background: linear-gradient(135deg, rgba(10, 18, 38, 0.85), rgba(12, 18, 40, 0.78));
    border-radius: 20px;
    backdrop-filter: blur(22px);
    box-shadow: 0 26px 60px rgba(5, 8, 18, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.admin-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    background: rgba(80, 130, 255, 0.14);
    border: 1px solid rgba(80, 130, 255, 0.35);
    color: rgba(199, 214, 255, 0.85);
}

.admin-header__title h1 {
    margin: 0.4rem 0 0;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.admin-header__title p {
    margin: 0.65rem 0 0;
    color: var(--admin-muted);
    font-size: 1rem;
}

.admin-header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-connection {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(80, 130, 255, 0.4);
    background: rgba(80, 130, 255, 0.15);
    font-size: 0.85rem;
    color: rgba(208, 219, 255, 0.92);
}

.admin-connection.is-online {
    border-color: rgba(76, 175, 80, 0.45);
    background: rgba(76, 175, 80, 0.2);
    color: #c3f7c9;
}

.admin-user {
    font-size: 0.9rem;
    color: rgba(208, 219, 255, 0.85);
    max-width: 220px;
    text-align: right;
}

.admin-logout {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: var(--admin-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.admin-logout:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.admin-main {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.admin-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.overview-card {
    position: relative;
    overflow: hidden;
    padding: 1.4rem 1.2rem 1.4rem 1.2rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: radial-gradient(circle at top left, rgba(80, 130, 255, 0.24), rgba(10, 14, 28, 0.9));
    box-shadow: 0 22px 50px rgba(5, 8, 18, 0.55);
    backdrop-filter: blur(16px);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
}

.overview-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 45%);
    pointer-events: none;
}

.overview-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(12, 18, 40, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    font-size: 1.4rem;
    color: rgba(208, 219, 255, 0.88);
    backdrop-filter: blur(10px);
}

.overview-body {
    position: relative;
    z-index: 1;
}

.overview-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.32em;
    color: rgba(208, 219, 255, 0.7);
}

.overview-body strong {
    display: block;
    margin: 0.5rem 0 0.35rem;
    font-size: 1.25rem;
}

.overview-body p {
    margin: 0;
    color: rgba(208, 219, 255, 0.75);
    line-height: 1.5;
    font-size: 0.9rem;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--admin-highlight), var(--admin-highlight-secondary));
    box-shadow: 0 18px 36px rgba(80, 130, 255, 0.38);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(80, 130, 255, 0.48);
}

.btn-secondary {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: var(--admin-text);
}

.btn-secondary:hover {
    transform: translateY(-1px);
}

.admin-tabs {
    display: flex;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.75rem;
}

.admin-tab {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.05);
    color: var(--admin-muted);
    padding: 0.65rem 1.1rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-tab small {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.45);
}

.admin-tab.active {
    border-color: rgba(80, 130, 255, 0.5);
    color: var(--admin-text);
    box-shadow: 0 12px 28px rgba(80, 130, 255, 0.25);
    background: rgba(80, 130, 255, 0.15);
}

.admin-panel {
    display: flex;
    flex-direction: column;
    gap: 1.7rem;
    border-radius: 22px;
    border: 1px solid var(--admin-border);
    background: var(--admin-panel);
    padding: 1.9rem;
    box-shadow: 0 26px 55px rgba(5, 8, 18, 0.52);
    position: relative;
    overflow: hidden;
}

.admin-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 60%);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.panel-header h2 {
    margin: 0;
    font-size: 1.45rem;
}

.panel-header p {
    margin: 0.4rem 0 0;
    color: var(--admin-muted);
}

.panel-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.filter-group {
    display: inline-flex;
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.filter-btn {
    border: none;
    background: transparent;
    color: var(--admin-muted);
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn.active {
    background: rgba(80, 130, 255, 0.18);
    color: var(--admin-text);
    box-shadow: inset 0 0 0 1px rgba(80, 130, 255, 0.35);
}

.summary-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    position: relative;
    z-index: 1;
}

.summary-card {
    padding: 1.1rem 1.1rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(135deg, rgba(12, 18, 40, 0.85), rgba(12, 18, 40, 0.75));
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: center;
    box-shadow: 0 20px 46px rgba(5, 8, 18, 0.45);
}

.summary-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.1rem;
    color: rgba(199, 214, 255, 0.85);
}

.summary-label {
    font-size: 0.8rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(199, 214, 255, 0.75);
}

.summary-card strong {
    grid-column: 2;
    font-size: 1.65rem;
}

.summary-progress {
    grid-column: 1 / -1;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.summary-progress__bar {
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(80, 130, 255, 0.85), rgba(38, 198, 218, 0.85));
    transition: width 0.35s ease;
}

.metric-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    position: relative;
    z-index: 1;
}

.metric-card {
    padding: 1.1rem 1.2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(13, 18, 38, 0.75);
    box-shadow: 0 20px 44px rgba(5, 8, 18, 0.42);
}

.metric-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: rgba(199, 214, 255, 0.68);
}

.metric-card strong {
    display: block;
    margin: 0.65rem 0 0.35rem;
    font-size: 1.75rem;
}

.metric-sub {
    font-size: 0.85rem;
    color: rgba(199, 214, 255, 0.7);
}

.panel-table {
    overflow-x: auto;
    position: relative;
    z-index: 1;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 14, 28, 0.72);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 840px;
}

.admin-table thead {
    background: rgba(255, 255, 255, 0.05);
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.92rem;
}

.admin-table tbody tr:hover {
    background: rgba(80, 130, 255, 0.08);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.badge-pending {
    background: rgba(255, 196, 0, 0.18);
    color: #ffecb3;
}

.badge-approved {
    background: rgba(76, 175, 80, 0.18);
    color: #b5f7c1;
}

.badge-rejected {
    background: rgba(239, 83, 80, 0.18);
    color: #ffbcbc;
}

.table-actions {
    display: flex;
    gap: 0.6rem;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.08);
    color: var(--admin-text);
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.action-btn.approve {
    border-color: rgba(76, 175, 80, 0.4);
    background: rgba(76, 175, 80, 0.15);
    color: #b5f7c1;
}

.action-btn.reject {
    border-color: rgba(239, 83, 80, 0.4);
    background: rgba(239, 83, 80, 0.15);
    color: #ffbcbc;
}

.action-btn.view {
    border-color: rgba(80, 130, 255, 0.4);
    background: rgba(80, 130, 255, 0.15);
    color: #c6d7ff;
}

.action-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.placeholder-card {
    padding: 3rem 2rem;
    border-radius: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    text-align: center;
    background: rgba(13, 18, 38, 0.65);
    color: var(--admin-muted);
}

.placeholder-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--admin-highlight);
}

.admin-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--admin-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
}

.admin-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.admin-modal {
    width: min(720px, 92%);
    background: var(--admin-panel-strong);
    border-radius: 18px;
    padding: 1.75rem;
    border: 1px solid var(--admin-border);
    position: relative;
    box-shadow: 0 25px 45px rgba(3, 6, 14, 0.55);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: var(--admin-text);
    cursor: pointer;
}

.modal-body {
    display: grid;
    gap: 1.25rem;
}

.proof-attachment {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.9rem;
    border-radius: 12px;
    background: rgba(13, 18, 38, 0.75);
}

.proof-attachment img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    max-height: 320px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.02);
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--admin-highlight);
    font-weight: 600;
    text-decoration: none;
}

.admin-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 2000;
}

.admin-toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.1rem;
    border-radius: 12px;
    background: rgba(12, 18, 40, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.85rem;
    color: var(--admin-text);
    box-shadow: 0 18px 36px rgba(5, 8, 18, 0.35);
    animation: toast-in 0.25s ease;
}

.admin-toast.success {
    border-color: rgba(76, 175, 80, 0.4);
}

.admin-toast.error {
    border-color: rgba(239, 83, 80, 0.4);
}

.admin-toast button {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    margin-left: auto;
}

@keyframes toast-in {
    from {
        transform: translateY(12px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.summary-card--active {
    border-color: rgba(80, 130, 255, 0.55);
    box-shadow: 0 28px 60px rgba(80, 130, 255, 0.42);
}

.summary-card--active .summary-progress__bar {
    background: linear-gradient(135deg, rgba(123, 91, 255, 0.95), rgba(38, 198, 218, 0.95));
}

.admin-experience {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.25rem;
}

.quick-actions {
    border-radius: 20px;
    border: 1px solid rgba(80, 130, 255, 0.28);
    background: linear-gradient(145deg, rgba(12, 18, 40, 0.82), rgba(10, 16, 34, 0.88));
    padding: 1.6rem;
    box-shadow: 0 24px 50px rgba(5, 8, 18, 0.55);
    display: grid;
    gap: 1.4rem;
}

.quick-actions header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.quick-actions header h3 {
    margin: 0;
    font-size: 1.15rem;
}

.quick-actions header p {
    margin: 0.35rem 0 0;
    color: rgba(199, 214, 255, 0.72);
}

.btn-tertiary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 0.55rem 1.1rem;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(208, 219, 255, 0.88);
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-tertiary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(80, 130, 255, 0.32);
}

.btn-tertiary kbd {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    padding: 0.15rem 0.45rem;
    background: rgba(255, 255, 255, 0.06);
}

.quick-actions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.quick-action {
    all: unset;
    display: flex;
    gap: 0.85rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(13, 18, 38, 0.72);
    padding: 1.05rem 1.1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.quick-action:hover {
    transform: translateY(-2px);
    border-color: rgba(80, 130, 255, 0.45);
    box-shadow: 0 20px 44px rgba(80, 130, 255, 0.32);
}

.quick-action i {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(208, 219, 255, 0.85);
}

.quick-action div strong {
    display: block;
    margin-bottom: 0.25rem;
}

.quick-action div span {
    color: rgba(199, 214, 255, 0.68);
    font-size: 0.85rem;
}

.live-feed {
    border-radius: 20px;
    border: 1px solid rgba(80, 130, 255, 0.28);
    background: linear-gradient(160deg, rgba(12, 18, 40, 0.82), rgba(12, 18, 32, 0.88));
    padding: 1.6rem;
    box-shadow: 0 24px 50px rgba(5, 8, 18, 0.55);
    display: grid;
    gap: 1.2rem;
}

.live-feed header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.live-feed header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.live-feed header p {
    margin: 0.3rem 0 0;
    color: rgba(199, 214, 255, 0.72);
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 117, 148, 0.9);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.live-indicator span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 117, 148, 0.9);
    box-shadow: 0 0 10px rgba(255, 117, 148, 0.8);
    animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(0.95); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
}

.live-feed__timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
    max-height: 380px;
    overflow-y: auto;
}

.live-feed__timeline li {
    position: relative;
    padding-left: 1.65rem;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(208, 219, 255, 0.85);
}

.live-feed__timeline li::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(80, 130, 255, 0.85);
    box-shadow: 0 0 12px rgba(80, 130, 255, 0.6);
}

.timeline-meta {
    display: block;
    font-size: 0.78rem;
    margin-top: 0.35rem;
    color: rgba(199, 214, 255, 0.6);
}

.timeline-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 12px;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    margin-bottom: 0.35rem;
}

.timeline-empty {
    border-left: none;
    padding-left: 0;
    color: rgba(199, 214, 255, 0.65);
    font-style: italic;
}

.command-palette {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 15, 0.75);
    backdrop-filter: blur(18px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.command-dialog {
    width: min(560px, 95%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(10, 14, 30, 0.92);
    box-shadow: 0 30px 60px rgba(2, 4, 12, 0.55);
    display: grid;
    gap: 0.85rem;
    padding: 1.2rem 1.3rem;
}

.command-dialog header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.command-dialog input {
    flex: 1;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: var(--admin-text);
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    font-size: 0.95rem;
}

.command-dialog input::placeholder {
    color: rgba(199, 214, 255, 0.6);
}

.command-dialog button {
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(208, 219, 255, 0.82);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
}

#commandList {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 280px;
    overflow-y: auto;
    display: grid;
    gap: 0.4rem;
}

#commandList li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    cursor: pointer;
    color: rgba(208, 219, 255, 0.85);
}

#commandList li.active,
#commandList li:hover {
    background: rgba(80, 130, 255, 0.2);
}

#commandList li span {
    font-size: 0.85rem;
}

.command-dialog footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: rgba(199, 214, 255, 0.6);
    letter-spacing: 0.12em;
}

@media (max-width: 1024px) {
    .admin-experience {
        grid-template-columns: 1fr;
    }
}
