:root {
    --bg: #f5f7fb;
    --bg-elev: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --primary: #0d6efd;
    --primary-rgb: 13, 110, 253;
    --primary-600: #0b5ed7;
    --border: #e5e7eb;
    --border-rgb: 229, 231, 235;
    --sidebar-bg: linear-gradient(to bottom, #2d3748, #1a202c);
    --sidebar-width: 280px;
    --sidebar-collapsed-width: 70px;
}

[data-theme="dark"] {
    --bg: #0f172a;
    --bg-elev: #0b1224;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --primary: #60a5fa;
    --primary-600: #3b82f6;
    --border: #1f2a44;
    --sidebar-bg: linear-gradient(to bottom, #111827, #0b1224);
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.dashboard-container, .form-container, .login-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
}

/* Toast notifications */
#global-alerts {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1080;
}

.toast-notification {
  min-width: 320px;
  max-width: 500px;
  margin-bottom: 12px;
  padding: 16px 20px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  font-weight: 500;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease-out;
}

.toast-notification.show {
  opacity: 1;
  transform: translateX(0);
}

.toast-notification .btn-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  opacity: 0.7;
  margin-left: 10px;
  padding: 0;
  width: auto;
  height: auto;
}

.toast-notification .btn-close:hover {
  opacity: 1;
}

/* Login page enhancements */
.login-container {
    max-width: 420px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.login-hero {
    position: relative;
    background: radial-gradient(1200px 600px at 10% -10%, rgba(13,110,253,.25), rgba(13,110,253,0) 60%),
                radial-gradient(1000px 500px at 110% 10%, rgba(102,16,242,.25), rgba(102,16,242,0) 60%);
    border-radius: 24px;
}

.login-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(229, 231, 235, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0,0,0,.12);
}

[data-theme="dark"] .login-card {
    background: rgba(11, 18, 36, 0.7);
    border: 1px solid rgba(31, 42, 68, 0.8);
}

.login-title {
    font-weight: 700;
}

.role-toggle .btn {
    border-radius: 999px;
    padding: 8px 18px;
}

.input-group .toggle-password {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.form-control {
    border-radius: 10px;
}

.card {
    border-radius: 20px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.table th, .table td {
    vertical-align: middle;
    padding: 14px 16px;
    border-color: var(--border);
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
    background-color: rgba(13, 110, 253, 0.03);
}

[data-theme="dark"] .table-striped>tbody>tr:nth-of-type(odd)>* {
    background-color: rgba(96, 165, 250, 0.06);
}

.table-hover>tbody>tr:hover>* {
    background-color: rgba(13, 110, 253, 0.08);
}

[data-theme="dark"] .table-hover>tbody>tr:hover>* {
    background-color: rgba(96, 165, 250, 0.12);
}

.status-acik { 
    color: #ffffff; 
    background: #0d6efd; 
    padding: 5px 10px; 
    border-radius: 12px; 
    font-weight: 600; 
}
.status-devam { 
    color: #ffffff; 
    background: #ffc107; 
    padding: 5px 10px; 
    border-radius: 12px; 
    font-weight: 600; 
}
.status-cozuldu { 
    color: #ffffff; 
    background: #198754; 
    padding: 5px 10px; 
    border-radius: 12px; 
    font-weight: 600; 
}
.status-iptal { 
    color: #ffffff; 
    background: #dc3545; 
    padding: 5px 10px; 
    border-radius: 12px; 
    font-weight: 600; 
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-600));
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-600), #094ac0);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #5a6268, #495057);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-filter {
    margin-right: 10px;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 0.9rem;
}

.app-topbar {
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 56px;
    z-index: 1040;
    transition: all 0.3s ease;
}

