body {
    margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    color: #333333; display: flex; flex-direction: column; justify-content: center;
    align-items: center; min-height: 100vh; text-align: center; overflow-x: hidden; position: relative;
}

.container {
    background-color: #ffffff; padding: 40px 30px; border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15); width: 90%; max-width: 550px;
    position: relative; margin-bottom: 30px; margin-top: 60px;
}

.yan-menu-konteyner { position: fixed; top: 20px; left: 20px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ana-menu-btn { background: #ffffff; border-radius: 50%; width: 50px; height: 50px; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 15px rgba(0,0,0,0.2); cursor: pointer; transition: transform 0.3s; border: 2px solid #ff4b2b; }
.ana-menu-btn:hover { transform: rotate(90deg); }
.alt-menü-ogeleri { display: none; flex-direction: column; gap: 8px; animation: fadeInDown 0.3s ease; }
.menu-item { background: #1d3557; color: white; padding: 10px 20px; border-radius: 20px; font-size: 0.85rem; font-weight: bold; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.2); white-space: nowrap; border: 1px solid #ff4b2b; transition: all 0.2s; display: flex; align-items: center; gap: 8px; }
.menu-item:hover { background: #ff4b2b; transform: translateX(5px); }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.toast-container { position: fixed; top: 80px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { background: #1e2329; border-left: 5px solid #aaa; color: #fff; padding: 15px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); min-width: 200px; animation: slideInRight 0.3s forwards; }
.toast.success { border-left-color: #0ecb81; }
.toast.error { border-left-color: #f6465d; }
.toast-baslik { font-weight: bold; margin-bottom: 5px; font-size: 1rem; }
.toast-detay { font-size: 0.85rem; color: #ccc; line-height: 1.4; }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.kanzibot-btn { position: fixed; bottom: 20px; right: 15px; background-color: #1d3557; border-radius: 25px; padding: 0 15px; height: 50px; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 15px rgba(0,0,0,0.3); cursor: pointer; z-index: 1000; transition: transform 0.2s; gap: 8px; border: 2px solid #ff4b2b; max-width: 45vw; }
.kanzibot-btn:hover { transform: scale(1.05); box-shadow: 0 0 20px #1d3557; }
.kanzibot-btn span { color: #ffffff; font-weight: bold; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.kanzibot-pencere { position: fixed; bottom: 80px; right: 15px; width: 320px; height: 450px; max-width: 90vw; background: white; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); display: none; flex-direction: column; z-index: 1000; overflow: hidden; border: 2px solid #1d3557; }
.kanzibot-baslik { background: #1d3557; color: white; padding: 12px; font-weight: bold; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #ff4b2b;}
.kanzibot-kapat { cursor: pointer; color: #ff4b2b; font-size: 1.5rem; font-weight: bold; line-height: 1;}
.kanzibot-mesajlar { flex: 1; padding: 10px; overflow-y: auto; background: #f0f2f5; display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem;}
.kb-mesaj { max-width: 85%; padding: 8px 12px; border-radius: 15px; line-height: 1.4; word-wrap: break-word;}
.kb-bot { background: white; align-self: flex-start; border-bottom-left-radius: 0; border: 1px solid #ddd; color: #333;}
.kb-sen { background: #1d3557; color: white; align-self: flex-end; border-bottom-right-radius: 0;}
.kanzibot-girdi { display: flex; padding: 10px; background: white; border-top: 1px solid #ddd; }
.kanzibot-girdi input { flex: 1; padding: 10px; border: 1px solid #ccc; border-radius: 20px; outline: none; font-size: 0.9rem;}
.kanzibot-girdi button { width: auto; background: #ff4b2b; color: white; border: none; padding: 8px 15px; border-radius: 20px; margin-left: 5px; cursor: pointer; margin-bottom: 0; box-shadow: none; font-size: 0.9rem;}

.modal-arkaplan { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); display: none; justify-content: center; align-items: center; z-index: 2000; }
.modal-kutu { background: white; padding: 30px; border-radius: 15px; width: 90%; max-width: 400px; position: relative; }
.modal-kapat { position: absolute; top: 10px; right: 15px; font-size: 1.5rem; cursor: pointer; color: #555; font-weight: bold; }
.modal-kutu input, .modal-kutu select, .modal-kutu textarea { width: 100%; padding: 12px; margin: 10px 0; border: 1px solid #ccc; border-radius: 8px; box-sizing: border-box; font-size: 1rem; font-family: inherit; }
.mesaj-kutu { font-size: 0.9rem; color: #ff4b2b; margin-bottom: 10px; min-height: 20px;}

.admin-genis-modal { max-width: 95vw !important; width: 1300px !important; height: 85vh !important; overflow: hidden; display: flex; flex-direction: column; padding: 25px; background: #f0f2f5; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 15px; flex: 1; overflow-y: auto; margin-top: 15px; }
.admin-sutun { background: #fdfdfd; border-radius: 12px; padding: 15px; display: flex; flex-direction: column; border: 1px solid #ddd; box-shadow: 0 5px 15px rgba(0,0,0,0.05); overflow: hidden;}
.admin-tablo-kutu { overflow-y: auto; flex: 1; text-align: left; margin-top: 10px; border: 1px solid #eee; border-radius: 8px;}
.admin-tablo { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.admin-tablo th, .admin-tablo td { border: 1px solid #eee; padding: 8px; text-align: center; }
.admin-tablo th { background-color: #ff4b2b; color: white; position: sticky; top: 0; z-index: 2;}
.admin-btn { padding: 5px 8px; font-size: 0.8rem; margin: 2px; width: auto; box-shadow: none; border-radius: 5px; }
.btn-sil { background-color: #d90429 !important; color: white !important; }
.btn-duzenle { background-color: #0077b6 !important; color: white !important; }
@media (max-width: 1000px) { .admin-grid { grid-template-columns: 1fr; overflow-y: auto; } .admin-genis-modal { height: 95vh !important; } }

.sayfalama-kutu { display: flex; justify-content: center; gap: 10px; margin-top: 15px; }
.sayfa-btn { padding: 5px 15px; background: #1d3557; color: white; border: none; border-radius: 5px; cursor: pointer; width: auto; box-shadow: none; font-size: 0.9rem;}
.sayfa-btn:disabled { background: #ccc; cursor: not-allowed; }

h1 { font-size: 2.5rem; background: linear-gradient(to right, #ff416c, #ff4b2b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 10px; margin-top: 0; }
h2 { font-size: 1.25rem; color: #1d3557; margin-bottom: 20px; font-weight: 600; }
button { background: linear-gradient(to right, #ff416c, #ff4b2b); color: white; border: none; padding: 15px 30px; font-size: 1.2rem; font-weight: bold; border-radius: 12px; cursor: pointer; transition: transform 0.2s; width: 100%; margin-bottom: 10px; }
button:hover { transform: translateY(-2px); }
.btn-ikincil { background: #333; }
.btn-kapat { width: auto !important; padding: 8px 15px !important; margin: 0 !important; background: #333 !important; color: white !important; box-shadow: none !important; border-radius: 8px !important;}
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; margin: 20px 0; background: transparent; }
input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 12px; cursor: pointer; background: #e0e0e0; border-radius: 6px; }
input[type=range]::-webkit-slider-thumb { height: 28px; width: 28px; border-radius: 50%; background: #ff4b2b; cursor: pointer; -webkit-appearance: none; margin-top: -8px; }
#sliderDeger { font-size: 2.8rem; font-weight: 900; color: #ff4b2b; display: block; }

.liderlik-tablosu { background-color: #f8f9fa; border-radius: 12px; padding: 15px; margin-top: 25px; border: 1px solid #e9ecef; }
.liderlik-liste { list-style: none; padding: 0; margin: 0; text-align: left; }
.liderlik-liste li { padding: 12px 10px; border-bottom: 1px dashed #ccc; display: flex; justify-content: space-between; align-items: center; color: #000; font-weight: bold;}
.liderlik-liste li span:first-child { font-weight: 800; color: #000; cursor: pointer; transition: color 0.2s; }
.liderlik-liste li span:first-child:hover { color: #ff4b2b; text-decoration: underline; }
.liderlik-liste li span:last-child { color: #444; font-weight: bold; }

.ust-bilgi { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #e0e0e0; width: 100%; box-sizing: border-box; text-align: left; }
#soruSayaci { font-size: 0.95rem; color: #777; margin-bottom: 5px; font-weight: 600; }

.hiyerarsi-kutu { background: #1d3557; color: white; padding: 15px; border-radius: 12px; margin-bottom: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.hiyerarsi-kutu h3 { margin: 0 0 10px 0; color: #ff4b2b; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 5px;}
.h-liste { list-style: none; padding: 0; margin: 0; font-size: 0.95rem; text-align: left; }
.h-liste li { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,0.1); }
.h-liste li span:first-child { font-weight: bold; color: #e0c3fc; }
.h-duzenle-btn { display: none; background: #ff4b2b !important; padding: 4px 8px !important; font-size: 0.75rem !important; border-radius: 5px !important; box-shadow: none !important; width: auto !important; margin: 0 !important; cursor: pointer; }

.chat-kutu { background: white; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); overflow: hidden; display: flex; flex-direction: column; }
.chat-baslik { background: linear-gradient(to right, #ff416c, #ff4b2b); color: white; padding: 15px; font-weight: bold; font-size: 1.2rem; }
.chat-mesajlar { flex: 1; overflow-y: auto; padding: 15px; background: #f8f9fa; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.mesaj-balonu { background: white; padding: 10px 15px; border-radius: 15px; border-bottom-left-radius: 0; box-shadow: 0 2px 5px rgba(0,0,0,0.05); max-width: 85%; align-self: flex-start; position: relative; border: 1px solid #eee; }
.mesaj-sahibi { font-size: 0.8rem; font-weight: bold; color: #555; margin-bottom: 3px; display: block; }
.mesaj-metni { font-size: 1rem; color: #222; margin: 0; word-wrap: break-word; }
.mesaj-saati { font-size: 0.7rem; color: #aaa; text-align: right; margin-top: 5px; display: block; }
.admin-mesaji { background: #ffebee; border: 1px solid #ffcdd2; align-self: stretch; max-width: 100%; border-radius: 10px; border-left: 5px solid #d90429;}
.admin-mesaji .mesaj-sahibi { color: #d90429; font-size: 0.9rem; }
.admin-mesaji .mesaj-metni { font-weight: 500; }
.benim-mesajim { align-self: flex-end; background: #e3f2fd; border: 1px solid #bbdefb; border-bottom-left-radius: 15px; border-bottom-right-radius: 0; }
.chat-girdi-alani { display: flex; padding: 15px; background: white; border-top: 1px solid #eee; }
.chat-girdi-alani input { flex: 1; padding: 12px; border: 1px solid #ccc; border-radius: 20px; font-size: 1rem; outline: none; }
.chat-girdi-alani button { width: auto; margin: 0 0 0 10px; padding: 10px 25px; border-radius: 20px; margin-bottom: 0; }

.footer-soz { max-width: 600px; margin: 10px 20px 30px 20px; padding: 20px; background-color: rgba(255, 255, 255, 0.7); border-radius: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.footer-soz p { font-size: 1.1rem; font-style: italic; color: #2b2d42; margin: 0 0 10px 0; font-weight: 600; line-height: 1.5; }
.footer-soz span { font-size: 0.95rem; font-weight: bold; color: #ff4b2b; display: block; text-align: right; }

.profil-pp-kutu { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 10px auto; position: relative; overflow: hidden; cursor: pointer; border: 3px solid #1d3557; box-shadow: 0 5px 15px rgba(0,0,0,0.2); background: #f0f2f5; }
.profil-pp-kutu img { width: 100%; height: 100%; object-fit: cover; }
.pp-degistir-yazi { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.6); color: white; font-size: 0.8rem; padding: 5px 0; opacity: 0; transition: 0.3s; font-weight: bold; }
.profil-pp-kutu:hover .pp-degistir-yazi { opacity: 1; }

.divan-sol-alt-btn { position: fixed; bottom: 20px; left: 20px; background: #1d3557; color: white; width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; box-shadow: 0 5px 15px rgba(0,0,0,0.3); cursor: pointer; border: 2px solid #ff4b2b; z-index: 1000; transition: transform 0.2s, background 0.2s; }
.divan-sol-alt-btn:hover { transform: scale(1.1); background: #ff4b2b; }

.duyuru-kart { background: #fff; border-left: 4px solid #ff4b2b; padding: 10px; margin-bottom: 10px; border-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.duyuru-baslik { font-weight: bold; color: #1d3557; margin-bottom: 5px; }
.duyuru-tarih { font-size: 0.75rem; color: #888; margin-bottom: 5px; }

.y-secenek-btn { background: #f8f9fa; color: #333; border: 2px solid #ccc; padding: 15px 20px; border-radius: 12px; font-size: 1.1rem; cursor: pointer; transition: all 0.2s; text-align: left; font-weight: 500; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.y-secenek-btn:hover { background: #e2e6ea; border-color: #adb5bd; transform: translateY(-2px); }
.y-secenek-btn.dogru { background: #0ecb81 !important; color: white !important; border-color: #0ecb81 !important; }
.y-secenek-btn.yanlis { background: #f6465d !important; color: white !important; border-color: #f6465d !important; }
.y-secenek-btn:disabled { cursor: not-allowed; opacity: 0.9; transform: none; }

/* --- KPSS EKRANI --- */
.kpss-container { background-color: #1e2329 !important; color: #eaecef !important; border: 2px solid #2b3139; }
.kpss-seviye-seçici { display: flex; gap: 10px; margin-bottom: 20px; border-bottom: 2px solid #2b3139; padding-bottom: 15px; }
.kpss-tab-btn { flex: 1; background: #2b3139 !important; color: #aaa !important; margin: 0 !important; box-shadow: none !important; border-radius: 8px !important; transition: 0.3s; }
.kpss-tab-btn.aktif { background: #0ecb81 !important; color: white !important; font-weight: bold !important; transform: scale(1.02); }
.kpss-icerik-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 15px; text-align: left; max-height: 60vh; overflow-y: auto; padding-right: 10px; }
.kpss-icerik-grid::-webkit-scrollbar { width: 8px; }
.kpss-icerik-grid::-webkit-scrollbar-thumb { background: #ff4b2b; border-radius: 4px; }
.kpss-ders-kutu { background: #0b0e11; border: 1px solid #2b3139; border-radius: 8px; padding: 15px; border-left: 4px solid #ff4b2b; }
.kpss-ders-baslik { font-size: 1.1rem; color: #fcd535; margin: 0 0 10px 0; border-bottom: 1px solid #2b3139; padding-bottom: 5px; font-weight: bold; }
.kpss-konu-liste { list-style: none; padding: 0; margin: 0; font-size: 0.9rem; }
.kpss-konu-liste li { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px dashed #2b3139; }
.kpss-konu-liste li:last-child { border-bottom: none; }
.konu-check-label { display: flex; align-items: center; cursor: pointer; gap: 10px; flex: 1; }
.konu-check-label input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; accent-color: #0ecb81; }
.konu-tamamlandi { color: #aaa; text-decoration: line-through; }
.soru-sayisi-badge { background: #2b3139; color: #4ade80; padding: 2px 6px; border-radius: 4px; font-size: 0.75rem; font-weight: bold; }