/* ===== HirasMuhasebe - MAIN CSS ===== */

/* ===== FONTS (Google Fonts) ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== VARIABLES ===== */
:root {
    --primary: #FF6F0F;
    --primary-light: #ff8a3c;
    --primary-dark: #e65a00;
    --secondary: #1a2b3c;
    --secondary-light: #243447;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --border-dark: #cbd5e1;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --success: #10b981;
    --danger: #dc2626;
    --warning: #f59e0b;
    --info: #3b82f6;
    --purple: #8b5cf6;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-lg: 12px;
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== CONTAINER ===== */
.export-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
    position: relative; /* ÃƒÆ’Ã‚Â¢Ãƒâ€¦Ã¢â‚¬Å“ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ veya position: static; */
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-top {
    background: var(--secondary);
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-info {
    display: flex;
    gap: 20px;
}

.header-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
}

    .header-info-item i {
        font-size: 14px;
    }

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-switcher {
    display: flex;
    gap: 5px;
}

.lang-btn {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
    opacity: 0.7;
}

    .lang-btn:hover,
    .lang-btn.active {
        background: var(--primary);
        opacity: 1;
    }

.header-main {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.header-main-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-primary {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
}

.logo-accent {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.logo-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius);
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.2s;
}

    .nav-item:hover {
        background: var(--bg-light);
        color: var(--primary);
    }

    .nav-item.active {
        background: rgba(255, 111, 15, 0.1);
        color: var(--primary);
    }

    .nav-item i {
        font-size: 18px;
    }

.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s;
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 6px;
    color: var(--text-dark);
    transition: all 0.2s;
}

    .dropdown-item:hover {
        background: var(--bg-light);
        color: var(--primary);
    }

    .dropdown-item i {
        font-size: 18px;
        color: var(--text-muted);
    }

    .dropdown-item:hover i {
        color: var(--primary);
    }

.header-search {
    flex-shrink: 0;
}

.search-form {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border-radius: 25px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.2s;
}

    .search-form:focus-within {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(255, 111, 15, 0.1);
    }

.search-input {
    border: none;
    background: none;
    padding: 10px 16px;
    width: 200px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.search-btn {
    border: none;
    background: var(--primary);
    color: white;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s;
}

    .search-btn:hover {
        background: var(--primary-dark);
    }

.mobile-menu-btn {
    display: none;
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

/* mobile-menu → sidebar olarak taşındı, CSS sona eklendi */

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text-dark);
}

    .mobile-nav-item:hover {
        background: var(--bg-light);
        color: var(--primary);
    }

/* ===== MAIN ===== */
.site-main {
    flex: 1;
    padding-bottom: 40px;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 2px solid #e2e8f0;
    padding: 24px 0;
    margin-bottom: 24px;
}