.app-topbar.scrolled {
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.app-topbar .navbar-brand {
    color: var(--text);
}

.app-topbar .navbar-logo {
    height: 36px;
    width: 36px;
    object-fit: contain;
    margin-right: 10px;
}

.app-topbar .navbar-toggler {
    border-color: var(--border);
}

.sidebar-toggle {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    margin-right: 15px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

/* Desktop Sidebar */
@media (min-width: 769px) {
    .sidebar {
        background: var(--bg-elev);
        color: var(--text);
        height: calc(100vh - 56px);
        position: fixed;
        overflow-y: auto;
        transition: all 0.3s;
        width: var(--sidebar-width);
        top: 56px;
        left: 0;
        z-index: 1030;
        border-right: 1px solid var(--border);
        box-shadow: 5px 0 25px rgba(0,0,0,0.05);
        scrollbar-width: thin;
        scrollbar-color: var(--primary) transparent;
    }

    .sidebar.collapsed {
        width: var(--sidebar-collapsed-width);
    }

    .sidebar.collapsed .nav-link span,
    .sidebar.collapsed .text-center h5,
    .sidebar.collapsed .text-center small,
    .sidebar.collapsed .nav-link::before {
        display: none;
    }

    .sidebar.collapsed .nav-link {
        justify-content: center;
        padding: 0.875rem 0.5rem;
        margin: 0.25rem 0.25rem;
    }

    .sidebar.collapsed .nav-link i {
        margin-right: 0;
        font-size: 1.3rem;
    }

    .sidebar.collapsed .text-center {
        padding: 1rem 0.5rem;
    }

    .sidebar.collapsed .text-center h5 {
        font-size: 0.9rem;
    }

    /* Main content positioning for desktop */
    .main-content {
        margin-left: var(--sidebar-width) !important;
        margin-top: 56px;
        padding: 30px;
        transition: margin-left 0.3s ease;
        width: calc(100% - var(--sidebar-width)) !important;
        max-width: none !important;
        flex: none !important;
    }

    .main-content.sidebar-collapsed {
        margin-left: var(--sidebar-collapsed-width) !important;
        width: calc(100% - var(--sidebar-collapsed-width)) !important;
    }

    /* Override Bootstrap grid for main content */
    .row .main-content {
        padding-left: 30px;
        padding-right: 30px;
    }

    /* Body class for global sidebar state */
    body.sidebar-collapsed .main-content {
        margin-left: var(--sidebar-collapsed-width) !important;
        width: calc(100% - var(--sidebar-collapsed-width)) !important;
    }
}

/* Mobile Sidebar */
@media (max-width: 768px) {
    .app-topbar {
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    /* Mobilde site ismini tam göster */
    .app-topbar .navbar-brand {
        font-size: 0.95rem;
        flex: 1;
        min-width: 0;
        font-weight: 600;
    }

    .app-topbar .navbar-brand .brand-text {
        white-space: nowrap;
    }

    .app-topbar .navbar-logo {
        height: 40px !important;
        width: 40px !important;
        flex-shrink: 0;
        margin-right: 8px !important;
    }

    /* Tema butonunu mobilde küçült */
    #themeToggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 0.25rem 0.35rem;
        flex-shrink: 0;
        font-size: 0.85rem;
        min-width: 32px;
    }

    #themeToggle i {
        font-size: 0.85rem;
    }

    .app-topbar .container-fluid {
        display: flex;
        align-items: center;
        gap: 4px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .mobile-menu-toggle {
        flex-shrink: 0;
    }

    .sidebar-toggle {
        flex-shrink: 0;
        font-size: 1.4rem;
        padding: 4px 8px;
        margin-right: 6px;
    }

    /* Mobile sidebar as off-canvas menu */
    .sidebar {
        position: fixed;
        top: 56px;
        left: -280px; /* Hidden by default */
        width: 280px;
        height: calc(100vh - 56px);
        z-index: 1039;
        background: var(--bg-elev);
        border-right: 1px solid var(--border);
        box-shadow: 5px 0 25px rgba(0,0,0,0.05);
        overflow-y: auto;
        transition: left 0.3s ease;
        padding: 15px 0;
    }

    .sidebar.mobile-sidebar-open {
        left: 0; /* Show sidebar */
    }

    .sidebar .position-sticky {
        padding: 0 15px;
    }

    .sidebar .mobile-sidebar-nav {
        display: flex;
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

    .sidebar .mobile-sidebar-nav .nav-item {
        width: 100%;
        margin-bottom: 5px;
    }

    .sidebar .mobile-sidebar-nav .nav-link {
        padding: 12px 15px;
        margin: 0;
        border-radius: 8px;
        display: flex;
        align-items: center;
        color: var(--text);
        background: transparent;
        transition: all 0.2s ease;
        font-weight: 500;
    }

    .sidebar .mobile-sidebar-nav .nav-link:hover {
        background: rgba(var(--primary-rgb), 0.1);
        color: var(--primary);
    }

    .sidebar .mobile-sidebar-nav .nav-link.active {
        background: var(--primary);
        color: white;
        box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
    }

    .sidebar .mobile-sidebar-nav .nav-link i {
        margin-right: 12px;
        font-size: 1.1rem;
        min-width: 24px;
        text-align: center;
    }

    .sidebar .text-center {
        padding: 15px;
        border-bottom: 1px solid var(--border);
        margin-bottom: 15px;
    }

    .sidebar .text-center h5 {
        margin-bottom: 4px;
        font-weight: 600;
        color: var(--primary);
        font-size: 1.1rem;
    }

    .sidebar .text-center small {
        opacity: 0.8;
        font-size: 0.85rem;
    }

    /* Mobile dropdown styles */
    .sidebar .mobile-sidebar-nav .dropdown-nav .nav-link.dropdown-toggle {
        position: relative;
    }

    .sidebar .mobile-sidebar-nav .dropdown-arrow {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
        font-size: 0.8rem;
    }

    .sidebar .mobile-sidebar-nav .nav-link[aria-expanded="true"] .dropdown-arrow,
    .sidebar .mobile-sidebar-nav .nav-link.show .dropdown-arrow {
        transform: translateY(-50%) rotate(180deg);
    }

    .sidebar .mobile-sidebar-nav .submenu {
        background: rgba(var(--primary-rgb), 0.05);
        border-radius: 8px;
        margin: 0.5rem 0;
        padding: 0.5rem 0;
    }

    .sidebar .mobile-sidebar-nav .submenu .nav-item {
        margin: 0;
    }

    .sidebar .mobile-sidebar-nav .submenu .submenu-link {
        padding: 10px 30px;
        margin: 2px 10px;
        font-size: 0.9rem;
        border-radius: 6px;
        position: relative;
    }

    .sidebar .mobile-sidebar-nav .submenu .submenu-link::before {
        content: '';
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 4px;
        background: var(--muted);
        border-radius: 50%;
        transition: all 0.2s ease;
    }

    .sidebar .mobile-sidebar-nav .submenu .submenu-link:hover::before {
        background: var(--primary);
        transform: translateY(-50%) scale(1.5);
    }

    .sidebar .mobile-sidebar-nav .submenu .submenu-link.active::before {
        background: white;
        transform: translateY(-50%) scale(1.5);
    }

    .sidebar .mobile-sidebar-nav .submenu .submenu-link i {
        font-size: 0.9rem;
        margin-right: 10px;
    }
    
    /* Prevent mobile sidebar from closing when clicking dropdown */
    .sidebar .mobile-sidebar-nav .dropdown-toggle {
        pointer-events: auto;
    }
    
    .sidebar .mobile-sidebar-nav .submenu {
        margin-top: 0.25rem;
        margin-bottom: 0.5rem;
    }

    /* Overlay for mobile menu */
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1038;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mobile-overlay.show {
        display: block;
        opacity: 1;
    }

    .mobile-menu-toggle {
        position: fixed;
        bottom: 15px;
        left: 15px;
        z-index: 1041;
        background: var(--primary);
        color: white;
        border-radius: 50%;
        width: 52px;
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        transition: all 0.3s ease;
        border: none;
        padding: 0;
    }

    .mobile-menu-toggle i {
        font-size: 1.5rem;
    }

    /* Hide mobile menu toggle on login page */
    .login-page .mobile-menu-toggle {
        display: none !important;
    }

    .main-content {
        margin-left: 0 !important;
        margin-top: 56px;
        padding: 20px 15px;
        transition: margin 0.3s ease;
        width: 100% !important;
        max-width: none !important;
        flex: none !important;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    /* Hide desktop sidebar nav on mobile */
    .sidebar .nav.flex-column.d-md-block {
        display: none;
    }
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 3px;
}

.sidebar .text-center {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(to right, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0));
    margin-bottom: 1rem;
}

.sidebar .text-center h5 { 
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--primary);
}

.sidebar .text-center small { 
    opacity: 0.8;
    font-size: 0.85rem;
}

.sidebar .nav-link {
    color: var(--text);
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    margin: 0.25rem 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-weight: 500;
    display: flex;
    align-items: center;
    background: transparent;
}

.sidebar .nav-link:hover {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
    transform: translateX(4px);
}

.sidebar .nav-link.active {
    color: white;
    background: var(--primary);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.25);
    transform: translateX(4px);
}

.sidebar .nav-link.active::before {
    content: '';
    position: absolute;
    left: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    height: 25px;
    width: 4px;
    background: var(--primary);
    border-radius: 0 4px 4px 0;
}

.sidebar .nav-link i {
    margin-right: 0.875rem;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.sidebar .nav-link:hover i {
    transform: scale(1.1);
}

/* Dropdown Navigation Styles */
.sidebar .dropdown-nav .nav-link.dropdown-toggle {
    position: relative;
}

.sidebar .dropdown-nav .dropdown-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.sidebar .dropdown-nav .nav-link[aria-expanded="true"] .dropdown-arrow,
.sidebar .dropdown-nav .nav-link.show .dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
}

/* Force arrow rotation when dropdown is open */
.sidebar .dropdown-nav .collapse.show + .nav-link .dropdown-arrow,
.sidebar .dropdown-nav .nav-link[data-bs-target] .dropdown-arrow {
    transition: transform 0.3s ease;
}

.sidebar .dropdown-nav .nav-link[aria-expanded="true"] .dropdown-arrow {
    transform: translateY(-50%) rotate(180deg) !important;
}

.sidebar .submenu {
    background: rgba(var(--primary-rgb), 0.05);
    border-radius: 8px;
    margin: 0.5rem 0.75rem;
    padding: 0.5rem 0;
}

.sidebar .submenu .nav-item {
    margin: 0;
}

.sidebar .submenu .submenu-link {
    padding: 0.75rem 1.5rem;
    margin: 0.125rem 0.5rem;
    font-size: 0.9rem;
    border-radius: 6px;
    position: relative;
    padding-left: 2.5rem;
}

.sidebar .submenu .submenu-link::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--muted);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.sidebar .submenu .submenu-link:hover::before {
    background: var(--primary);
    transform: translateY(-50%) scale(1.5);
}

