body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--darker);
    color: var(--dark);
    overflow: hidden;
    height: 100vh;
    margin: 0;
}

/* App Container */
.app-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 18px);
    overflow-x: auto;
    overflow-y: hidden;
}

/* Ana Yatay Scroll Bar - Modern Glassmorphism Design */
.main-horizontal-scroll {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: scroll;
    overflow-y: hidden;
    z-index: 999999;
}

.main-horizontal-scroll::-webkit-scrollbar {
    height: 14px;
}

.main-horizontal-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.main-horizontal-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #06b6d4, #0891b2, #0e7490);
    border-radius: 7px;
    border: 2px solid rgba(15, 23, 42, 0.5);
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.main-horizontal-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #22d3ee, #06b6d4, #0891b2);
    box-shadow: 0 2px 12px rgba(6, 182, 212, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.main-horizontal-scroll::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, #67e8f9, #22d3ee, #06b6d4);
}

.scroll-content {
    width: 3000px;
    height: 1px;
}

/* Top Header Bar */
.top-header {
    height: var(--header-height);
    background: var(--darker);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 16px;
    min-width: 1400px;
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
}

.logo-text {
    font-size: 16px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}

/* Tab Bar */
.tab-bar {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.4) transparent;
    -ms-overflow-style: auto;
}

.tab-bar::-webkit-scrollbar {
    height: 4px;
}

.tab-bar::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 2px;
}

.tab-bar::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.35);
    border-radius: 2px;
    transition: background 0.2s;
}

.tab-bar::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.6);
}

.tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    position: relative;
}

.tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.tab.active {
    background: var(--light);
    color: var(--dark);
    border-color: var(--gray-light);
}

.tab.pinned {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(14, 165, 233, 0.2) 100%);
    border-color: rgba(99, 102, 241, 0.3);
}

.tab.pinned.active {
    background: var(--light);
}

/* Tab Drag & Drop - Professional */
.tab-bar.is-dragging {
    cursor: grabbing !important;
    user-select: none;
}

.tab-bar.is-dragging .tab {
    transition: transform 380ms cubic-bezier(0.25, 0.8, 0.25, 1), margin 380ms cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tab-drag-clone {
    position: fixed;
    z-index: 10000;
    pointer-events: none;
    cursor: grabbing;
    opacity: 0.95;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(99, 102, 241, 0.5);
    border-radius: 8px 8px 0 0;
    transition: box-shadow 200ms ease, opacity 200ms ease;
    will-change: transform;
}

.tab-drag-placeholder {
    border: 2px dashed rgba(99, 102, 241, 0.3);
    border-radius: 8px 8px 0 0;
    background: rgba(99, 102, 241, 0.06);
    box-sizing: border-box;
    flex-shrink: 0;
    transition: width 200ms cubic-bezier(0.2, 0, 0, 1);
    pointer-events: none;
}

.tab.floating-tab {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(22, 163, 74, 0.15) 100%);
    border-color: rgba(34, 197, 94, 0.3);
    position: relative;
    color: #e2e8f0;
}

.tab.floating-tab span {
    color: #e2e8f0;
}

.tab.floating-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background 0.2s;
}

.tab.floating-tab.floating-active {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25) 0%, rgba(22, 163, 74, 0.25) 100%);
    border-color: rgba(34, 197, 94, 0.5);
    color: white;
}

.tab.floating-tab.floating-active::after {
    background: #22c55e;
}

.tab i.tab-icon {
    font-size: 14px;
}

.tab .close-tab {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    opacity: 0;
    transition: all 0.2s;
}

.tab:hover .close-tab {
    opacity: 0.6;
}

.tab .close-tab:hover {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    opacity: 1;
}

.tab.pinned .close-tab {
    display: none;
}

/* Tab Actions Container */
.tab-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    padding-left: 6px;
    margin-left: 2px;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.new-tab-btn {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 12px;
}

.new-tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.close-all-tabs-btn {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid rgba(239, 68, 68, 0.15);
    background: transparent;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 12px;
}