.page-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.page-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.02em;
    margin: 0 0 4px 0;
}

    .page-title i {
        color: var(--primary);
        font-size: 24px;
        background: linear-gradient(135deg, #FF6F0F 0%, #ff8f3f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.page-subtitle {
    color: #475569;
    font-size: 14px;
    margin-top: 4px;
    font-weight: 450;
}

.cache-info {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #e2e8f0;
    color: #334155;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

    .breadcrumb a {
        color: #64748b;
        transition: color 0.2s;
    }

        .breadcrumb a:hover {
            color: #1e293b;
        }

    .breadcrumb i {
        font-size: 16px;
        color: #94a3b8;
    }

/* ============================================
   STATS GRID - Responsive
   ============================================ */

.stats-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 100%; /* ÃƒÆ’Ã‚Â¢Ãƒâ€¦Ã¢â‚¬Å“ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ Tam geniÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€¦Ã‚Â¸lik */
}

/* Desktop (>1024px) - 4 kolon */
@media (min-width: 1025px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablet (769px - 1024px) - 3 kolon */
@media (min-width: 769px) and (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet KÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â§ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼k (481px - 768px) - 2 kolon */
@media (min-width: 481px) and (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Mobile (ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â°Ãƒâ€šÃ‚Â¤480px) - 1 kolon */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Stat Card */
.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    min-height: 140px; /* ÃƒÆ’Ã‚Â¢Ãƒâ€¦Ã¢â‚¬Å“ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ Minimum yÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼kseklik */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .stat-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    }

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    color: #fff;
}

    .stat-icon.red {
        background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    }

    .stat-icon.orange {
        background: linear-gradient(135deg, #FF6F0F 0%, #ff8f3f 100%);
    }

    .stat-icon.blue {
        background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    }

    .stat-icon.green {
        background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    }

    .stat-icon.purple {
        background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    }

    .stat-icon.green-light {
        background: linear-gradient(135deg, #22c55e 0%, #86efac 100%);
    }

    .stat-icon.blue-light {
        background: linear-gradient(135deg, #06b6d4 0%, #67e8f9 100%);
    }

    .stat-icon.red-light {
        background: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
    }



    .stat-icon.orange-light {
        background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    }

    .stat-icon.blue-light {
        background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
    }

    .stat-icon.green-light {
        background: linear-gradient(135deg, #22c55e 0%, #86efac 100%);
    }

    .stat-icon.red-light {
        background: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
    }

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    line-height: 1.4;
}

/* Mobile'de daha kÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â§ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼k */
@media (max-width: 480px) {
    .stat-card {
        padding: 20px;
        min-height: 120px;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
        margin-bottom: 12px;
    }

    .stat-value {
        font-size: 28px;
    }

    .stat-label {
        font-size: 13px;
    }
}

/* ===== FILTER CARD ===== */
.filter-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    overflow: hidden;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.filter-title {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .filter-title i {
        color: var(--primary);
    }

.filter-body {
    padding: 24px;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.filter-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.filter-group,
.filter-group-new {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label,
.filter-label-new {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

    .filter-label-new i {
        color: var(--primary);
        font-size: 16px;
    }

.multi-hint {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 11px;
}

.filter-control {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    transition: all 0.2s;
    background: var(--bg-white);
}

    .filter-control:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(255, 111, 15, 0.1);
    }

.year-range,
.year-range-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.year-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    transition: all 0.2s;
}

    .year-input:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(255, 111, 15, 0.1);
    }

.year-separator {
    color: var(--text-muted);
    font-weight: 600;
}

.sort-row,
.sort-group {
    display: flex;
    gap: 8px;
}

    .sort-row .filter-control,
    .sort-group .filter-control {
        flex: 1;
    }

.filter-actions {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 12px;
}

.filter-actions-new {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: center;
}

/* Active Filters */
.active-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.active-filters-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.active-filters-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
}

    .active-filter-tag i {
        cursor: pointer;
        color: var(--text-muted);
        font-size: 14px;
    }

        .active-filter-tag i:hover {
            color: var(--danger);
        }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

    .btn-primary:hover {
        background: var(--primary-dark);
    }

.btn-secondary {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

    .btn-secondary:hover {
        background: #f1f5f9;
        border-color: #94a3b8;
    }

.btn-success {
    background: var(--success);
    color: white;
}

    .btn-success:hover {
        background: #0d9668;
    }

.btn-icon {
    width: 42px;
    height: 42px;
    padding: 0;
    background: var(--bg-light);
    border: 1px solid var(--border);
}

    .btn-icon:hover {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 40px;
    font-size: 16px;
}

/* ===== TABLE ===== */
.table-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.table-title {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .table-title i {
        color: var(--primary);
    }

.table-actions {
    display: flex;
    gap: 10px;
}

.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

    .data-table th,
    .data-table td {
        padding: 14px 16px;
        text-align: left;
        border-bottom: 1px solid var(--border);
    }

    .data-table th {
        background: var(--bg-light);
        font-weight: 600;
        font-size: 13px;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .data-table tr:hover {
        background: var(--bg-light);
    }

    .data-table td a {
        color: var(--primary);
    }

        .data-table td a:hover {
            text-decoration: underline;
        }

.loading-cell,
.empty-cell {
    text-align: center !important;
    padding: 60px !important;
    color: var(--text-muted);
}

.table-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

/* ===== PAGINATION ===== */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-top: 1px solid var(--border);
}

.pagination-info {
    color: var(--text-muted);
    font-size: 14px;
}

.pagination {
    display: flex;
    gap: 6px;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: center;
    justify-content: center;
}

.page-btn {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg-white);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

    .page-btn:hover:not(:disabled) {
        border-color: var(--primary);
/*        color: var(--primary);
*/    }

    .page-btn.active {
        background: var(--primary);
        border-color: var(--primary);
        color: white;
    }

    .page-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.page-ellipsis {
    padding: 8px 4px;
    color: var(--text-muted);
}

/* ===== CHARTS ===== */
.chart-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.chart-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.chart-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .chart-title i {
        color: var(--primary);
    }

.chart-container {
    position: relative;
    height: 300px;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: width 0.3s ease;
}

    .progress-fill.green {
        background: var(--success);
    }

    .progress-fill.blue {
        background: var(--info);
    }

    .progress-fill.purple {
        background: var(--purple);
    }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--secondary);
    color: white;
    padding: 50px 0 0;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

    .footer-logo i {
        color: var(--primary);
    }

.footer-desc {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: color 0.2s;
}

    .footer-links a:hover {
        color: var(--primary);
    }

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

/* ===== LOADING ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-content {
    background: var(--bg-white);
    padding: 40px 60px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: var(--text-dark);
    font-weight: 500;
}

.ri-spin {
    animation: spin 1s linear infinite;
}

/* ===== ERROR PAGES ===== */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.error-container {
    text-align: center;
    max-width: 500px;
}

.error-code {
    font-size: 120px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 20px;
}

.error-icon {
    font-size: 80px;
    color: var(--primary);
    margin-bottom: 20px;
}

    .error-icon.forbidden {
        color: var(--danger);
    }

.error-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.error-message {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* ===== BOOK DETAIL ===== */
.book-detail-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.book-detail-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.book-detail-header {
    padding: 30px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white;
}

.book-detail-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
}

.book-detail-author {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 16px;
}

.book-detail-body {
    padding: 30px;
}

.book-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.book-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.book-info-label {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.book-info-value {
    font-size: 15px;
    font-weight: 500;
}

    .book-info-value a {
        color: var(--primary);
    }

        .book-info-value a:hover {
            text-decoration: underline;
        }

.book-identifiers {
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.book-identifier {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.identifier-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.identifier-value {
    font-family: monospace;
    font-size: 14px;
}

.identifier-link {
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.book-detail-actions {
    padding: 20px 30px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 12px;
}

.similar-books-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 24px;
}

.similar-books-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .similar-books-title i {
        color: var(--primary);
    }

.similar-books-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.similar-book-item {
    display: block;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: all 0.2s;
}

    .similar-book-item:hover {
        background: var(--border);
    }

.similar-book-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.similar-book-author {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== HOW IT WORKS ===== */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.guide-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

    .guide-card.highlight {
        grid-column: 1 / -1;
        background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
        color: white;
        text-align: center;
        padding: 50px;
    }

        .guide-card.highlight .guide-icon {
            background: rgba(255,255,255,0.1);
            color: var(--primary);
            width: 80px;
            height: 80px;
            font-size: 40px;
            margin: 0 auto 20px;
        }

        .guide-card.highlight .guide-title {
            font-size: 28px;
        }

        .guide-card.highlight .guide-desc {
            color: rgba(255,255,255,0.8);
            font-size: 16px;
            max-width: 700px;
            margin: 0 auto;
        }

.guide-step {
    position: absolute;
    top: -12px;
    left: 25px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.guide-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    background: rgba(255, 111, 15, 0.1);
    color: var(--primary);
}

    .guide-icon.blue {
        background: rgba(59, 130, 246, 0.1);
        color: var(--info);
    }

    .guide-icon.green {
        background: rgba(16, 185, 129, 0.1);
        color: var(--success);
    }

    .guide-icon.purple {
        background: rgba(139, 92, 246, 0.1);
        color: var(--purple);
    }

.guide-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.guide-desc {
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.7;
}

.guide-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .guide-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
    }

        .guide-list li i {
            color: var(--primary);
            font-size: 18px;
        }

.guide-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 111, 15, 0.05);
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 15px;
}

    .guide-tip i {
        color: var(--primary);
        font-size: 18px;
        flex-shrink: 0;
    }

    .guide-tip.warning {
        background: rgba(245, 158, 11, 0.1);
    }

        .guide-tip.warning i {
            color: var(--warning);
        }

.export-options {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.export-option {
    flex: 1;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    text-align: center;
}

    .export-option i {
        font-size: 32px;
        color: var(--primary);
        margin-bottom: 10px;
    }

    .export-option span {
        display: block;
        font-weight: 600;
        margin-bottom: 5px;
    }

    .export-option small {
        color: var(--text-muted);
        font-size: 12px;
    }

.url-examples {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.url-example {
    padding: 12px 15px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

    .url-example code {
        display: block;
        font-family: monospace;
        font-size: 13px;
        color: var(--primary);
        margin-bottom: 5px;
    }

    .url-example small {
        color: var(--text-muted);
        font-size: 12px;
    }

.system-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.system-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.system-info-label {
    font-size: 12px;
    color: var(--text-muted);
}

.system-info-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}
/* Warning Grid 2x2 */
.warning-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 16px;
}

    .warning-grid .warning-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px;
        background: #FFF9F5;
        border: 1px solid #FFE4D6;
        border-radius: 10px;
    }

        .warning-grid .warning-item i {
            width: 40px;
            height: 40px;
            background: #FF6F0F;
            color: white;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            margin-bottom: 10px;
        }

        .warning-grid .warning-item strong {
            font-size: 14px;
            color: #1e293b;
            margin-bottom: 4px;
        }

        .warning-grid .warning-item p {
            font-size: 12px;
            color: #64748b;
            margin: 0;
        }

@media (max-width: 480px) {
    .warning-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== FAQ ===== */
.faq-section {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.faq-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .faq-title i {
        color: var(--primary);
    }

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    background: var(--bg-light);
    transition: all 0.2s;
}

    .faq-question:hover {
        background: var(--border);
    }

    .faq-question i {
        transition: transform 0.2s;
    }

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 20px;
    color: var(--text-muted);
    line-height: 1.8;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ===== ADMIN ===== */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.admin-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.admin-label {
    font-size: 13px;
    color: var(--text-muted);
}

.admin-value {
    font-size: 18px;
    font-weight: 600;
}

.admin-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.date-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.date-tag {
    background: var(--bg-light);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
}

.admin-actions {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.summary-item {
    text-align: center;
    padding: 25px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.summary-value {
    font-size: 32px;
    font-weight: 700;
}

.summary-label {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 5px;
}

.summary-item.orange .summary-value {
    color: var(--primary);
}

.summary-item.blue .summary-value {
    color: var(--info);
}

.summary-item.green .summary-value {
    color: var(--success);
}

.summary-item.purple .summary-value {
    color: var(--purple);
}

.text-success {
    color: var(--success) !important;
}

.text-danger {
    color: var(--danger) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Toast */
.toast-message {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 10000;
    animation: toastIn 0.3s ease;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .header-main-content {
        flex-wrap: wrap;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-search {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }

    .search-input {
        width: 100%;
    }

    .book-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }

    .page-header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-grid,
    .filter-grid-new {
        grid-template-columns: 1fr;
    }

    .table-actions {
        flex-direction: column;
    }

    .pagination-container {
        flex-direction: column;
        gap: 15px;
    }

    .chart-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
    }

    .error-actions {
        flex-direction: column;
    }

    .book-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .export-options {
        flex-direction: column;
    }

    .system-info {
        grid-template-columns: 1fr;
    }
}

/* ===== RATE LIMIT MODAL ===== */
.rate-limit-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.rate-limit-content {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}

.rate-limit-icon {
    width: 80px;
    height: 80px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
}

.rate-limit-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.rate-limit-content p {
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.6;
}

.rate-limit-info {
    font-size: 13px;
    padding: 10px 15px;
    background: var(--bg-light);
    border-radius: var(--radius);
    margin: 15px 0 20px;
}

.toast-message.success {
    background: var(--success);
    display: flex;
    align-items: center;
    gap: 8px;
}

    .toast-message.success i {
        font-size: 18px;
    }

/* ===== ADMIN COOLDOWN ===== */
.cooldown-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-left: 15px;
}

    .cooldown-info i {
        font-size: 16px;
    }

.admin-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--text-muted);
}

    .admin-note i {
        color: var(--info);
        font-size: 16px;
    }

.admin-actions .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
/* Mobil Header - Logo sol, menÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼ butonu saÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€¦Ã‚Â¸ */
@media (max-width: 768px) {
    .header-main-content {
        display: flex !important;
        align-items: center;
        justify-content: space-between; /* ÃƒÆ’Ã‚Â¢Ãƒâ€¦Ã¢â‚¬Å“ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ SaÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€¦Ã‚Â¸a yasla */
        padding: 15px 0;
    }

    .site-logo {
        flex-shrink: 0;
        order: 1; /* Sol */
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        order: 2; /* SaÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€¦Ã‚Â¸ */
        margin-left: auto; /* ÃƒÆ’Ã‚Â¢Ãƒâ€¦Ã¢â‚¬Å“ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ SaÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€¦Ã‚Â¸a it */
        width: 44px;
        height: 44px;
        font-size: 24px;
        background: none;
        border: none;
        color: var(--text-primary);
        cursor: pointer;
    }

    /* Desktop ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¶ÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€¦Ã‚Â¸eleri gizle */
    .main-nav,
    .header-search {
        display: none !important;
    }
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 640px) {
    .export-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-export-excel,
    .btn-export-more {
        width: 100%;
        justify-content: center;
    }

    .export-dropdown {
        width: 100%;
    }

    .export-dropdown-menu {
        left: 0;
        right: 0;
    }

    .toast-message {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
}

/* ============================================
   EXPORT BUTTONS & DROPDOWN
   ============================================ */

/* Export butonlarÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â± container */
.export-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Ana Excel butonu */
.btn-export-excel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-export-excel:hover {
        background: linear-gradient(135deg, #059669 0%, #047857 100%);
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
    }

    .btn-export-excel i {
        font-size: 18px;
    }

/* DiÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€¦Ã‚Â¸er formatlar dropdown */
.export-dropdown {
    position: relative;
    display: inline-block;
}

.btn-export-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-export-more:hover {
        background: #e2e8f0;
        border-color: #cbd5e1;
    }

    .btn-export-more i {
        font-size: 16px;
        transition: transform 0.2s ease;
    }

.export-dropdown.active .btn-export-more i.ri-arrow-down-s-line {
    transform: rotate(180deg);
}

/* Dropdown menÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼ */
.export-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
}

.export-dropdown.active .export-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown baÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€¦Ã‚Â¸lÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â±k */
.export-dropdown-header {
    padding: 12px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Dropdown item */
.export-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #1e293b;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

    .export-dropdown-item:hover {
        background: #f1f5f9;
    }

    .export-dropdown-item:active {
        background: #e2e8f0;
    }

    .export-dropdown-item i {
        font-size: 20px;
        width: 24px;
        text-align: center;
    }

    /* ÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â°kon renkleri */
    .export-dropdown-item.csv i {
        color: #3b82f6;
    }

    .export-dropdown-item.json i {
        color: #f59e0b;
    }

    .export-dropdown-item.xml i {
        color: #8b5cf6;
    }

    .export-dropdown-item span {
        flex: 1;
    }

    .export-dropdown-item small {
        color: #94a3b8;
        font-size: 11px;
        font-weight: 400;
    }

/* Dropdown ayÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â±rÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â±cÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â± */
.export-dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 4px 0;
}

/* ============================================
   TOAST MESAJLARI
   ============================================ */

.toast-message {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 14px 24px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    animation: toastSlideIn 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

    .toast-message.success {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        color: white;
    }

    .toast-message.error {
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        color: white;
    }

    .toast-message i {
        font-size: 18px;
    }

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RATE LIMIT MODAL
   ============================================ */

.rate-limit-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}

.rate-limit-content {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.rate-limit-icon {
    width: 64px;
    height: 64px;
    background: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

    .rate-limit-icon i {
        font-size: 32px;
        color: #f59e0b;
    }

.rate-limit-content h3 {
    font-size: 20px;
    color: #1e293b;
    margin-bottom: 12px;
}

.rate-limit-content p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.rate-limit-info {
    font-size: 12px;
    color: #94a3b8;
}

.rate-limit-content .btn {
    margin-top: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 640px) {
    .export-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-export-excel,
    .btn-export-more {
        width: 100%;
        justify-content: center;
    }

    .export-dropdown {
        width: 100%;
    }

    .export-dropdown-menu {
        left: 0;
        right: 0;
    }

    .toast-message {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
}
/* ============================================
   YASAL UYARI - LEGAL NOTICE
   Site tasarÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â±mÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â±na uyumlu, minimal
   ============================================ */

.legal-notice {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin: 30px 0;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.legal-notice-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FFF5F0 0%, #FFEBE0 100%);
    border: 1px solid #FFD5C0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .legal-notice-icon i {
        font-size: 24px;
        color: #FF6F0F;
    }

.legal-notice-body {
    flex: 1;
}

.legal-notice-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 16px 0;
}

.legal-notice-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

    .legal-notice-item:last-of-type {
        margin-bottom: 20px;
    }

    .legal-notice-item > i {
        flex-shrink: 0;
        width: 28px;
        height: 28px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        color: #64748b;
    }

    .legal-notice-item > div {
        flex: 1;
        padding-top: 4px;
    }

    .legal-notice-item strong {
        display: inline;
        font-size: 14px;
        font-weight: 600;
        color: #334155;
    }

    .legal-notice-item p {
        font-size: 14px;
        line-height: 1.5;
        color: #64748b;
        margin: 0;
        display: inline;
    }

.legal-notice-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-legal-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #FF6F0F;
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .btn-legal-primary:hover {
        background: #e55a00;
        color: white;
    }

.btn-legal-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .btn-legal-secondary:hover {
        background: #f1f5f9;
        border-color: #cbd5e1;
        color: #334155;
    }

    .btn-legal-primary i,
    .btn-legal-secondary i {
        font-size: 16px;
    }

/* Responsive */
@media (max-width: 768px) {
    .legal-notice {
        flex-direction: column;
        padding: 20px;
        gap: 16px;
    }

    .legal-notice-icon {
        width: 44px;
        height: 44px;
    }

        .legal-notice-icon i {
            font-size: 22px;
        }

    .legal-notice-actions {
        flex-direction: column;
    }

    .btn-legal-primary,
    .btn-legal-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚Â
   NAV DROPDOWN STYLES
   ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢Ãƒâ€šÃ‚Â */

.nav-dropdown {
    position: relative;
}

    .nav-dropdown .dropdown-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 16px;
        background: none;
        border: none;
        color: var(--text-dark);
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        border-radius: 8px;
        transition: all 0.2s;
    }

        .nav-dropdown .dropdown-toggle:hover {
            background: var(--bg-light);
            color: var(--primary);
        }

        .nav-dropdown .dropdown-toggle.active {
            background: var(--primary);
            color: white;
        }

        .nav-dropdown .dropdown-toggle i:last-child {
            font-size: 16px;
            transition: transform 0.2s;
        }

    .nav-dropdown:hover .dropdown-toggle i:last-child {
        transform: rotate(180deg);
    }

    .nav-dropdown .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        background: white;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.15);
        padding: 8px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.2s;
        z-index: 1000;
    }

    .nav-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-dropdown .dropdown-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 14px;
        color: var(--text-dark);
        text-decoration: none;
        border-radius: 8px;
        font-size: 14px;
        transition: all 0.2s;
    }

        .nav-dropdown .dropdown-item:hover {
            background: var(--bg-light);
            color: var(--primary);
        }

        .nav-dropdown .dropdown-item i {
            font-size: 18px;
            color: var(--text-muted);
        }

        .nav-dropdown .dropdown-item:hover i {
            color: var(--primary);
        }

/* Mobile Nav Group */
.mobile-nav-group {
    margin: 10px 0;
    padding: 10px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.mobile-nav-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-nav-item.sub {
    padding-left: 40px;
    font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════
   MOBİL SİDEBAR MENÜ
   Soldan kayarak açılır, overlay ile arka plan karartılır
   ═══════════════════════════════════════════════════════════ */

/* Overlay arka plan */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .mobile-menu-overlay.open {
        display: block;
        opacity: 1;
    }

/* Sidebar */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: var(--bg-white);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
}

    .mobile-menu.open {
        transform: translateX(0);
    }

/* Sidebar üst bar (logo + kapat) */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    flex-shrink: 0;
}

    .mobile-menu-header .mobile-logo {
        font-size: 18px;
        font-weight: 700;
        color: #4facfe;
        display: flex;
        align-items: center;
        gap: 8px;
    }

.mobile-menu-close {
    border: none;
    background: none;
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
    color: var(--text-muted);
    border-radius: 6px;
}

    .mobile-menu-close:hover {
        background: rgba(0,0,0,0.05);
        color: var(--text-dark);
    }

/* Sidebar içerik */
.mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

/* Tek link item */
.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.15s;
}

    .mobile-nav-item:hover {
        background: var(--bg-light);
        color: var(--primary);
    }

    .mobile-nav-item i {
        font-size: 18px;
        width: 22px;
        text-align: center;
        color: var(--text-muted);
    }

    .mobile-nav-item:hover i {
        color: var(--primary);
    }

/* Grup (accordion) */
.mobile-nav-group {
    border-top: 1px solid var(--border);
}

    .mobile-nav-group:first-child {
        border-top: none;
    }

.mobile-nav-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
}

    .mobile-nav-title:hover {
        background: var(--bg-light);
    }

    .mobile-nav-title i:first-child {
        font-size: 16px;
        width: 22px;
        text-align: center;
    }

    .mobile-nav-title .mobile-arrow {
        margin-left: auto;
        transition: transform 0.2s ease;
        font-size: 14px;
    }

.mobile-nav-group.open .mobile-nav-title .mobile-arrow {
    transform: rotate(180deg);
}

.mobile-nav-group.open .mobile-nav-title {
    color: var(--primary);
}

/* Alt menü (gizli, accordion ile açılır) */
.mobile-nav-sub {
    display: none;
    padding-bottom: 4px;
}

.mobile-nav-group.open .mobile-nav-sub {
    display: block;
}

.mobile-nav-item.sub {
    padding: 10px 20px 10px 52px;
    font-size: 13px;
}

    .mobile-nav-item.sub i {
        font-size: 16px;
    }

/* ═══════════════════════════════════════════════════════════
   MASAÜSTÜ DROPDOWN — Click desteği (hover yanında)
   ═══════════════════════════════════════════════════════════ */

.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-dropdown.active .dropdown-toggle i:last-child {
    transform: rotate(180deg);
}

@media (max-width: 1024px) and (min-width: 769px) {
    .nav-dropdown:hover .dropdown-menu {
        opacity: 0;
        visibility: hidden;
    }

    .nav-dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
    }
}

/* ═══════════════════════════════════════════════════════════
   DROPDOWN TAŞMA DÜZELTMESİ — Sağdaki menüler sola açılsın
   ═══════════════════════════════════════════════════════════ */

/* Son 2 dropdown (Ayarlar, Araçlar) — sağa taşmasın, sola açılsın */
.nav-dropdown:nth-last-child(-n+2) .dropdown-menu {
    left: auto;
    right: 0;
}

/* Ekran daraldığında tüm dropdown'lar taşmasın */
@media (max-width: 1280px) {
    .nav-dropdown:nth-last-child(-n+3) .dropdown-menu {
        left: auto;
        right: 0;
    }
}

/* Dropdown max yükseklik — çok uzun menülerde scroll */
.nav-dropdown .dropdown-menu {
    max-height: 70vh;
    overflow-y: auto;
}

/* ===== Top Bar — Firma Gösterici (SISTEM_YONETICISI) ===== */
.top-bar-firma {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    opacity: 0.85;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
    transition: opacity 0.2s, background 0.2s;
    white-space: nowrap;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.top-bar-firma:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    text-decoration: none;
}
.top-bar-firma span {
    overflow: hidden;
    text-overflow: ellipsis;
}
