/* ==============================================================================
   T.C. EMNİYET GENEL MÜDÜRLÜĞÜ - POMEM BAŞVURU PORTALI (KURUMSAL MODERN TEMA)
   ============================================================================== */

:root {
    --egm-slate-950: #070b14;
    --egm-slate-900: #0a0f1d;
    --egm-slate-850: #0e1628;
    --egm-slate-800: #131c31;
    --egm-slate-700: #1e293b;
    --egm-slate-600: #334155;
    
    --egm-blue-700: #1d4ed8;
    --egm-blue-600: #2563eb;
    --egm-blue-500: #3b82f6;
    --egm-blue-400: #60a5fa;
    
    --egm-red: #ef4444;
    --egm-green: #10b981;
    
    --egm-card-bg: rgba(14, 22, 40, 0.85);
    --egm-card-border: rgba(255, 255, 255, 0.08);
    --egm-card-hover-border: rgba(59, 130, 246, 0.35);
    
    --egm-text-primary: #f8fafc;
    --egm-text-secondary: #94a3b8;
    --egm-text-muted: #64748b;
}

* {
    box-sizing: border-box;
}

body.basvuru-body {
    background-color: var(--egm-slate-950);
    background-image: 
        radial-gradient(1000px circle at 50% 0%, rgba(30, 58, 138, 0.18) 0%, transparent 60%),
        radial-gradient(800px circle at 85% 90%, rgba(15, 23, 42, 0.4) 0%, transparent 60%);
    background-attachment: fixed;
    color: var(--egm-text-primary);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-size: 0.93rem;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==============================================================================
   NAVBAR & HEADER
   ============================================================================== */
.basvuru-navbar {
    background: rgba(10, 15, 29, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--egm-card-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.basvuru-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-crest-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    border: 1px solid rgba(96, 165, 250, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(30, 58, 138, 0.35);
    flex-shrink: 0;
}

.brand-crest-box img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.basvuru-brand-text h4 {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.basvuru-brand-text span {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: var(--egm-blue-400);
}

/* ==============================================================================
   KARTLAR & CONTAINER
   ============================================================================== */
.b-card {
    background: var(--egm-card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--egm-card-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: all 0.2s ease;
}

.b-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--egm-card-border);
    background: rgba(14, 22, 40, 0.5);
}

.b-card-body {
    padding: 24px;
}

/* ==============================================================================
   SORU KARTLARI (MODERN VE KURUMSAL)
   ============================================================================== */
.question-card {
    background: rgba(14, 22, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.question-card:hover {
    border-color: rgba(59, 130, 246, 0.25);
    background: rgba(14, 22, 40, 0.8);
}

.question-card:focus-within {
    border-color: rgba(59, 130, 246, 0.6);
    background: rgba(14, 22, 40, 0.95);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.3);
}

.question-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(30, 58, 138, 0.25);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: var(--egm-blue-400);
    font-weight: 700;
    font-size: 0.85rem;
    font-family: inherit;
    flex-shrink: 0;
}

.question-title {
    font-size: 0.94rem;
    font-weight: 600;
    color: #f1f5f9;
    line-height: 1.5;
}

.b-textarea, .b-input {
    width: 100%;
    background: rgba(7, 11, 20, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f8fafc !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    font-size: 0.91rem !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    resize: vertical;
    min-height: 85px;
}

.b-textarea:focus, .b-input:focus {
    outline: none !important;
    border-color: var(--egm-blue-500) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2) !important;
    background: rgba(7, 11, 20, 0.95) !important;
}

.b-textarea::placeholder, .b-input::placeholder {
    color: #64748b !important;
}

/* ==============================================================================
   EGM BUTONLARI (RESMİ POLİS MAVİSİ & ÇELİK)
   ============================================================================== */
.btn-egm-police {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: #ffffff !important;
    font-weight: 600;
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 10px;
    padding: 11px 26px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    transition: all 0.2s ease;
}

.btn-egm-police:hover {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #ffffff !important;
    border-color: rgba(147, 197, 253, 0.5);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

.btn-egm-outline-blue {
    background: rgba(30, 58, 138, 0.18);
    color: var(--egm-blue-400) !important;
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-egm-outline-blue:hover {
    background: rgba(30, 58, 138, 0.35);
    color: #ffffff !important;
    border-color: var(--egm-blue-400);
}

/* ==============================================================================
   DURUM ROZETLERİ
   ============================================================================== */
.badge-status-beklemede {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

.badge-status-onay {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

.badge-status-red {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

/* ==============================================================================
   TABLO & LİSTE (YÖNETİM MASASI)
   ============================================================================== */
.b-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.b-table th {
    background: transparent;
    color: var(--egm-text-secondary);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 12px 18px;
    border: none;
}

.b-table tbody tr {
    background: rgba(14, 22, 40, 0.6);
    border-radius: 10px;
    transition: background 0.15s ease;
}

.b-table tbody tr:hover {
    background: rgba(20, 31, 56, 0.85);
}

.b-table td {
    padding: 14px 18px;
    vertical-align: middle;
    color: var(--egm-text-primary);
    border: none;
}

.b-table td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.b-table td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* ==============================================================================
   RESPONSIVE DÜZEN
   ============================================================================== */
@media (max-width: 768px) {
    .basvuru-navbar {
        padding: 10px 16px;
    }
    .brand-crest-box {
        width: 34px;
        height: 34px;
    }
    .brand-crest-box img {
        width: 24px;
        height: 24px;
    }
    .basvuru-brand-text h4 {
        font-size: 0.85rem;
    }
    .basvuru-brand-text span {
        font-size: 0.65rem;
    }
    .b-card-body {
        padding: 18px;
    }
    .question-card {
        padding: 16px;
    }
}
