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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #eef1f5;
    min-height: 100vh;
}

/* ============================================================================
   LAYOUT - Büyük Ekran Desteği ve Konteyner Sistemi
   ============================================================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Büyük ekranlar için genişletilmiş konteyner */
@media (min-width: 1400px) {
    .container {
        max-width: 1360px;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1520px;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1760px;
    }
}

/* Sayfa ana sarmalayıcı */
.page-wrapper {
    min-height: calc(100vh - 56px);
    background: linear-gradient(135deg, #eef1f5 0%, #e2e7ed 50%, #dce2e8 100%);
    padding-bottom: 40px;
}

/* İçerik Blokları - Kartlar için global iyileştirme */
.content-block {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
    padding: 28px;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.content-block:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Sayfa Başlığı */
.page-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.page-header h2 {
    color: #1a2332;
    font-weight: 700;
    margin: 0;
}

/* Card iyileştirmeleri */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 24px;
    font-weight: 600;
}

.card-body {
    padding: 24px;
}

.card-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 16px 24px;
}

/* Tablo iyileştirmeleri */
.table {
    margin-bottom: 0;
}

.table thead th {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-bottom: 2px solid #cbd5e1;
    color: #475569;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    padding: 14px 16px;
    white-space: nowrap;
}

.table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.table-hover tbody tr:hover {
    background-color: #f0f5ff;
}

/* ============================================
   NAVBAR - Modern Tasarım
   ============================================ */
.navbar {
    background: linear-gradient(135deg, #1a237e 0%, #283593 30%, #1565c0 70%, #0d47a1 100%);
    box-shadow: 0 4px 20px rgba(13, 71, 161, 0.35);
    padding: 0;
    min-height: 60px;
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* Brand */
.navbar-brand {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 12px 0;
    color: #fff !important;
    transition: all 0.3s ease;
}

.navbar-brand i {
    font-size: 1.5rem;
    color: #64b5f6;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    opacity: 1;
}

.navbar-brand:hover i {
    transform: rotate(-10deg) scale(1.1);
    color: #90caf9;
}

/* Nav Links - Genel */
.navbar .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 18px 16px !important;
    display: flex;
    align-items: center;
    gap: 7px;
    position: relative;
    transition: all 0.25s ease;
    border-bottom: 3px solid transparent;
}

.navbar .nav-link i {
    font-size: 1.05rem;
    width: 20px;
    text-align: center;
    transition: transform 0.25s ease;
}

.navbar .nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
    border-bottom-color: rgba(255, 255, 255, 0.4);
}

.navbar .nav-link:hover i {
    transform: scale(1.15);
}

/* Aktif sayfa */
.navbar .nav-link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.15);
    border-bottom-color: #64b5f6;
}

.navbar .nav-link.active i {
    color: #64b5f6;
}

/* Danışan Ekle - Vurgulu buton stili */
.navbar .nav-link-add {
    color: #c8e6c9 !important;
}

.navbar .nav-link-add:hover {
    color: #fff !important;
    background: rgba(76, 175, 80, 0.25);
    border-bottom-color: #81c784;
}

.navbar .nav-link-add i {
    color: #81c784;
}

/* Admin link */
.navbar .nav-link-admin {
    color: #ffe082 !important;
}

.navbar .nav-link-admin:hover {
    background: rgba(255, 193, 7, 0.15);
    border-bottom-color: #ffd54f;
}

.navbar .nav-link-admin.active {
    background: rgba(255, 193, 7, 0.2);
    border-bottom-color: #ffd54f;
}

.navbar .nav-link-admin i {
    color: #ffd54f;
}

/* Sag taraf - Bildirim ve Profil */
.navbar .navbar-nav:last-child .nav-link {
    border-bottom-color: transparent;
}

/* Bildirim ikonu */
.navbar #notificationDropdown {
    padding: 16px 14px !important;
    border-bottom: 3px solid transparent;
}

.navbar #notificationDropdown:hover {
    background: rgba(255, 255, 255, 0.1);
}

.navbar #notificationDropdown i {
    font-size: 1.15rem;
}

/* Profil dropdown */
.navbar .navbar-nav:last-child .nav-item.dropdown > .nav-link {
    padding: 10px 14px !important;
    border-radius: 8px;
    margin: 8px 0;
    border-bottom: none;
}

.navbar .navbar-nav:last-child .nav-item.dropdown > .nav-link:hover {
    background: rgba(255, 255, 255, 0.12);
    border-bottom: none;
}

/* Navbar toggler (mobil) */
.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(100, 181, 246, 0.4);
}

/* Responsive - Mobil navbar */
@media (max-width: 991.98px) {
    .navbar .nav-link {
        padding: 12px 16px !important;
        border-bottom: none;
        border-left: 3px solid transparent;
        border-radius: 0;
    }

    .navbar .nav-link:hover {
        border-bottom: none;
        border-left-color: rgba(255, 255, 255, 0.4);
    }

    .navbar .nav-link.active {
        border-bottom: none;
        border-left-color: #64b5f6;
        background: rgba(255, 255, 255, 0.1);
    }

    .navbar .navbar-nav:last-child .nav-item.dropdown > .nav-link {
        margin: 4px 0;
        border-radius: 0;
    }

    .navbar #notificationDropdown {
        padding: 12px 16px !important;
        border-bottom: none;
    }
}

