/* =============================================================================
   ADMIN DASHBOARD STYLES (v5.4)
   ============================================================================= */

/* --- TABS --- */
.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    overflow-x: auto;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.tab-btn.active {
    background: var(--primary-color, #3b82f6);
    border-color: var(--primary-color, #3b82f6);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.admin-tab-content {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- TECHNICAL BIBLE VIEWER --- */
.technical-bible-wrapper {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    max-height: 70vh;
    overflow-y: auto;
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    line-height: 1.6;
}

/* Typography in Bible */
.technical-bible-wrapper h1 {
    font-size: 1.8rem;
    color: #fff;
    border-bottom: 2px solid var(--primary-color, #3b82f6);
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 20px;
}

.technical-bible-wrapper h2 {
    font-size: 1.4rem;
    color: #eee;
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 5px;
}

.technical-bible-wrapper h3 {
    font-size: 1.1rem;
    color: #bbb;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 600;
}

.technical-bible-wrapper p {
    margin-bottom: 15px;
}

/* Tables in Bible */
.table-responsive {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.bible-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: rgba(17, 24, 39, 0.6);
}

.bible-table th, .bible-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.bible-table th {
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

.bible-table tr:hover {
    background: rgba(255,255,255,0.02);
}

/* Code Blocks */
.code-block {
    background: #0d1117;
    padding: 15px;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    overflow-x: auto;
    border: 1px solid #30363d;
    margin: 15px 0;
    color: #c9d1d9;
}

.inline-code {
    background: rgba(110, 118, 129, 0.4);
    padding: 2px 5px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85em;
    color: #e6edf3;
}

/* Admin Crown for SuperUser */
.admin-crown {
    font-size: 1.2em;
    vertical-align: middle;
    margin-right: 5px;
}
