/* Futuristic Admin Layer */

.admin-panel {
    min-height: 100vh;
    background: radial-gradient(circle at 85% 15%, rgba(255, 0, 255, 0.08), transparent 30%),
        radial-gradient(circle at 20% 0%, rgba(0, 212, 255, 0.12), transparent 42%),
        #05070f;
}

.admin-container {
    position: relative;
    z-index: 5;
}

.admin-command-bar {
    margin-bottom: 18px;
    border: 1px solid rgba(0, 212, 255, 0.22);
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.14), rgba(0, 136, 255, 0.04));
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-family: 'JetBrains Mono', monospace;
}

.admin-command-bar span {
    color: var(--neon-cyan);
    letter-spacing: 0.08em;
    font-weight: 700;
    font-size: 0.85rem;
}

.admin-command-bar small {
    color: var(--text-secondary);
    font-size: .75rem;
}

.admin-header {
    border-bottom: 1px solid rgba(0, 212, 255, 0.22) !important;
}

.admin-title {
    color: #d6f4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.admin-btn {
    border: 1px solid rgba(0, 212, 255, 0.25) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}

.admin-btn.secondary {
    background: rgba(12, 18, 28, 0.85) !important;
}

.admin-content {
    align-items: start;
}

.admin-sidebar {
    background: rgba(8, 12, 20, 0.9) !important;
    border: 1px solid rgba(0, 212, 255, 0.22) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .3);
}

.admin-sidebar a {
    border-left: 3px solid transparent;
    font-family: 'JetBrains Mono', monospace;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    border-left-color: var(--neon-cyan);
    background: rgba(0, 212, 255, 0.08) !important;
    color: #d8f7ff !important;
}

.admin-main,
.dashboard-card,
.category-card,
.modal-content,
.loading-content,
.ai-generate-section,
.stat-card {
    background: rgba(11, 16, 27, 0.9) !important;
    border: 1px solid rgba(0, 212, 255, 0.18) !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .3);
}

.ai-generate-section {
    border-color: rgba(255, 0, 255, 0.35) !important;
}

.form-input,
.form-textarea,
.form-select,
#status,
#published_at,
#categoryName,
#categorySlug {
    background: rgba(9, 12, 20, .92) !important;
    border: 1px solid rgba(0, 212, 255, 0.2) !important;
    color: #e6f8ff !important;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus,
#status:focus,
#published_at:focus,
#categoryName:focus,
#categorySlug:focus {
    border-color: var(--neon-cyan) !important;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.14);
}

.articles-table th {
    background: rgba(0, 212, 255, 0.08) !important;
    color: #d8f7ff;
}

.articles-table td {
    border-bottom-color: rgba(255, 255, 255, .08) !important;
}

.status-badge {
    border: 1px solid rgba(255, 255, 255, .12);
}

.status-published {
    background: rgba(0, 255, 136, .16) !important;
    color: #81ffd2 !important;
}

.status-draft {
    background: rgba(255, 165, 2, .15) !important;
    color: #ffcc8e !important;
}

.btn-small {
    border: 1px solid rgba(255, 255, 255, .08) !important;
}

.btn-edit {
    background: rgba(0, 212, 255, .14) !important;
    color: #aff0ff !important;
}

.btn-delete {
    background: rgba(255, 0, 85, .18) !important;
    color: #ffb3ca !important;
}

.category-stat-item,
.recent-article-item {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 900px) {
    .admin-command-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}
