/* AkcanPOS v3 Web Panel - Additional Styles */

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    min-width: 300px;
    max-width: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-success {
    border-left: 4px solid #10b981;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-dialog {
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background: white;
    position: relative;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 12px 12px 0 0;
    padding: 1.5rem;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header .modal-title {
    font-weight: 600;
    font-size: 1.25rem;
    margin: 0;
}

.modal-header .btn-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.modal-header .btn-close:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(15, 76, 117, 0.25);
}

.address-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.address-section h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Address Preview */
.address-preview {
    background: #e8f5e8;
    border: 1px solid #c3e6c3;
    border-radius: 6px;
    padding: 1rem;
    margin: 1rem 0;
}

.address-preview small {
    color: #2d5a2d;
}

.address-preview #previewText {
    font-weight: normal;
    font-style: italic;
}

/* Button Styles */
.btn {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 76, 117, 0.4);
}

.btn-secondary {
    background: #6c757d;
    border: none;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Spinner */
.fa-spin {
    animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(359deg);
    }
}

.notification-error {
    border-left: 4px solid #ef4444;
}

.notification-warning {
    border-left: 4px solid #f59e0b;
}

.notification-info {
    border-left: 4px solid #3b82f6;
}

.notification-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

/* Page Styles */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.page-title h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-title p {
    color: #64748b;
    font-size: 16px;
}

.page-actions {
    display: flex;
    gap: 10px;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #f1f5f9;
    color: #475569;
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-icon {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    color: #64748b;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: #f3f4f6;
    color: #374151;
}

.btn-icon.btn-danger {
    color: #ef4444;
}

.btn-icon.btn-danger:hover {
    background: #fef2f2;
    color: #dc2626;
}

/* Stats Cards */
.orders-stats,
.customers-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* Filters */
.filters-section {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
}

.filters-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: end;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Search */
.search-section {
    margin-bottom: 20px;
}

.search-section input {
    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
}

/* Data Tables */
.data-table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.table-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}

.table-info {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.table-actions {
    display: flex;
    gap: 10px;
}

.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: #f8fafc;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    user-select: none;
}

.data-table th:hover {
    background: #f1f5f9;
}

.data-table th i {
    margin-left: 5px;
    opacity: 0.5;
}

.data-table td {
    padding: 15px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}

.data-table tr:hover {
    background: #f8fafc;
}

/* Table Badges */
.service-badge,
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.service-hali {
    background: #dbeafe;
    color: #1d4ed8;
}

.service-koltuk {
    background: #fef3c7;
    color: #d97706;
}

.service-fason {
    background: #d1fae5;
    color: #059669;
}

.service-kuru_temizleme {
    background: #fce7f3;
    color: #be185d;
}

.status-teslim-alınacak {
    background: #fef3c7;
    color: #d97706;
}

