/**
 * ADC - Quru Təhlükə İdarəetmə Sistemi
 * Material Design CSS faylı - Sade və Modern
 */

/* Material Design rənglər - Light Mode */
:root {
    --primary-color: #2196F3;
    --primary-dark: #1976D2;
    --primary-light: #BBDEFB;
    --secondary-color: #FFC107;
    --success-color: #4CAF50;
    --warning-color: #FF9800;
    --danger-color: #F44336;
    --info-color: #00BCD4;
    --light-color: #ffffff;
    --dark-color: #212121;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    --border-radius: 4px;
    --border-radius-lg: 8px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Dark Mode dəyişənləri */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f5f5f5;
    --text-primary: #212121;
    --text-secondary: #616161;
    --text-muted: #9e9e9e;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --card-bg: #ffffff;
    --input-bg: #ffffff;
    --navbar-bg: #ffffff;
    --sidebar-bg: #f8f9fa;
}

/* Dark Mode */
[data-theme="dark"] {
    --primary-color: #64B5F6;
    --primary-dark: #42A5F5;
    --primary-light: #1E3A8A;
    --secondary-color: #FFB74D;
    --success-color: #66BB6A;
    --warning-color: #FFA726;
    --danger-color: #EF5350;
    --info-color: #26C6DA;
    --light-color: #1a1a1a;
    --dark-color: #ffffff;
    --gray-50: #0f0f0f;
    --gray-100: #1a1a1a;
    --gray-200: #2d2d2d;
    --gray-300: #404040;
    --gray-400: #666666;
    --gray-500: #888888;
    --gray-600: #aaaaaa;
    --gray-700: #cccccc;
    --gray-800: #e0e0e0;
    --gray-900: #f5f5f5;
    
    /* Dark Mode rənglər */
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --border-color: #404040;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --card-bg: #1a1a1a;
    --input-bg: #2d2d2d;
    --navbar-bg: #1a1a1a;
    --sidebar-bg: #0f0f0f;
}

