:root {
    --navy: #1B3A6B;
    --navy-dark: #122849;
    --navy-light: #2A4F8F;
    --green: #2E8B3A;
    --green-light: #3AAD48;
    --gold: #E8920A;
    --sky: #4A7DB5;
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-500: #64748B;
    --gray-700: #334155;
    --gray-900: #0F172A;
    --sidebar-w: 250px;
    --header-h: 68px;
    --radius: 10px;
    --shadow-sm: 0 1px 3px rgba(27,58,107,0.08);
    --shadow-md: 0 4px 16px rgba(27,58,107,0.12);
    --shadow-lg: 0 10px 40px rgba(27,58,107,0.18);
    --font: 'Plus Jakarta Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font);
    background: var(--gray-50);
    color: var(--gray-900);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

/* ── HEADER ── */
.site-header {
    height: var(--header-h);
    background: var(--white);
    border-bottom: 2px solid var(--navy);
    display: flex;
    align-items: center;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    gap: 14px;
    box-shadow: var(--shadow-sm);
}

.header-logo img { height: 46px; width: auto; }
.header-divider { width: 1px; height: 30px; background: var(--gray-200); flex-shrink: 0; }

.header-title { flex: 1; }
.header-title h1 { font-size: 14px; font-weight: 700; color: var(--navy); margin: 0; }
.header-title p { font-size: 11px; color: var(--gray-500); margin: 0; }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.header-social { display: flex; gap: 6px; align-items: center; }
.header-social a {
    width: 30px; height: 30px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gray-100); color: var(--navy); font-size: 13px;
    text-decoration: none; transition: all .2s;
}
.header-social a:hover { background: var(--navy); color: white; }

.header-user { display: flex; align-items: center; gap: 10px; }
.user-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--navy); color: white;
    display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.user-name { display: block; font-size: 13px; font-weight: 700; color: var(--gray-900); }
.user-role { display: block; font-size: 10px; color: var(--gray-500); }
.logout-btn {
    background: var(--gray-100); border: none; color: var(--navy);
    width: 34px; height: 34px; border-radius: 7px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.logout-btn:hover { background: #fee2e2; color: #dc2626; }

.sidebar-toggle {
    display: none; background: none; border: none; color: var(--navy);
    font-size: 18px; cursor: pointer; padding: 4px 6px; border-radius: 6px;
}
.sidebar-toggle:hover { background: var(--gray-100); }

/* ── LAYOUT ── */
.page-body { display: flex; flex: 1; }

/* ── SIDEBAR ── */
.sidebar {
    width: var(--sidebar-w);
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    position: sticky;
    top: var(--header-h);
    height: calc(100vh - var(--header-h));
    overflow-y: auto;
    flex-shrink: 0;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 2px; }

.sidebar-inner { padding: 12px 8px; }

.menu-section {
    font-size: 10px; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--gray-500);
    padding: 14px 10px 4px;
}
.menu-divider { height: 1px; background: var(--gray-100); margin: 6px 8px; }

.menu-link {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 10px; color: var(--gray-700); text-decoration: none;
    border-radius: 7px; font-size: 13px; font-weight: 500;
    transition: all .15s; cursor: pointer; border: none;
    background: none; width: 100%; text-align: left; margin-bottom: 1px;
}
.menu-link:hover { background: rgba(27,58,107,.06); color: var(--navy); }
.menu-link.active { background: var(--navy); color: white; }
.menu-link.active .menu-icon { color: rgba(255,255,255,.85); }

.menu-icon {
    width: 20px; height: 20px; display: flex; align-items: center;
    justify-content: center; font-size: 13px; color: var(--gray-500);
}
.menu-link:hover .menu-icon, .menu-link.active .menu-icon { color: inherit; }

/* ── MAIN CONTENT ── */
.main-content { flex: 1; padding: 28px 32px; min-width: 0; }
.main-content.no-sidebar { padding: 0; }

/* ── FOOTER ── */
.site-footer {
    background: var(--navy-dark); color: rgba(255,255,255,.6);
    text-align: center; padding: 12px; font-size: 12px;
}
.site-footer strong { color: var(--gold); }

/* ── SIDEBAR OVERLAY ── */
.sidebar-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(15,23,42,.45); z-index: 1040;
}
.sidebar-overlay.show { display: block; }