.status-yıkanıyor {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-hazır {
    background: #d1fae5;
    color: #059669;
}

.status-teslim-edilecek {
    background: #fde68a;
    color: #d97706;
}

.status-teslim-edildi {
    background: #bbf7d0;
    color: #047857;
}

/* Customer/Order Info */
.customer-info,
.order-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.customer-name,
.order-id {
    font-weight: 600;
    color: #1e293b;
}

.customer-phone {
    font-size: 12px;
    color: #64748b;
}

.order-amount {
    font-weight: 600;
    color: #059669;
}

.vehicle-info {
    font-family: monospace;
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

/* Action Buttons */
.order-actions,
.customer-actions {
    display: flex;
    gap: 5px;
}

/* Pagination */
.table-pagination {
    padding: 15px 20px;
    border-top: 1px solid #e5e7eb;
    background: #f8fafc;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.page-btn {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.page-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #374151;
}

.empty-state p {
    margin-bottom: 20px;
}

/* Coming Soon */
.coming-soon {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.coming-soon i {
    font-size: 64px;
    color: #9ca3af;
    margin-bottom: 20px;
}

.coming-soon h3 {
    font-size: 28px;
    color: #374151;
    margin-bottom: 10px;
}

.coming-soon p {
    color: #64748b;
    font-size: 16px;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #1e293b;
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #9ca3af;
    cursor: pointer;
    padding: 5px;
}

.modal-body {
    padding: 20px;
}

/* Keyboard Shortcuts */
.shortcuts-grid {
    display: grid;
    gap: 15px;
}

.shortcut-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.shortcut-item:last-child {
    border-bottom: none;
}

kbd {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 4px 8px;
    font-family: monospace;
    font-size: 12px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .filters-row {
        grid-template-columns: 1fr;
    }

    .orders-stats,
    .customers-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .data-table {
        font-size: 12px;
    }

    .data-table th,
    .data-table td {
        padding: 10px 8px;
    }

    .table-header {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}

@media (max-width: 480px) {

    .orders-stats,
    .customers-stats {
        grid-template-columns: 1fr;
    }

    .page-content {
        padding: 15px;
    }

    .modal-content {
        width: 95%;
    }
}

/* Müşteri Detay Modalı */
.customer-detail-modal {
    max-width: 1000px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.customer-detail-modal .modal-body {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Customer Tabs */
.customer-tabs {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0;
    margin: 0;
    border-radius: 12px 12px 0 0;
}

.customer-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    color: #64748b;
    font-weight: 500;
    font-size: 14px;
}

.customer-tab:first-child {
    border-radius: 12px 0 0 0;
}

.customer-tab:last-child {
    border-radius: 0 12px 0 0;
}

.customer-tab:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.customer-tab.active {
    background: white;
    color: #667eea;
    border-bottom: 3px solid #667eea;
}

.customer-tab i {
    font-size: 16px;
}

.tab-badge {
    background: #e2e8f0;
    color: #64748b;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.customer-tab.active .tab-badge {
    background: #667eea;
    color: white;
}

/* Tab Content */
.customer-tab-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.tab-pane {
    display: none;
    padding: 25px;
    height: 100%;
    overflow-y: auto;
}

.tab-pane.active {
    display: block;
}

/* Customer Info Grid */
.customer-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    height: fit-content;
}

.info-card {
    background: #f8fafc;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.info-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
}

.info-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-content {
    padding: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row.highlight {
    background: #f0f9ff;
    margin: 0 -20px;
    padding: 10px 20px;
    border-radius: 8px;
}

.info-row label {
    font-weight: 600;
    color: #374151;
    margin: 0;
}

.info-row span {
    color: #6b7280;
    text-align: right;
}

.info-row .amount {
    font-weight: 700;
    color: #059669;
    font-size: 16px;
}

.info-row .text-muted {
    color: #9ca3af;
    font-style: italic;
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 8px;
}

.status-badge.teslim-alınacak {
    background: #fef3c7;
    color: #d97706;
}

.status-badge.yıkanıyor {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-badge.hazır {
    background: #d1fae5;
    color: #059669;
}

.status-badge.teslim-edilecek {
    background: #fde68a;
    color: #d97706;
}

.status-badge.teslim-edildi {
    background: #bbf7d0;
    color: #047857;
}

.btn-link {
    background: none;
    border: none;
    color: #667eea;
    cursor: pointer;
    text-decoration: underline;
    font-size: 12px;
    margin-left: 8px;
}

.btn-link:hover {
    color: #5a67d8;
}

/* Orders List */
.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.order-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.order-card.teslim-alınacak {
    border-left: 4px solid #f59e0b;
}

.order-card.yıkanıyor {
    border-left: 4px solid #3b82f6;
}

.order-card.hazır {
    border-left: 4px solid #10b981;
}

.order-card.teslim-edilecek {
    border-left: 4px solid #8b5cf6;
}

.order-card.teslim-edildi {
    border-left: 4px solid #059669;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.order-number {
    font-size: 14px;
    font-weight: 700;
    color: #667eea;
    background: #f0f4ff;
    padding: 4px 8px;
    border-radius: 6px;
}

.order-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Order Product Details */
.product-details {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    margin: 8px 0;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.product-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px 0;
    border-bottom: 1px solid #e5e7eb;
}

.product-item:last-child {
    border-bottom: none;
}

.product-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-name {
    font-weight: 500;
    color: #1f2937;
}

.product-quantity {
    font-size: 12px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
}

.product-desc,
.product-dimensions {
    font-size: 12px;
    color: #6b7280;
    font-style: italic;
}

/* Order Main Info */
.order-main-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}

.service-info,
.price-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-name {
    font-weight: 500;
    color: #374151;
}

.price-amount {
    font-weight: 700;
    font-size: 16px;
    color: #059669;
}

/* Order Dates */
.order-dates {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.date-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
}

.date-label {
    font-weight: 500;
}

.date-value {
    color: #374151;
}

/* Vehicle Info */
.vehicle-info {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fef3c7;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    color: #92400e;
}

.vehicle-plate {
    font-weight: 600;
}

/* Order Notes */
.order-notes {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 12px;
    color: #1e40af;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.notes-text {
    flex: 1;
}

.service-type {
    font-size: 12px;
    color: #6b7280;
}

.order-amount {
    font-weight: 700;
    color: #1e293b;
    font-size: 14px;
}

.order-date,
.vehicle-info {
    font-size: 12px;
    color: #9ca3af;
}

/* SMS History */
.sms-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sms-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.sms-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sms-content p {
    margin: 0 0 12px 0;
    color: #374151;
    line-height: 1.5;
}

.sms-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.sms-date {
    color: #6b7280;
}

.sms-status {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.sms-status.delivered {
    color: #059669;
}

.sms-status.pending {
    color: #d97706;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 16px;
    margin: 0;
}

/* Modal Footer Actions */
.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.action-buttons .btn {
    flex: 0 0 auto;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.action-buttons .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-toggle::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 250px;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-section {
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.dropdown-section:last-child {
    border-bottom: none;
}

.dropdown-section h4 {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-item {
    width: 100%;
    background: none;
    border: none;
    padding: 8px 12px;
    text-align: left;
    color: #374151;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.dropdown-item:hover {
    background: #f8fafc;
    color: #667eea;
}

.dropdown-item i {
    width: 16px;
    text-align: center;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .customer-detail-modal {
        width: 95%;
        height: 95vh;
        max-height: 95vh;
    }

    .customer-tabs {
        flex-direction: column;
    }

    .customer-tab {
        border-radius: 0;
        justify-content: flex-start;
        text-align: left;
        padding: 12px 16px;
    }

    .customer-tab:first-child {
        border-radius: 12px 12px 0 0;
    }

    .customer-tab:last-child {
        border-radius: 0;
    }

    .customer-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .orders-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .dropdown-menu {
        position: fixed;
        top: auto;
        bottom: 20px;
        left: 20px;
        right: 20px;
        width: auto;
    }
}

/* Customer List Styles */
.customers-list-container {
    margin-top: 20px;
}

.customer-group {
    margin-bottom: 30px;
}

.group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 0 5px;
}

.group-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.group-count {
    font-size: 14px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 4px 12px;
    border-radius: 12px;
}

.group-divider {
    height: 2px;
    background: linear-gradient(90deg, #e5e7eb 0%, transparent 100%);
    margin-bottom: 15px;
}

.customers-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 15px;
}

.customer-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.customer-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.customer-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.customer-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.customer-info {
    flex: 1;
}

.customer-info h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.customer-info p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.customer-actions {
    display: flex;
    gap: 8px;
}

.customer-card-body {
    margin-top: 15px;
}

.customer-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 15px;
    padding: 10px;
    background: #f9fafb;
    border-radius: 8px;
}

.customer-address i {
    color: #6b7280;
    margin-top: 2px;
    flex-shrink: 0;
}

.customer-address span {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.4;
}

.customer-stats {
    display: flex;
    justify-content: center;
}

.stat-item {
    text-align: center;
    padding: 8px 16px;
    background: #f0f9ff;
    border-radius: 8px;
    border: 1px solid #bfdbfe;
}

.stat-value {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #1d4ed8;
}

.stat-label {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

/* Search Section */
.search-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 20px 0;
}

.search-section input {
    flex: 1;
    max-width: 400px;
}

.cache-info {
    flex-shrink: 0;
}

.cache-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.cache-status.fresh {
    background: #dcfce7;
    color: #166534;
}

.cache-status.good {
    background: #dbeafe;
    color: #1d4ed8;
}

.cache-status.old {
    background: #fef3c7;
    color: #92400e;
}

.cache-status.no-cache {
    background: #f3f4f6;
    color: #374151;
}

/* Customer Detail Page */
.customer-detail-page {
    animation: slideIn 0.3s ease;
}

.btn-back {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    color: #374151;
    transition: all 0.2s ease;
    margin-right: 15px;
}

.btn-back:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

.title-content {
    flex: 1;
}

.customer-info-section {
    margin: 20px 0;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.info-card.primary {
    border-left: 4px solid #3b82f6;
}

.info-card.stats {
    border-left: 4px solid #10b981;
}

.card-header {
    padding: 15px 20px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.card-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-content {
    padding: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    font-weight: 500;
    color: #6b7280;
}

.info-row .value {
    font-weight: 600;
    color: #1f2937;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    width: 100%;
}

.stats-grid .stat-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.stats-grid .stat-item.active {
    background: #eff6ff;
    border-color: #3b82f6;
}

.stats-grid .stat-item.active .stat-value {
    color: #1d4ed8;
}

/* Responsive */
@media (max-width: 768px) {
    .customers-cards {
        grid-template-columns: 1fr;
    }

    .info-cards-grid {
        grid-template-columns: 1fr;
    }

    .search-section {
        flex-direction: column;
        align-items: stretch;
    }

    .cache-info {
        text-align: center;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== Arama ve Sayfalama Stilleri ========== */
.search-section {
    margin: 24px 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
}

.search-controls {
    margin-bottom: 16px;
}

.search-input-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    background: white;
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.search-input-container input {
    flex: 1;
    padding: 16px 20px;
    border: 3px solid #3b82f6;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    background: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transition: all 0.3s ease;
}

.search-input-container input:focus {
    outline: none;
    border-color: #1d4ed8;
    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.25);
    transform: translateY(-1px);
}

.search-btn,
.clear-search-btn {
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.search-btn {
    background: #667eea;
    color: white;
}

.search-btn:hover {
    background: #5a67d8;
}

.clear-search-btn {
    background: #f3f4f6;
    color: #6b7280;
}

.clear-search-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.search-results-info {
    color: #6b7280;
    font-size: 14px;
}

.search-results strong {
    color: #1f2937;
}

.cache-info {
    padding: 8px 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 12px;
    color: #6b7280;
    margin-top: 12px;
}

.cache-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cache-status.fresh {
    color: #059669;
}

.cache-status.expired {
    color: #d97706;
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 24px 0;
    padding: 16px 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    flex-wrap: wrap;
    gap: 16px;
}

.pagination-info {
    color: #6b7280;
    font-size: 14px;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 4px;
}

.page-btn {
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    background: white;
    color: #374151;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    min-width: 40px;
    text-align: center;
}

.page-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.page-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-dots {
    padding: 8px 4px;
    color: #9ca3af;
}

.page-size-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

.page-size-selector select {
    padding: 6px 8px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: white;
    cursor: pointer;
}

/* ========== Müşteri Grup Listesi Stilleri ========== */
.customers-list-container {
    margin-top: 24px;
}

.customer-group {
    margin-bottom: 32px;
}

.group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 0 4px;
}

.group-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    font-size: 16px;
}

.group-count {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.group-divider {
    height: 2px;
    background: linear-gradient(90deg, #e5e7eb 0%, transparent 100%);
    margin-bottom: 16px;
}

.customers-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 16px;
}

.customer-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.customer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.customer-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.customer-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.customer-info {
    flex: 1;
}

.customer-info h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.customer-info p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.customer-actions {
    display: flex;
    gap: 8px;
}

.customer-card-body {
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.customer-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.4;
}

.customer-address i {
    color: #9ca3af;
    margin-top: 2px;
    flex-shrink: 0;
}

.customer-stats {
    display: flex;
    gap: 16px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========== Müşteri Detay Sayfa Stilleri ========== */
.customer-detail-page {
    min-height: 100vh;
}

.btn-back {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 12px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 16px;
}

.btn-back:hover {
    background: #e5e7eb;
    color: #374151;
}

.title-content {
    flex: 1;
}

.customer-info-section {
    margin: 24px 0;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.info-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.info-card.primary {
    border-left: 4px solid #667eea;
}

.info-card.stats {
    border-left: 4px solid #10b981;
}

.card-header {
    background: #f9fafb;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.card-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-content {
    padding: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    font-weight: 500;
    color: #6b7280;
}

.info-row .value {
    font-weight: 600;
    color: #1f2937;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stats-grid .stat-item {
    text-align: center;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
}

.stats-grid .stat-item.active {
    background: #ecfdf5;
    color: #059669;
}

.customer-orders-section {
    margin-top: 32px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e5e7eb;
}

.section-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-tabs {
    display: flex;
    gap: 8px;
}

.tab-btn {
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tab-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.orders-list {
    display: grid;
    gap: 16px;
}

.order-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.order-info h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.order-date {
    color: #6b7280;
    font-size: 12px;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-badge.teslim-alınacak {
    background: #fef3c7;
    color: #d97706;
}

.status-badge.yıkanıyor {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-badge.hazır {
    background: #d1fae5;
    color: #059669;
}

.status-badge.teslim-edilecek {
    background: #fef3c7;
    color: #d97706;
}

.status-badge.teslim-edildi {
    background: #d1fae5;
    color: #047857;
}

.order-details {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 14px;
}

.detail-item i {
    color: #9ca3af;
}

.empty-state {
    text-align: center;
    padding: 48px;
    color: #6b7280;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .customers-cards {
        grid-template-columns: 1fr;
    }

    .info-cards-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .pagination-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .pagination-controls {
        justify-content: center;
        flex-wrap: wrap;
    }

    .search-input-container {
        flex-direction: column;
        align-items: stretch;
    }

    .search-input-container input {
        margin-bottom: 8px;
    }

    .search-btn,
    .clear-search-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Enhanced Order Cards */
.order-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.order-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f3f4f6;
}

.order-number {
    font-weight: 600;
    font-size: 16px;
    color: #1f2937;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-badge.hazır {
    background: #dcfce7;
    color: #166534;
}

.status-badge.teslim-edilecek {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.yıkanıyor {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge.teslim-alınacak {
    background: #fee2e2;
    color: #dc2626;
}

.order-main-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.service-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-info i {
    color: #6b7280;
    width: 20px;
}

.service-name {
    font-weight: 500;
    color: #374151;
}

.price-amount {
    font-size: 18px;
    font-weight: 600;
    color: #059669;
}

.order-dates {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.date-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.date-item i {
    color: #6b7280;
    width: 16px;
}

.date-label {
    font-weight: 500;
    color: #6b7280;
    min-width: 45px;
}

.date-value {
    color: #374151;
}

.vehicle-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f3f4f6;
    border-radius: 8px;
    margin-bottom: 8px;
}

.vehicle-info i {
    color: #6b7280;
}

.vehicle-plate {
    font-weight: 500;
    color: #374151;
}

.order-notes {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 12px;
    background: #fef7cd;
    border-radius: 8px;
    font-size: 14px;
}

.order-notes i {
    color: #d97706;
    margin-top: 2px;
}

.notes-text {
    color: #92400e;
    line-height: 1.4;
}

/* Product Details */
.product-details {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.product-header i {
    color: #6b7280;
}

.product-item {
    padding: 6px 0;
    border-bottom: 1px solid #e5e7eb;
}

.product-item:last-child {
    border-bottom: none;
}

.product-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-name {
    font-weight: 500;
    color: #374151;
}

.product-quantity {
    font-size: 14px;
    color: #6b7280;
    background: #e5e7eb;
    padding: 2px 8px;
    border-radius: 12px;
}

.product-desc,
.product-dimensions {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
    line-height: 1.3;
}

/* ==================== ÜRÜN LİSTESİ SAYFASI ==================== */

.products-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ürün Filtreleri */
.products-filters {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1.5px solid #e2e8f0;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.filter-group select {
    padding: 10px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    min-width: 150px;
    cursor: pointer;
}

.filter-group select:focus {
    outline: none;
    border-color: #3b82f6;
}

.results-info {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    margin-left: auto;
}

/* Ürün Grid */
.products-grid {
    position: relative;
}

.products-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 32px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 3px solid #e2e8f0;
    overflow: hidden;
    position: relative;
}

.products-content:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
}

/* Ürün Kartı */
.product-card {
    background: transparent;
    border-radius: 0;
    padding: 24px 28px;
    transition: all 0.3s ease;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.product-card:last-child {
    border-bottom: none;
}

.product-card:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom-color: #3b82f6;
    box-shadow: inset 0 0 0 2px rgba(59, 130, 246, 0.1);
    transform: translateX(4px);
}

.product-actions {
    display: flex !important;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
    justify-content: flex-end;
    margin-left: auto;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px;
    border-radius: 8px;
}

.action-btn {
    padding: 8px 16px !important;
    height: 36px !important;
    border: none !important;
    border-radius: 6px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px !important;
    font-weight: 600 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
    min-width: 70px;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 101;
}

.edit-product-btn {
    background: #1e40af;
    color: white;
    border: 1px solid #1e40af;
}

.edit-product-btn:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.delete-product-btn {
    background: #dc2626;
    color: white;
    border: 1px solid #dc2626;
}

.delete-product-btn:hover {
    background: #b91c1c;
    border-color: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}



.delete-product-btn {
    background: #fef2f2;
    color: #dc2626;
}

.delete-product-btn:hover {
    background: #dc2626;
    color: white;
}

.product-info {
    flex: 1;
    margin-right: 20px;
    min-width: 0;
    /* flex item'ın küçülmesine izin ver */
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.price-amount {
    font-size: 18px;
    font-weight: 700;
    color: #059669;
    white-space: nowrap;
}

.price-unit {
    font-size: 14px;
    color: #6b7280;
    white-space: nowrap;
}

.product-description {
    margin-bottom: 16px;
}

.product-description p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.product-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #9ca3af;
    font-size: 12px;
}

.meta-item i {
    font-size: 11px;
}

/* Boş Durum */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.empty-state i {
    font-size: 48px;
    color: #d1d5db;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #374151;
}

.empty-state p {
    font-size: 14px;
    line-height: 1.4;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.loading-state .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f4f6;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Ürün Modal */
.product-form {
    max-width: 600px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

/* Responsive */
@media (max-width: 768px) {
    .products-content {
        grid-template-columns: 1fr;
    }

    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        min-width: auto;
    }

    .results-info {
        margin-left: 0;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-actions {
        flex-direction: column-reverse;
    }
}

/* ==================== BASİT ÜRÜN LİSTESİ ==================== */

.products-simple-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.products-simple-page .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.products-simple-page .page-header h1 {
    color: #1f2937;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.products-simple-page .page-header h1 i {
    color: #3b82f6;
    margin-right: 12px;
}

.products-simple-list {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.product-simple-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-simple-item:last-child {
    border-bottom: none;
}

.product-simple-item:hover {
    background: #f8fafc;
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    margin-right: 20px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    flex: 1;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #059669;
    min-width: 120px;
    text-align: right;
}

.product-actions {
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.product-simple-item:hover .product-actions {
    opacity: 1;
}

.btn-edit,
.btn-delete {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.btn-edit {
    background: #dbeafe;
    color: #1d4ed8;
}

.btn-edit:hover {
    background: #1d4ed8;
    color: white;
}

.btn-delete {
    background: #fef2f2;
    color: #dc2626;
}

.btn-delete:hover {
    background: #dc2626;
    color: white;
}

/* Modal Düzenlemeleri */
.products-simple-page .modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.products-simple-page .modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.products-simple-page .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0;
    margin-bottom: 20px;
}

.products-simple-page .modal-header h2 {
    margin: 0;
    color: #1f2937;
    font-size: 20px;
    font-weight: 600;
}

.products-simple-page .modal-close {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.products-simple-page .modal-close:hover {
    background: #f3f4f6;
}

/* ==================== ÜRÜN MODAL STANDARDIZASYONU ==================== */

/* Ürün Modal - Unified Design System */
#productModal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.6) !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
    backdrop-filter: blur(4px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
}

#productModal.show {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

#productModal .modal-content {
    background: white !important;
    border-radius: 16px !important;
    width: 90% !important;
    max-width: 540px !important;
    max-height: 90vh !important;
    overflow: hidden !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    animation: modalSlideIn 0.3s ease !important;
}

/* Modal Header - Enhanced Design */
#productModal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    padding: 24px 24px 20px !important;
    border-radius: 16px 16px 0 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

#productModal .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="4" height="4" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>') !important;
    pointer-events: none !important;
}

#productModal .modal-header h2 {
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: white !important;
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

#productModal .modal-header h2::before {
    content: '\f468' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    font-size: 18px !important;
    opacity: 0.9 !important;
}

#productModal .modal-close {
    background: rgba(255, 255, 255, 0.2) !important;
    border: none !important;
    color: white !important;
    cursor: pointer !important;
    padding: 10px !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    z-index: 1 !important;
    font-size: 16px !important;
}

#productModal .modal-close:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.05) !important;
}

/* Modal Form - Enhanced Styling */
#productModal .product-form {
    padding: 24px !important;
}

#productModal .form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
}

#productModal .form-group {
    display: flex !important;
    flex-direction: column !important;
}

#productModal .form-group label {
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

#productModal .form-group input,
#productModal .form-group select,
#productModal .form-group textarea {
    padding: 12px 16px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    font-family: inherit !important;
    background: white !important;
}

#productModal .form-group input:focus,
#productModal .form-group select:focus,
#productModal .form-group textarea:focus {
    outline: none !important;
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
    transform: translateY(-1px) !important;
}

#productModal .form-group textarea {
    resize: vertical !important;
    min-height: 80px !important;
    font-family: inherit !important;
}

/* Form Actions - Enhanced Button Design */
#productModal .form-actions {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    margin-top: 32px !important;
    padding-top: 24px !important;
    border-top: 1px solid #e5e7eb !important;
}

#productModal .btn {
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    border: none !important;
    min-width: 120px !important;
    justify-content: center !important;
}

#productModal .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3) !important;
}

#productModal .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4) !important;
}

#productModal .btn-secondary {
    background: #f8fafc !important;
    color: #64748b !important;
    border: 1px solid #e2e8f0 !important;
}

#productModal .btn-secondary:hover {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border-color: #cbd5e1 !important;
}

/* Modal Animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive Modal Design */
@media (max-width: 768px) {
    #productModal .modal-content {
        width: 95% !important;
        max-width: none !important;
        margin: 10px !important;
    }

    #productModal .form-row {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    #productModal .form-actions {
        flex-direction: column-reverse !important;
        gap: 8px !important;
    }

    #productModal .btn {
        width: 100% !important;
    }
}

