/* ==========================================================================
   SÜPER ADMİN - FULL DARK MODE DASHBOARD
   ========================================================================== */
body {
    background-color: #020617; /* Kapkaranlık arka plan */
    background-image: radial-gradient(circle at 50% 0%, #1e1b4b 0%, #020617 50%);
    color: #e2e8f0;
}

/* Genel Başlıklar */
.super-header { margin-bottom: 30px; border-bottom: 1px solid #1e293b; padding-bottom: 15px; display: flex; justify-content: space-between; align-items: center; }
.super-title { margin: 0 0 5px 0; font-size: 1.8rem; color: #f8fafc; font-weight: 900; letter-spacing: -0.5px; }
.super-subtitle { margin: 0; color: #94a3b8; font-size: 0.95rem; font-weight: 500; }

/* Dashboard İstatistik Kartları */
.super-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 35px; }

.super-stat-card { background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(10px); padding: 25px; border-radius: 16px; border: 1px solid #1e293b; display: flex; align-items: center; gap: 20px; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.3); transition: transform 0.3s ease; position: relative; overflow: hidden; }
.super-stat-card:hover { transform: translateY(-5px); border-color: #334155; }
.super-stat-card::before { content: ''; position: absolute; top: 0; left: 0; width: 5px; height: 100%; border-radius: 16px 0 0 16px; }

.card-institutions::before { background: #8b5cf6; } 
.card-users::before { background: #3b82f6; } 
.card-revenue::before { background: #10b981; } 
.card-alerts::before { background: #f43f5e; } 

.super-stat-icon { width: 65px; height: 65px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; flex-shrink: 0; background: rgba(255,255,255,0.05); }
.bg-purple-light { color: #a78bfa; }
.bg-blue-light { color: #60a5fa; }
.bg-green-light { color: #34d399; }
.bg-red-light { color: #fb7185; }

.super-stat-info { display: flex; flex-direction: column; }
.super-stat-label { font-size: 0.8rem; color: #94a3b8; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.super-stat-value { font-size: 2.5rem; font-weight: 900; color: #f8fafc; line-height: 1; }

/* Panel ve Tablo */
.super-panel { background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(10px); border: 1px solid #1e293b; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.3); }
.super-panel-header { padding: 20px 25px; border-bottom: 1px solid #1e293b; background: rgba(0,0,0,0.2); display: flex; justify-content: space-between; align-items: center; }
.super-panel-title { margin: 0; font-size: 1.2rem; font-weight: 800; color: #f8fafc; display: flex; align-items: center; gap: 10px; }

.super-table { width: 100%; border-collapse: collapse; text-align: left; }
.super-table th { background: rgba(0,0,0,0.2); color: #94a3b8; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; padding: 15px 25px; border-bottom: 2px solid #1e293b; letter-spacing: 0.5px; }
.super-table td { padding: 18px 25px; border-bottom: 1px solid #1e293b; vertical-align: middle; color: #cbd5e1; font-size: 0.95rem; font-weight: 500; }
.super-table tr:hover { background-color: rgba(255,255,255,0.02); }

/* Formlar ve Inputlar */
.modern-input { background: #0f172a; border: 1px solid #334155; border-radius: 10px; padding: 12px 15px; font-size: 0.95rem; color: #f8fafc; outline: none; transition: 0.3s; width: 100%; box-sizing: border-box; }
.modern-input:focus { border-color: #8b5cf6; box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15); }
.form-group label { color: #cbd5e1; font-weight: 700; margin-bottom: 8px; display: block; font-size: 0.85rem; }

/* Butonlar */
.btn-super-action { background: transparent; border: 1px solid #334155; color: #cbd5e1; padding: 8px 16px; border-radius: 8px; font-size: 0.85rem; font-weight: 700; cursor: pointer; transition: 0.2s; }
.btn-super-action:hover { background: #1e293b; color: #f8fafc; border-color: #475569; }
.btn-super-primary { background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; border: none; padding: 10px 20px; border-radius: 10px; font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: 0.2s; box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3); display: inline-flex; align-items: center; gap: 8px; }
.btn-super-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(139, 92, 246, 0.4); }

/* Durum Rozetleri */
.badge-active { background: rgba(16, 185, 129, 0.1); color: #34d399; padding: 6px 12px; border-radius: 8px; font-size: 0.85rem; font-weight: 700; border: 1px solid rgba(16, 185, 129, 0.2); display: inline-block; }
.badge-suspended { background: rgba(244, 63, 94, 0.1); color: #fb7185; padding: 6px 12px; border-radius: 8px; font-size: 0.85rem; font-weight: 700; border: 1px solid rgba(244, 63, 94, 0.2); display: inline-block; }
.badge-trial { background: rgba(245, 158, 11, 0.1); color: #fbbf24; padding: 6px 12px; border-radius: 8px; font-size: 0.85rem; font-weight: 700; border: 1px solid rgba(245, 158, 11, 0.2); display: inline-block; }

/* Modal Özelleştirmeleri (Karanlık) */
.custom-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(2, 6, 23, 0.8); z-index: 999; display: none; align-items: center; justify-content: center; backdrop-filter: blur(5px); opacity: 0; transition: 0.3s; }
.custom-modal-overlay.active { display: flex; opacity: 1; }
.custom-modal-box { background: #0f172a; border: 1px solid #1e293b; border-radius: 20px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.7); width: 90%; max-width: 600px; transform: translateY(20px); transition: 0.3s; display: flex; flex-direction: column; max-height: 85vh; }
.custom-modal-overlay.active .custom-modal-box { transform: translateY(0); }
.modal-header { padding: 25px; border-bottom: 1px solid #1e293b; background: rgba(0,0,0,0.2); display: flex; justify-content: space-between; align-items: center; }
.modal-body-scroll { padding: 25px; overflow-y: auto; flex: 1; }
.modal-footer { padding: 20px 25px; border-top: 1px solid #1e293b; background: rgba(0,0,0,0.2); display: flex; justify-content: flex-end; gap: 10px; }
.close-btn { background: none; border: none; font-size: 1.5rem; color: #64748b; cursor: pointer; transition: 0.2s; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.close-btn:hover { background: rgba(255,255,255,0.05); color: #f8fafc; }
/* ==========================================================================
   SUPERADMIN EK YÖNETİM EKRANLARI: LOG, FORM, BAKIM MODU
   ========================================================================== */
.super-toolbar-wrap { gap: 16px; flex-wrap: wrap; }
.super-muted-text { margin: 6px 0 0; color: #64748b; font-size: .85rem; font-weight: 700; }
.super-toolbar-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.super-search-input { min-width: 260px; }
.super-select-input { min-width: 170px; }
.super-tabs { display: flex; gap: 8px; padding: 14px 18px; border-bottom: 1px solid #1e293b; overflow-x: auto; background: rgba(2, 6, 23, .28); }
.super-tab-btn { border: 1px solid #334155; background: #0f172a; color: #94a3b8; padding: 10px 12px; border-radius: 12px; font-weight: 900; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.super-tab-btn span { background: rgba(148, 163, 184, .14); color: #cbd5e1; padding: 2px 7px; border-radius: 999px; font-size: .72rem; }
.super-tab-btn.active { background: rgba(139, 92, 246, .18); border-color: #8b5cf6; color: #f8fafc; }
.super-pagination, .pagination-container { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 18px; border-top: 1px solid #1e293b; flex-wrap: wrap; }
.page-btn { background: #1e293b; color: #94a3b8; border: 1px solid #334155; padding: 8px 14px; border-radius: 8px; cursor: pointer; font-weight: 800; }
.page-btn.active { background: #8b5cf6; color: white; border-color: #8b5cf6; }
.page-btn:disabled { opacity: .5; cursor: not-allowed; }
.page-info { color: #64748b; font-size: .85rem; font-weight: 800; }
.super-pill { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: rgba(96,165,250,.12); color: #93c5fd; border: 1px solid rgba(96,165,250,.22); font-size: .78rem; font-weight: 900; }
.super-status { display: inline-flex; padding: 6px 10px; border-radius: 999px; font-size: .78rem; font-weight: 900; border: 1px solid transparent; }
.super-status.success { background: rgba(16,185,129,.12); color: #34d399; border-color: rgba(16,185,129,.26); }
.super-status.warning { background: rgba(245,158,11,.12); color: #fbbf24; border-color: rgba(245,158,11,.26); }
.super-status.danger { background: rgba(239,68,68,.12); color: #fb7185; border-color: rgba(239,68,68,.26); }
.super-status.neutral { background: rgba(148,163,184,.12); color: #cbd5e1; border-color: rgba(148,163,184,.22); }
.super-wide-modal { max-width: 980px; }
.super-json-viewer { margin: 0; white-space: pre-wrap; word-break: break-word; background: #020617; color: #c4b5fd; border: 1px solid #1e293b; border-radius: 14px; padding: 18px; font-size: .86rem; line-height: 1.55; }
.super-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.super-select-panel { background: rgba(2,6,23,.45); border: 1px solid #1e293b; border-radius: 16px; padding: 16px; margin-bottom: 18px; }
.super-panel-mini-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; color: #f8fafc; }
.super-checkbox-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; max-height: 260px; overflow: auto; }
.super-checkbox-item { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid #1e293b; background: rgba(15,23,42,.72); border-radius: 12px; cursor: pointer; }
.super-checkbox-item input { margin-top: 4px; }
.super-checkbox-item strong { display: block; color: #f8fafc; }
.super-checkbox-item small { display: block; color: #64748b; margin-top: 3px; }
.super-question-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.question-row { display: grid; grid-template-columns: 42px 1fr 180px 46px; gap: 10px; align-items: center; }
.question-number { width: 36px; height: 36px; border-radius: 10px; background: rgba(139,92,246,.18); color: #c4b5fd; display: flex; align-items: center; justify-content: center; font-weight: 900; }
.super-empty-box { padding: 35px; text-align: center; color: #64748b; border: 1px dashed #334155; border-radius: 14px; }
.super-response-card { border: 1px solid #1e293b; background: rgba(15,23,42,.72); border-radius: 14px; padding: 16px; margin-bottom: 14px; }
.super-response-head { display: flex; justify-content: space-between; gap: 12px; color: #f8fafc; margin-bottom: 10px; }
.super-response-head span { color: #94a3b8; font-size: .85rem; }
.super-response-card pre { white-space: pre-wrap; word-break: break-word; background: #020617; border-radius: 12px; padding: 14px; color: #cbd5e1; }
.maintenance-badge-super { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 10px 14px; font-weight: 900; border: 1px solid #334155; color: #cbd5e1; background: rgba(15,23,42,.72); }
.maintenance-badge-super.active { color: #fecdd3; border-color: rgba(244,63,94,.38); background: rgba(244,63,94,.14); }
.maintenance-badge-super.passive { color: #a7f3d0; border-color: rgba(16,185,129,.35); background: rgba(16,185,129,.12); }
.maintenance-switch-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid #1e293b; border-radius: 18px; padding: 20px; margin-bottom: 18px; background: rgba(15,23,42,.7); }
.maintenance-switch-card.active { border-color: rgba(244,63,94,.4); background: rgba(244,63,94,.08); }
.maintenance-switch-card strong { color: #f8fafc; font-size: 1.1rem; }
.maintenance-switch-card p { margin: 6px 0 0; color: #94a3b8; }
.super-switch { position: relative; width: 72px; height: 38px; flex-shrink: 0; }
.super-switch input { display: none; }
.super-switch span { position: absolute; inset: 0; background: #334155; border-radius: 999px; cursor: pointer; transition: .2s; }
.super-switch span::after { content: ''; position: absolute; width: 30px; height: 30px; left: 4px; top: 4px; border-radius: 50%; background: white; transition: .2s; }
.super-switch input:checked + span { background: #ef4444; }
.super-switch input:checked + span::after { transform: translateX(34px); }
.text-right { text-align: right; }
@media (max-width: 760px) { .super-form-grid, .question-row { grid-template-columns: 1fr; } .super-toolbar-actions { width: 100%; } .super-search-input, .super-select-input { width: 100%; } }