/* ── PAGE HEADER ── */
.page-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px; padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}
.page-title { font-size: 20px; font-weight: 800; color: var(--navy-dark); margin: 0; }
.page-subtitle { font-size: 12px; color: var(--gray-500); margin: 2px 0 0; }

/* ── KPI CARDS ── */
.kpi-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 24px; }
@media(max-width:900px) { .kpi-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:500px) { .kpi-grid { grid-template-columns: 1fr; } }

.kpi-card {
    background: white; border-radius: var(--radius); padding: 20px;
    border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm);
    display: flex; align-items: flex-start; gap: 14px; transition: all .2s;
}
.kpi-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.kpi-icon {
    width: 44px; height: 44px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
}
.kpi-icon.navy { background: rgba(27,58,107,.1); color: var(--navy); }
.kpi-icon.green { background: rgba(46,139,58,.1); color: var(--green); }
.kpi-icon.gold { background: rgba(232,146,10,.1); color: var(--gold); }
.kpi-icon.sky { background: rgba(74,125,181,.1); color: var(--sky); }
.kpi-val { font-size: 26px; font-weight: 800; color: var(--gray-900); line-height: 1; letter-spacing: -1px; }
.kpi-lbl { font-size: 12px; color: var(--gray-500); font-weight: 500; margin-top: 3px; }
.kpi-sub { font-size: 11px; color: var(--green); font-weight: 600; margin-top: 6px; }

/* ── PANEL ── */
.panel {
    background: white; border-radius: var(--radius);
    border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm);
    overflow: hidden; margin-bottom: 20px;
}
.panel-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid var(--gray-100);
}
.panel-title { font-size: 14px; font-weight: 700; color: var(--gray-900); margin: 0; }
.panel-body { padding: 20px; }

.panel-accent-navy { border-left: 3px solid var(--navy); }
.panel-accent-green { border-left: 3px solid var(--green); }
.panel-accent-gold { border-left: 3px solid var(--gold); }

/* ── TABLE ── */
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th {
    background: var(--gray-50); color: var(--gray-500);
    font-weight: 600; font-size: 11px; text-transform: uppercase;
    letter-spacing: .05em; padding: 10px 14px; text-align: left;
    border-bottom: 1px solid var(--gray-200);
}
.data-table td {
    padding: 10px 14px; border-bottom: 1px solid var(--gray-100); color: var(--gray-700);
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: var(--gray-50); }

/* ── FORM ── */
.form-group { margin-bottom: 16px; }
.form-label { font-size: 12px; font-weight: 600; color: var(--gray-700); display: block; margin-bottom: 6px; }
.form-control {
    border: 1.5px solid var(--gray-200); border-radius: 8px;
    padding: .65rem 1rem; font-size: 13px; width: 100%;
    font-family: var(--font); transition: border-color .2s; background: white;
}
.form-control:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(27,58,107,.1); }
.form-select {
    border: 1.5px solid var(--gray-200); border-radius: 8px;
    padding: .65rem 1rem; font-size: 13px; width: 100%; font-family: var(--font);
}