/* Dark Mode Table Overrides */
[data-theme="dark"] .table {
    background-color: var(--card-bg) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .table thead {
    background-color: var(--bg-tertiary) !important;
}

[data-theme="dark"] .table thead th {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .table tbody {
    background-color: var(--card-bg) !important;
}

[data-theme="dark"] .table tbody tr {
    background-color: var(--card-bg) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .table tbody tr:nth-of-type(even) {
    background-color: var(--bg-secondary) !important;
}

[data-theme="dark"] .table tbody tr:nth-of-type(odd) {
    background-color: var(--card-bg) !important;
}

[data-theme="dark"] .table tbody tr:hover {
    background-color: var(--bg-tertiary) !important;
}

[data-theme="dark"] .table tbody tr:hover td {
    background-color: var(--bg-tertiary) !important;
}

[data-theme="dark"] .table tbody td {
    background-color: inherit !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .table tbody th {
    background-color: inherit !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .table tfoot {
    background-color: var(--bg-tertiary) !important;
}

[data-theme="dark"] .table tfoot td,
[data-theme="dark"] .table tfoot th {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .table td,
[data-theme="dark"] .table th {
    border-color: var(--border-color) !important;
}

/* Bootstrap table overrides for dark mode */
[data-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) > td,
[data-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) > th {
    background-color: var(--card-bg) !important;
}

[data-theme="dark"] .table-striped > tbody > tr:nth-of-type(even) > td,
[data-theme="dark"] .table-striped > tbody > tr:nth-of-type(even) > th {
    background-color: var(--bg-secondary) !important;
}

[data-theme="dark"] .table-hover > tbody > tr:hover > td,
[data-theme="dark"] .table-hover > tbody > tr:hover > th {
    background-color: var(--bg-tertiary) !important;
}

[data-theme="dark"] .table-bordered td,
[data-theme="dark"] .table-bordered th {
    border-color: var(--border-color) !important;
}

/* Cart Table Dark Mode Overrides */
[data-theme="dark"] .cart-table {
    background-color: var(--card-bg) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .cart-table thead {
    background-color: var(--primary-color) !important;
}

[data-theme="dark"] .cart-table thead th {
    background-color: var(--primary-color) !important;
    color: white !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .cart-table tbody {
    background-color: var(--card-bg) !important;
}

[data-theme="dark"] .cart-table tbody tr {
    background-color: var(--card-bg) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .cart-table tbody tr:nth-of-type(even) {
    background-color: var(--bg-secondary) !important;
}

[data-theme="dark"] .cart-table tbody tr:nth-of-type(odd) {
    background-color: var(--card-bg) !important;
}

[data-theme="dark"] .cart-table tbody tr:hover {
    background-color: var(--bg-tertiary) !important;
}

[data-theme="dark"] .cart-table tbody tr:hover td {
    background-color: var(--bg-tertiary) !important;
}

[data-theme="dark"] .cart-table tbody td {
    background-color: inherit !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .cart-item-name {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .cart-item-unit-price {
    color: var(--text-muted) !important;
}

/* Digər cədvəl elementləri üçün dark mode overrides */
[data-theme="dark"] .table-responsive {
    background-color: var(--card-bg) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .table tfoot th,
[data-theme="dark"] .table tfoot td {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .order-summary-table tr td:first-child {
    color: var(--text-muted) !important;
}

[data-theme="dark"] .order-summary-table tr td:last-child {
    color: var(--text-primary) !important;
}

/* Additional table elements dark mode */
[data-theme="dark"] .table-responsive {
    background-color: var(--card-bg) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .table-sm td,
[data-theme="dark"] .table-sm th {
    background-color: inherit !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .table-borderless td,
[data-theme="dark"] .table-borderless th {
    background-color: inherit !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .table-dark {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .table-dark thead th {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .table-dark tbody tr {
    background-color: var(--card-bg) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .table-dark tbody tr:nth-of-type(even) {
    background-color: var(--bg-secondary) !important;
}

[data-theme="dark"] .table-dark tbody tr:nth-of-type(odd) {
    background-color: var(--card-bg) !important;
}

[data-theme="dark"] .table-dark tbody tr:hover {
    background-color: var(--bg-tertiary) !important;
}

[data-theme="dark"] .table-dark tbody td,
[data-theme="dark"] .table-dark tbody th {
    background-color: inherit !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .section-title {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .section-sub {
    color: var(--text-muted) !important;
}

[data-theme="dark"] .kv .k {
    color: var(--text-muted) !important;
}

[data-theme="dark"] .kv .v {
    color: var(--text-primary) !important;
}

/* Ümumi stillər */
body {
    font-family: 'Roboto', 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Modern Order Detail Styles */
.modern-order-detail {
    /* max-width: 1400px; */
    margin: 0 auto;
    /* padding: 0 15px; */
}

.order-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.order-title h2 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.order-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.order-meta .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.order-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.order-actions .btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

/* Modern Tabs */
.modern-tabs-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.modern-tabs-nav {
    display: flex;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modern-tabs-nav::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    min-width: fit-content;
}

.tab-btn:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

.tab-btn.active {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px 2px 0 0;
}

.tab-badge {
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    margin-left: 0.5rem;
    font-weight: 600;
}

.tab-content {
    /* padding: 1.5rem; */
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.scrollable-content {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.full-height-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 120px);
    min-height: 600px;
}

.full-height-container .order-header {
    flex-shrink: 0;
    margin-bottom: 1rem;
}

.full-height-container .modern-tabs-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.full-height-container .modern-tabs-container .tab-content {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.full-height-container .tab-pane {
    display: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.full-height-container .tab-pane.active {
    display: flex;
    flex-direction: column;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Info Cards */
.info-card, .stats-card, .finance-card, .payment-info-card, .payment-form-card, .status-card, .current-status-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.stats-card {
    padding: 1rem;
    margin-bottom: 1rem;
}

.status-history-card {
    padding: 1rem;
    height: 100%;
    overflow-y: auto;
}

.info-card:hover, .stats-card:hover, .finance-card:hover, .payment-info-card:hover, .payment-form-card:hover, .status-card:hover, .current-status-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.card-title h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-item label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item span {
    font-size: 1rem;
    color: var(--gray-800);
    font-weight: 500;
}

.notes-content {
    background: var(--gray-50);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    line-height: 1.6;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.product-image {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.product-thumb:hover {
    transform: scale(1.05);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 3rem;
}

.product-info {
    flex: 1;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.product-notes {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    font-style: italic;
}

.product-attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.attribute-chip {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.color-chip {
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
}

.color-preview {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.product-photo-indicator {
    font-size: 0.8rem;
    color: var(--success-color);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.product-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.quantity-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.price-info {
    text-align: right;
}

.unit-price {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.total-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-800);
}

/* Finance Styles */
.finance-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.finance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.finance-row:last-child {
    border-bottom: none;
}

.finance-label {
    font-weight: 500;
    color: var(--gray-700);
}

.finance-value {
    font-weight: 600;
    color: var(--gray-800);
}

.discount-row .finance-value {
    color: var(--success-color);
}

.total-row {
    background: var(--primary-light);
    padding: 1rem;
    border-radius: 8px;
    margin: 0.5rem 0;
    border: 2px solid var(--primary-color);
}

.total-row .finance-label,
.total-row .finance-value {
    font-size: 1.1rem;
    font-weight: 700;
}

.outstanding-row {
    background: var(--warning-color);
    color: white;
    padding: 0.75rem;
    border-radius: 8px;
    margin-top: 0.5rem;
}

.outstanding-row .finance-label,
.outstanding-row .finance-value {
    color: white;
    font-weight: 700;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-method {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: 8px;
}

.method-label {
    font-weight: 500;
    color: var(--gray-700);
}

/* Status Management */
.status-display {
    text-align: center;
}

.status-badge {
    margin-bottom: 1.5rem;
}

.status-badge .badge {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
}

.status-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.timeline-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gray-600);
    padding: 0.5rem;
    background: var(--gray-50);
    border-radius: 8px;
}

/* Empty States */
.empty-state, .no-permission {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--gray-600);
}

.empty-state i, .no-permission i {
    margin-bottom: 1rem;
}

.empty-state h4, .no-permission h4 {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-control, .form-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus, .form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-order-detail {
        padding: 0 10px;
    }
    
    .order-header {
        padding: 1.5rem;
        text-align: center;
    }
    
    .order-actions {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .modern-tabs-nav {
        flex-direction: column;
    }
    
    .tab-btn {
        justify-content: center;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .tab-content {
        padding: 1rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-pricing {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .price-info {
        text-align: center;
    }
}

/* Endirim stilləri */
.discount-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.discount-label {
    font-weight: 500;
    color: var(--gray-700);
    white-space: nowrap;
}

.discount-select {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    background: var(--light-color);
    font-size: 14px;
    transition: var(--transition);
}

.discount-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}

.discount-info {
    width: 100%;
    background: var(--gray-100);
    border-radius: var(--border-radius);
    font-size: 12px;
}

.discount-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.discount-details .subtotal {
    color: var(--gray-600);
}

.discount-details .discount {
    color: var(--success-color);
    font-weight: 500;
}

/* Ödəniş seçimi stilləri */
.payment-method-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.payment-method-control label,
.payment-label {
    font-weight: 500;
    color: var(--gray-700);
    white-space: nowrap;
}

.payment-select {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    background: var(--light-color);
    font-size: 14px;
    transition: var(--transition);
    min-width: 150px;
}

.payment-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}

.payment-select option {
    padding: 8px;
    background: var(--light-color);
    color: var(--gray-800);
}

/* Login səhifəsi */
.login-page {
    background: linear-gradient(180deg, #87CEEB 0%, #E0F6FF 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Background Elements */
.login-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Clouds Animation */
.clouds {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 40%);
    animation: cloudMove 20s ease-in-out infinite;
}

@keyframes cloudMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(20px); }
}

/* Ripple Waves */
.ripple-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    animation: ripple 3s ease-in-out infinite;
}

@keyframes ripple {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

/* Logo */
.login-logo {
    position: fixed;
    top: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.logo-icon-wrapper {
    width: 40px;
    height: 40px;
    background: #4A4A4A;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
    color: #4A4A4A;
}

/* Login Container */
.login-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Login Card */
.login-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 28px 20px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
}

/* Top Icon */
.login-top-icon {
    display: flex;
    justify-content: center;
}

.icon-square {
    width: 48px;
    height: 48px;
    background: #4A4A4A;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

/* Heading */
.login-heading {
    font-size: 28px;
    font-weight: 700;
    color: #2C2C2C;
    text-align: center;
    margin-bottom: 12px;
}

.login-description {
    font-size: 14px;
    color: #6B6B6B;
    text-align: center;
    margin-bottom: 32px;
    line-height: 1.5;
}

/* Error Message */
.login-error {
    background: #FEE;
    color: #C33;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

/* Form */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Input Group */
.login-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: #4A4A4A;
    font-size: 16px;
    z-index: 2;
}

.login-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: none;
    border-radius: 12px;
    background: white;
    font-size: 16px;
    color: #2C2C2C;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.login-input:focus {
    outline: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.login-input::placeholder {
    color: #9B9B9B;
}

.password-toggle {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: #4A4A4A;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: #2C2C2C;
}

/* Forgot Password */
.forgot-password {
    text-align: right;
    margin-top: -8px;
}

.forgot-link {
    color: #6B6B6B;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: #2C2C2C;
}

/* Submit Button */
.login-submit-btn {
    width: 100%;
    padding: 16px;
    background: #4A4A4A;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.login-submit-btn:hover {
    background: #3A3A3A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 74, 74, 0.3);
}

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

/* Social Separator */
.social-separator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
}

.separator-line {
    flex: 1;
    height: 1px;
    background: #E0E0E0;
}

.separator-text {
    font-size: 14px;
    color: #9B9B9B;
}

/* Social Login */
.social-login {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #E0E0E0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #4A4A4A;
    font-size: 18px;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #C0C0C0;
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .login-logo {
        top: 20px;
        left: 20px;
    }
    
    .logo-icon-wrapper {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .login-card {
        padding: 36px 28px;
        border-radius: 20px;
    }
    
    .login-heading {
        font-size: 24px;
    }
    
    .login-description {
        font-size: 13px;
    }
}

/* Top Navigation - Material Design */
.navbar {
    background: var(--navbar-bg);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
    /* overflow-x: hidden; */
}

.navbar .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    overflow-x: visible;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

.logo-icon {
    width: auto;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* color: white; */
    font-size: 1.2rem;
    /* margin-left: 20px; */
}

.logo-img {
    width: auto;
    max-height: 100px;
    max-width: 150px;
    height: auto;
    object-fit: contain;
    padding: 15px;
}

.user-profile-btn {
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--gray-600);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    background: var(--gray-100);
    color: var(--gray-800);
}

.navbar-nav .nav-link.active {
    background: var(--primary-color);
    color: white;
}

/* Top Menu Layout */
.top-menu-left {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.top-menu-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

/* Main Navigation Menu */
.main-nav-menu {
    display: flex;
    align-items: center;
    /* gap: 0.25rem;
    margin-left: 2rem; */
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.menu-tab {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    background: transparent;
    color: var(--gray-600);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    font-size: 0.875rem;
    white-space: nowrap;
    border: none;
    outline: none;
}

.menu-tab:hover {
    background: var(--gray-100);
    color: var(--gray-800);
}

.menu-tab:focus {
    background: var(--gray-100);
    color: var(--gray-800);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.menu-tab.active {
    background: var(--primary-color);
    color: white;
}

.menu-tab.active:focus {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 2px var(--primary-light);
}

.menu-tab i {
    font-size: 0.875rem;
}

.menu-tab span {
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Dropdown menu styling for menu tabs */
.menu-tab.dropdown-toggle::after {
    margin-left: 0.25rem;
    font-size: 0.7rem;
}

.dropdown {
    position: relative;
    z-index: 10;
}

.dropdown.show {
    z-index: 1050;
}

.dropdown-menu {
    border-radius: var(--border-radius);
    background: var(--card-bg);
    padding: 0.5rem 0;
    min-width: 180px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 16px var(--shadow-color);
    z-index: 1050 !important;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.dropdown-item:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.dropdown-item.active {
    background: var(--primary-color);
    color: white;
}

/* Search Container */
.search-container {
    position: relative;
}

.search-form {
    display: flex;
    align-items: center;
}

.search-form .input-group {
    min-width: 250px;
}

.search-form .form-control {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    border-right: none;
}

.search-form .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    border-left: none;
}


/* Material Design Cards */
.card {
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    background: var(--card-bg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px var(--shadow-color);
}

.card:hover {
    background: var(--bg-tertiary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--shadow-color);
}

.card-header {
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0 !important;
    font-weight: 600;
    color: var(--text-primary);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.card-body {
    padding: 1.5rem;
    background: var(--card-bg);
    color: var(--text-primary);
}

.card-footer {
    background: var(--bg-tertiary);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg) !important;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-primary);
}

/* Statistik kartları - Material Design */
.border-left-primary {
    border-left: 4px solid var(--primary-color) !important;
}

.border-left-success {
    border-left: 4px solid var(--success-color) !important;
}

.border-left-warning {
    border-left: 4px solid var(--warning-color) !important;
}

.border-left-danger {
    border-left: 4px solid var(--danger-color) !important;
}

.border-left-info {
    border-left: 4px solid var(--info-color) !important;
}

/* Material Design Tables */
.table {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.table td, .table th {
    border-color: var(--border-color);
}

/* Cədvəl sətirləri üçün dark mode düzəlişi */
.table tbody tr {
    background-color: var(--card-bg);
    color: var(--text-primary);
}

.table tbody tr:nth-of-type(even) {
    background-color: var(--bg-secondary);
}

.table tbody tr:nth-of-type(odd) {
    background-color: var(--card-bg);
}

/* Bootstrap table overrides for dark mode */
.table-striped > tbody > tr:nth-of-type(odd) > td,
.table-striped > tbody > tr:nth-of-type(odd) > th {
    background-color: var(--card-bg);
}

.table-striped > tbody > tr:nth-of-type(even) > td,
.table-striped > tbody > tr:nth-of-type(even) > th {
    background-color: var(--bg-secondary);
}

.table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th {
    background-color: var(--bg-tertiary);
}

.table-bordered td, .table-bordered th {
    border-color: var(--border-color);
}

.table-borderless td, .table-borderless th {
    border: 0;
}

.table thead th {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    padding: 1rem 1.5rem;
}

.table tbody tr {
    transition: var(--transition);
    background-color: var(--card-bg);
    color: var(--text-primary);
}

.table tbody tr:nth-of-type(even) {
    background-color: var(--bg-secondary);
}

.table tbody tr:nth-of-type(odd) {
    background-color: var(--card-bg);
}

.table tbody tr:hover {
    background: var(--bg-tertiary);
}

.table tbody td {
    /* padding: 1rem 1.5rem; */
    color: var(--text-primary);
    font-weight: 500;
    vertical-align: middle;
}

.table-responsive {
    border-radius: var(--border-radius-lg);
    /* overflow: hidden; */
}

/* Compact UI helpers for detail pages */
.compact .card-header { padding: 0.75rem 1rem; }
.compact .card-body { padding: 1rem; }
.compact h5, .compact h6 { margin: 0; }
.compact .table { background: transparent; }
.compact .table thead th { padding: 0.6rem 0.75rem; font-size: 0.7rem; }
.compact .table tbody td { padding: 0.6rem 0.75rem; font-weight: 500; }
.compact .table-sm td, .compact .table-sm th { padding: 0.35rem 0.5rem; }
.subtle { color: var(--text-muted); }
.muted-box { background: var(--bg-tertiary); border: 1px solid var(--border-color); border-radius: var(--border-radius); padding: 0.75rem; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--bg-tertiary); color: var(--text-secondary); font-weight: 600; font-size: 0.75rem; }
.stack-sm { display: flex; flex-direction: column; gap: 0.5rem; }
.stack-md { display: flex; flex-direction: column; gap: 0.75rem; }
.row-gap-sm { row-gap: 0.5rem; }
.row-gap-md { row-gap: 0.75rem; }
.icon-spot { width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-tertiary); color: var(--text-muted); }
.soft-sep { height: 1px; background: var(--border-color); margin: 0.5rem 0; }
.elevate-sm { box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.badge-soft-primary { background: var(--primary-light); color: var(--primary-dark); }
.badge-soft-warning { background: #fff3cd; color: #856404; }
.badge-soft-success { background: #d4edda; color: #155724; }
.mini { font-size: 0.75rem; }
.tight { margin: 0; padding: 0; }
.w-44 { width: 44px; }
.h-44 { height: 44px; }
.rounded-10 { border-radius: 10px; }
.text-end-imp { text-align: end !important; }

/* Order detail visuals */
.order-summary-table tr td:first-child { color: var(--text-muted); width: 45%; }
.order-summary-table tr td:last-child { font-weight: 600; }
.order-items-thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.order-items-fallback { width: 44px; height: 44px; border-radius: 8px; }
.section-title { font-weight: 700; font-size: 1rem; color: var(--text-primary); }
.section-sub { color: var(--text-muted); font-size: 0.85rem; }
.toolbar .btn { padding: 0.5rem 0.9rem; }
.table tfoot th, .table tfoot td { background: var(--bg-tertiary); }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 6px 12px; }
.kv > div { padding: 0.25rem 0; }
.kv .k { color: var(--text-muted); }
.kv .v { font-weight: 600; color: var(--text-primary); }

/* Material Design Buttons */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    border: none;
    padding: 0.75rem 1.5rem;
    text-transform: none;
    letter-spacing: 0.025em;
}

.btn:hover {
    opacity: 0.9;
}

.btn:active {
    opacity: 0.8;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-warning {
    background: var(--warning-color);
    color: white;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-info {
    background: var(--info-color);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-ghost {
    background: transparent;
    color: var(--gray-600);
    border: 1px solid var(--gray-300);
}

.btn-ghost:hover {
    background: var(--gray-100);
    color: var(--gray-800);
}

/* Badge-lər */
.badge {
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
}

/* Material Design Form Elements */
.form-control, .form-select {
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    padding: 0.75rem 1rem;
    background: var(--input-bg);
    color: var(--text-primary);
    font-weight: 500;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    background: var(--input-bg);
    outline: none;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.form-label {
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group {
    margin-bottom: 1.5rem;
}

.input-group {
    position: relative;
}

.input-group-text {
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    color: var(--gray-600);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.input-group .form-control {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.input-group .form-control:focus {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Material Design Modal-lar */
.modal-content {
    border-radius: var(--border-radius);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px var(--shadow-color);
}

.modal-header {
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    border-bottom: 1px solid var(--border-color);
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-body {
    background: var(--card-bg);
    color: var(--text-primary);
}

.modal-footer {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
}

/* Material Design Alert-lər */
.alert {
    border-radius: var(--border-radius);
    border-left: 4px solid;
    font-weight: 500;
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.alert-success {
    border-left-color: var(--success-color);
    background-color: var(--card-bg);
    color: var(--text-primary);
}

.alert-danger {
    border-left-color: var(--danger-color);
    background-color: var(--card-bg);
    color: var(--text-primary);
}

.alert-warning {
    border-left-color: var(--warning-color);
    background-color: var(--card-bg);
    color: var(--text-primary);
}

.alert-info {
    border-left-color: var(--info-color);
    background-color: var(--card-bg);
    color: var(--text-primary);
}

/* Material Design Pagination */
.pagination .page-link {
    color: var(--primary-color);
    border-radius: var(--border-radius);
    margin: 0 2px;
    transition: var(--transition);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.pagination .page-link:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Material Design Məhsul kartları */
.product-card {
    transition: var(--transition);
}

.product-card:hover {
    background: var(--gray-50);
}

.product-card .card-img-top {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

/* Material Design Səbət */
.cart-items .border {
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.cart-items .border:hover {
    background-color: var(--gray-50);
}

/* Bildirişlər */
.notification-dropdown {
    min-width: 300px;
    max-height: 400px;
    overflow-y: auto;
}

/* Main Content Area */
.main-content {
    padding-top: 2rem;
    min-height: calc(100vh - 150px);
    background: transparent;
    position: relative;
}

.content-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 0.5rem;
    font-weight: 400;
}

/* Grid System */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-1 { grid-template-columns: 1fr; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.product-item {
    background: var(--light-color);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.product-item:hover {
    background: var(--gray-50);
}

.product-item.adding-to-cart {
    position: relative;
    pointer-events: none;
    opacity: 0.75;
}

.product-item.adding-to-cart::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.18), rgba(156, 39, 176, 0.12));
    border-radius: inherit;
    backdrop-filter: blur(1px);
    animation: addingPulse 1.2s ease-in-out infinite alternate;
}

@keyframes addingPulse {
    0% { opacity: 0.35; }
    100% { opacity: 0.75; }
}

.product-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--gray-100);
    color: var(--gray-600);
    transition: var(--transition);
}

.product-item:hover .product-icon {
    background: var(--primary-color);
    color: white;
}

.product-name {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.875rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .main-nav-menu {
        gap: 0.125rem;
    }
    
    .menu-tab {
        padding: 0.375rem 0.5rem;
    }
    
    .menu-tab span {
        font-size: 0.75rem;
    }
    
    .search-form .input-group {
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
    }
    
    .content-wrapper {
        padding: 0;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .navbar {
        padding: 0.4rem 0;
        min-height: auto;
    }
    
    :root {
        --navbar-height: 55px;
    }
    
    .top-menu-left {
        gap: 0.5rem;
        flex-wrap: nowrap;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
        margin-left: 10px;
    }
    
    .logo-img {
        width: 60px !important;
        padding: 10px !important;
    }
    
    .main-nav-menu {
        margin-left: 0.5rem;
        gap: 0.125rem;
        display: none !important;
    }
    
    .main-nav-menu.is-open {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        left: 0;
        right: 0;
        width: 100vw;
        top: var(--navbar-height, 60px);
        background: var(--navbar-bg);
        padding: 0.75rem;
        gap: 0.25rem;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 4px 16px var(--shadow-color);
        border-bottom-left-radius: var(--border-radius-lg);
        border-bottom-right-radius: var(--border-radius-lg);
        z-index: 1040;
        max-height: calc(100vh - var(--navbar-height, 60px));
        overflow-y: auto;
        margin: 0;
        transform: translateX(0);
    }
    
    .main-nav-menu.is-open .dropdown {
        z-index: 1050;
    }
    
    .main-nav-menu.is-open .dropdown-menu {
        z-index: 1050;
    }
    
    .main-nav-menu.is-open .menu-tab {
        padding: 0.6rem 0.75rem;
        border-radius: var(--border-radius);
        gap: 0.5rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: flex-start;
    }
    
    .main-nav-menu.is-open .menu-tab span {
        display: inline;
    }
    
    .main-nav-menu.is-open .dropdown {
        width: 100%;
    }
    
    .main-nav-menu.is-open .dropdown-menu {
        position: static;
        float: none;
        display: block;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0.25rem 0 0.5rem 1.75rem;
        margin: 0;
    }
    
    .main-nav-menu.is-open .dropdown-item {
        border-radius: var(--border-radius);
        padding: 0.45rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .menu-tab {
        padding: 0.35rem 0.45rem;
        font-size: 0.8rem;
    }
    
    .menu-tab span {
        display: none;
    }
    
    .menu-tab i {
        font-size: 0.8rem;
    }
    
    .search-form .input-group {
        min-width: 120px;
    }
    
    .top-menu-right {
        gap: 0.25rem;
        flex-wrap: nowrap;
        overflow-x: visible;
    }
    
    .navbar-brand span {
        display: none;
    }
    
    .user-profile-btn {
        width: 36px;
        height: 36px;
        padding: 0.4rem;
        flex-shrink: 0;
    }
    
    .theme-toggle {
        width: 36px;
        height: 36px;
        padding: 0.4rem;
        flex-shrink: 0;
    }
    
    .branch-selector {
        flex-shrink: 1;
        min-width: 0;
    }
    
    .branch-selector .btn {
        padding: 0.4rem 0.5rem;
        font-size: 0.8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
    }
    
    .mobile-menu-btn {
        width: 36px;
        height: 36px;
        padding: 0.4rem;
        margin-left: 0.5rem;
        flex-shrink: 0;
    }
    
    .mobile-search-btn {
        width: 36px;
        height: 36px;
        padding: 0.4rem;
        flex-shrink: 0;
    }
    
    .navbar .container-fluid {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.3rem 0;
    }
    
    :root {
        --navbar-height: 50px;
    }
    
    .main-nav-menu {
        display: none;
    }
    
    .search-form .input-group {
        min-width: 120px;
    }
    
    .top-menu-right {
        gap: 0.2rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
        margin-left: 8px;
    }
    
    .logo-img {
        width: 50px !important;
        padding: 8px !important;
    }
    
    .user-profile-btn,
    .theme-toggle,
    .mobile-menu-btn,
    .mobile-search-btn {
        /* width: 40px;
        height: 32px;
        padding: 0.3rem; */
    }
    
    .branch-selector .btn {
        padding: 0.3rem 0.4rem;
        font-size: 0.75rem;
    }
    
    .branch-selector .btn i {
        font-size: 0.8rem;
    }
    
    .top-menu-left {
        gap: 0.3rem;
    }
    
    .navbar .container-fluid {
        padding-left: 0.4rem;
        padding-right: 0.4rem;
    }
    
    .branch-selector .btn {
        max-width: 100px;
        padding: 0.3rem 0.35rem;
    }
}

/* Mobile menu açıq halı */
@media (max-width: 576px) {
    .main-nav-menu.is-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        left: 0;
        right: 0;
        width: 100vw;
        top: var(--navbar-height, 50px);
        background: var(--light-color);
        padding: 0.75rem 0.75rem;
        gap: 0.25rem;
        border-top: 1px solid var(--gray-200);
        box-shadow: 0 12px 28px rgba(0,0,0,0.12);
        border-bottom-left-radius: var(--border-radius-lg);
        border-bottom-right-radius: var(--border-radius-lg);
        z-index: 1040;
        margin: 0;
        transform: translateX(0);
        max-height: calc(100vh - var(--navbar-height, 50px));
        overflow-y: auto;
    }

    /* Elementlərin oxunaqlılığı */
    .main-nav-menu.is-open .menu-tab {
        padding: 0.6rem 0.75rem;
        border-radius: var(--border-radius);
        gap: 0.5rem;
        font-size: 0.95rem;
    }

    .main-nav-menu.is-open .menu-tab i {
        font-size: 1rem;
    }

    .main-nav-menu.is-open .menu-tab span {
        display: inline; /* ikonla yanaşı mətni göstər */
    }

    /* Dropdown-lar panel daxilində səliqəli görünsün */
    .main-nav-menu.is-open .dropdown {
        width: 100%;
        z-index: 1050;
    }

    .main-nav-menu.is-open .dropdown-menu {
        position: static;
        float: none;
        display: block;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0.25rem 0 0.5rem 1.75rem; /* bir az içəri */
        margin: 0;
        z-index: 1050;
    }

    .main-nav-menu.is-open .dropdown-item {
        border-radius: var(--border-radius);
        padding: 0.45rem 0.5rem;
        font-size: 0.9rem;
    }
}

/* 768px və aşağıda açıq menyuda mətni göstər (ikon-only qaydasını ləğv et) */
@media (max-width: 768px) {
    .main-nav-menu.is-open .menu-tab span {
        display: inline;
    }
}

/* Burger düyməsi üçün feedback */
.mobile-menu-btn {
    transition: var(--transition);
    position: relative;
    z-index: 10;
}

.mobile-menu-btn.active {
    background: var(--gray-100);
}

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

.mobile-menu-btn.active i {
    transform: rotate(90deg);
}

/* Modern Animations */
@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes fadeInLeft {
    from { 
        opacity: 0; 
        transform: translateX(-30px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes fadeInRight {
    from { 
        opacity: 0; 
        transform: translateX(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes slideInDown {
    from { 
        transform: translateY(-100%); 
    }
    to { 
        transform: translateY(0); 
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.05); 
    }
}

@keyframes shimmer {
    0% { 
        background-position: -200px 0; 
    }
    100% { 
        background-position: calc(200px + 100%) 0; 
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-10px); 
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

.slide-in-down {
    animation: slideInDown 0.4s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}

.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Print stilləri */
@media print {
    .no-print {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #dee2e6;
    }
    
    body {
        background: white;
    }
}

/* Dark Mode Toggle Button */
.theme-toggle {
    position: relative;
    width: 50px;
    height: 24px;
    background: var(--gray-300);
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    display: flex;
    align-items: center;
    padding: 2px;
    z-index: 10;
}

.theme-toggle:hover {
    background: var(--gray-400);
    transform: scale(1.05);
}

.theme-toggle.active {
    background: var(--primary-color);
}

.theme-toggle-slider {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.theme-toggle.active .theme-toggle-slider {
    transform: translateX(26px);
    background: white;
}

.theme-toggle-icon {
    font-size: 10px;
    color: var(--gray-600);
    transition: all 0.3s ease;
}

.theme-toggle.active .theme-toggle-icon {
    color: var(--primary-color);
}

/* Dark mode dəstəyi - Flash problemini həll etmək üçün */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg-primary: #0f0f0f;
        --bg-secondary: #1a1a1a;
        --bg-tertiary: #2d2d2d;
        --text-primary: #ffffff;
        --text-secondary: #cccccc;
        --text-muted: #888888;
        --border-color: #404040;
        --shadow-color: rgba(0, 0, 0, 0.3);
        --card-bg: #1a1a1a;
        --input-bg: #2d2d2d;
        --navbar-bg: #1a1a1a;
        --sidebar-bg: #0f0f0f;
    }
}

/* Flash problemini həll etmək üçün - localStorage-dan dark mode yoxlanışı */
:root {
    color-scheme: light dark;
}

/* Dark mode flash problemini həll etmək üçün əlavə stillər */
body {
    transition: none !important;
}

/* Flash problemini tamamilə həll etmək üçün */
html {
    color-scheme: light dark;
}

/* JavaScript yüklənməzdən əvvəl dark mode tətbiq etmək */
html[data-theme="dark"] {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --border-color: #404040;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --card-bg: #1a1a1a;
    --input-bg: #2d2d2d;
    --navbar-bg: #1a1a1a;
    --sidebar-bg: #0f0f0f;
}

/* İlk yüklənmədə transition olmasın */
html:not([data-theme]) {
    transition: none !important;
}

html[data-theme] {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* JavaScript yüklənməzdən əvvəl dark mode tətbiq etmək */
[data-theme="dark"] {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --border-color: #404040;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --card-bg: #1a1a1a;
    --input-bg: #2d2d2d;
    --navbar-bg: #1a1a1a;
    --sidebar-bg: #0f0f0f;
}

/* Modern Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-soft {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.shadow-medium {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.shadow-strong {
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.border-soft {
    border: 1px solid var(--gray-200);
}

.border-medium {
    border: 1px solid var(--gray-300);
}

.rounded-soft {
    border-radius: var(--border-radius);
}

.rounded-medium {
    border-radius: var(--border-radius-lg);
}

.rounded-strong {
    border-radius: 20px;
}

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Hover Effects */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-lg);
}

.hover-glow {
    transition: var(--transition);
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(107, 114, 128, 0.4);
}

.hover-scale {
    transition: var(--transition);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-rotate {
    transition: var(--transition);
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

/* Interactive Elements */
.interactive {
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.interactive:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.interactive:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Status Indicators */
.status-online {
    color: var(--success-color);
}

.status-offline {
    color: var(--gray-400);
}

.status-busy {
    color: var(--warning-color);
}

.status-error {
    color: var(--danger-color);
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 1.5s infinite;
}

/* Focus States */
.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.1);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 4px;
    transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* Selection Styling */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

/* Search Results Dropdown */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-lg);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.search-results-header {
    padding: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.search-result-item {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    transition: var(--transition);
}

.search-result-item:hover {
    background: var(--gray-50);
}

.search-result-item:last-child {
    border-bottom: none;
}

.result-title {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.result-subtitle {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-600);
    cursor: pointer;
    padding: 0px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: var(--gray-100);
    color: var(--gray-800);
}

.order-products-display{
    padding: 10px;
}

/* POS Xüsusi Stilləri */
.pos-container {
    display: flex;
    width: 100%;
    /* min-height: calc(100vh - 84px); */
    height: auto;
    background: #f8f9fa;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    gap: 20px;
    /* padding: 20px; */
    align-items: stretch;
}

.pos-container--has-table {
    /* display: grid; */
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "pos-header"
        "pos-left";
    /* gap: 24px;
    padding: 24px; */
    /* min-height: 100vh; */
    height: auto;
    align-items: start;
}

.pos-container--has-table .pos-table-selector-card {
    grid-area: pos-header;
    flex: unset;
    max-width: none;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 20px 28px;
    border-radius: 20px;
}

.pos-container--has-table .pos-table-selector-grid {
    display: none;
}

.pos-container--has-table .pos-left-panel {
    grid-area: pos-left;
    /* flex: unset; */
    min-height: 0;
    border-radius: 20px;
}

.pos-container--has-table .pos-right-panel {
    padding: 10px;
    grid-area: pos-right;
    width: 360px !important;
    min-height: 0;
    border-radius: 20px;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    height: 100vh !important;
    max-height: 100vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    z-index: 100 !important;
    border-radius: unset;
}

.pos-container--has-table.pos-container--show-tables {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "pos-header";
    padding: 32px;
}

.pos-container--has-table.pos-container--show-tables .pos-table-selector-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 28px 32px;
}

.pos-container--has-table.pos-container--show-tables .pos-table-selector-grid {
    display: grid !important;
    flex: 1;
    margin-top: 28px;
    overflow-y: auto;
}

.pos-container--has-table.pos-container--show-tables .pos-left-panel,
.pos-container--has-table.pos-container--show-tables .pos-right-panel,
.pos-container--has-table.pos-container--show-tables .pos-disabled-notice {
    display: none !important;
}

.pos-container--has-table.pos-container--tables-view .pos-table-selector-card {
    display: flex;
    flex-direction: column;
}

.pos-container--has-table.pos-container--tables-view .pos-table-selector-grid {
    display: grid !important;
    margin-top: 24px;
    max-height: 360px;
    overflow-y: auto;
}

@media (max-width: 1400px) {
    .pos-container--has-table {
        grid-template-columns: minmax(0, 1fr) 320px;
    }
    .pos-container--has-table.pos-container--show-tables {
        padding: 28px;
    }
}

@media (max-width: 1200px) {
    .pos-container--has-table {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "pos-header"
            "pos-left"
            "pos-right";
    }

    .pos-container--has-table .pos-right-panel {
        width: 100%;
    }

    .pos-container--has-table.pos-container--show-tables {
        padding: 24px;
    }
}

.pos-container--no-table {
    background: transparent;
    box-shadow: none;
    gap: 0;
    padding: 32px;
}

.pos-container--no-table .pos-table-selector-card {
    flex: 1;
    max-width: none;
    height: 100%;
    margin-bottom: 0;
    border-radius: 26px;
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.18);
}

.pos-container--no-table .pos-table-selector-grid {
    flex: 1;
    overflow-y: auto;
    margin-top: 24px;
    padding-right: 6px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.pos-container--no-table .pos-left-panel,
.pos-container--no-table .pos-right-panel {
    display: none;
}

.pos-container--no-table .pos-disabled-notice {
    margin-top: 24px;
    display: inline-flex;
    justify-content: center;
    align-self: center;
}

/* Məhsul qiyməti */
.product-price {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 4px;
}

/* Məhsul yoxdur mesajı */
.no-products {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-500);
}

.no-products i {
    color: var(--gray-400);
    margin-bottom: 16px;
}

/* Səbət stilləri */
.empty-cart {
    text-align: center;
    padding: 20px 10px;
    color: var(--gray-500);
}

.empty-cart i {
    color: var(--gray-400);
    margin-bottom: 16px;
}

/* Köhnə cart-item stilləri silindi - table formatı istifadə olunur */

.cart-summary {
    margin-top: 16px;
    padding: 16px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.cart-total {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.clear-cart-btn {
    width: 100%;
    background: var(--gray-500);
    color: white;
    border: none;
    padding: 8px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.clear-cart-btn:hover {
    background: var(--gray-600);
}

/* Ödəniş bölməsi */
.payment-section {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.payment-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gray-700);
}

.payment-select, .customer-input, .form-control {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    transition: var(--transition);
    margin-bottom: 12px;
}

.payment-select:focus, .customer-input:focus, .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}

/* Müştəri axtarışı */
.customer-selection {
    position: relative;
}

.customer-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--gray-300);
    border-top: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.customer-item {
    padding: 12px;
    cursor: pointer;
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.customer-item:hover {
    background: var(--gray-50);
}

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

.customer-name {
    font-weight: 500;
    margin-bottom: 2px;
}

.customer-phone {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.no-results {
    padding: 12px;
    text-align: center;
    color: var(--gray-500);
    font-style: italic;
}

/* Endirim və qeydlər */
.discount-section, .notes-section {
    margin-bottom: 12px;
}

/* Tez sayım */
.quick-count {
    margin-bottom: 15px;
}

.count-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.count-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.count-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.count-value {
    font-size: 1.1rem;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}


.total-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.currency {
    font-size: 1.2rem;
}

.checkout-btn {
    width: 100%;
    background: var(--success-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.checkout-btn:hover {
    background: #388e3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* ============ Inteqrasiya Paneli ============ */
.integration-hero {
    border: none;
    background: linear-gradient(135deg, rgba(56, 128, 255, 0.15), rgba(56, 128, 255, 0.05));
    box-shadow: 0 20px 60px rgba(56, 128, 255, 0.15);
}

.integration-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.integration-tab {
    padding: 10px 18px;
    border-radius: 32px;
    border: 1px solid rgba(0,0,0,0.08);
    background: var(--card-bg);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.integration-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.integration-tab.active {
    background: var(--primary-color);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(56, 128, 255, 0.25);
}

.integration-list {
    max-height: 600px;
    overflow-y: auto;
}

.integration-card {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 12px;
    background: var(--card-bg);
    transition: all 0.2s ease;
}

.integration-card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.integration-card.active {
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(56, 128, 255, 0.2);
}

.integration-card-actions {
    border-top: 1px dashed rgba(0,0,0,0.08);
    padding-top: 10px;
}

.integration-form .form-label {
    font-weight: 600;
    color: var(--text-muted);
}

.integration-form textarea.font-monospace {
    font-family: 'JetBrains Mono', 'Fira Code', 'SFMono-Regular', monospace;
    min-height: 220px;
}

.empty-state {
    text-align: center;
    padding: 24px;
    color: var(--text-muted);
}

.integration-tabs::-webkit-scrollbar,
.integration-list::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

.integration-tabs::-webkit-scrollbar-thumb,
.integration-list::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 4px;
}

.no-cart-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-500);
}

.no-cart-message i {
    color: var(--gray-400);
    margin-bottom: 20px;
}

.pos-left-panel {
    /* flex: 1; */
    padding: 1.5rem;
    background: white;
    overflow-y: auto;
}

.pos-right-panel {
    width: 320px;
    background: #f8f9fa;
    border-left: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    /* padding: 1rem;
    gap: 1rem; */
}

/* POS Right Panel içərisindəki bölmələr - Flexbox düzgün işləməsi üçün */
.pos-right-panel {
    display: flex !important;
    flex-direction: column !important;
    height: 100vh !important;
}

.pos-right-panel .pos-top-section {
    flex-shrink: 0;
    flex-grow: 0;
}

.pos-right-panel .cart-display-area {
    flex: 1 1 auto;
    min-height: calc(100vh - 430px) !important;
    max-height: 250px !important;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.pos-right-panel .pos-bottom-section {
    flex-shrink: 0;
    flex-grow: 0;
}

.pos-table-selector-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
}

.pos-tables-wrapper {
    padding: 24px;
    max-width: 1320px;
    margin: 0 auto;
}

.pos-table-selector-card--standalone {
    margin-top: 24px;
}

[data-theme="dark"] .pos-table-selector-card {
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.55);
}

.pos-table-selector-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.pos-table-selector-info h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.pos-table-selector-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pos-table-selector-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.pos-table-selector-form {
    margin: 0;
}

.pos-table-selector-tile {
    --table-accent: var(--primary-color);
    width: 100%;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    color: #1f2937;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all 0.25s ease;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    position: relative;
    cursor: pointer;
}

.pos-table-selector-grid a.pos-table-selector-tile {
    text-decoration: none;
    color: inherit;
}

.pos-table-selector-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid transparent;
    transition: all 0.25s ease;
}

.pos-table-selector-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(59, 130, 246, 0.28);
}

.pos-table-selector-tile:hover::after {
    border-color: rgba(59, 130, 246, 0.28);
}

.pos-table-selector-tile.is-selected {
    border-color: var(--table-accent);
    box-shadow: 0 18px 40px rgba(59, 130, 246, 0.35);
}

.pos-table-selector-tile.is-selected::after {
    border-color: var(--table-accent);
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.25);
}

.pos-table-selector-tile .table-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.08);
    color: var(--table-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.pos-table-selector-tile .table-name {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.pos-table-selector-tile .table-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
}

.pos-table-selector-tile .table-extra {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1f2937;
}

.pos-table-selector-tile .table-customer,
.pos-table-selector-tile .table-total {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pos-table-selector-tile .table-customer {
    color: #2563eb;
}

.pos-table-selector-tile .table-total {
    color: #0f172a;
    font-weight: 700;
}

.pos-table-selector-tile .table-capacity {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pos-table-selector-empty {
    padding: 32px;
    text-align: center;
    color: #64748b;
}

.pos-table-selector-empty .empty-icon {
    display: inline-flex;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.12);
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 16px;
}

.pos-disabled-notice {
    margin-top: -12px;
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.08);
    color: #1d4ed8;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.pos-container--disabled .pos-left-panel,
.pos-container--disabled .pos-right-panel {
    pointer-events: none;
    opacity: 0.45;
    filter: grayscale(0.35);
}

.pos-container--disabled .pos-right-panel {
    background: #f1f5f9;
}

.badge.status-available {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.badge.status-occupied {
    background: rgba(248, 113, 113, 0.15);
    color: #b91c1c;
}

.badge.status-reserved {
    background: rgba(251, 191, 36, 0.18);
    color: #b45309;
}

.badge.status-out {
    background: rgba(148, 163, 184, 0.18);
    color: #475569;
}

.pos-table-card .badge {
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

[data-theme="dark"] .pos-table-card .badge {
    box-shadow: none;
}

.empty-state-card {
    position: relative;
    padding: 56px 32px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(14, 116, 144, 0.12));
    border: 1px solid rgba(148, 163, 184, 0.16);
    text-align: center;
    box-shadow: 0 24px 68px rgba(15, 23, 42, 0.14);
    overflow: hidden;
}

.empty-state-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.25), transparent 55%);
    opacity: 0.7;
    pointer-events: none;
}

.empty-state-card h3 {
    position: relative;
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.empty-state-card p {
    position: relative;
    max-width: 420px;
    margin: 0 auto 1.5rem;
    font-size: 0.95rem;
    color: #475569;
}

.empty-state-card .btn {
    position: relative;
    padding-inline: 1.5rem;
    box-shadow: 0 18px 42px rgba(59, 130, 246, 0.35);
}

.empty-state-icon {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #1d4ed8;
    background: rgba(59, 130, 246, 0.16);
    box-shadow: 0 16px 38px rgba(59, 130, 246, 0.25);
}

[data-theme="dark"] .empty-state-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.85), rgba(15, 23, 42, 0.85));
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 24px 72px rgba(2, 6, 23, 0.7);
}

[data-theme="dark"] .empty-state-card::before {
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.45), transparent 60%);
}

[data-theme="dark"] .empty-state-card h3 {
    color: #f8fafc;
}

[data-theme="dark"] .empty-state-card p {
    color: #cbd5f5;
}

[data-theme="dark"] .empty-state-icon {
    background: rgba(96, 165, 250, 0.18);
    color: #93c5fd;
    box-shadow: none;
}

.btn-soft-primary {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
    border: 1px solid transparent;
}

.btn-soft-primary:hover {
    background: rgba(59, 130, 246, 0.18);
    color: #1e40af;
}

.btn-soft-secondary {
    background: rgba(148, 163, 184, 0.18);
    color: #475569;
    border: 1px solid transparent;
}

.btn-soft-secondary:hover {
    background: rgba(148, 163, 184, 0.28);
    color: #334155;
}

[data-theme="dark"] .pos-table-selector-tile {
    background: rgba(15, 23, 42, 0.65);
    border-color: rgba(148, 163, 184, 0.22);
    color: #f8fafc;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.65);
}

[data-theme="dark"] .pos-table-selector-tile .table-name {
    color: #f1f5f9;
}

[data-theme="dark"] .pos-table-selector-tile .table-meta {
    color: #cbd5f5;
}

[data-theme="dark"] .pos-disabled-notice {
    background: rgba(59, 130, 246, 0.22);
    color: #bfdbfe;
}

[data-theme="dark"] .pos-container--disabled .pos-right-panel {
    background: rgba(30, 41, 59, 0.65);
}

.pos-table-grid {
    margin-top: 12px;
    row-gap: 20px;
}

.pos-table-grid > [class*="col-"] {
    display: flex;
}

.pos-table-grid > [class*="col-"] .pos-table-card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.pos-table-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.1);
    transition: all 0.25s ease;
    overflow: hidden;
    background: #ffffff;
}

[data-theme="dark"] .pos-table-card {
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(148, 163, 184, 0.22);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.75);
}

.pos-table-card.table-inactive {
    opacity: 0.6;
    filter: grayscale(0.2);
}

.pos-table-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 48px rgba(59, 130, 246, 0.22);
}

.pos-table-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.pos-table-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.12);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.pos-table-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pos-table-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.pos-table-label {
    font-size: 0.8rem;
}

.pos-table-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #475569;
    font-size: 0.85rem;
}

.pos-table-details .detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pos-table-card .card-body {
    padding: 24px;
}

.pos-table-card .card-footer {
    background: rgba(248, 250, 252, 0.8);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding: 14px 24px;
}

[data-theme="dark"] .pos-table-card .card-footer {
    background: rgba(30, 41, 59, 0.6);
    border-top-color: rgba(148, 163, 184, 0.22);
}

.pos-order-table-badge {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
    border-radius: 12px;
    padding: 5px 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

[data-theme="dark"] .pos-order-table-badge {
    background: rgba(59, 130, 246, 0.22);
    color: #bfdbfe;
    border-color: rgba(59, 130, 246, 0.35) !important;
}

/* Kategoriya tabları */
.category-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.category-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: transparent;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    color: var(--gray-600);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.category-tab:hover {
    background: var(--gray-100);
    color: var(--gray-800);
}

.category-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.category-tab i {
    font-size: 1rem;
}

.quick-payment-btn{
    padding: 10px;
}

/* Məhsul gridi */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-item {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    align-content: center;
}

.product-item:hover {
    background: var(--gray-50);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 0.5rem;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--gray-600);
    transition: var(--transition);
}

.product-image {
    width: 50px;
    height: 50px;
    margin: 0 auto 0.5rem;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.product-icon-fallback {
    width: 100%;
    height: 100%;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--gray-600);
    transition: var(--transition);
}

.product-item:hover .product-icon {
    background: var(--primary-color);
    color: white;
}

.product-item:hover .product-icon-fallback {
    background: var(--primary-color);
    color: white;
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.2;
}

/* Xüsusiyyət düymələri */
.attributes-section {
    margin-bottom: 1.5rem;
}

.attributes-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.attribute-btn {
    padding: 0.5rem 0.75rem;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    color: var(--gray-600);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.attribute-btn:hover {
    background: var(--gray-100);
    color: var(--gray-800);
}

.attribute-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Marka/Ləkə düymələri */
.brand-stain-section {
    margin-bottom: 1.5rem;
}

.brand-stain-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.brand-stain-btn {
    padding: 0.4rem 0.6rem;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    color: var(--gray-600);
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.brand-stain-btn:hover {
    background: var(--gray-100);
    color: var(--gray-800);
}

.brand-stain-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Rəng palitrası */
.color-palette {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.color-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.color-btn:hover {
    transform: scale(1.1);
    border-color: var(--gray-400);
}

.color-btn.active {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.apps-btn {
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.apps-btn:hover {
    background: var(--primary-dark);
}

/* Sağ panel */
.customer-section {
    padding: 1.5rem;
    background: white;
    border-bottom: 1px solid var(--gray-200);
}

.customer-input-group {
    display: flex;
    gap: 0.5rem;
    /* margin-bottom: 0.75rem; */
}

.customer-input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 0.8rem;
}

.add-customer-btn {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.add-customer-btn:hover {
    background: var(--primary-dark);
}

.special-cleaning-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toggle-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.toggle-switch {
    position: relative;
}

.toggle-input {
    display: none;
}

.toggle-slider {
    width: 50px;
    height: 24px;
    background: var(--gray-300);
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: var(--transition);
}

.toggle-input:checked + .toggle-slider {
    background: var(--primary-color);
}

.toggle-input:checked + .toggle-slider::before {
    transform: translateX(26px);
}

/* Üst hissə - Ad düyməsi və müştəri seçimi */
.pos-top-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
}

.name-button {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-end;
    transition: var(--transition);
}

.name-button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.customer-input-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.customer-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    background: white;
}

.add-customer-btn {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.add-customer-btn:hover {
    background: var(--primary-dark);
}

.customer-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.customer-item {
    padding: 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

.customer-item:hover {
    background: var(--gray-50);
}

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

.customer-name {
    font-weight: 500;
    color: var(--gray-800);
    font-size: 0.9rem;
}

.customer-phone {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-top: 0.25rem;
}

.no-results {
    padding: 0.75rem;
    text-align: center;
    color: var(--gray-500);
    font-style: italic;
    font-size: 0.9rem;
}

/* Xüsusi təmizləmə bölməsi */
.special-cleaning-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.toggle-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 24px;
}

.toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-300);
    transition: var(--transition);
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
}

.toggle-input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

.toggle-input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* Səbət göstərmə sahəsi */
.cart-display-area {
    flex: 1;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow-y: auto;
    max-height: 50vh;
}

/* Cart Table Styles */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 1px 3px var(--shadow-color);
    color: var(--text-primary);
}

.cart-table thead {
    background: var(--primary-color);
    color: white;
}

.cart-table th {
    padding: 8px 6px;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.cart-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    background-color: var(--card-bg);
    color: var(--text-primary);
}

.cart-table tbody tr:nth-of-type(even) {
    background-color: var(--bg-secondary);
}

.cart-table tbody tr:nth-of-type(odd) {
    background-color: var(--card-bg);
}

.cart-table tbody tr:hover {
    background: var(--bg-tertiary);
}

.cart-table tbody tr:last-child {
    border-bottom: none;
}

.cart-table td {
    padding: 8px 6px;
    vertical-align: middle;
}

.cart-item-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.85rem;
    line-height: 1.2;
}

.cart-item-quantity {
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.8rem;
}

.cart-item-unit-price {
    text-align: right;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.cart-item-price {
    text-align: right;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.85rem;
}

.cart-item-action {
    text-align: center;
}

.remove-item-btn {
    width: 20px;
    height: 20px;
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.remove-item-btn:hover {
    background: #d32f2f;
    transform: scale(1.1);
}

/* Alt hissə - Ödəniş və yadda saxla */
.pos-bottom-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-controls {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
}

.payment-method-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.payment-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    background: var(--input-bg);
    cursor: pointer;
    color: var(--text-primary);
}

.quick-count-control {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.quick-count-control label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.count-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    padding: 0.25rem;
}

.count-btn {
    width: 24px;
    height: 24px;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-700);
    transition: var(--transition);
}

.count-btn:hover {
    background: var(--gray-200);
}

.count-value {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-800);
}

.save-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.save-btn {
    flex: 1;
    background: var(--success-color);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.save-btn:hover {
    background: #388e3c;
    transform: translateY(-1px);
}

.total-display {
    /* display: flex; */
    align-items: center;
    gap: 0.25rem;
    background: var(--gray-100);
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
}

.total-display .currency {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-600);
}

.total-display .amount {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
}

.expand-btn {
    width: 20px;
    height: 20px;
    background: var(--gray-200);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--gray-600);
    transition: var(--transition);
}

.expand-btn:hover {
    background: var(--gray-300);
}

.payment-method {
    margin-bottom: 0.75rem;
}

.payment-select {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    background: var(--light-color);
    font-size: 14px;
    transition: var(--transition);
    min-width: 150px;
}

.quick-count {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.quick-count label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.count-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.count-btn {
    width: 30px;
    height: 30px;
    background: var(--gray-200);
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.count-btn:hover {
    background: var(--gray-300);
}

.count-value {
    font-weight: 600;
    color: var(--gray-800);
    min-width: 20px;
    text-align: center;
}



.save-btn {
    padding: 0.75rem 1.5rem;
    background: var(--success-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.save-btn:hover {
    background: #45a049;
}

.total-amount {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--gray-800);
}

.currency {
    font-size: 0.875rem;
}

.amount {
    font-size: 1.2rem;
}

.total-amount i {
    color: var(--primary-color);
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1200px) {
    .pos-right-panel {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .pos-container {
        flex-direction: column;
        height: auto;
    }
    
    .pos-container--no-table {
        padding: 16px;
    }
    
    .pos-container--no-table .pos-table-selector-grid {
        margin-top: 16px;
    }
    
    .pos-container--has-table .pos-table-selector-card {
        flex: 0 0 auto;
        max-width: 100%;
        border-radius: 20px;
        margin-bottom: 20px;
    }
    
    .pos-container--has-table .pos-table-selector-grid {
        max-height: 220px;
    }
    
    .pos-container--has-table .pos-left-panel {
        margin-right: 0 !important;
    }
    
    .pos-right-panel {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--gray-200);
        position: relative !important;
        height: auto !important;
        max-height: none !important;
        right: auto !important;
        width: 100% !important;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .category-tabs {
        flex-wrap: wrap;
    }
    
    .attributes-row,
    .brand-stain-row {
        justify-content: center;
    }
}

/* Advanced Modern Effects */
.gradient-border {
    position: relative;
    background: white;
    border-radius: var(--border-radius-lg);
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--success-color));
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
}

.neon-glow {
    box-shadow: 
        0 0 5px rgba(107, 114, 128, 0.3),
        0 0 10px rgba(107, 114, 128, 0.2),
        0 0 15px rgba(107, 114, 128, 0.1);
}

.neon-glow:hover {
    box-shadow: 
        0 0 10px rgba(107, 114, 128, 0.4),
        0 0 20px rgba(107, 114, 128, 0.3),
        0 0 30px rgba(107, 114, 128, 0.2);
}

.morphing-button {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.morphing-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.morphing-button:hover::before {
    width: 300px;
    height: 300px;
}

.floating-card {
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(2) {
    animation-delay: -2s;
}

.floating-card:nth-child(3) {
    animation-delay: -4s;
}

.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.text-shimmer {
    background: linear-gradient(
        90deg,
        var(--gray-400) 0%,
        var(--gray-600) 50%,
        var(--gray-400) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 2s infinite;
}

.magnetic-hover {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.magnetic-hover:hover {
    transform: scale(1.05) rotate(1deg);
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.dark-glass-card {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple-effect:active::after {
    width: 300px;
    height: 300px;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .search-results-dropdown {
        left: 1rem;
        right: 1rem;
    }
    
    .floating-card {
        animation: none;
    }
    
    .parallax-bg {
        background-attachment: scroll;
    }
}

.search-input{
    margin-top: 10px;
}

.search-input input{
    height: 40px;
}

/* Noty bildirişləri üçün oxunaqlı və qeyri-şəffaf dizayn */
.noty_layout {
    z-index: 5000; /* həmişə üstə olsun */
}

.noty_layout_topRight {
    top: 80px; /* header-dən aşağıda görünsün */
    right: 20px;
    width: 360px;
}

@media (max-width: 576px) {
    .noty_layout_topRight {
        right: 12px;
        left: 12px;
        width: auto;
    }
}

/* Metroui mövzusuna uyğun, amma tam aydın fon və güclü kontrast */
.noty_theme__metroui.noty_bar {
    background: #ffffff; /* şəffaflığı ləğv et */
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    color: var(--gray-800);
    opacity: 1;
    backdrop-filter: none;
}

.noty_theme__metroui.noty_bar .noty_body {
    padding: 12px 16px;
    font-weight: 500;
    line-height: 1.4;
}

/* Tipə görə vizual aksent (solda rəngli xətt) */
.noty_type__success.noty_theme__metroui { border-left: 4px solid var(--success-color); }
.noty_type__error.noty_theme__metroui   { border-left: 4px solid var(--danger-color); }
.noty_type__warning.noty_theme__metroui { border-left: 4px solid var(--warning-color); }
.noty_type__info.noty_theme__metroui,
.noty_type__information.noty_theme__metroui { border-left: 4px solid var(--info-color); }

/* Proqress zolağı daha qalın və görünən olsun */
.noty_theme__metroui .noty_progressbar {
    height: 3px;
    background-color: var(--gray-200);
}
.noty_type__success.noty_theme__metroui .noty_progressbar { background-color: var(--success-color); }
/* .noty_type__error.noty_theme__metroui - close button contrast */
.noty_type__error.noty_theme__metroui .noty_progressbar   { background-color: var(--danger-color); }
.noty_type__warning.noty_theme__metroui .noty_progressbar { background-color: var(--warning-color); }
.noty_type__info.noty_theme__metroui .noty_progressbar,
.noty_type__information.noty_theme__metroui .noty_progressbar { background-color: var(--info-color); }

/* Bağlama düyməsi və düymələrin kontrastı */
.noty_close {
    color: var(--gray-500);
    opacity: 1;
}
.noty_close:hover {
    color: var(--gray-700);
}

.noty_buttons .btn {
    padding: 0.4rem 0.75rem;
}

/* Aralıq və yığılma spacing-i */
.noty_layout .noty_bar {
    margin: 10px;
}

/* Modern POS Ödəniş Düymələri */
.payment-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    /* margin-top: 12px; */
}

.payment-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    background: var(--light-color);
    color: var(--gray-700);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    min-height: 40px;
    gap: 6px;
    --pm-accent: var(--primary-color);
    --pm-accent-bg: var(--primary-light);
    --pm-accent-text: var(--primary-dark);
}

.payment-btn:hover {
    border-color: var(--pm-accent);
    background: var(--pm-accent-bg);
    color: var(--pm-accent-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15);
}

.payment-btn i {
    font-size: 14px;
}

.payment-btn span {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Ödəniş düymələri rəngləri */
.cash-btn:hover {
    border-color: var(--success-color);
    background: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
}

.card-btn:hover {
    border-color: var(--info-color);
    background: rgba(0, 188, 212, 0.1);
    color: var(--info-color);
}

.balance-btn:hover {
    border-color: var(--warning-color);
    background: rgba(255, 152, 0, 0.1);
    color: var(--warning-color);
}

.later-btn:hover {
    border-color: var(--gray-600);
    background: rgba(117, 117, 117, 0.1);
    color: var(--gray-600);
}

.close-table-btn:hover {
    background: #c82333 !important;
    border-color: #c82333 !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Modern Total Section */
.total-section {
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.15);
}

.total-display {
    text-align: center;
}

.total-label {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.total-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    /* gap: 4px; */
}

.total-amount .currency {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
}

.total-amount .amount {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

/* Endirim Section */
.discount-section {
    margin-bottom: 12px;
}

.discount-section .discount-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    background: var(--light-color);
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
}

.discount-section .discount-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

/* POS Bottom Section Modern */
.pos-bottom-section {
    padding: 12px 16px;
    background: var(--light-color);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    border-top: 1px solid var(--gray-200);
}

/* Səbət sahəsi yaxşılaşdırması */
.cart-display-area {
    flex: 1;
    min-height: 200px;
    max-height: 300px;
    overflow-y: auto;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
}

.cart-items {
    padding: 4px;
}

/* Köhnə cart-item stilləri silindi - table formatı istifadə olunur */

.remove-item-btn {
    background: var(--danger-color);
    color: var(--light-color);
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.6rem;
}

.remove-item-btn:hover {
    background: #d32f2f;
    transform: scale(1.1);
}

.empty-cart {
    text-align: center;
    padding: 20px 10px;
    color: var(--gray-500);
}

.empty-cart i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-cart p {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}

.empty-cart small {
    font-size: 12px;
    opacity: 0.7;
}

/* Səbət məhsullarının əlavə məlumatları */
.cart-item-details {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid var(--gray-200);
}

.detail-item {
    display: block;
    font-size: 10px;
    color: var(--gray-600);
    margin-bottom: 2px;
    line-height: 1.3;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item strong {
    font-weight: 600;
    color: var(--gray-700);
}

/* Responsive ödəniş düymələri */
@media (max-width: 768px) {
    .payment-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    
    .payment-btn {
        padding: 6px 8px;
        min-height: 36px;
        font-size: 11px;
    }
    
    .payment-btn i {
        font-size: 12px;
    }
    
    .payment-btn span {
        font-size: 9px;
    }
    
    .total-amount .amount {
        font-size: 20px;
    }
    
    .cart-display-area {
        min-height: 150px;
        max-height: 300px;
    }
}

/* Add Customer Button Styles */
.add-customer-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
    height: 40px;
    margin-left: 8px;
    padding: 0 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
}

.add-customer-btn:hover {
    background: linear-gradient(135deg, #218838, #1ea085);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.add-customer-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.2);
}

.add-customer-btn i {
    font-size: 16px;
}

/* Customer Input Group Layout */
.customer-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.customer-input {
    flex: 1;
}

/* QR Kod Modalı Stilləri */
.qr-code-container {
    text-align: center;
    padding: 20px;
}

.qr-code-display {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    min-height: 256px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
}

.qr-instructions {
    font-size: 16px;
    color: var(--gray-600);
    margin: 15px 0;
    line-height: 1.5;
}

.qr-info {
    background: var(--gray-100);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 14px;
}

.qr-fallback {
    padding: 20px;
    text-align: center;
}

.qr-fallback a {
    color: var(--primary-color);
    text-decoration: none;
    word-break: break-all;
}

.qr-fallback a:hover {
    text-decoration: underline;
}

/* Take Photo Button */
.take-photo-btn {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: var(--transition);
    display: inline-block;
}

.take-photo-btn:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    text-decoration: none;
}

.take-photo-btn i {
    font-size: 14px;
}

/* Səbət Şəkilləri */
.cart-item-main {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.cart-item-photo {
    flex-shrink: 0;
}

.cart-photo-thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid var(--gray-200);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-details {
    margin-top: 5px;
}

.cart-item-details .detail-item {
    display: block;
    margin: 2px 0;
    color: var(--gray-600);
    font-size: 12px;
}

/* Order Detail Şəkilləri */
.order-items-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.order-items-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.order-items-fallback {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    border: 2px solid var(--gray-200);
    background: var(--gray-100);
}

/* Şəkil Böyütmə Modalı */
.image-zoom-trigger {
    cursor: pointer;
    transition: var(--transition);
}

.image-zoom-trigger:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.zoom-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

#imageZoomModal .modal-dialog {
    max-width: 90vw;
}

#imageZoomModal .modal-body {
    padding: 20px;
    background: #f8f9fa;
}

#imageZoomModal .modal-header {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    border: none;
}

#imageZoomModal .modal-header .btn-close {
    filter: invert(1);
}

#imageZoomModal .modal-footer {
    background: #f8f9fa;
    border-top: 1px solid var(--gray-200);
}

/* Müştəri seçilmiş olduqda xüsusi stil */
.customer-input.customer-selected {
    background: linear-gradient(135deg, #e8f5e8, #d4edda) !important;
    border: 2px solid #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
    font-weight: 600 !important;
}

.customer-input.customer-selected::placeholder {
    color: #155724 !important;
    font-weight: 500 !important;
}

/* Dark Mode - Modern Tabs */
[data-theme="dark"] .modern-tabs-container {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 4px 20px var(--shadow-color) !important;
}

[data-theme="dark"] .modern-tabs-nav {
    background: var(--bg-tertiary) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

[data-theme="dark"] .tab-btn {
    color: var(--text-secondary) !important;
    border-bottom: 2px solid transparent !important;
}

[data-theme="dark"] .tab-btn:hover {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .tab-btn.active {
    background: var(--card-bg) !important;
    color: var(--text-primary) !important;
    border-bottom-color: var(--primary-color) !important;
}

[data-theme="dark"] .tab-content {
    background: var(--card-bg) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .tab-pane {
    color: var(--text-primary) !important;
}

/* Dark Mode - Info Cards */
[data-theme="dark"] .info-card, 
[data-theme="dark"] .stats-card, 
[data-theme="dark"] .finance-card, 
[data-theme="dark"] .payment-info-card, 
[data-theme="dark"] .payment-form-card, 
[data-theme="dark"] .status-card, 
[data-theme="dark"] .current-status-card {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 2px 12px var(--shadow-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .info-card .card-title,
[data-theme="dark"] .stats-card .card-title,
[data-theme="dark"] .finance-card .card-title,
[data-theme="dark"] .payment-info-card .card-title,
[data-theme="dark"] .payment-form-card .card-title,
[data-theme="dark"] .status-card .card-title,
[data-theme="dark"] .current-status-card .card-title {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .info-item label {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .info-item span {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .notes-content {
    color: var(--text-primary) !important;
}

/* Dark Mode - Stats Cards */
[data-theme="dark"] .stat-value {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .stat-label {
    color: var(--text-secondary) !important;
}

/* Dark Mode - Product Cards */
[data-theme="dark"] .product-card {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 2px 8px var(--shadow-color) !important;
}

[data-theme="dark"] .product-card:hover {
    box-shadow: 0 4px 16px var(--shadow-color) !important;
}

[data-theme="dark"] .product-name {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .product-notes {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .product-placeholder {
    background: var(--bg-tertiary) !important;
    color: var(--text-muted) !important;
}

[data-theme="dark"] .product-photo-indicator {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .attribute-chip {
    background: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color) !important;
}

[data-theme="dark"] .color-chip {
    border: 1px solid var(--border-color) !important;
}

[data-theme="dark"] .quantity-badge {
    background: var(--primary-color) !important;
    color: white !important;
}

[data-theme="dark"] .unit-price {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .total-price {
    color: var(--text-primary) !important;
}

/* Dark Mode - Finance Cards */
[data-theme="dark"] .finance-breakdown {
    background: var(--bg-tertiary) !important;
    border: 1px solid var(--border-color) !important;
}

[data-theme="dark"] .finance-row {
    border-bottom: 1px solid var(--border-color) !important;
}

[data-theme="dark"] .finance-label {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .finance-value {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .total-row {
    background: var(--bg-secondary) !important;
    border-top: 2px solid var(--primary-color) !important;
}

[data-theme="dark"] .outstanding-row {
    background: var(--bg-tertiary) !important;
}

[data-theme="dark"] .discount-row {
    background: var(--bg-tertiary) !important;
}

[data-theme="dark"] .payment-method {
    border-bottom: 1px solid var(--border-color) !important;
}

[data-theme="dark"] .method-label {
    color: var(--text-secondary) !important;
}

/* Dark Mode - Status Cards */
[data-theme="dark"] .status-display {
    background: var(--bg-tertiary) !important;
    border: 1px solid var(--border-color) !important;
}

[data-theme="dark"] .status-timeline {
    background: var(--bg-secondary) !important;
}

[data-theme="dark"] .timeline-item {
    color: var(--text-secondary) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

[data-theme="dark"] .timeline-item:last-child {
    border-bottom: none !important;
}

/* Status History Styles */
.status-history-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-top: 1.5rem;
}

.status-history-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.history-item {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 1rem;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.history-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateX(4px);
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.history-status {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.history-meta {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.history-notes {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0.5rem;
    background: var(--bg-tertiary);
    border-radius: 6px;
}

.history-images {
    margin-top: 0.75rem;
}

.status-image-thumb {
    position: relative;
    display: inline-block;
}

.status-image-thumb img {
    transition: transform 0.2s, box-shadow 0.2s;
}

.status-image-thumb img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

/* Dark Mode - Status History */
[data-theme="dark"] .status-history-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .history-item {
    background: var(--bg-tertiary);
    border-left-color: var(--primary-color);
}

[data-theme="dark"] .history-notes {
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

/* Dark Mode - Form Elements in Tabs */
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    background: var(--input-bg) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
    background: var(--input-bg) !important;
    border-color: var(--primary-color) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(100, 181, 246, 0.25) !important;
}

[data-theme="dark"] .form-label {
    color: var(--text-secondary) !important;
}

/* Dark Mode - Empty State */
[data-theme="dark"] .empty-state {
    color: var(--text-muted) !important;
}

[data-theme="dark"] .empty-state h4 {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .empty-state p {
    color: var(--text-muted) !important;
}

/* Dark Mode - No Permission */
[data-theme="dark"] .no-permission {
    color: var(--text-muted) !important;
}

[data-theme="dark"] .no-permission h4 {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .no-permission p {
    color: var(--text-muted) !important;
}

/* Multi-şəkil funksionallığı */
.product-image-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.photo-count-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 10;
}

.photo-count-badge i {
    font-size: 0.7rem;
}

/* Qeydlər formatı */
.note-line {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    padding: 4px 0;
}

.note-line i {
    margin-top: 6px;
}

/* Məhsul əlavə qeydləri */
.product-extras-note {
    margin-top: 8px;
    padding: 6px 10px;
    background: var(--gray-50);
    border-left: 3px solid var(--info-color);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.product-extras-note i {
    margin-top: 2px;
    flex-shrink: 0;
}

/* Şəkil thumbnail-lər */
#imageThumbnails img.img-thumbnail {
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

#imageThumbnails img.img-thumbnail:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

#imageThumbnails img.img-thumbnail.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-light);
}

/* Şəkil naviqasiyası */
#imageGalleryNav {
    margin-top: 20px;
}

#imageCounter {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 60px;
    text-align: center;
}

/* Cashback tarixçəsi */
.cashback-earned-row {
    background: rgba(76, 175, 80, 0.1);
    border-left: 3px solid var(--success-color);
}

.cashback-row {
    background: rgba(0, 188, 212, 0.1);
    border-left: 3px solid var(--info-color);
}

/* Dark Mode - Multi-şəkil */
[data-theme="dark"] .photo-count-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

[data-theme="dark"] .product-extras-note {
    background: var(--bg-tertiary);
    border-left-color: var(--info-color);
    color: var(--text-primary);
}

[data-theme="dark"] #imageThumbnails img.img-thumbnail {
    border-color: var(--border-color);
}

[data-theme="dark"] #imageThumbnails img.img-thumbnail.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-light);
}

[data-theme="dark"] #imageCounter {
    color: var(--text-primary);
}

[data-theme="dark"] .cashback-earned-row {
    background: rgba(102, 187, 106, 0.2);
    border-left-color: var(--success-color);
}

[data-theme="dark"] .cashback-row {
    background: rgba(38, 198, 218, 0.2);
    border-left-color: var(--info-color);
}

/* Status Cards Grid - Touch Friendly */
.status-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.status-card {
    position: relative;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 0px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.status-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.status-card:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px var(--shadow-color);
}

.status-card.selected {
    border-color: var(--primary-color);
    background: var(--primary-light);
    box-shadow: 0 4px 16px rgba(33, 150, 243, 0.2);
}

.status-card-icon {
    font-size: 32px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    transition: var(--transition);
}

.status-card.selected .status-card-icon {
    color: var(--primary-color);
    transform: scale(1.1);
}

.status-card-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

.status-card.selected .status-card-label {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Status rəngləri üçün dinamik icon rəngləri */
.status-card[data-status-color="primary"] .status-card-icon {
    color: var(--primary-color);
}

.status-card[data-status-color="success"] .status-card-icon {
    color: var(--success-color);
}

.status-card[data-status-color="warning"] .status-card-icon {
    color: var(--warning-color);
}

.status-card[data-status-color="danger"] .status-card-icon {
    color: var(--danger-color);
}

.status-card[data-status-color="info"] .status-card-icon {
    color: var(--info-color);
}

.status-card[data-status-color="secondary"] .status-card-icon {
    color: var(--gray-600);
}

.status-card.selected[data-status-color="primary"] {
    border-color: var(--primary-color);
    background: rgba(33, 150, 243, 0.1);
}

.status-card.selected[data-status-color="success"] {
    border-color: var(--success-color);
    background: rgba(76, 175, 80, 0.1);
}

.status-card.selected[data-status-color="warning"] {
    border-color: var(--warning-color);
    background: rgba(255, 152, 0, 0.1);
}

.status-card.selected[data-status-color="danger"] {
    border-color: var(--danger-color);
    background: rgba(244, 67, 54, 0.1);
}

.status-card.selected[data-status-color="info"] {
    border-color: var(--info-color);
    background: rgba(0, 188, 212, 0.1);
}

.status-card.selected[data-status-color="secondary"] {
    border-color: var(--gray-600);
    background: rgba(117, 117, 117, 0.1);
}

.status-card-check {
    position: absolute;
    top: 8px;
    right: 8px;
    color: var(--primary-color);
    font-size: 20px;
    animation: checkAppear 0.3s ease;
}

@keyframes checkAppear {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive - Kiçik ekranlar üçün */
@media (max-width: 576px) {
    .status-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .status-card {
        min-height: 100px;
        padding: 16px 12px;
    }
    
    .status-card-icon {
        font-size: 28px;
    }
    
    .status-card-label {
        font-size: 13px;
    }
}

/* Dark Mode - Status Cards */
[data-theme="dark"] .status-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .status-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .status-card.selected {
    background: rgba(100, 181, 246, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(100, 181, 246, 0.3);
}

[data-theme="dark"] .status-card-icon {
    color: var(--text-secondary);
}

[data-theme="dark"] .status-card.selected .status-card-icon {
    color: var(--primary-color);
}

[data-theme="dark"] .status-card-label {
    color: var(--text-primary);
}

[data-theme="dark"] .status-card.selected .status-card-label {
    color: var(--primary-color);
}

/* Dark Mode - Status rəngləri */
[data-theme="dark"] .status-card[data-status-color="primary"] .status-card-icon {
    color: var(--primary-color);
}

[data-theme="dark"] .status-card[data-status-color="success"] .status-card-icon {
    color: var(--success-color);
}

[data-theme="dark"] .status-card[data-status-color="warning"] .status-card-icon {
    color: var(--warning-color);
}

[data-theme="dark"] .status-card[data-status-color="danger"] .status-card-icon {
    color: var(--danger-color);
}

[data-theme="dark"] .status-card[data-status-color="info"] .status-card-icon {
    color: var(--info-color);
}

[data-theme="dark"] .status-card.selected[data-status-color="primary"] {
    border-color: var(--primary-color);
    background: rgba(100, 181, 246, 0.2);
}

[data-theme="dark"] .status-card.selected[data-status-color="success"] {
    border-color: var(--success-color);
    background: rgba(102, 187, 106, 0.2);
}

[data-theme="dark"] .status-card.selected[data-status-color="warning"] {
    border-color: var(--warning-color);
    background: rgba(255, 167, 38, 0.2);
}

[data-theme="dark"] .status-card.selected[data-status-color="danger"] {
    border-color: var(--danger-color);
    background: rgba(239, 83, 80, 0.2);
}

[data-theme="dark"] .status-card.selected[data-status-color="info"] {
    border-color: var(--info-color);
    background: rgba(38, 198, 218, 0.2);
}

/* Mənim printerlərim səhifəsi */
.my-printers-page .card {
    border-radius: 16px;
}

.my-printers-page .card-title {
    font-weight: 600;
    color: var(--text-primary);
}

.my-printers-page .printer-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
}

.my-printers-page .printer-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px rgba(33, 150, 243, 0.1);
}

.my-printers-page .setup-steps li + li {
    margin-top: 0.4rem;
}

.my-printers-page .empty-state i {
    opacity: 0.5;
}

.my-printers-page .form-label {
    color: var(--text-secondary);
    font-weight: 600;
}

.my-printers-page .form-control,
.my-printers-page .form-select {
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
    background: var(--input-bg);
    border-color: var(--border-color);
}

.my-printers-page .btn {
    border-radius: 10px;
}

[data-theme="dark"] .my-printers-page .printer-card {
    background: var(--bg-tertiary);
}

/* Site Footer */
.site-footer {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    padding: 1rem 0;
    margin-top: auto;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-text {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
}

[data-theme="dark"] .site-footer {
    background: var(--bg-secondary);
    border-top-color: var(--border-color);
}

/* Qarışıq Ödəniş Stiləri */
.mixed-payment-item {
    padding: 0.5rem 0;
}

.mixed-payment-item .form-label {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: block;
}

.mixed-payment-item .form-control {
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    font-size: 0.9rem;
}

.mixed-payment-item .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25);
}

.mixed-payment-item .input-group-text {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.mixed-payment-item .mixed-payment-auto {
    transition: var(--transition);
    padding: 0.375rem 0.75rem;
}

.mixed-payment-item .mixed-payment-auto:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

#mixed-payment-summary {
    border-radius: var(--border-radius-lg);
    border: none;
    font-weight: 500;
}

#mixed-payment-summary.alert-success {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

#mixed-payment-summary.alert-success i {
    color: white;
}

#mixed-payment-summary.alert-warning {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: white;
}

#mixed-payment-summary.alert-warning i {
    color: white;
}

#mixed-payment-summary.alert-info {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
}

#mixed-payment-summary.alert-info i {
    color: white;
}

#mixed-payment-toggle {
    cursor: pointer;
}

#mixed-payment-toggle:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    user-select: none;
}

/* Dark Mode üçün qarışıq ödəniş stilləri */
[data-theme="dark"] .mixed-payment-item .form-control {
    background-color: var(--input-bg);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .mixed-payment-item .form-control:focus {
    background-color: var(--input-bg);
    border-color: var(--primary-color);
    color: var(--text-primary);
}

[data-theme="dark"] .mixed-payment-item .input-group-text {
    background-color: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-secondary);
}