/* ==================== AVADA TEMA - KART BAZLI PDKS ==================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif; background: #f5f7fa; color: #4a4a4a; font-size: 14px; display: flex; min-height: 100vh; }

/* ==================== SOL MENÜ ==================== */
.sidebar { width: 260px; background: #2c3e50; color: white; position: fixed; top: 0; left: 0; height: 100vh; overflow-y: auto; z-index: 1000; transition: transform 0.3s; }
.sidebar-header {
    text-align: left;
    padding: 20px 22px 15px 22px;
}

.sidebar-header img {
    display: block;
    width: auto;
    height: 60px;
    margin: 0;
    object-fit: contain;
    object-position: left center;
}
.sidebar-header .sirket-adi { font-size: 20px; font-weight: 700; letter-spacing: 3px; color: #fff; }
.sidebar-header .alt-yazi { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 5px; letter-spacing: 1px; }
.sidebar-menu { padding: 15px 0; }
.sidebar-menu a { display: flex; align-items: center; gap: 12px; padding: 13px 22px; color: rgba(255,255,255,0.75); text-decoration: none; font-size: 14px; transition: all 0.2s; border-left: 3px solid transparent; }
.sidebar-menu a:hover { background: rgba(255,255,255,0.06); color: white; }
.sidebar-menu a.aktif { background: rgba(52,152,219,0.15); color: #3498db; border-left-color: #3498db; font-weight: 600; }
.sidebar-menu a .rozet { background: #e74c3c; color: white; padding: 2px 7px; border-radius: 10px; font-size: 11px; margin-left: auto; }
.sidebar-footer { padding: 18px 22px; border-top: 1px solid rgba(255,255,255,0.08); }

/* ==================== ANA İÇERİK ==================== */
.main { margin-left: 260px; flex: 1; min-height: 100vh; display: flex; flex-direction: column; }
.topbar { background: white; padding: 18px 30px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #eaeaea; }
.topbar h1 { font-size: 22px; color: #2c3e50; font-weight: 600; }
.topbar .user-info { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #7f8c8d; }
.topbar .user-info .avatar { width: 38px; height: 38px; border-radius: 50%; background: #3498db; color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.content { padding: 30px; flex: 1; max-width: 1200px; margin: 0 auto; width: 100%; }

/* ==================== KARTLAR ==================== */
.card { background: white; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); padding: 25px; margin-bottom: 25px; border: 1px solid #eaeaea; }
.card h3 { font-size: 17px; color: #2c3e50; margin-bottom: 20px; font-weight: 600; padding-bottom: 12px; border-bottom: 2px solid #f0f2f5; display: flex; align-items: center; gap: 8px; }

/* ==================== İSTATİSTİK KUTULARI ==================== */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 25px; }
.stat-box { background: white; border-radius: 8px; padding: 18px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); display: flex; align-items: center; gap: 15px; border-left: 4px solid #3498db; transition: all 0.2s; }
.stat-box:hover { box-shadow: 0 6px 16px rgba(0,0,0,0.1); transform: translateY(-3px); }
.stat-box .ikon { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.stat-box .bilgi .sayi { font-size: 22px; font-weight: 700; color: #2c3e50; }
.stat-box .bilgi .etiket { font-size: 11px; color: #95a5a6; margin-top: 3px; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-box.mavi { border-left-color: #3498db; } .stat-box.mavi .ikon { background: #ebf5fb; color: #3498db; }
.stat-box.yesil { border-left-color: #27ae60; } .stat-box.yesil .ikon { background: #eafaf1; color: #27ae60; }
.stat-box.sari { border-left-color: #f39c12; } .stat-box.sari .ikon { background: #fef5e7; color: #f39c12; }
.stat-box.kirmizi { border-left-color: #e74c3c; } .stat-box.kirmizi .ikon { background: #fdedec; color: #e74c3c; }

/* ==================== KAYIT KARTLARI ==================== */
.kayit-listesi { display: flex; flex-direction: column; gap: 12px; }
.kayit-karti { background: white; border: 1px solid #eaeaea; border-radius: 8px; padding: 16px 18px; display: flex; align-items: center; gap: 15px; transition: all 0.2s; border-left: 4px solid #3498db; flex-wrap: wrap; }
.kayit-karti:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); transform: translateX(3px); }
.kayit-karti.giris { border-left-color: #27ae60; }
.kayit-karti.cikis { border-left-color: #e74c3c; }
.kayit-karti .personel { display: flex; align-items: center; gap: 12px; min-width: 200px; }
.kayit-karti .personel .avatar { width: 42px; height: 42px; border-radius: 50%; background: #3498db; color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.kayit-karti .personel .isim { font-weight: 600; color: #2c3e50; font-size: 15px; }
.kayit-karti .personel .tarih { font-size: 12px; color: #95a5a6; margin-top: 2px; }
.kayit-karti .detay { display: flex; gap: 18px; flex-wrap: wrap; flex: 1; }
.kayit-karti .detay .item { display: flex; flex-direction: column; gap: 3px; }
.kayit-karti .detay .item .etiket { font-size: 10px; color: #95a5a6; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.kayit-karti .detay .item .deger { font-size: 13px; font-weight: 600; color: #2c3e50; }
.kayit-karti .detay .item .deger.yesil { color: #27ae60; }
.kayit-karti .detay .item .deger.kirmizi { color: #e74c3c; }
.kayit-karti .detay .item .deger.turuncu { color: #f39c12; }
.kayit-karti .durum { display: flex; gap: 8px; align-items: center; }

/* ==================== ROZETLER ==================== */
.rozet-giris { background: #eafaf1; color: #1e8449; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.rozet-cikis { background: #fdedec; color: #c0392b; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.rozet-bekliyor { background: #fef5e7; color: #d68910; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.rozet-onaylandi { background: #eafaf1; color: #1e8449; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.rozet-reddedildi { background: #fdedec; color: #c0392b; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.rozet-gecti { background: #eafaf1; color: #1e8449; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.rozet-kaldi { background: #fdedec; color: #c0392b; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.rozet-yok { background: #f0f2f5; color: #95a5a6; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; }

/* ==================== PERSONEL KARTLARI ==================== */
.personel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.personel-karti { background: white; border-radius: 8px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); text-align: center; transition: all 0.2s; border-top: 4px solid #3498db; }
.personel-karti:hover { box-shadow: 0 6px 16px rgba(0,0,0,0.1); transform: translateY(-3px); }
.personel-karti .avatar-buyuk { width: 60px; height: 60px; border-radius: 50%; background: #3498db; color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 24px; margin: 0 auto 12px; }
.personel-karti .isim { font-size: 15px; font-weight: 700; color: #2c3e50; margin-bottom: 5px; }
.personel-karti .email { font-size: 12px; color: #95a5a6; margin-bottom: 12px; }
.personel-karti .bilgiler { display: flex; justify-content: center; gap: 15px; margin-bottom: 12px; padding-top: 12px; border-top: 1px solid #f0f2f5; }
.personel-karti .bilgiler .item { text-align: center; }
.personel-karti .bilgiler .item .sayi { font-size: 16px; font-weight: 700; color: #3498db; }
.personel-karti .bilgiler .item .etiket { font-size: 10px; color: #95a5a6; text-transform: uppercase; }

/* ==================== FORMLAR ==================== */
input, select, textarea { width: 100%; padding: 11px 14px; margin: 5px 0; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; font-family: inherit; transition: all 0.2s; background: #fff; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #3498db; box-shadow: 0 0 0 3px rgba(52,152,219,0.12); }
button, .btn { padding: 11px 22px; background: #3498db; color: white; border: none; border-radius: 6px; cursor: pointer; font-size: 14px; font-weight: 600; text-decoration: none; display: inline-block; transition: all 0.2s; }
button:hover, .btn:hover { background: #2980b9; transform: translateY(-1px); box-shadow: 0 4px 10px rgba(52,152,219,0.3); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
.form-grid label { display: block; font-size: 12px; color: #7f8c8d; margin-bottom: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* ==================== UYARILAR ==================== */
.basari { color: #1e8449; padding: 14px 18px; background: #eafaf1; border-radius: 6px; margin-bottom: 18px; border-left: 4px solid #27ae60; font-weight: 500; }
.hata { color: #c0392b; padding: 14px 18px; background: #fdedec; border-radius: 6px; margin-bottom: 18px; border-left: 4px solid #e74c3c; font-weight: 500; }
.onemli { background: #fef5e7; padding: 16px; border-left: 4px solid #f39c12; border-radius: 6px; margin-bottom: 18px; color: #d68910; }

/* ==================== BOŞ DURUM ==================== */
.bos-durum { text-align: center; padding: 50px 20px; color: #95a5a6; }
.bos-durum .ikon { font-size: 60px; margin-bottom: 15px; opacity: 0.3; }
.bos-durum .yazi { font-size: 15px; }

/* ==================== MOBİL ==================== */
.mobile-toggle { display: none; background: #3498db; color: white; border: none; font-size: 24px; padding: 8px 15px; border-radius: 6px; cursor: pointer; }

@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .personel-grid { grid-template-columns: repeat(2, 1fr); }
    .content { padding: 20px; }
}

@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.acik { transform: translateX(0); }
    .main { margin-left: 0; }
    .mobile-toggle { display: block; }
    .topbar { padding: 12px 15px; }
    .topbar h1 { font-size: 16px; }
    .content { padding: 15px; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .stat-box { padding: 12px; gap: 10px; flex-direction: column; text-align: center; }
    .stat-box .ikon { width: 40px; height: 40px; font-size: 18px; }
    .stat-box .bilgi .sayi { font-size: 18px; }
    .stat-box .bilgi .etiket { font-size: 10px; }
    .kayit-karti { padding: 14px; }
    .kayit-karti .personel { min-width: 100%; }
    .kayit-karti .detay { gap: 12px; }
    .personel-grid { grid-template-columns: 1fr; }
    button, .btn { width: 100%; margin: 3px 0; }
    .form-grid { grid-template-columns: 1fr; }
    .card { padding: 15px; }
}