/* ── BUTTONS ── */
.btn-navy {
    background: var(--navy); color: white; border: none;
    padding: 10px 20px; border-radius: 8px; font-size: 13px;
    font-weight: 600; cursor: pointer; transition: all .2s;
    font-family: var(--font); display: inline-flex; align-items: center; gap: 6px;
}
.btn-navy:hover { background: var(--navy-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-green {
    background: var(--green); color: white; border: none;
    padding: 10px 20px; border-radius: 8px; font-size: 13px;
    font-weight: 600; cursor: pointer; transition: all .2s; font-family: var(--font);
    display: inline-flex; align-items: center; gap: 6px;
}
.btn-green:hover { background: var(--green-light); }

.btn-outline {
    background: transparent; color: var(--navy);
    border: 1.5px solid var(--navy); padding: 9px 20px;
    border-radius: 8px; font-size: 13px; font-weight: 600;
    cursor: pointer; transition: all .2s; font-family: var(--font);
    display: inline-flex; align-items: center; gap: 6px;
}
.btn-outline:hover { background: var(--navy); color: white; }

.btn-danger {
    background: #dc2626; color: white; border: none;
    padding: 8px 16px; border-radius: 7px; font-size: 12px;
    font-weight: 600; cursor: pointer; transition: all .2s; font-family: var(--font);
}
.btn-danger:hover { background: #b91c1c; }

.btn-sm { padding: 6px 12px !important; font-size: 12px !important; }

/* ── BADGE / TAG ── */
.tag {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px;
}
.tag-navy { background: rgba(27,58,107,.08); color: var(--navy); }
.tag-green { background: rgba(46,139,58,.08); color: var(--green); }
.tag-gold { background: rgba(232,146,10,.08); color: var(--gold); }
.tag-sky { background: rgba(74,125,181,.08); color: var(--sky); }
.tag-red { background: rgba(220,38,38,.08); color: #dc2626; }
.tag-gray { background: var(--gray-100); color: var(--gray-500); }

/* ── ALERT ── */
.alert {
    padding: 12px 16px; border-radius: 8px; font-size: 13px;
    display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.alert-success { background: rgba(46,139,58,.08); color: var(--green); border: 1px solid rgba(46,139,58,.2); }
.alert-danger { background: rgba(220,38,38,.08); color: #dc2626; border: 1px solid rgba(220,38,38,.2); }
.alert-info { background: rgba(74,125,181,.08); color: var(--sky); border: 1px solid rgba(74,125,181,.2); }
.alert-warning { background: rgba(232,146,10,.08); color: var(--gold); border: 1px solid rgba(232,146,10,.2); }

/* ── HERO BANNER ── */
.hero-banner {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 60%, var(--sky) 100%);
    border-radius: 14px; padding: 32px 36px; color: white;
    margin-bottom: 28px; position: relative; overflow: hidden;
}
.hero-banner::before {
    content: ''; position: absolute; top: -40px; right: -40px;
    width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.05);
}
.hero-title { font-size: 22px; font-weight: 800; margin: 0 0 6px; letter-spacing: -.5px; }
.hero-sub { font-size: 13px; opacity: .75; margin: 0; }
.hero-year {
    font-size: 11px; font-weight: 700; background: rgba(232,146,10,.25);
    color: #F5A623; padding: 3px 10px; border-radius: 20px; display: inline-block; margin-top: 10px;
}

/* ── TWO COL GRID ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
@media(max-width:768px) { .two-col { grid-template-columns: 1fr; } }

/* ── PROGRESS BAR ── */
.progress-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.progress-bar-label { font-size: 12px; color: var(--gray-700); font-weight: 500; min-width: 140px; }
.progress-bar-track { flex: 1; height: 7px; background: var(--gray-100); border-radius: 4px; overflow: hidden; }
.progress-bar-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--navy-light), var(--sky)); transition: width .6s ease; }
.progress-bar-value { font-size: 12px; font-weight: 700; color: var(--gray-700); min-width: 50px; text-align: right; }

/* ── SEARCH BAR ── */
.search-row { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.search-input {
    flex: 1; min-width: 200px; padding: 9px 14px 9px 36px;
    border: 1.5px solid var(--gray-200); border-radius: 8px; font-size: 13px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") no-repeat 10px center;
    font-family: var(--font);
}
.search-input:focus { border-color: var(--navy); outline: none; }

/* ── CHART TYPE BTN ── */
.chart-type-btn {
    font-size: 11px; font-weight: 600; padding: 4px 10px;
    border-radius: 5px; border: 1px solid var(--gray-200);
    background: white; color: var(--gray-500); cursor: pointer; transition: all .15s;
}
.chart-type-btn.active { background: var(--navy); color: white; border-color: var(--navy); }

/* ── DUYURU CARD ── */
.duyuru-card {
    background: white; border-radius: var(--radius);
    border-left: 4px solid var(--navy); padding: 16px 18px;
    margin-bottom: 12px; box-shadow: var(--shadow-sm); transition: all .2s;
}
.duyuru-card:hover { box-shadow: var(--shadow-md); }
.duyuru-card.important { border-left-color: #dc2626; }
.duyuru-card.new { border-left-color: var(--green); }
.duyuru-title { font-size: 14px; font-weight: 700; color: var(--navy-dark); margin-bottom: 6px; }
.duyuru-body { font-size: 13px; color: var(--gray-700); line-height: 1.6; }
.duyuru-meta { font-size: 11px; color: var(--gray-500); margin-top: 8px; display: flex; gap: 12px; }

/* ── LOADING ── */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner { width: 20px; height: 20px; border: 2px solid var(--gray-200); border-top-color: var(--navy); border-radius: 50%; animation: spin .6s linear infinite; }

/* ── RESPONSIVE ── */
@media(max-width:1024px) {
    .sidebar-toggle { display: flex; }
    .sidebar { position: fixed; top: 0; left: -280px; height: 100vh; z-index: 1050; transition: left .28s ease; }
    .sidebar.open { left: 0; box-shadow: var(--shadow-lg); }
    .main-content { padding: 20px 16px; }
}
@media(max-width:640px) { .main-content { padding: 16px 12px; } }

/* ── NOTIFICATION BELL (from old project) ── */
.notification-container { position: fixed; top: 16px; right: 16px; z-index: 1001; }
.notification-btn {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border: none; border-radius: 50%; width: 54px; height: 54px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.3rem; cursor: pointer;
    box-shadow: 0 4px 15px rgba(27,58,107,.3); transition: all .3s;
}
.notification-btn:hover { transform: translateY(-2px) scale(1.05); }
.notification-counter {
    position: absolute; top: -4px; right: -4px; background: #dc2626;
    color: white; border-radius: 50%; width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: bold;
}

/* ── MODAL DUYURU (from old project style) ── */
.modal-duyuru { display: none; position: fixed; inset: 0; z-index: 2000; }
.modal-duyuru.show { display: flex; align-items: center; justify-content: center; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); }
.modal-box {
    position: relative; background: white; border-radius: 16px;
    width: 95%; max-width: 640px; max-height: 80vh;
    overflow: hidden; display: flex; flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,.3); z-index: 1;
}
.modal-head {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-light));
    color: white; padding: 20px 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.modal-head-title { font-size: 18px; font-weight: 700; }