/* Navbar container genislikleri - buyuk ekranlar */
@media (min-width: 1400px) {
    .navbar .container {
        max-width: 1360px;
    }
}

@media (min-width: 1600px) {
    .navbar .container {
        max-width: 1520px;
    }
}

@media (min-width: 1920px) {
    .navbar .container {
        max-width: 1760px;
    }
}

/* Alert iyileştirmeleri */
.alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* Badge iyileştirmeleri */
.badge {
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 6px;
}

/* ============================================
   BUTON TASARIMLARI - Modern Stil
   ============================================ */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.25s ease;
    letter-spacing: 0.2px;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.btn:focus-visible {
    outline: 3px solid rgba(66, 133, 244, 0.4);
    outline-offset: 2px;
}

.btn i {
    transition: transform 0.2s ease;
}

.btn:hover i {
    transform: scale(1.1);
}

/* --- Primary --- */
.btn-primary {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e88e5 0%, #1976d2 100%);
    box-shadow: 0 4px 16px rgba(25, 118, 210, 0.35);
}

/* --- Success --- */
.btn-success {
    background: linear-gradient(135deg, #43a047 0%, #388e3c 100%);
    color: #fff;
}

.btn-success:hover {
    background: linear-gradient(135deg, #4caf50 0%, #43a047 100%);
    box-shadow: 0 4px 16px rgba(67, 160, 71, 0.35);
}

/* --- Danger --- */
.btn-danger {
    background: linear-gradient(135deg, #e53935 0%, #d32f2f 100%);
    color: #fff;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #ef5350 0%, #e53935 100%);
    box-shadow: 0 4px 16px rgba(229, 57, 53, 0.35);
}

/* --- Warning --- */
.btn-warning {
    background: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
    color: #fff;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #ffb74d 0%, #ffa726 100%);
    box-shadow: 0 4px 16px rgba(255, 167, 38, 0.35);
    color: #fff;
}

/* --- Info --- */
.btn-info {
    background: linear-gradient(135deg, #29b6f6 0%, #0288d1 100%);
    color: #fff;
}

.btn-info:hover {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    box-shadow: 0 4px 16px rgba(41, 182, 246, 0.35);
    color: #fff;
}

/* --- Secondary --- */
.btn-secondary {
    background: linear-gradient(135deg, #78909c 0%, #607d8b 100%);
    color: #fff;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #90a4ae 0%, #78909c 100%);
    box-shadow: 0 4px 16px rgba(120, 144, 156, 0.35);
}

/* --- Dark --- */
.btn-dark {
    background: linear-gradient(135deg, #455a64 0%, #37474f 100%);
    color: #fff;
}

.btn-dark:hover {
    background: linear-gradient(135deg, #546e7a 0%, #455a64 100%);
    box-shadow: 0 4px 16px rgba(69, 90, 100, 0.35);
}

/* --- Light --- */
.btn-light {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    color: #455a64;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.btn-light:hover {
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #37474f;
}

/* ---- Outline Butonlar ---- */
.btn-outline-primary {
    color: #1976d2;
    border: 2px solid #1976d2;
    background: transparent;
    box-shadow: none;
}

.btn-outline-primary:hover {
    background: #1976d2;
    color: #fff;
    box-shadow: 0 4px 14px rgba(25, 118, 210, 0.3);
}

.btn-outline-secondary {
    color: #607d8b;
    border: 2px solid #90a4ae;
    background: transparent;
    box-shadow: none;
}

.btn-outline-secondary:hover {
    background: #607d8b;
    border-color: #607d8b;
    color: #fff;
    box-shadow: 0 4px 14px rgba(96, 125, 139, 0.3);
}

.btn-outline-success {
    color: #43a047;
    border: 2px solid #43a047;
    background: transparent;
    box-shadow: none;
}

.btn-outline-success:hover {
    background: #43a047;
    color: #fff;
    box-shadow: 0 4px 14px rgba(67, 160, 71, 0.3);
}

.btn-outline-danger {
    color: #e53935;
    border: 2px solid #e53935;
    background: transparent;
    box-shadow: none;
}

.btn-outline-danger:hover {
    background: #e53935;
    color: #fff;
    box-shadow: 0 4px 14px rgba(229, 57, 53, 0.3);
}

.btn-outline-info {
    color: #0288d1;
    border: 2px solid #0288d1;
    background: transparent;
    box-shadow: none;
}

.btn-outline-info:hover {
    background: #0288d1;
    color: #fff;
    box-shadow: 0 4px 14px rgba(2, 136, 209, 0.3);
}

.btn-outline-warning {
    color: #f57c00;
    border: 2px solid #f57c00;
    background: transparent;
    box-shadow: none;
}

.btn-outline-warning:hover {
    background: #f57c00;
    color: #fff;
    box-shadow: 0 4px 14px rgba(245, 124, 0, 0.3);
}

/* ---- Boyutlar ---- */
.btn-sm {
    border-radius: 6px;
    font-size: 0.82rem;
    padding: 6px 14px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.btn-sm:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.btn-lg {
    border-radius: 10px;
    font-size: 1.05rem;
    padding: 12px 28px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.btn-lg:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

/* ---- Buton Grubu ---- */
.btn-group .btn {
    border-radius: 0;
    box-shadow: none;
}

.btn-group .btn:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.btn-group .btn:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.btn-group .btn:hover {
    transform: none;
    z-index: 1;
}

/* ---- Disabled Buton ---- */
.btn:disabled,
.btn.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ---- Buton icon animasyonu ---- */
.btn .fa-arrow-right {
    transition: transform 0.25s ease;
}

.btn:hover .fa-arrow-right {
    transform: translateX(3px);
}

.btn .fa-arrow-left {
    transition: transform 0.25s ease;
}

.btn:hover .fa-arrow-left {
    transform: translateX(-3px);
}

.btn .fa-plus,
.btn .fa-plus-circle {
    transition: transform 0.25s ease;
}

.btn:hover .fa-plus,
.btn:hover .fa-plus-circle {
    transform: rotate(90deg);
}

.btn .fa-trash,
.btn .fa-trash-alt {
    transition: transform 0.25s ease;
}

.btn:hover .fa-trash,
.btn:hover .fa-trash-alt {
    transform: scale(1.15);
}

.btn .fa-edit,
.btn .fa-pen {
    transition: transform 0.25s ease;
}

.btn:hover .fa-edit,
.btn:hover .fa-pen {
    transform: rotate(-12deg);
}

.btn .fa-download {
    transition: transform 0.25s ease;
}

.btn:hover .fa-download {
    transform: translateY(2px);
}

.btn .fa-eye {
    transition: transform 0.25s ease;
}

.btn:hover .fa-eye {
    transform: scale(1.15);
}

/* Auth sayfaları - form kartları */
.auth-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Boş durum göstergeleri */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: #64748b;
}

.empty-state i {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.empty-state h5 {
    color: #475569;
    margin-bottom: 8px;
}

/* Footer boşluk */
.page-footer-spacer {
    height: 40px;
}

/* Video Yükleme ve Önizleme Alanı */
.upload-section {
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 2px solid #2193b0;
}

.upload-box {
    border: 2px dashed #ccc;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.upload-box:hover {
    border-color: #007bff;
    background-color: rgba(0,123,255,0.05);
}

.upload-box input[type="file"] {
    display: none;
}

.upload-box label {
    cursor: pointer;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.upload-box label:hover {
    background: #0056b3;
}

/* Analiz Bölümleri */
.analysis-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.analysis-box {
    text-align: center;
    border: 2px solid #4a90e2;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    border-radius: 8px;
}

/* Her analiz türü için farklı çerçeve renkleri */
.analysis-box:nth-child(1) {
    border-color: #11998e; /* Metin analizi için yeşil */
}

.analysis-box:nth-child(2) {
    border-color: #8E2DE2; /* Ses analizi için mor */
}

.analysis-row:nth-child(2) .analysis-box:nth-child(1) {
    border-color: #ee0979; /* Duygu analizi için pembe */
}

.analysis-row:nth-child(2) .analysis-box:nth-child(2) {
    border-color: #1565C0; /* Beden dili analizi için mavi */
}

.full-width .analysis-box {
    border-color: #4a90e2; /* Yapay zeka analizi için orijinal mavi */
}

/* Analiz Butonları */
.analyze-btn {
    background: linear-gradient(45deg, #2193b0, #6dd5ed);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    margin: 0 auto;
    display: block;
    min-width: 180px;
}

/* Her analiz türü için farklı gradient */
.analyze-text-btn {
    background: linear-gradient(45deg, #11998e, #38ef7d);
}

.analyze-audio-btn {
    background: linear-gradient(45deg, #8E2DE2, #4A00E0);
}

.analyze-emotion-btn {
    background: linear-gradient(45deg, #ee0979, #ff6a00);
}

.analyze-body-language-btn {
    background: linear-gradient(45deg, #1565C0, #b92b27);
}

/* Hover efektleri */
.analyze-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.analyze-btn:active {
    transform: translateY(0);
}

/* Buton üzerine gelindiğinde parıltı efekti */
.analyze-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0;
}

.analyze-btn:hover::before {
    opacity: 1;
    transform: rotate(45deg) translateX(-50%);
}

/* Sonuç alanları için ortak stil */
.result {
    text-align: left;
    padding: 20px;
    border-radius: 8px;
    background: #fff;
    margin-top: 20px;
    min-height: 100px;
}

/* Hover efektleri */
.analyze-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.analyze-btn:active {
    transform: translateY(0);
}

/* Buton üzerine gelindiğinde parıltı efekti */
.analyze-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0;
}

.analyze-btn:hover::before {
    opacity: 1;
    transform: rotate(45deg) translateX(-50%);
}

/* Butonlar için loading durumu */
.analyze-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.analyze-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Disabled durumu */
.analyze-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
}

#preview {
    margin-top: 20px;
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f9fa;
    padding: 10px;
}

#preview video {
    max-width: 100%;
    max-height: 300px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: #000;
}

.download-btn {
    background: #17a2b8;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    display: none;
}

.download-btn:hover {
    background: #138496;
}

.download-plot-btn {
    background: #17a2b8;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 15px;
    display: block;
    width: fit-content;
}

.download-plot-btn:hover {
    background: #138496;
}

/* Yükleme göstergesi için stiller */
.loading {
    text-align: center;
    padding: 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hata mesajı stilleri */
.error-message {
    background-color: #fff3f3;
    border: 1px solid #ffcdd2;
    border-radius: 4px;
    padding: 15px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-icon {
    font-size: 24px;
}

/* Sadece Gemini analiz sonuçları için stiller */
.ai-analysis-container {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ai-analysis-container h1,
.ai-analysis-container h2,
.ai-analysis-container h3,
.ai-analysis-container h4,
.ai-analysis-container h5 {
    color: #2c3e50;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

.ai-analysis-container p {
    line-height: 1.6;
    margin-bottom: 1em;
}

.ai-analysis-container ul {
    margin-bottom: 1em;
    padding-left: 2em;
}

.ai-analysis-container li {
    margin-bottom: 0.5em;
}

.ai-analysis-container blockquote {
    border-left: 4px solid #3498db;
    padding-left: 1em;
    margin: 1em 0;
    color: #666;
}

.section-content {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.section-content h3 {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    margin: 25px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.section-content strong {
    font-weight: bold;
    color: #2c3e50;
}

.section-content em {
    font-style: italic;
}

.section-content p {
    margin: 15px 0;
}

.section-content ul {
    margin: 15px 0 15px 20px;
    list-style-type: disc;
}

.section-content li {
    margin: 8px 0;
}

.full-width {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.full-width .analysis-box {
    text-align: center;
    border: 2px solid #4a90e2; /* Özel vurgu için mavi çerçeve */
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.full-width .analyze-btn {
    margin: 0 auto;
    display: block;
    min-width: 200px;
}

.full-width .result {
    text-align: left;
    padding: 20px;
    border-radius: 8px;
    background: #fff;
    margin-top: 20px;
}

/* AI analiz sonuçları için özel stiller */
.ai-analysis-result {
    font-size: 1.1em;
    line-height: 1.8;
}

.ai-insight {
    padding: 15px;
    margin: 10px 0;
    border-left: 4px solid #4a90e2;
    background: #f8f9fa;
}

.ai-recommendation {
    padding: 15px;
    margin: 10px 0;
    border-left: 4px solid #28a745;
    background: #f8f9fa;
}

.analysis-details ul {
    list-style-type: none;
    padding: 0;
}

.analysis-details li {
    background: #f8f9fa;
    margin: 5px 0;
    padding: 10px;
    border-radius: 4px;
    border-left: 4px solid #4a90e2;
}

.analysis-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.analysis-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.analysis-row.full-width {
    grid-template-columns: 1fr;
}

.analysis-box {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.analysis-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

/* Responsive tasarım için medya sorguları */
@media (max-width: 768px) {
    .analysis-row {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 10px;
    }

    .page-wrapper {
        padding-bottom: 20px;
    }

    .content-block {
        padding: 16px;
        border-radius: 8px;
        margin-bottom: 16px;
    }

    .page-header {
        padding: 16px;
        border-radius: 8px;
    }

    .card-header {
        padding: 12px 16px;
    }

    .card-body {
        padding: 16px;
    }
}

/* Büyük ekranlarda tablo ve kart genişliği */
@media (min-width: 1400px) {
    .table thead th {
        padding: 16px 20px;
        font-size: 0.85rem;
    }

    .table tbody td {
        padding: 16px 20px;
        font-size: 0.95rem;
    }

    .card-header {
        padding: 18px 28px;
    }

    .card-body {
        padding: 28px;
    }

    .content-block {
        padding: 32px;
    }
}

@media (min-width: 1600px) {
    .table thead th {
        padding: 18px 24px;
        font-size: 0.875rem;
    }

    .table tbody td {
        padding: 18px 24px;
        font-size: 1rem;
    }
}

/* Modal stilleri */
.modal {
    display: none;
    position: fixed;
    z-index: 1050 !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    display: block;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.modal-close:hover {
    color: #bbb;
}

/* Görsel hover efekti */
.audio-plot img {
    cursor: zoom-in;
    transition: opacity 0.3s;
}

.audio-plot img:hover {
    opacity: 0.9;
}

/* Beden dili analizi için özel stiller */
.body-language-plot {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.body-language-plot h4 {
    margin-bottom: 15px;
    color: #333;
}

.analysis-details ul {
    list-style-type: none;
    padding: 0;
}

.analysis-details li {
    background: #f8f9fa;
    margin: 8px 0;
    padding: 10px;
    border-radius: 4px;
    border-left: 4px solid #1565C0;
}

.analysis-details strong {
    color: #1565C0;
}

/* AI Analiz sonuçları için stiller */
.ai-analysis-container {
    padding: 15px;
}

.section-content h3 {
    color: #2c3e50;
    font-size: 1.8em;
    margin: 20px 0 15px 0;
    font-weight: bold;
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
}

.section-content h4 {
    color: #2c3e50;
    font-size: 1.5em;
    margin: 18px 0 12px 0;
    font-weight: bold;
}

.section-content h5 {
    color: #2c3e50;
    font-size: 1.2em;
    margin: 15px 0 10px 0;
    font-weight: bold;
}

.section-content strong {
    font-weight: bold;
    color: #2c3e50;
}

.section-content em {
    font-style: italic;
    color: #34495e;
}

.section-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.section-content li {
    margin: 5px 0;
    list-style-type: disc;
}

.section-content blockquote {
    border-left: 4px solid #3498db;
    margin: 10px 0;
    padding: 10px 20px;
    background-color: #f8f9fa;
    font-style: italic;
}

.section-content code {
    background-color: #f8f9fa;
    padding: 2px 5px;
    border-radius: 3px;
    font-family: monospace;
    color: #e74c3c;
}

/* Modal z-index ayarları */
.modal-backdrop {
    z-index: 1040 !important;
}
.modal-dialog {
    z-index: 1060 !important;
}

/* Yaklaşan oturumlar kartı stilleri */
.border-left-info {
    border-left: 4px solid #17a2b8 !important;
    transition: all 0.3s ease;
}

.border-left-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.2);
}

/* ============================================
   YAKLAŞAN OTURUMLAR
   ============================================ */
.upcoming-session-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e8eaf6;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.upcoming-session-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(25, 118, 210, 0.15);
    border-color: #90caf9;
}

.upcoming-session-accent {
    height: 4px;
    background: linear-gradient(90deg, #1976d2, #42a5f5, #1976d2);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.upcoming-session-body {
    padding: 16px;
}

.upcoming-session-date {
    font-size: 0.78rem;
    color: #546e7a;
    font-weight: 600;
}

.upcoming-session-badge {
    background: linear-gradient(135deg, #1976d2, #42a5f5) !important;
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
}

.upcoming-session-title {
    font-weight: 700;
    color: #1a237e;
    font-size: 0.95rem;
    margin: 8px 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upcoming-session-client {
    color: #455a64;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.upcoming-session-client i {
    color: #1976d2;
}

.upcoming-session-notes {
    font-size: 0.78rem;
    color: #78909c;
    margin-bottom: 12px;
    line-height: 1.4;
}

.upcoming-session-actions {
    display: flex;
    gap: 6px;
}

.upcoming-session-actions .btn {
    flex: 1;
    font-size: 0.78rem;
    padding: 5px 8px;
}

/* Animasyonlar */
@keyframes slideInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.upcoming-sessions-container > div:nth-child(1) { animation: slideInUp 0.3s ease-out; }
.upcoming-sessions-container > div:nth-child(2) { animation: slideInUp 0.4s ease-out; }
.upcoming-sessions-container > div:nth-child(3) { animation: slideInUp 0.5s ease-out; }
.upcoming-sessions-container > div:nth-child(4) { animation: slideInUp 0.55s ease-out; }
.upcoming-sessions-container > div:nth-child(5) { animation: slideInUp 0.6s ease-out; }
.upcoming-sessions-container > div:nth-child(6) { animation: slideInUp 0.65s ease-out; }

/* Bos durum kutusu */
.empty-state-box {
    text-align: center;
    padding: 40px 20px;
}

.empty-state-box > i {
    font-size: 3rem;
    color: #b0bec5;
    margin-bottom: 16px;
    display: block;
}

.empty-state-box h5 {
    color: #546e7a;
    font-weight: 600;
}

.empty-state-box p {
    color: #90a4ae;
    max-width: 380px;
    margin: 0 auto 16px;
}

/* ============================================
   GEÇMİŞ OTURUMLAR
   ============================================ */
.recent-sessions-list {
    max-height: 480px;
    overflow-y: auto;
}

.recent-sessions-list::-webkit-scrollbar {
    width: 5px;
}

.recent-sessions-list::-webkit-scrollbar-track {
    background: transparent;
}

.recent-sessions-list::-webkit-scrollbar-thumb {
    background: #cfd8dc;
    border-radius: 10px;
}

.recent-sessions-list::-webkit-scrollbar-thumb:hover {
    background: #90a4ae;
}

.recent-session-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    gap: 12px;
}

.recent-session-item:hover {
    background: #f5f7ff;
    color: inherit;
    text-decoration: none;
}

.recent-session-item:last-child {
    border-bottom: none;
}

.recent-session-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1;
}

.recent-session-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.recent-session-indicator.completed {
    background: #4caf50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.recent-session-indicator.pending {
    background: #ffc107;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
}

.recent-session-info {
    min-width: 0;
}

.recent-session-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #263238;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-session-meta {
    display: flex;
    gap: 16px;
    font-size: 0.78rem;
    color: #78909c;
    margin-top: 3px;
}

.recent-session-meta i {
    color: #90a4ae;
}

.recent-session-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.recent-session-right .badge {
    font-size: 0.7rem;
    padding: 4px 8px;
    font-weight: 600;
}

.recent-session-arrow {
    color: #cfd8dc;
    font-size: 0.75rem;
    margin-left: 6px;
    transition: transform 0.2s ease;
}

.recent-session-item:hover .recent-session-arrow {
    transform: translateX(3px);
    color: #1976d2;
}

@media (max-width: 768px) {
    .recent-session-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .recent-session-right {
        flex-wrap: wrap;
        width: 100%;
    }

    .recent-session-meta {
        flex-direction: column;
        gap: 2px;
    }

    .recent-session-arrow {
        display: none;
    }
}

/* ============================================
   ÖNERİLER
   ============================================ */
.suggestion-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
}

.suggestion-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.suggestion-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.suggestion-card-content {
    flex: 1;
    min-width: 0;
}

.suggestion-card-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.suggestion-card-desc {
    font-size: 0.83rem;
    line-height: 1.5;
    margin-bottom: 12px;
    opacity: 0.85;
}

.suggestion-card-btn {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.suggestion-card-btn:hover {
    transform: translateX(4px);
}

.suggestion-card-btn i {
    transition: transform 0.2s ease;
}

.suggestion-card-btn:hover i {
    transform: translateX(3px);
}

/* Renk varyantlari */
.suggestion-primary {
    background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
    border-color: #c5cae9;
}
.suggestion-primary .suggestion-card-icon { background: #1976d2; color: #fff; }
.suggestion-primary .suggestion-card-title { color: #1a237e; }
.suggestion-primary .suggestion-card-btn { color: #1565c0; }

.suggestion-success {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-color: #c8e6c9;
}
.suggestion-success .suggestion-card-icon { background: #388e3c; color: #fff; }
.suggestion-success .suggestion-card-title { color: #1b5e20; }
.suggestion-success .suggestion-card-btn { color: #2e7d32; }

.suggestion-warning {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-color: #ffe082;
}
.suggestion-warning .suggestion-card-icon { background: #f57c00; color: #fff; }
.suggestion-warning .suggestion-card-title { color: #e65100; }
.suggestion-warning .suggestion-card-btn { color: #ef6c00; }

.suggestion-danger {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
    border-color: #f8bbd0;
}
.suggestion-danger .suggestion-card-icon { background: #d32f2f; color: #fff; }
.suggestion-danger .suggestion-card-title { color: #b71c1c; }
.suggestion-danger .suggestion-card-btn { color: #c62828; }

/* Animasyonlar */
.suggestions-grid > div:nth-child(1) { animation: slideInUp 0.3s ease-out; }
.suggestions-grid > div:nth-child(2) { animation: slideInUp 0.4s ease-out; }
.suggestions-grid > div:nth-child(3) { animation: slideInUp 0.5s ease-out; }
.suggestions-grid > div:nth-child(4) { animation: slideInUp 0.6s ease-out; }

@media (max-width: 768px) {
    .suggestion-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .suggestion-card-icon {
        margin-bottom: 4px;
    }
}

/* ============================================
   FULLCALENDAR - Tema Uyumu
   ============================================ */

#fullCalendar {
    font-family: inherit;
}

/* Toolbar */
.fc .fc-toolbar {
    margin-bottom: 1rem !important;
    flex-wrap: wrap;
    gap: 8px;
}

.fc .fc-toolbar-title {
    font-size: 1.35rem !important;
    font-weight: 700;
    color: #1a237e;
}

/* Butonlar */
.fc .fc-button {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 0.85rem !important;
    padding: 6px 14px !important;
    box-shadow: 0 2px 6px rgba(25, 118, 210, 0.25);
    transition: all 0.2s ease;
}

.fc .fc-button:hover {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(25, 118, 210, 0.35);
}

.fc .fc-button-active,
.fc .fc-button:active {
    background: linear-gradient(135deg, #0d47a1 0%, #1a237e 100%) !important;
    box-shadow: 0 2px 4px rgba(25, 118, 210, 0.3) !important;
}

.fc .fc-today-button {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%) !important;
}

.fc .fc-today-button:hover {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%) !important;
}

.fc .fc-today-button:disabled {
    opacity: 0.5;
}

/* Tablo */
.fc .fc-daygrid-day {
    transition: background 0.15s ease;
}

.fc .fc-daygrid-day:hover {
    background: #f5f7ff;
}

.fc .fc-day-today {
    background: #e8f5e9 !important;
}

.fc .fc-daygrid-day-number {
    font-weight: 600;
    color: #37474f;
    padding: 6px 10px;
}

.fc .fc-day-today .fc-daygrid-day-number {
    background: #1976d2;
    color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 4px;
    padding: 0;
}

.fc .fc-col-header-cell {
    background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
    font-weight: 700;
    color: #283593;
    padding: 10px 0 !important;
    font-size: 0.85rem;
}

/* Eventler */
.fc .fc-event {
    border: none !important;
    border-radius: 8px !important;
    padding: 0 !important;
    font-size: 0.82rem !important;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    overflow: hidden;
    margin-bottom: 3px !important;
}

.fc .fc-event:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.22);
    filter: brightness(0.93);
}

.fc .fc-daygrid-event-dot {
    border-color: currentColor !important;
}

/* Custom event icerigi */
.fc-event-custom {
    padding: 5px 8px;
    line-height: 1.35;
}

.fc-event-time-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    opacity: 0.92;
    margin-bottom: 2px;
}

.fc-event-clock {
    font-weight: 600;
}

.fc-event-clock i {
    margin-right: 2px;
}

.fc-event-status {
    font-size: 0.8rem;
}

.fc-event-title-row {
    font-weight: 700;
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1px;
}

.fc-event-client-row {
    font-size: 0.74rem;
    opacity: 0.88;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fc-event-client-row i {
    margin-right: 3px;
    font-size: 0.68rem;
}

/* Hucre yuksekligi - daha fazla alan */
.fc .fc-daygrid-day-frame {
    min-height: 120px;
}

/* Liste gorunumunde event */
.fc-list-event .fc-event-custom {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
}

.fc-list-event .fc-event-time-row {
    margin-bottom: 0;
    min-width: 50px;
}

.fc-list-event .fc-event-title-row {
    margin-bottom: 0;
    font-size: 0.88rem;
}

.fc-list-event .fc-event-client-row {
    font-size: 0.8rem;
}

/* "+N oturum daha" linki */
.fc .fc-more-link {
    color: #1976d2 !important;
    font-weight: 700;
    font-size: 0.78rem;
}

.fc .fc-more-link:hover {
    color: #0d47a1 !important;
    text-decoration: underline;
}

/* Popover */
.fc .fc-popover {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border: none;
}

.fc .fc-popover-header {
    background: linear-gradient(135deg, #1976d2, #1565c0) !important;
    color: #fff !important;
    border-radius: 12px 12px 0 0;
    padding: 8px 12px !important;
    font-weight: 600;
}

/* Liste gorunumu */
.fc .fc-list {
    border: none !important;
    border-radius: 12px;
    overflow: hidden;
}

.fc .fc-list-day-cushion {
    background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%) !important;
    font-weight: 700;
    color: #283593;
}

.fc .fc-list-event:hover td {
    background: #f5f7ff !important;
}

.fc .fc-list-event-dot {
    border-color: currentColor !important;
}

/* Responsive */
@media (max-width: 768px) {
    .fc .fc-toolbar {
        flex-direction: column;
        align-items: stretch !important;
    }

    .fc .fc-toolbar-chunk {
        display: flex;
        justify-content: center;
        margin-bottom: 4px;
    }

    .fc .fc-toolbar-title {
        font-size: 1.1rem !important;
    }

    .fc .fc-button {
        font-size: 0.78rem !important;
        padding: 4px 10px !important;
    }
}



/* Danışanlar tablosu */
.table th:nth-child(5), 
.table th:nth-child(6) {
    min-width: 140px;
}

.table td:nth-child(5), 
.table td:nth-child(6) {
    vertical-align: middle;
}

/* Takvim navigasyon butonları */
.calendar-nav {
    margin-bottom: 1rem;
}

.calendar-nav .btn-group .btn {
    border-radius: 0;
}

.calendar-nav .btn-group .btn:first-child {
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}

.calendar-nav .btn-group .btn:last-child {
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

/* Navbar dropdown hover acilma */
.navbar .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 1;
    transform: translateY(0);
}

/* Dropdown animasyonu */
.navbar .dropdown-menu {
    transition: opacity 0.25s ease, transform 0.25s ease;
    opacity: 0;
    transform: translateY(-8px);
    border: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    min-width: 220px;
    max-width: 280px;
    overflow: hidden;
    position: absolute;
    right: 0;
    left: auto;
    z-index: 1050;
    top: calc(100% + 2px);
    padding: 6px 0;
    background: #fff;
}

/* Dropdown hover surekliligi */
.navbar .dropdown-menu:hover {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
}

/* Profil fotografi hover */
.navbar .nav-link img {
    transition: all 0.25s ease;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.navbar .nav-item.dropdown:hover .nav-link img {
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.7);
}

/* Dropdown item stilleri */
.dropdown-item {
    transition: all 0.2s ease;
    border-radius: 6px;
    margin: 2px 6px;
    padding: 10px 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
    color: #333;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: #6c757d;
    transition: color 0.2s ease;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    color: white !important;
    transform: translateX(3px);
}

.dropdown-item:hover i {
    color: white;
}

.dropdown-item.text-danger:hover {
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    color: white !important;
}

/* Container tasma kontrolu */
.navbar .container {
    overflow: visible;
}

/* Responsive dropdown */
@media (max-width: 991.98px) {
    .navbar .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background: rgba(0, 0, 0, 0.15);
        border: 0;
        box-shadow: none;
        transform: none;
        opacity: 1;
        border-radius: 0;
        padding: 4px 0;
    }
    
    .navbar .nav-item.dropdown:hover .dropdown-menu {
        transform: none;
    }

    .dropdown-item {
        color: rgba(255, 255, 255, 0.85);
        margin: 0;
        border-radius: 0;
        padding: 10px 24px;
    }

    .dropdown-item i {
        color: rgba(255, 255, 255, 0.6);
    }
    
    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: none;
    }
}

/* ============================================
   YUKARI CIK BUTONU
   ============================================ */
#scrollToTopBtn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 1000;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(13, 71, 161, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease,
                background 0.25s ease, box-shadow 0.25s ease;
}

#scrollToTopBtn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

#scrollToTopBtn:hover {
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    box-shadow: 0 6px 24px rgba(13, 71, 161, 0.45);
    transform: translateY(-3px) scale(1.08);
}

#scrollToTopBtn:active {
    transform: translateY(0) scale(1);
    box-shadow: 0 2px 10px rgba(13, 71, 161, 0.3);
}

#scrollToTopBtn i {
    transition: transform 0.25s ease;
}

#scrollToTopBtn:hover i {
    transform: translateY(-2px);
}

/* Mobilde biraz kucuk ve kenara yakin */
@media (max-width: 768px) {
    #scrollToTopBtn {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}

/* ============================================
   DATATABLES - Tema Uyumu
   ============================================ */

/* Genel wrapper */
.dataTables_wrapper {
    padding: 0;
    overflow: hidden;
}

/* Tablo genislik kontrolu - tasmayi engelle */
table.dataTable {
    width: 100% !important;
    table-layout: auto;
}

table.dataTable td,
table.dataTable th {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

table.dataTable td:first-child,
table.dataTable td:nth-child(2) {
    white-space: normal;
}

/* Scrollbar'i gizle, sadece gerektiginde goster */
.table-responsive {
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.table-responsive::-webkit-scrollbar {
    display: none;
}

/* Kompakt buton grubu - tablolarda */
.table .btn-action-group {
    display: flex;
    gap: 4px;
    flex-wrap: nowrap;
}

.table .btn-action-group .btn {
    padding: 4px 8px;
    font-size: 0.78rem;
    white-space: nowrap;
}

/* Ust bilgi cizgisi: kayit sayisi + arama */
.dt-header {
    padding: 16px 0;
    margin-bottom: 4px;
}

.dt-header .row {
    gap: 8px 0;
}

/* Sayfa basina kayit dropdown */
.dataTables_wrapper .dataTables_length {
    margin-bottom: 0;
}

.dataTables_wrapper .dataTables_length label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 0.88rem;
    color: #6c757d;
    font-weight: 500;
}

.dataTables_wrapper .dataTables_length select {
    width: auto;
    padding: 6px 32px 6px 12px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    font-size: 0.88rem;
    color: #455a64;
    background-color: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.dataTables_wrapper .dataTables_length select:focus {
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.15);
    outline: none;
}

/* Arama kutusu */
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 0;
    text-align: right;
}

.dataTables_wrapper .dataTables_filter label {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
}

.dataTables_wrapper .dataTables_filter input {
    width: 240px;
    padding: 8px 14px 8px 38px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    font-size: 0.9rem;
    color: #333;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, width 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='%2390a4ae'%3E%3Cpath d='M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 12px center;
    background-size: 15px;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.15);
    outline: none;
    width: 280px;
}

.dataTables_wrapper .dataTables_filter input::placeholder {
    color: #adb5bd;
}

/* Tablo header siralama ikonlari */
table.dataTable thead th {
    position: relative;
    cursor: pointer;
    padding-right: 26px !important;
}

table.dataTable thead th.sorting::after,
table.dataTable thead th.sorting_asc::after,
table.dataTable thead th.sorting_desc::after {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: #adb5bd;
    transition: color 0.2s ease;
}

table.dataTable thead th.sorting::after {
    content: '\f0dc';
}

table.dataTable thead th.sorting_asc::after {
    content: '\f0de';
    color: #1976d2;
}

table.dataTable thead th.sorting_desc::after {
    content: '\f0dd';
    color: #1976d2;
}

table.dataTable thead th.sorting::before,
table.dataTable thead th.sorting_asc::before,
table.dataTable thead th.sorting_desc::before {
    display: none !important;
}

/* Alt bilgi: kayit bilgisi + sayfalama */
.dt-footer {
    padding: 16px 0 4px;
    border-top: 1px solid #eee;
    margin-top: 4px;
}

/* Kayit bilgisi metni */
.dataTables_wrapper .dataTables_info {
    font-size: 0.85rem;
    color: #78909c;
    padding-top: 8px;
}

/* Sayfalama */
.dataTables_wrapper .dataTables_paginate {
    padding-top: 4px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 8px !important;
    border: none !important;
    margin: 0 2px;
    padding: 6px 12px !important;
    font-size: 0.85rem;
    font-weight: 500;
    color: #455a64 !important;
    background: transparent !important;
    transition: all 0.2s ease;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #e3f2fd !important;
    color: #1976d2 !important;
    box-shadow: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    color: #ccc !important;
    background: transparent !important;
    cursor: not-allowed;
    box-shadow: none !important;
}

/* Bos tablo mesaji */
.dataTables_wrapper .dataTables_empty {
    text-align: center;
    padding: 30px !important;
    color: #90a4ae;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .dataTables_wrapper .dataTables_filter input {
        width: 100%;
    }

    .dataTables_wrapper .dataTables_filter input:focus {
        width: 100%;
    }

    .dataTables_wrapper .dataTables_length label {
        font-size: 0.82rem;
    }

    .dataTables_wrapper .dataTables_filter {
        text-align: left;
        margin-top: 8px;
    }

    .dt-header .row {
        flex-direction: column;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding: 5px 10px !important;
        font-size: 0.8rem;
    }

    /* Kucuk ekranlarda tablo yazilari */
    table.dataTable td,
    table.dataTable th {
        font-size: 0.82rem;
        padding: 6px 8px !important;
    }

    .table .btn-action-group .btn {
        padding: 3px 6px;
        font-size: 0.72rem;
    }
}