.sidebar .submenu .submenu-link.active::before {
    background: white;
    transform: translateY(-50%) scale(1.5);
}

.sidebar .submenu .submenu-link i {
    font-size: 0.9rem;
    margin-right: 0.75rem;
}

/* Collapsed sidebar dropdown styles */
.sidebar.collapsed .dropdown-nav .nav-link span,
.sidebar.collapsed .dropdown-nav .dropdown-arrow,
.sidebar.collapsed .submenu {
    display: none;
}

.sidebar.collapsed .dropdown-nav .nav-link {
    justify-content: center;
}

[data-theme="dark"] .sidebar {
    background: var(--bg);
    border-right-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .sidebar .text-center {
    background: linear-gradient(to right, rgba(var(--primary-rgb), 0.15), transparent);
    border-bottom-color: rgba(255,255,255,0.1);
}

.app-header {
    text-align: center;
    margin-bottom: 40px;
}

.app-header h1 {
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    font-size: 2.5rem;
}

.app-header p {
    color: #6c757d;
    font-size: 1.2rem;
}

.form-label {
    font-weight: 500;
}

.bootstrap-select .dropdown-menu {
    max-height: 300px !important;
    overflow-y: auto;
}

.modal-header {
    background: linear-gradient(135deg, #2d3748, #1a202c);
    color: white;
}

.stat-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.stat-card .card-body {
    padding: 30px;
}

.stat-card h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    color: white;
}

.stat-card .icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    opacity: 0.3;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group .btn { box-shadow: 0 2px 10px rgba(0,0,0,.08); }

.modal-content {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-body {
    max-height: 500px;
    overflow-y: auto;
}

.ticket-details {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.ticket-details h6 {
    color: #0d6efd;
    font-weight: 600;
}

.note {
    background: #ffffff;
    border-left: 4px solid #0d6efd;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.note small {
    color: #6c757d;
}

.btn-action {
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 0.9rem;
    margin-right: 10px;
}

/* DataTables tuning */
.dataTables_wrapper .dataTables_filter input {
    border-radius: 10px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    background: var(--bg-elev);
    color: var(--text);
}

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 10px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, var(--primary), var(--primary-600));
    color: #fff !important;
    border: none;
}

[data-theme="dark"] .dataTables_wrapper .dataTables_filter input {
    background: #0b1224;
}

/* Ticket Details - Mobilde kartları genişlet */
@media (max-width: 768px) {
    .info-card, .notes-section, .form-section {
        margin-left: -15px;
        margin-right: -15px;
        border-radius: 0 !important;
    }

    .info-card .ticket-header {
        border-radius: 0 !important;
    }

    .info-card .card-body,
    .notes-section .notes-body,
    .form-section .form-body {
        padding: 1rem !important;
    }

    .info-section {
        margin: 0.75rem 0 !important;
        padding: 0.75rem !important;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start !important;
        padding: 0.75rem 0.5rem !important;
    }

    .info-label {
        min-width: auto !important;
        margin-bottom: 0.5rem;
        font-size: 0.85rem;
    }

    .note-item {
        padding: 1rem !important;
    }

    .note-content {
        padding: 0.75rem !important;
        font-size: 0.9rem;
    }

    .note-meta {
        font-size: 0.75rem !important;
        flex-wrap: wrap;
    }

    .form-section .form-body {
        padding: 1rem !important;
    }

    .ticket-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem;
    }

    .ticket-id-badge {
        align-self: flex-end;
    }
}