.modal-close-btn {
    background: rgba(255,255,255,.2); border: none; color: white;
    width: 34px; height: 34px; border-radius: 8px; cursor: pointer;
    font-size: 18px; display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.modal-close-btn:hover { background: rgba(255,255,255,.3); }
.modal-body-scroll { flex: 1; overflow-y: auto; padding: 20px; background: var(--gray-50); }
.modal-foot { padding: 16px 24px; background: white; border-top: 1px solid var(--gray-100); display: flex; justify-content: flex-end; }


/* ===== PAGE-SPECIFIC STYLES (moved from inline) ===== */


/* --- Index.cshtml --- */
.public-page .main-content.no-sidebar { padding: 0; }
.stat-hero {
    background: linear-gradient(135deg, #122849 0%, #1B3A6B 50%, #2A4F8F 100%);
    padding: 48px 40px 40px;
    color: white;
    position: relative;
    overflow: hidden;
}
.stat-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: rgba(46,139,58,.15);
}
.stat-hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: 40%;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(232,146,10,.1);
}
.stat-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.stat-hero-logo { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.stat-hero-logo img { height: 60px; filter: brightness(0) invert(1); }
.stat-hero-logo-text h1 { font-size: 22px; font-weight: 800; margin: 0; }
.stat-hero-logo-text p { font-size: 13px; opacity: .75; margin: 0; }
.stat-hero-tagline { font-size: 14px; opacity: .7; margin-bottom: 28px; }
.stat-numbers { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media(max-width:900px) { .stat-numbers { grid-template-columns: repeat(2,1fr); } }
@media(max-width:500px) { .stat-numbers { grid-template-columns: 1fr 1fr; } }
.stat-num-card {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px; padding: 18px 16px;
    backdrop-filter: blur(10px);
    transition: all .2s;
}
.stat-num-card:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.stat-num-val { font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -1px; }
.stat-num-lbl { font-size: 12px; opacity: .75; font-weight: 500; margin-top: 4px; }

.content-area { max-width: 1200px; margin: 0 auto; padding: 32px 24px; }

.section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px; padding-bottom: 12px;
    border-bottom: 2px solid var(--navy);
}
.section-header h2 { font-size: 16px; font-weight: 700; color: var(--navy-dark); margin: 0; }
.section-header span { font-size: 20px; font-weight: 800; color: var(--navy); }

.chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
@media(max-width:768px) { .chart-grid { grid-template-columns: 1fr; } }
.chart-card {
    background: white; border-radius: var(--radius);
    border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm);
    padding: 20px;
}
.chart-card-title { font-size: 13px; font-weight: 700; color: var(--gray-700); margin-bottom: 4px; }
.chart-card-sub { font-size: 11px; color: var(--gray-500); margin-bottom: 14px; }