.products-simple-page .product-form {
    padding: 0 24px 24px;
}

.products-simple-page .form-group {
    margin-bottom: 20px;
}

.products-simple-page .form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.products-simple-page .form-group input,
.products-simple-page .form-group select,
.products-simple-page .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.products-simple-page .form-group input:focus,
.products-simple-page .form-group select:focus,
.products-simple-page .form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.products-simple-page .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.products-simple-page .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.products-simple-page .btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.products-simple-page .btn-primary {
    background: #3b82f6;
    color: white;
}

.products-simple-page .btn-primary:hover {
    background: #1d4ed8;
}

.products-simple-page .btn-secondary {
    background: #e5e7eb;
    color: #374151;
}

.products-simple-page .btn-secondary:hover {
    background: #d1d5db;
}

/* Vehicle Plates Management */
.vehicles-container {
    padding: 20px 0;
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    max-width: 1200px;
}

.vehicle-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    overflow: hidden;
}

.vehicle-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.vehicle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.vehicle-plate {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vehicle-plate i {
    font-size: 20px;
    opacity: 0.9;
}

.plate-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
}

.vehicle-actions {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-icon.btn-danger:hover {
    background: #ef4444;
}

.vehicle-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-label {
    font-weight: 500;
    color: #64748b;
    font-size: 14px;
}

.info-value {
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.active {
    background: #dcfce7;
    color: #166534;
}

.status-badge.inactive {
    background: #fef2f2;
    color: #dc2626;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #374151;
}

.loading-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.loading-placeholder i {
    font-size: 24px;
    margin-bottom: 16px;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: white;
    margin: 50px auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close {
    color: #9ca3af;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #374151;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #374151;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    min-width: 300px;
    max-width: 450px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast-content {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-success {
    border-left: 4px solid #10b981;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast-success .fa-check-circle {
    color: #10b981;
}

.toast-error .fa-exclamation-circle {
    color: #ef4444;
}

/* Responsive */
@media (max-width: 768px) {
    .products-simple-page {
        padding: 0 16px;
    }

    .products-simple-page .page-header {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .product-simple-item {
        padding: 16px;
    }

    .product-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-right: 16px;
    }

    .product-price {
        text-align: left;
        min-width: auto;
    }

    .product-actions {
        opacity: 1;
    }

    .vehicles-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .modal-content {
        margin: 20px auto;
        width: 95%;
    }

    .vehicle-header {
        padding: 16px;
    }

    .vehicle-info {
        padding: 16px;
    }

    .page-header {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
}

/* =======================
   PERSONNEL CARDS
   ======================= */

.personnel-container {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
}

.personnel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 25px;
    padding: 10px;
}

.personnel-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    overflow: hidden;
}

.personnel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.personnel-header {
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.personnel-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.personnel-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.personnel-details {
    flex: 1;
}

.personnel-name {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.personnel-role {
    font-size: 14px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
}

/* Role Colors */
.role-admin {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.role-manager {
    background: rgba(217, 119, 6, 0.1);
    color: #d97706;
}

.role-employee {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.role-secretary {
    background: rgba(168, 85, 247, 0.1);
    color: #7c3aed;
}

.role-driver {
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
}

.personnel-actions {
    display: flex;
    gap: 12px;
    padding: 15px;
    justify-content: center;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

/* Personnel Action Buttons */
.btn-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    min-width: 100px;
    justify-content: center;
}

.btn-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-action i {
    font-size: 14px;
}

.btn-edit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-edit:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.btn-delete {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.btn-delete:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.personnel-contact {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #64748b;
}

.info-item i {
    width: 16px;
    text-align: center;
    color: #94a3b8;
}

.info-item .text-success {
    color: #059669 !important;
}

.info-item .text-danger {
    color: #dc2626 !important;
}

/* Personnel Modal Styles */
.personnel-modal .modal-content {
    max-width: 600px;
}

.personnel-modal .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.personnel-modal .form-group {
    margin-bottom: 20px;
}

.personnel-modal .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.personnel-modal .form-group input,
.personnel-modal .form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: white;
}

.personnel-modal .form-group input[type="date"] {
    color: #374151;
    cursor: pointer;
}

.personnel-modal .form-group input[type="date"]::-webkit-calendar-picker-indicator {
    color: #667eea;
    cursor: pointer;
}

.personnel-modal .form-group input:focus,
.personnel-modal .form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 300px;
}

.toast.show {
    transform: translateX(0);
}

.toast-success {
    background: #059669;
}

.toast-error {
    background: #dc2626;
}

.toast-warning {
    background: #d97706;
}

.toast-info {
    background: #0ea5e9;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

/* Personnel Actions */
.personnel-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    justify-content: flex-end;
}

.btn-action {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-edit {
    background: #3B82F6;
    color: white;
}

.btn-edit:hover {
    background: #2563EB;
    transform: translateY(-1px);
}

.btn-delete {
    background: #EF4444;
    color: white;
}

.btn-delete:hover {
    background: #DC2626;
    transform: translateY(-1px);
}

/* Personnel Status */
.personnel-status {
    display: flex;
    align-items: center;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status-indicator.active {
    background: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.status-indicator.inactive {
    background: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

/* Personnel Avatar Enhanced */
.personnel-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

/* Personnel responsive adjustments */
@media (max-width: 768px) {
    .personnel-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0;
    }

    .personnel-header {
        padding: 16px;
    }

    .personnel-actions {
        flex-direction: row;
        gap: 10px;
        padding: 12px;
    }

    .btn-action {
        justify-content: center;
        flex: 1;
        padding: 12px 16px;
        font-size: 13px;
    }

    .btn-action i {
        font-size: 13px;
    }

    .personnel-modal .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .personnel-contact {
        padding: 16px;
    }
}

/* Statistics Pages Styles */
.statistics-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #f8fafc;
    min-height: 100vh;
}

.statistics-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.statistics-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.statistics-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.statistics-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-info {
    flex: 1;
}

.stat-info h3 {
    font-size: 1rem;
    color: #64748b;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    display: block;
}

.coming-soon {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.coming-soon i {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.coming-soon h3 {
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    color: #475569;
}

.coming-soon p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.8;
}

/* Statistics Responsive */
@media (max-width: 768px) {
    .statistics-container {
        padding: 15px;
    }

    .statistics-header {
        padding: 20px;
        margin-bottom: 20px;
    }

    .statistics-header h1 {
        font-size: 2rem;
    }

    .statistics-content {
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 30px;
    }

    .stat-card {
        padding: 20px;
        gap: 15px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .coming-soon {
        padding: 40px 15px;
    }

    .coming-soon i {
        font-size: 3rem;
    }

    .coming-soon h3 {
        font-size: 1.2rem;
    }
}

/* İl İlçe Yönetimi Styling Start */
.provinces-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.provinces-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.provinces-title h1 {
    font-size: 28px;
    font-weight: 700;
    color: #2C5F4A;
    margin: 0 0 8px 0;
}

.provinces-title p {
    color: #6b7280;
    font-size: 16px;
    margin: 0;
}

.provinces-actions {
    display: flex;
    gap: 12px;
}

/* Selection Section */
.selection-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.section-title h3 {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    letter-spacing: 0.5px;
    margin: 0 0 20px 0;
    text-transform: uppercase;
}

.selection-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 16px;
    font-weight: 500;
    color: #374151;
}

.form-group-row {
    display: flex;
    gap: 12px;
    align-items: end;
}

.form-group.flex-grow {
    flex: 1;
}

/* Dropdown Button Styles */
.dropdown-btn {
    width: 100%;
    height: 56px;
    background: #f9fafb;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    color: #374151;
}

.dropdown-btn:hover:not(:disabled) {
    border-color: #2C5F4A;
    background: #f3f4f6;
}

.dropdown-btn:disabled {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
    border-color: #e5e7eb;
}

.dropdown-btn i {
    color: #6b7280;
    transition: transform 0.2s ease;
}

.dropdown-btn:hover:not(:disabled) i {
    transform: rotate(180deg);
}

/* Selected Districts Section */
.selected-districts-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-stats {
    font-size: 14px;
    color: #6b7280;
}

.section-stats strong {
    color: #2C5F4A;
    font-weight: 600;
}

/* Districts List */
.districts-list {
    min-height: 200px;
}

.no-districts-selected {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.no-districts-selected i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #d1d5db;
}

.no-districts-selected p {
    font-size: 18px;
    margin: 0 0 8px 0;
}

.no-districts-selected small {
    font-size: 14px;
    color: #9ca3af;
}

.district-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 8px;
    background: white;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.district-list-item:hover {
    border-color: #2C5F4A;
    box-shadow: 0 2px 4px rgba(44, 95, 74, 0.1);
}

.district-info {
    display: flex;
    gap: 20px;
    align-items: center;
    flex: 1;
}

.district-info .province-name {
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    min-width: 120px;
}

.district-info .district-name {
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    text-align: center;
    flex: 1;
}

.remove-district-btn {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 16px;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.remove-district-btn:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Modal Styles for Provinces */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2C5F4A;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.modal-body {
    padding: 24px;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Search Box */
.search-box {
    position: relative;
    margin-bottom: 16px;
}

.search-box input {
    width: 100%;
    height: 48px;
    border: 1.5px solid #d1d5db;
    border-radius: 25px;
    padding: 0 16px 0 48px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s ease;
}

.search-box input:focus {
    border-color: #2C5F4A;
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
}

/* Province/District Lists */
.provinces-list,
.districts-modal-list {
    flex: 1;
    overflow-y: auto;
    max-height: 400px;
}

.province-item,
.district-item {
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.province-item:hover,
.district-item:hover {
    background: rgba(44, 95, 74, 0.1);
}

.province-name,
.district-name {
    font-size: 16px;
    font-weight: 500;
    color: #374151;
}

.selected-indicator {
    color: #2C5F4A;
    font-size: 18px;
}

.no-districts {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.no-districts i {
    font-size: 32px;
    margin-bottom: 12px;
    color: #d1d5db;
}

.no-districts p {
    margin: 0;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .provinces-container {
        padding: 16px;
    }

    .provinces-header {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .provinces-actions {
        justify-content: center;
    }

    .form-group-row {
        flex-direction: column;
        gap: 16px;
    }

    .district-info {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .district-info .province-name,
    .district-info .district-name {
        min-width: auto;
        text-align: left;
    }

    .modal-content {
        width: 95%;
        max-height: 90vh;
    }
}

/* ===================================
   ORDERS LIST TABLE - Simple Design
   =================================== */

.orders-list-container {
    padding: 20px 0;
}

.orders-list-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.orders-list-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.orders-list-title i {
    color: #667eea;
}

.orders-list-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-list-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s ease;
}

.order-list-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

/* Status-based border colors */
.order-list-item.teslim-alınacak {
    border-left: 4px solid #f59e0b;
}

.order-list-item.yıkanıyor {
    border-left: 4px solid #3b82f6;
}

.order-list-item.hazır {
    border-left: 4px solid #10b981;
}

.order-list-item.teslim-edilecek {
    border-left: 4px solid #8b5cf6;
}

.order-list-item.teslim-edildi {
    border-left: 4px solid #059669;
    opacity: 0.8;
}

.order-list-row {
    display: grid;
    grid-template-columns: 80px 150px 120px 150px 1fr;
    gap: 20px;
    align-items: center;
}

.order-list-cell {
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-list-cell.order-number strong {
    color: #667eea;
    font-size: 14px;
}

.order-list-cell.order-status .status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.order-list-cell.order-price strong {
    color: #059669;
    font-size: 15px;
}

.order-list-cell.order-date {
    color: #64748b;
    font-size: 13px;
}

.order-list-cell.order-vehicle {
    color: #64748b;
    font-size: 13px;
}

.order-list-notes {
    margin-top: 12px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 6px;
    font-size: 13px;
    color: #475569;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.order-list-notes i {
    color: #94a3b8;
    margin-top: 2px;
}

/* Status Badge Colors */
.status-badge.teslim-alınacak {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.yıkanıyor {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge.hazır {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.teslim-edilecek {
    background: #ede9fe;
    color: #5b21b6;
}

.status-badge.teslim-edildi {
    background: #d1fae5;
    color: #065f46;
}

/* Responsive */
@media (max-width: 1024px) {
    .order-list-row {
        grid-template-columns: 70px 130px 100px 130px 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .order-list-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .order-list-cell {
        justify-content: space-between;
        padding: 6px 0;
        border-bottom: 1px solid #f1f5f9;
    }

    .order-list-cell:last-child {
        border-bottom: none;
    }

    .order-list-cell.order-number,
    .order-list-cell.order-status {
        font-size: 16px;
    }
}

/* ===================================
   DETAILED ORDER CARDS
   =================================== */

.detailed-orders-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0;
}

.detailed-order-card {
    background: white;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.detailed-order-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.detailed-order-card.teslim-alınacak {
    border-left: 5px solid #f59e0b;
}

.detailed-order-card.yıkanıyor {
    border-left: 5px solid #3b82f6;
}

.detailed-order-card.hazır {
    border-left: 5px solid #10b981;
}

.detailed-order-card.teslim-edilecek {
    border-left: 5px solid #8b5cf6;
}

.detailed-order-card.teslim-edildi {
    border-left: 5px solid #059669;
}

.order-card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.order-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.order-customer-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: white;
}

.order-customer-name i {
    color: white;
}

.order-number-badge {
    background: #667eea;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}

.order-status-badge {
    display: flex;
    justify-content: flex-end;
}

.order-card-body {
    padding: 16px;
}

.order-dates-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.date-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #94a3b8;
}

.date-box.pickup {
    border-left-color: #10b981;
}

.date-box.delivery {
    border-left-color: #8b5cf6;
}

.date-box i {
    font-size: 20px;
    color: #64748b;
}

.date-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.date-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
}

.date-value {
    font-size: 13px;
    color: #1f2937;
    font-weight: 500;
}

.order-items-section {
    margin-bottom: 16px;
}

.order-items-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
    margin-bottom: 10px;
}

.order-items-section i {
    color: #667eea;
}

.order-items-list {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    padding: 8px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #e2e8f0;
    background: white;
    transition: background 0.2s ease;
    flex-wrap: wrap;
}

.order-item:hover {
    background: #f8fafc;
}

.order-item:last-child {
    border-bottom: none;
}

.item-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.item-name i {
    color: #667eea;
    font-size: 12px;
}

.item-separator {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
}

.item-quantity {
    color: #1f2937;
    font-size: 13px;
    font-weight: 600;
    flex: 0 0 auto;
}

.item-area {
    color: #1f2937;
    font-size: 13px;
    font-weight: 600;
    flex: 0 0 auto;
}

.item-price {
    color: #059669;
    font-size: 13px;
    font-weight: 700;
    flex: 0 0 auto;
}

/* Mobil için responsive */
@media (max-width: 768px) {
    .order-item {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 12px;
    }

    .item-quantity,
    .item-area,
    .item-price {
        text-align: left;
    }
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 2px solid #e2e8f0;
}

.order-vehicle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0f4ff;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #4f46e5;
}

.order-vehicle i {
    font-size: 14px;
}

.order-pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.discount-info {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #f59e0b;
    font-size: 12px;
    font-weight: 600;
}

.discount-info i {
    font-size: 14px;
}

.total-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-label {
    font-size: 13px;
    color: #64748b;
}

.price-value {
    font-size: 18px;
    font-weight: 700;
    color: #059669;
}

/* Tab System Styling */
.section-tabs {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.section-tabs .tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
}

.section-tabs .tab-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.section-tabs .tab-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.section-tabs .tab-btn i {
    font-size: 16px;
}

.customer-orders-section .tab-content {
    display: block;
    padding-top: 20px;
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.customer-orders-section .tab-content.active {
    opacity: 1;
    visibility: visible;
    height: auto;
}

@media (max-width: 768px) {
    .detailed-orders-container {
        grid-template-columns: 1fr;
    }

    .order-dates-section {
        grid-template-columns: 1fr;
    }

    .order-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .order-pricing {
        align-items: flex-start;
    }

    .section-tabs {
        flex-direction: column;
    }
}

/* İl İlçe Yönetimi Styling End */

/* ===== Müşteri Detay - Header border kaldır ===== */
.customer-detail-page .page-header {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 16px;
}

/* ===== Müşteri Detay Kartları (CDP Cards) ===== */
.cdp-cards-row {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 16px;
    margin: 16px 0;
}

.cdp-card {
    background: white;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    overflow: hidden;
}

.cdp-card-info {
    border-left: 4px solid #667eea;
}

.cdp-card-stats {
    border-left: 4px solid #10b981;
}

.cdp-card-header {
    padding: 10px 16px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.cdp-card-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cdp-card-header h3 i {
    color: #94a3b8;
    font-size: 13px;
}

.cdp-card-body {
    padding: 12px 16px;
}

/* Müşteri bilgi alanları */
.cdp-field {
    display: flex;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #f3f4f6;
    gap: 8px;
}

.cdp-field:last-child {
    border-bottom: none;
}

.cdp-field-icon {
    color: #94a3b8;
    font-size: 12px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.cdp-field-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    min-width: 90px;
    flex-shrink: 0;
}

.cdp-field-value {
    font-size: 13px;
    color: #1e293b;
    font-weight: 600;
}

.cdp-field-address {
    word-break: break-word;
    line-height: 1.4;
}

/* İstatistik grid */
.cdp-stats-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cdp-stat-box {
    flex: 1;
    min-width: 80px;
    text-align: center;
    padding: 10px 8px;
    border-radius: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.cdp-stat-box.active {
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.cdp-stat-box.highlight {
    background: #f0f4ff;
    border-color: #c7d2fe;
}

.cdp-stat-num {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
}

.cdp-stat-box.active .cdp-stat-num {
    color: #059669;
}

.cdp-stat-box.highlight .cdp-stat-num {
    color: #4f46e5;
    font-size: 15px;
    font-weight: 700;
}

.cdp-stat-text {
    display: block;
    font-size: 10px;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .cdp-cards-row {
        grid-template-columns: 1fr;
    }
}

/* ===== Order Mini List (Customer Detail Page) ===== */
.order-mini-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-mini-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: white;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 12px;
}

.omr-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    flex-wrap: wrap;
}

.omr-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.order-mini-row:hover {
    border-color: #667eea;
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.12);
    transform: translateY(-1px);
}

.order-mini-row.teslim-alınacak {
    border-left: 4px solid #f59e0b;
}

.order-mini-row.yıkanıyor {
    border-left: 4px solid #3b82f6;
}

.order-mini-row.hazır {
    border-left: 4px solid #10b981;
}

.order-mini-row.teslim-edilecek {
    border-left: 4px solid #8b5cf6;
}

.order-mini-row.teslim-edildi {
    border-left: 4px solid #059669;
}

.order-mini-row.tahsilaltı {
    border-left: 4px solid #ef4444;
}

.omr-number {
    font-weight: 700;
    font-size: 15px;
    color: #1e293b;
}

.omr-sep {
    color: #cbd5e1;
    font-weight: 600;
    font-size: 14px;
}

.omr-price {
    font-weight: 700;
    font-size: 15px;
    color: #059669;
}

.omr-arrow {
    color: #cbd5e1;
    font-size: 12px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.order-mini-row:hover .omr-arrow {
    color: #667eea;
    transform: translateX(3px);
}

/* ===== Order Detail Modal (ODM) ===== */
#orderDetailModal {
    opacity: 0;
    transition: opacity 0.2s ease;
}

#orderDetailModal.show {
    opacity: 1;
}

.odm-container {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 560px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.2s ease;
}

#orderDetailModal.show .odm-container {
    transform: scale(1);
}

/* Header - status rengine göre gradient */
.odm-header {
    padding: 20px 24px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.odm-header.teslim-alınacak {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.odm-header.yıkanıyor {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.odm-header.hazır {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.odm-header.teslim-edilecek {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.odm-header.teslim-edildi {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.odm-header.tahsilaltı {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.odm-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.odm-order-number {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.odm-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.2s ease;
}

.odm-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.odm-status {
    display: flex;
}

.odm-status .status-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Body */
.odm-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 24px 16px;
}

.odm-section {
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
}

.odm-section:last-child {
    border-bottom: none;
}

.odm-section-title {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.odm-section-title i {
    font-size: 13px;
}

.odm-customer-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.odm-customer-name {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
}

/* Sipariş İşlem Geçmişi (Timeline) */
.odm-history {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.odm-history-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    padding-bottom: 12px;
}

.odm-history-item:last-child {
    padding-bottom: 0;
}

.odm-history-item:last-child .odm-history-line {
    display: none;
}

.odm-history-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
    z-index: 1;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.odm-history-line {
    position: absolute;
    left: 4px;
    top: 18px;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.odm-history-content {
    flex: 1;
    min-width: 0;
}

.odm-history-label {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}

.odm-history-label i {
    font-size: 12px;
    flex-shrink: 0;
}

.odm-history-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.odm-history-user,
.odm-history-date {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.odm-history-user i,
.odm-history-date i {
    font-size: 10px;
    color: #94a3b8;
}

.odm-history-empty {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 12px;
    color: #94a3b8;
}

/* Items */
.odm-items-list {
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.odm-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8f0;
}

.odm-item:last-child {
    border-bottom: none;
}

.odm-item-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.odm-item-name i {
    color: #667eea;
    font-size: 12px;
}

.odm-item-details {
    display: flex;
    align-items: center;
    gap: 12px;
}

.odm-item-qty {
    font-size: 12px;
    color: #64748b;
    background: #e2e8f0;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.odm-item-area {
    font-size: 12px;
    color: #3b82f6;
    font-weight: 600;
}

.odm-item-price {
    font-size: 14px;
    color: #059669;
    font-weight: 700;
}

/* Vehicle */
.odm-vehicle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0f4ff;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 600;
    color: #4f46e5;
    font-size: 14px;
}

.odm-vehicle i {
    font-size: 14px;
    color: #667eea;
}

/* Note */
.odm-note {
    font-size: 14px;
    color: #475569;
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: 8px;
    padding: 12px;
    line-height: 1.5;
}

/* Footer */
.odm-footer {
    padding: 16px 24px;
    background: #f8fafc;
    border-top: 2px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

.odm-discount {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #f59e0b;
    font-size: 13px;
    font-weight: 600;
}

.odm-total {
    display: flex;
    align-items: center;
    gap: 10px;
}

.odm-total-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.odm-total-value {
    font-size: 22px;
    font-weight: 800;
    color: #059669;
}

/* Responsive */
@media (max-width: 640px) {
    .order-mini-row {
        flex-wrap: wrap;
        padding: 12px 14px;
        gap: 8px;
    }

    .omr-center {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        gap: 12px;
    }

    .odm-container {
        width: 95%;
        max-height: 95vh;
    }

    .odm-body {
        padding: 8px 16px 16px;
    }

    .odm-header {
        padding: 16px 16px 12px;
    }

    .odm-footer {
        padding: 12px 16px;
    }
}