/* Çok küçük ekranlar için (mobil) */
@media (max-width: 480px) {
    .app-topbar .navbar-brand {
        font-size: 0.88rem;
        font-weight: 600;
    }

    .app-topbar .navbar-logo {
        height: 36px !important;
        width: 36px !important;
        margin-right: 7px !important;
    }

    #themeToggle {
        padding: 0.2rem 0.3rem;
        font-size: 0.8rem;
        min-width: 28px;
    }

    #themeToggle i {
        font-size: 0.8rem;
    }

    .mobile-menu-toggle {
        width: 48px;
        height: 48px;
        bottom: 12px;
        left: 12px;
    }

    .mobile-menu-toggle i {
        font-size: 1.4rem;
    }

    .sidebar-toggle {
        font-size: 1.3rem;
        padding: 3px 6px;
        margin-right: 4px;
    }

    .app-topbar .container-fluid {
        gap: 3px;
        padding-left: 6px;
        padding-right: 6px;
    }
}

/* Orta boyut ekranlar için */
@media (min-width: 481px) and (max-width: 768px) {
    .app-topbar .navbar-brand {
        font-size: 0.95rem;
        font-weight: 600;
    }

    .app-topbar .navbar-logo {
        height: 40px !important;
        width: 40px !important;
    }

    .mobile-menu-toggle {
        width: 50px;
        height: 50px;
    }

    .mobile-menu-toggle i {
        font-size: 1.45rem;
    }

    #themeToggle {
        padding: 0.25rem 0.35rem;
        min-width: 30px;
    }
}