.sector-legend { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.sector-item { display: flex; align-items: center; gap: 8px; }
.sector-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.sector-name { font-size: 12px; color: var(--gray-700); flex: 1; }
.sector-val { font-size: 12px; font-weight: 700; color: var(--gray-900); }

.il-banner {
    background: linear-gradient(135deg, #1B3A6B, #4A7DB5);
    border-radius: 12px; padding: 20px 24px; color: white;
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}
.il-banner h3 { font-size: 16px; font-weight: 700; margin: 0; }
.il-banner p { font-size: 12px; opacity: .75; margin: 4px 0 0; }
.il-banner-val { font-size: 28px; font-weight: 800; }
.il-banner-lbl { font-size: 12px; opacity: .7; }

.login-cta {
    background: linear-gradient(135deg, var(--green), var(--green-light));
    border-radius: 14px; padding: 28px 32px; color: white; text-align: center;
    margin-top: 28px;
}
.login-cta h2 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.login-cta p { font-size: 13px; opacity: .85; margin-bottom: 18px; }
.login-cta .btn-white {
    background: white; color: var(--green); border: none;
    padding: 12px 28px; border-radius: 8px; font-size: 14px;
    font-weight: 700; cursor: pointer; font-family: var(--font);
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
    transition: all .2s;
}
.login-cta .btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }

/* --- Login.cshtml --- */
.login-wrapper {
    display: flex;
    min-height: calc(100vh - var(--header-h) - 44px);
}
.login-left {
    background: linear-gradient(160deg, #122849 0%, #1B3A6B 50%, #2A4F8F 100%);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}
.login-left::before {
    content: '';
    position: absolute; bottom: -80px; right: -80px;
    width: 300px; height: 300px; border-radius: 50%;
    background: rgba(46,139,58,.15);
}
.login-left::after {
    content: '';
    position: absolute; top: -50px; left: -50px;
    width: 200px; height: 200px; border-radius: 50%;
    background: rgba(232,146,10,.1);
}
.login-left-content { position: relative; z-index: 1; }
.login-left-logo { height: 64px; filter: brightness(0) invert(1); margin-bottom: 28px; }
.login-left h2 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.login-left p { font-size: 13px; opacity: .8; line-height: 1.8; }
.login-info-card {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    padding: 20px; margin-top: 28px;
    backdrop-filter: blur(10px);
}
.login-info-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.login-info-item:last-child { margin-bottom: 0; }
.login-info-icon { font-size: 16px; color: #F5A623; margin-top: 1px; flex-shrink: 0; }
.login-info-text { font-size: 12px; opacity: .85; line-height: 1.6; }

.login-right {
    flex: 1; display: flex; flex-direction: column;
    justify-content: center; padding: 3rem;
    background: white;
}
.login-form-wrap { max-width: 420px; margin: 0 auto; width: 100%; }
.login-icon { font-size: 52px; color: var(--navy); margin-bottom: 8px; }
.login-title { font-size: 22px; font-weight: 800; color: var(--navy-dark); margin-bottom: 4px; }
.login-sub { font-size: 13px; color: var(--gray-500); margin-bottom: 28px; }

.form-card {
    background: white; border-radius: 14px;
    padding: 28px; border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
}
.step { display: none; }
.step.show { display: block; }

.otp-grid { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.otp-input {
    width: 48px; height: 52px; text-align: center;
    font-size: 1.4rem; font-weight: 700;
    border: 2px solid var(--gray-200); border-radius: 10px;
    font-family: var(--font); transition: border-color .2s;
}
.otp-input:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(27,58,107,.1); }

.captcha-box {
    background: var(--gray-50); border: 1px solid var(--gray-200);
    border-radius: 10px; padding: 16px; margin-bottom: 16px;
}
.captcha-img { display: block; margin: 0 auto 12px; max-width: 260px; height: 90px; object-fit: contain; border-radius: 6px; }

.admin-link-wrap { text-align: center; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--gray-100); }

@media(max-width:768px) {
    .login-wrapper { flex-direction: column; }
    .login-left { padding: 2rem; }
    .login-right { padding: 2rem; }
}

/* --- PersonelLogin.cshtml --- */
.per-login-wrap {
    min-height: calc(100vh - var(--header-h) - 44px);
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--gray-50) 0%, #e8edf5 100%);
    padding: 32px 16px;
}
.per-login-card {
    background: white; border-radius: 16px;
    box-shadow: var(--shadow-lg); width: 100%; max-width: 440px;
    overflow: hidden;
}
.per-login-head {
    background: linear-gradient(135deg, #122849, #1B3A6B);
    padding: 28px 32px; color: white; text-align: center;
}
.per-login-head .head-icon { font-size: 40px; margin-bottom: 10px; }
.per-login-head h2 { font-size: 18px; font-weight: 800; margin: 0 0 4px; }
.per-login-head p { font-size: 12px; opacity: .7; margin: 0; }
.per-login-body { padding: 28px 32px; }
.input-wrap { position: relative; }
.input-wrap i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--gray-500); }
.input-wrap input { padding-left: 36px; }
.role-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 600; padding: 4px 12px;
    border-radius: 20px; margin: 2px;
}
.role-badge.root { background: rgba(220,38,38,.1); color: #dc2626; }
.role-badge.super { background: rgba(232,146,10,.1); color: var(--gold); }
.role-badge.admin { background: rgba(27,58,107,.1); color: var(--navy); }
.role-badge.viewer { background: rgba(74,125,181,.1); color: var(--sky); }

/* --- Dashboard.cshtml --- */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 24px; }
@media(max-width:900px) { .stats-row { grid-template-columns: repeat(2,1fr); } }
@media(max-width:500px) { .stats-row { grid-template-columns: 1fr; } }

