.whisper-admin-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(49, 214, 169, 0.28);
    background:
        radial-gradient(circle at 88% 8%, rgba(49, 214, 169, 0.12), transparent 30%),
        linear-gradient(145deg, rgba(9, 28, 48, 0.98), rgba(8, 20, 38, 0.98));
}

.whisper-admin-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(#31d6a9, #2ca4ff);
}

.whisper-admin-header,
.whisper-admin-actions,
.whisper-admin-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.whisper-admin-eyebrow {
    margin-bottom: 5px;
    color: #31d6a9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.whisper-admin-intro,
.whisper-admin-footer p {
    margin: 6px 0 0;
    color: #91a7c3;
    font-size: 13px;
}

.whisper-admin-chip {
    border: 1px solid rgba(49, 214, 169, 0.45);
    border-radius: 999px;
    padding: 7px 12px;
    color: #b7ffe9;
    background: rgba(49, 214, 169, 0.09);
    font-size: 12px;
    font-weight: 800;
}

.whisper-admin-gate {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.whisper-admin-gate > div {
    min-width: 0;
    border: 1px solid rgba(116, 152, 193, 0.18);
    border-radius: 12px;
    padding: 11px 12px;
    background: rgba(5, 17, 32, 0.62);
}

.whisper-admin-gate span,
.whisper-admin-slot-label {
    display: block;
    color: #748ca9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.whisper-admin-gate strong {
    display: block;
    margin-top: 5px;
    overflow: hidden;
    color: #e6f1ff;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.whisper-admin-slot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.whisper-admin-slot {
    border: 1px solid rgba(99, 133, 174, 0.22);
    border-radius: 15px;
    padding: 16px;
    background: rgba(8, 23, 42, 0.82);
}

.whisper-admin-slot.is-active {
    border-color: rgba(49, 214, 169, 0.56);
    box-shadow: inset 0 0 0 1px rgba(49, 214, 169, 0.1), 0 10px 32px rgba(0, 0, 0, 0.18);
}

.whisper-admin-slot.is-blocked {
    border-color: rgba(245, 164, 76, 0.34);
}

.whisper-admin-slot-head,
.whisper-admin-slot-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.whisper-admin-slot h3 {
    margin: 4px 0 0;
    color: #f2f7ff;
    font-size: 18px;
}

.whisper-admin-state {
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.whisper-admin-state.ready { color: #93f8d8; background: rgba(49, 214, 169, 0.13); }
.whisper-admin-state.blocked { color: #ffd09d; background: rgba(245, 164, 76, 0.13); }
.whisper-admin-state.active { color: #b9ddff; background: rgba(44, 164, 255, 0.15); }

.whisper-admin-slot-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 14px 0;
}

.whisper-admin-slot-meta div {
    min-width: 0;
    border-radius: 9px;
    padding: 9px;
    background: rgba(2, 11, 23, 0.52);
}

.whisper-admin-slot-meta strong {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    color: #cbd9ea;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.whisper-admin-slot-errors {
    min-height: 38px;
    margin: 0 0 13px;
    color: #f3b77b;
    font-size: 12px;
    line-height: 1.45;
}

.whisper-admin-slot-actions { justify-content: flex-end; }

.whisper-admin-panel .btn:disabled {
    cursor: not-allowed;
    opacity: 0.38;
    filter: grayscale(0.7) saturate(0.35);
    box-shadow: none;
}

.whisper-admin-footer {
    margin-top: 16px;
    border-top: 1px solid rgba(116, 152, 193, 0.16);
    padding-top: 14px;
}

.whisper-admin-footer strong,
.whisper-admin-audit-title { color: #dce9f8; font-size: 13px; }

.whisper-admin-audit {
    margin-top: 15px;
    border-radius: 12px;
    padding: 12px;
    background: rgba(3, 13, 27, 0.52);
}

.whisper-admin-audit-list { margin-top: 8px; color: #8197b2; font-size: 12px; }
.whisper-admin-audit-item { padding: 6px 0; border-top: 1px solid rgba(116, 152, 193, 0.1); }
.whisper-admin-audit-item:first-child { border-top: 0; }

@media (max-width: 900px) {
    .whisper-admin-gate,
    .whisper-admin-slot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .whisper-admin-header,
    .whisper-admin-actions,
    .whisper-admin-footer { align-items: stretch; flex-direction: column; }
    .whisper-admin-gate,
    .whisper-admin-slot-grid { grid-template-columns: 1fr; }
    .whisper-admin-actions .btn,
    .whisper-admin-footer .btn { width: 100%; }
}