.close-all-tabs-btn:hover {
    border-color: rgba(239, 68, 68, 0.5);
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.close-all-tabs-btn:active {
    transform: scale(0.92);
    background: rgba(239, 68, 68, 0.2);
}

/* Yıl Seçici */
.year-selector {
    position: relative;
    margin-left: auto;
}

.year-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 10px;
    color: #a5b4fc;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.year-btn:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(139, 92, 246, 0.25) 100%);
    border-color: rgba(99, 102, 241, 0.5);
    color: #c7d2fe;
}

.year-btn .year-arrow {
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.2s;
}

.year-btn.open .year-arrow {
    transform: rotate(180deg);
}

.year-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 260px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
}

.year-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.year-dropdown-header {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.year-company-name {
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.year-list {
    max-height: 240px;
    overflow-y: auto;
    padding: 8px;
}

.year-list::-webkit-scrollbar {
    width: 6px;
}

.year-list::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 3px;
}

.year-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
}

.year-item:hover {
    background: rgba(99, 102, 241, 0.1);
}

.year-item.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.year-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.year-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5b4fc;
    font-size: 12px;
}

.year-item.active .year-item-icon {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.year-item-text {
    display: flex;
    flex-direction: column;
}

.year-item-year {
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
}

.year-item.active .year-item-year {
    color: #c7d2fe;
}

.year-item-badge {
    font-size: 10px;
    color: #64748b;
}

.year-item-badge.current {
    color: #22c55e;
}

.year-item-action {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 12px;
    transition: all 0.15s;
}

.year-item:not(.active):hover .year-item-action {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
}

.year-dropdown-footer {
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.year-new-btn {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px dashed rgba(99, 102, 241, 0.4);
    border-radius: 8px;
    color: #a5b4fc;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.15s;
}

.year-new-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.6);
}

/* Aktif Client'lar */
.ac-wrapper {
    position: relative;
    margin-left: 8px;
}

.ac-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 10px;
    color: #6ee7b7;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.ac-btn:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(5, 150, 105, 0.25) 100%);
    border-color: rgba(16, 185, 129, 0.5);
    color: #a7f3d0;
}

.ac-btn.warn {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.18) 0%, rgba(220, 38, 38, 0.18) 100%);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.ac-btn.warn:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.28) 0%, rgba(220, 38, 38, 0.28) 100%);
    border-color: rgba(239, 68, 68, 0.6);
}

.ac-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
    animation: acPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.ac-dot.warn {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.7);
    animation: acPulseRed 1s ease-in-out infinite;
}

@keyframes acPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(16, 185, 129, 0.6); }
    50% { opacity: 0.4; box-shadow: 0 0 2px rgba(16, 185, 129, 0.2); }
}

@keyframes acPulseRed {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px rgba(239, 68, 68, 0.8); }
    50% { opacity: 0.3; box-shadow: 0 0 3px rgba(239, 68, 68, 0.3); }
}

.ac-count {
    font-weight: 700;
    font-size: 13px;
    min-width: 16px;
    text-align: center;
}

.ac-arrow {
    font-size: 10px;
    margin-left: 2px;
    transition: transform 0.2s;
}

.ac-btn.open .ac-arrow {
    transform: rotate(180deg);
}

.ac-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 320px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
}

.ac-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ac-dropdown-header {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ac-dropdown-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #e2e8f0;
}

.ac-dropdown-title i {
    color: #10b981;
    font-size: 14px;
}

.ac-dropdown-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
}

.ac-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 8px;
}

.ac-list::-webkit-scrollbar {
    width: 5px;
}

.ac-list::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.3);
    border-radius: 3px;
}

.ac-empty {
    padding: 24px 16px;
    text-align: center;
    color: #64748b;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ac-empty i {
    font-size: 24px;
    opacity: 0.5;
}

.ac-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.15s;
}

.ac-item:hover {
    background: rgba(16, 185, 129, 0.06);
}