.mini-stat {
    background: white; border-radius: var(--radius); padding: 18px;
    border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm);
    display: flex; align-items: center; gap: 14px; transition: all .2s;
}
.mini-stat:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.mini-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.mini-val { font-size: 22px; font-weight: 800; color: var(--gray-900); line-height: 1; }
.mini-lbl { font-size: 11px; color: var(--gray-500); margin-top: 3px; }

.activity-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gray-100); }
.activity-item:last-child { border-bottom: none; }
.activity-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.activity-txt { font-size: 13px; color: var(--gray-700); }
.activity-time { font-size: 11px; color: var(--gray-500); margin-top: 2px; }

.chart-half { height: 200px; }

/* --- Duyurular.cshtml --- */
.duyuru-form-card { background: white; border-radius: var(--radius); border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); margin-bottom: 24px; overflow: hidden; }
.duyuru-form-head { background: var(--navy); color: white; padding: 14px 20px; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.duyuru-form-body { padding: 20px; }
.tur-selector { display: flex; gap: 8px; flex-wrap: wrap; }
.tur-btn { padding: 8px 16px; border-radius: 8px; border: 2px solid var(--gray-200); background: white; cursor: pointer; font-size: 12px; font-weight: 700; font-family: var(--font); transition: all .15s; }
.tur-btn[data-val="Normal"].selected { background: rgba(27,58,107,.1); border-color: var(--navy); color: var(--navy); }
.tur-btn[data-val="Yeni"].selected { background: rgba(46,139,58,.1); border-color: var(--green); color: var(--green); }
.tur-btn[data-val="Önemli"].selected { background: rgba(220,38,38,.1); border-color: #dc2626; color: #dc2626; }

/* --- Mezunlar.cshtml --- */
.filter-bar {
    background: white; border-radius: var(--radius); padding: 16px 20px;
    border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); margin-bottom: 16px;
    display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end;
}
.filter-group { display: flex; flex-direction: column; gap: 4px; min-width: 160px; flex: 1; }
.filter-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-500); }
.filter-select, .filter-input {
    padding: 8px 12px; border: 1.5px solid var(--gray-200); border-radius: 7px;
    font-size: 12px; font-family: var(--font); transition: border-color .2s;
}
.filter-select:focus, .filter-input:focus { border-color: var(--navy); outline: none; }

.mezun-table-wrap { overflow-x: auto; }
.badge-profile { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 20px; }
.badge-profile.done { background: rgba(46,139,58,.1); color: var(--green); }
.badge-profile.pending { background: rgba(232,146,10,.1); color: var(--gold); }

.pagination { display: flex; gap: 4px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.page-btn {
    width: 34px; height: 34px; border-radius: 7px; border: 1px solid var(--gray-200);
    background: white; font-size: 12px; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; justify-content: center; color: var(--gray-700);
    transition: all .15s; text-decoration: none;
}
.page-btn:hover, .page-btn.active { background: var(--navy); color: white; border-color: var(--navy); }
.page-btn.disabled { opacity: .4; pointer-events: none; }

.detail-drawer {
    position: fixed; top: 0; right: -480px; width: 480px; height: 100vh;
    background: white; box-shadow: var(--shadow-lg); z-index: 2000;
    transition: right .3s ease; overflow-y: auto; display: flex; flex-direction: column;
}
.detail-drawer.open { right: 0; }
.drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.3); z-index: 1999; }
.drawer-overlay.show { display: block; }
.drawer-head {
    background: linear-gradient(135deg, #122849, #1B3A6B); color: white;
    padding: 20px 24px; display: flex; justify-content: space-between; align-items: center;
    flex-shrink: 0; position: sticky; top: 0;
}
.drawer-close { background: rgba(255,255,255,.2); border: none; color: white; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.drawer-body { padding: 20px; flex: 1; }
.detail-row { display: flex; padding: 10px 0; border-bottom: 1px solid var(--gray-100); }
.detail-row:last-child { border-bottom: none; }
.detail-key { width: 140px; font-size: 11px; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: .05em; flex-shrink: 0; }
.detail-val { flex: 1; font-size: 13px; color: var(--gray-900); word-break: break-all; }

/* --- Dashboard.cshtml --- */
.welcome-card {
    background: linear-gradient(135deg, #122849, #1B3A6B);
    border-radius: 14px; padding: 24px 28px; color: white;
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px; flex-wrap: wrap; gap: 16px;
}
.welcome-avatar {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(255,255,255,.2); display: flex;
    align-items: center; justify-content: center; font-size: 24px;
}
.welcome-info h2 { font-size: 18px; font-weight: 800; margin: 0 0 4px; }
.welcome-info p { font-size: 12px; opacity: .75; margin: 0; }
.profile-status {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.1); border-radius: 10px;
    padding: 12px 16px; flex-wrap: wrap;
}
.profile-pct { font-size: 24px; font-weight: 800; }
.profile-pct-lbl { font-size: 11px; opacity: .7; }

.quick-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 24px; }
@media(max-width:600px) { .quick-actions { grid-template-columns: 1fr 1fr; } }
.qa-card {
    background: white; border-radius: var(--radius); padding: 16px;
    border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm);
    text-align: center; cursor: pointer; transition: all .2s;
    text-decoration: none; color: inherit;
}
.qa-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--navy); }
.qa-icon { font-size: 24px; margin-bottom: 8px; }
.qa-label { font-size: 12px; font-weight: 600; color: var(--gray-700); }