.ac-item.self {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.ac-item-avatar {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6ee7b7;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
}

.ac-item.self .ac-item-avatar {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.ac-item-avatar .ac-online-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid #1e293b;
}

.ac-item-info {
    flex: 1;
    min-width: 0;
}

.ac-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ac-item.self .ac-item-name::after {
    content: ' (Sen)';
    font-weight: 400;
    color: #a5b4fc;
    font-size: 11px;
}

.ac-item-meta {
    font-size: 11px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.ac-item-timer {
    font-family: 'JetBrains Mono', 'Cascadia Code', monospace;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    flex-shrink: 0;
}

.ac-item-timer.warn {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
}

.ac-item-timer.critical {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    animation: acTimerBlink 1s ease-in-out infinite;
}

@keyframes acTimerBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Aktif Client Uyarı Bandı */
.ac-warning-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
    animation: acBannerSlide 0.3s ease-out;
}

@keyframes acBannerSlide {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.ac-warning-banner i {
    font-size: 16px;
    animation: acPulseRed 1s ease-in-out infinite;
}

.ac-warning-banner .ac-warn-timer {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    font-size: 15px;
    padding: 2px 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
}

.ac-warning-banner .ac-warn-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background 0.15s;
}

.ac-warning-banner .ac-warn-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.header-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.header-btn:hover {
    background: var(--primary);
    color: white;
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--success) 0%, #16a34a 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    position: relative;
}

/* Admin Dropdown Menu */
.admin-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 200px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    z-index: 99999;
    overflow: hidden;
    animation: adminDropdownIn 0.2s ease;
}

.admin-dropdown.show {
    display: block;
}

@keyframes adminDropdownIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.admin-dropdown-header {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.admin-dropdown-header .name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.admin-dropdown-header .role {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.admin-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.admin-dropdown-item:hover {
    background: var(--hover);
    color: var(--text);
}

.admin-dropdown-item i {
    width: 16px;
    text-align: center;
    font-size: 14px;
}

.admin-dropdown-item.logout-item {
    border-top: 1px solid var(--border);
    color: #ef4444;
}

.admin-dropdown-item.logout-item:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Main Content Area */
.main-area {
    flex: 1;
    display: flex;
    overflow: hidden;
    background: var(--light);
    min-width: 1400px;
}

/* Left Sidebar */
.left-sidebar {
    width: var(--sidebar-width);
    background: white;
    border-right: 1px solid var(--gray-light);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Right Sidebar (Seri Etiket vb.) */
.right-sidebar {
    background: #1e293b;
    border-left: 1px solid #334155;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.serial-queue-item {
    transition: all 0.2s ease;
}

.serial-queue-item:hover {
    background: #475569 !important;
}

.serial-queue-item.dragging {
    opacity: 0.5;
    transform: scale(1.02);
}

.serial-stock-row:hover {
    background: #f1f5f9;
}

.serial-add-stock-btn {
    padding: 4px 8px !important;
    font-size: 11px !important;
}

.sidebar-header {
    padding: 8px 12px;
    border-bottom: 1px solid var(--gray-light);
    font-size: 11px;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

/* Filtre Sekmeleri */
.filter-tabs {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.filter-tab {
    flex: 1;
    padding: 6px 2px;
    text-align: center;
    font-size: 9px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.filter-tab i {
    font-size: 12px;
}

.filter-tab:hover {
    background: #e2e8f0;
    color: #334155;
}

.filter-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: white;
}

.filter-tab-content {
    padding: 12px;
}

.filter-tab-content:not(.active) {
    display: none !important;
}

.filter-section {
    margin-bottom: 6px;
}

.filter-section .filter-title {
    font-size: 10px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.filter-section .filter-title i {
    font-size: 9px;
    color: var(--primary);
}

.filter-section .filter-group {
    margin-bottom: 0;
}

.filter-input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 11px;
    font-family: Arial, Helvetica, sans-serif;
    transition: all 0.2s;
    height: 30px;
    box-sizing: border-box;
    color: #374151;
    background: white;
}