/* --- Profile.cshtml --- */
.profile-header {
    background: linear-gradient(135deg, #122849, #1B3A6B);
    border-radius: 14px; padding: 24px 28px; color: white;
    margin-bottom: 24px; display: flex; align-items: center; gap: 20px;
}
.profile-avatar-big {
    width: 72px; height: 72px; border-radius: 50%;
    background: rgba(255,255,255,.2); display: flex;
    align-items: center; justify-content: center; font-size: 32px; flex-shrink: 0;
}
.pct-bar-wrap { flex: 1; max-width: 240px; }
.pct-bar-track { height: 8px; background: rgba(255,255,255,.2); border-radius: 4px; overflow: hidden; margin-top: 6px; }
.pct-bar-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, #2E8B3A, #3AAD48); transition: width .6s; }

.tab-nav { display: flex; gap: 4px; margin-bottom: 20px; border-bottom: 2px solid var(--gray-200); }
.tab-btn {
    padding: 10px 16px; font-size: 13px; font-weight: 600; cursor: pointer;
    border: none; background: none; color: var(--gray-500); border-bottom: 3px solid transparent;
    margin-bottom: -2px; transition: all .15s; border-radius: 6px 6px 0 0;
    display: flex; align-items: center; gap: 6px;
}
.tab-btn:hover { color: var(--navy); background: var(--gray-50); }
.tab-btn.active { color: var(--navy); border-bottom-color: var(--navy); background: rgba(27,58,107,.04); }

.tab-pane { display: none; }
.tab-pane.show { display: block; }

.form-section-title {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .1em; color: var(--gray-500); margin-bottom: 14px;
    padding-bottom: 8px; border-bottom: 1px solid var(--gray-100);
    display: flex; align-items: center; gap: 8px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width:600px) { .form-row { grid-template-columns: 1fr; } }

.social-input-wrap { position: relative; }
.social-input-wrap .social-icon {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    font-size: 15px; width: 20px; text-align: center;
}
.social-input-wrap input { padding-left: 38px; }

.save-bar {
    position: sticky; bottom: 0; background: white;
    border-top: 1px solid var(--gray-200); padding: 14px 0;
    display: flex; gap: 10px; align-items: center; margin-top: 24px;
}
.completion-chip {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px; font-weight: 600; padding: 4px 10px;
    border-radius: 20px; background: rgba(46,139,58,.1); color: var(--green);
}