/* Kuru Temizleme Sistemi CSS */

/* ===========================================
   İŞLEM TÜRÜ FİYATLANDIRMA SİSTEMİ STİLLERİ
   =========================================== */

/* İşlem Türü Fiyat Grid */
.process-prices-section {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.process-prices-section h4 {
    margin: 0 0 15px 0;
    color: #2C5F4A;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.process-prices-section h4 i {
    color: #2C5F4A;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.price-item {
    display: flex;
    flex-direction: column;
}

.price-item label {
    font-weight: 500;
    margin-bottom: 6px;
    color: #495057;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-item label i {
    font-size: 0.85rem;
}

.price-item input {
    padding: 10px 12px;
    border: 1.5px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
}

.price-item input:focus {
    border-color: #2C5F4A;
    box-shadow: 0 0 0 3px rgba(44, 95, 74, 0.15);
    outline: none;
}

.price-item input::placeholder {
    color: #adb5bd;
}

/* Ürün tablosu - genişletilmiş sütunlar */
.products-table th,
.products-table td {
    padding: 12px 8px;
    font-size: 0.9rem;
}

.products-table th:first-child {
    text-align: left;
    min-width: 150px;
}

.products-table th:nth-child(2) {
    text-align: center;
    width: 60px;
}

.products-table th:nth-child(n+3):nth-child(-n+7) {
    text-align: right;
    min-width: 90px;
}

.products-table th:last-child {
    text-align: center;
    min-width: 150px;
}

/* Fiyat hücreleri */
.products-table td[style*="text-align: right"] {
    font-family: 'Courier New', monospace;
    font-weight: 500;
}

/* Parça sayısı badge */
.piece-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===========================================
   MEVCUT STİLLER
   =========================================== */

/* Search and Loading Styles */
.search-loading {
    padding: 15px;
    text-align: center;
    color: #666;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 5px 0;
}

.no-results {
    padding: 15px;
    text-align: center;
    color: #999;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 5px 0;
}

.search-result-item {
    padding: 12px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    margin: 5px 0;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.search-result-item:hover {
    border-color: #2196F3;
    background: #f0f7ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.15);
}

.search-result-item .customer-name {
    font-weight: 600;
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-result-item .customer-id {
    font-size: 0.85rem;
    color: #666;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
}

.search-result-item .customer-info {
    font-size: 0.9rem;
    color: #666;
}

.search-results-header {
    padding: 10px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #1976D2;
}

.search-status {
    padding: 8px 12px;
    margin: 5px 0;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
    background: #e8f5e8;
    color: #2e7d32;
    border-left: 4px solid #4caf50;
}

.order-row.highlight {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2) !important;
    border-left: 4px solid #ff9800 !important;
    animation: highlightPulse 1.5s ease-in-out;
}

@keyframes highlightPulse {
    0% {
        background: linear-gradient(135deg, #fff3e0, #ffe0b2);
        transform: scale(1);
    }

    50% {
        background: linear-gradient(135deg, #ffecb3, #ffd54f);
        transform: scale(1.02);
    }

    100% {
        background: linear-gradient(135deg, #fff3e0, #ffe0b2);
        transform: scale(1);
    }
}

/* Excel Table Enhancements */
/* Müşteri Adı Sütunu - Diğer sütunlarla uyumlu hizalama */
.excel-table .excel-body .excel-cell.customer-name {
    text-align: center !important;
    padding: 8px !important;
    font-weight: 400 !important;
    color: #0969da !important;
    min-width: 120px;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle !important;
    display: table-cell !important;
    font-size: 13px !important;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
}

/* Modal Container */
.modal-container {
    background: transparent;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: visible;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.modal-overlay.show .modal-container {
    transform: translateY(0);
}

/* Modal Header */
.modal-header {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Modal Body */
.modal-body {
    padding: 30px;
}

/* Modal Body Scrollbar */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #2196F3;
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #1976D2;
}

/* Form Styles */
.add-product-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #2196F3;
    width: 16px;
}

.form-group input {
    padding: 12px 16px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.cancel-btn,
.save-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cancel-btn {
    background: #f5f5f5;
    color: #666;
}

.cancel-btn:hover {
    background: #e8e8e8;
    color: #333;
}

.save-btn {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

.save-btn:hover {
    background: linear-gradient(135deg, #1976D2, #1565C0);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

/* Action Buttons in Table */
.action-btn-small {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0 2px;
}

.action-btn-small.edit {
    background: #FFC107;
    color: #333;
}

.action-btn-small.edit:hover {
    background: #FFB300;
    transform: translateY(-1px);
}

.action-btn-small.delete {
    background: #f44336;
    color: white;
}

.action-btn-small.delete:hover {
    background: #d32f2f;
    transform: translateY(-1px);
}

/* Table Actions Container */
.table-actions {
    display: flex;
    justify-content: center;
    gap: 4px;
}

/* Responsive */
@media (max-width: 640px) {
    .modal-container {
        width: 95%;
        margin: 20px;
    }

    .modal-body {
        padding: 20px;
    }

    .form-actions {
        flex-direction: column;
        gap: 8px;
    }

    .cancel-btn,
    .save-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Order Details Panel - Sağ panel genel stil */
.order-details-panel {
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    height: 100% !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
}

.order-details-panel>* {
    margin: 0 !important;
    padding: 0 !important;
}

.order-details-panel h4,
.order-details-panel h5,
.order-details-panel h6 {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

.order-details-panel .order-number {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
}

.order-details-panel .info-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 4px !important;
    padding: 2px 0 !important;
}

.order-details-panel .info-row label {
    font-size: 12px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    min-width: 80px !important;
}

.order-details-panel .info-row span,
.order-details-panel .info-row input,
.order-details-panel .info-row select {
    font-size: 13px !important;
    margin: 0 !important;
    flex: 1 !important;
}

/* Customer Info Section - Compact Layout */
.customer-info-section {
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #eee;
    flex-shrink: 0 !important;
}

/* Order Info Header - Başlık kısmı */
.order-info-header {
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.order-info-header h4 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
}

.order-info-header .order-number {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
}

.customer-info-section .info-row {
    margin-bottom: 1px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.customer-info-section .info-row label {
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
}

.customer-info-section .info-row input,
.customer-info-section .info-row select {
    margin: 0 !important;
    flex: 1 !important;
}

/* Customer Header Info - Müşteri bilgileri header'a yakın */
.customer-header-info {
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #eee;
    flex-shrink: 0 !important;
}

.customer-header-info .info-row {
    margin-bottom: 1px !important;
    padding: 1px 0 !important;
}

.customer-header-info .info-row span {
    font-weight: bold !important;
    color: #333 !important;
}

/* Selected Products Section - Compact Layout */
.selected-products-section {
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #eee;
    flex: 1 !important;
    overflow-y: auto !important;
}

.selected-products-section h5 {
    margin: 0 !important;
    padding: 2px 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

/* Order Totals Section - Compact Layout */
.order-totals-section {
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #eee;
    margin-top: auto !important;
    flex-shrink: 0 !important;
}

.order-totals-section .total-row {
    margin-bottom: 1px !important;
    padding: 1px 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* Sipariş Detayları - Genel Info Row Styling */
.customer-info-section .info-row {
    margin-bottom: 8px !important;
    padding: 4px 0 !important;
}

.customer-info-section .info-row label {
    font-size: 12px !important;
    font-weight: 600 !important;
    margin-bottom: 2px !important;
    display: block;
}

.customer-info-section .info-row input,
.customer-info-section .info-row span {
    font-size: 13px !important;
    margin-top: 2px !important;
    width: 100%;
}

.customer-info-section .info-row input[type="date"] {
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
}

.customer-info-section .info-row input[type="date"]:focus {
    border-color: #2196F3;
    outline: none;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}

/* Sipariş Detayları - Compact Stili */
.info-row.compact {
    margin-bottom: 0 !important;
    /* Normal 15px'den 0px'e düşür */
    padding: 0 !important;
}

.info-row.compact label {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.info-row.compact input[type="date"] {
    font-size: 0.9rem;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
}

.info-row.compact input[type="date"]:focus {
    border-color: #2196F3;
    outline: none;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}

/* Tahsilat Modal Stilleri */
.payment-methods {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.payment-method-option {
    flex: 1;
    min-width: 120px;
    cursor: pointer;
}

.payment-method-option input[type="radio"] {
    display: none;
}

.method-card {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s ease;
    background: white;
}

.payment-method-option input[type="radio"]:checked+.method-card {
    border-color: #4CAF50;
    background: #f8fff8;
    color: #2e7d32;
}

.method-card i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.payment-amount-section {
    margin-top: 20px;
}

.payment-history {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 10px;
    background: #fafafa;
}

.payment-history-item {
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 8px;
}

.payment-history-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.payment-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.payment-method {
    font-weight: bold;
}

.payment-amount {
    color: #4CAF50;
    font-weight: bold;
}

.payment-date {
    font-size: 0.85rem;
    color: #666;
}

.payment-notes {
    font-size: 0.9rem;
    color: #555;
    font-style: italic;
    margin-top: 4px;
}

.no-payments {
    text-align: center;
    color: #999;
    padding: 20px;
    font-style: italic;
}

/* Compact info rows - minimal spacing */
.info-row.compact {
    margin-bottom: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.info-row.compact label {
    margin-bottom: 0 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    flex-shrink: 0 !important;
}

.info-row.compact input,
.info-row.compact span,
.info-row.compact select {
    margin: 0 !important;
    font-size: 13px !important;
    flex: 1 !important;
}

/* Order Actions Section - Compact Layout */
.order-actions {
    padding: 5px 0 !important;
    margin: 0 !important;
    margin-top: 3px !important;
    flex-shrink: 0 !important;
}

/* Edit modal stilleri */
.edit-order-form {
    max-height: 80vh;
    overflow-y: auto;
}

.form-section {
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.form-section h6 {
    margin-bottom: 15px;
    color: #495057;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section h6 i {
    color: #007bff;
}

.customer-info-display {
    padding: 12px;
    background-color: white;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.product-edit-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    background-color: white;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-info strong {
    color: #495057;
    font-size: 1em;
}

.product-info .quantity,
.product-info .price {
    font-size: 0.85em;
    color: #6c757d;
}

.product-info .price {
    font-weight: 600;
    color: #28a745;
}

.product-actions {
    display: flex;
    gap: 8px;
}

.no-products {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 20px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

/* Edit icon için hover efekt */
.order-result-item .edit-icon {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.order-result-item:hover .edit-icon {
    opacity: 1;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .product-edit-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .product-actions {
        align-self: flex-end;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}

/* Temiz search results tasarımı */
.order-result-item.clean-design {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.order-result-item.clean-design:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}

.order-header-clean {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f3f4f6;
}

.order-info-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.order-number {
    font-size: 14px;
    color: #374151;
}

.order-number strong {
    color: #1f2937;
    font-weight: 600;
}

.order-status-badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.order-status-badge.status-islemde {
    background-color: #fef3c7;
    color: #92400e;
}

.order-status-badge.status-hazir {
    background-color: #d1fae5;
    color: #065f46;
}

.order-status-badge.status-teslim-edildi {
    background-color: #e0e7ff;
    color: #3730a3;
}

.order-info-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.order-amount {
    font-size: 16px;
    font-weight: 600;
    color: #059669;
}

.edit-icon-clean {
    color: #6b7280;
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.order-result-item.clean-design:hover .edit-icon-clean {
    opacity: 1;
    color: #3b82f6;
}

.order-details-clean {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
}

.icon-clean {
    width: 14px;
    color: #9ca3af;
    flex-shrink: 0;
}

.phone-clean {
    margin-left: 8px;
    font-size: 12px;
    color: #9ca3af;
}

/* Responsive için temiz tasarım */
@media (max-width: 768px) {
    .order-header-clean {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .order-info-right {
        width: 100%;
        justify-content: space-between;
    }

    .order-details-clean {
        flex-direction: column;
        gap: 8px;
    }
}

/* Search results ürün bilgileri */
.products-info {
    margin-top: 8px;
    padding: 8px;
    background-color: #e8f5e8;
    border-radius: 4px;
    font-size: 0.85em;
    display: block !important;
    visibility: visible !important;
    border-left: 3px solid #28a745;
}

.product-item {
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 4px;
    padding: 2px 6px;
    background-color: white;
    border-radius: 3px;
    font-size: 0.8em;
    color: #2d3748;
    border: 1px solid #28a745;
}

/* Yeni gelişmiş search result tasarımı */
.search-result-item.order-result-item {
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    margin-bottom: 16px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.search-result-item.order-result-item:hover {
    border-color: #007bff;
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.15);
    transform: translateY(-2px);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px 12px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.order-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.order-title strong {
    font-size: 1.1em;
    color: #2c3e50;
    font-weight: 600;
}

.order-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
}

.order-status.status-islemde {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.order-status.status-hazir {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #74c0fc;
}

.order-status.status-teslim-edildi {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #95d5b2;
}

.order-actions .edit-icon {
    padding: 8px;
    border-radius: 8px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.order-actions .edit-icon:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

.order-body {
    padding: 20px;
}

.order-row {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.order-row:last-child {
    margin-bottom: 0;
}

.order-section {
    flex: 1;
    min-width: 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title i {
    color: #007bff;
    font-size: 0.9em;
}

.section-content {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    border-left: 4px solid #007bff;
}

.info-item {
    margin-bottom: 6px;
    font-size: 0.9em;
    line-height: 1.4;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item .label {
    font-weight: 600;
    color: #6c757d;
    margin-right: 4px;
}

.info-item strong {
    color: #2c3e50;
    font-weight: 600;
}

.info-item i {
    color: #6c757d;
    margin-right: 6px;
    width: 14px;
}

.products-content {
    max-height: 80px;
    overflow-y: auto;
}

.product-item {
    display: inline-block;
    margin: 2px 4px 2px 0;
    padding: 4px 8px;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 16px;
    font-size: 0.8em;
    color: #495057;
    border-left: 3px solid #28a745;
}

.no-products {
    color: #6c757d;
    font-style: italic;
    font-size: 0.85em;
}

.amount-section .section-content {
    text-align: center;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-left: 4px solid #20c997;
}

.amount-value {
    font-size: 1.2em;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Güçlü Durum Badge Stilleri - Müşteri Sipariş Tablosu İçin */
.status-badge-strong {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status-badge-strong.status-islemde {
    background-color: #fef3c7;
    color: #92400e;
    border-color: #fbbf24;
}

.status-badge-strong.status-yikaniyor {
    background-color: #dbeafe;
    color: #1e3a8a;
    border-color: #3b82f6;
}

.status-badge-strong.status-hazir {
    background-color: #d1fae5;
    color: #065f46;
    border-color: #10b981;
}

.status-badge-strong.status-teslim-edilecek {
    background-color: #fed7aa;
    color: #78350f;
    border-color: #fb923c;
}

.status-badge-strong.status-teslim-edildi {
    background-color: #dcfce7;
    color: #14532d;
    border-color: #22c55e;
}

.status-badge-strong.status-iptal {
    background-color: #fee2e2;
    color: #7f1d1d;
    border-color: #ef4444;
}

.status-badge-strong.status-unknown {
    background-color: #f3f4f6;
    color: #374151;
    border-color: #9ca3af;
}

/* Tıklanabilir Satır Stilleri */
.customer-orders-table tbody tr.editable-order:hover {
    background-color: #f0f9ff !important;
    transform: scale(1.01);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.customer-orders-table tbody tr.completed-order {
    background-color: #f9fafb;
}

.customer-orders-table tbody tr.completed-order:hover {
    background-color: #f3f4f6 !important;
}

/* Icon Seçici Stilleri */
.icon-option {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-option:hover {
    border-color: #667eea !important;
    transform: scale(1.08) !important;
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4) !important;
    cursor: pointer;
}

.icon-option.selected {
    border-color: #667eea !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    transform: scale(1.08) !important;
}

.icon-option.selected i,
.icon-option.selected span,
.icon-option.selected small {
    color: white !important;
}

/* Material Symbols Icon Stilleri */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 32px;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga';
}

/* Yazdırma Icon Stilleri */
.excel-cell.print-actions i:hover {
    transform: scale(1.3);
    transition: all 0.2s ease;
}

/* Icon Selector Scrollbar */
.icon-selector::-webkit-scrollbar {
    width: 8px;
}

.icon-selector::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.icon-selector::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 10px;
}

.icon-selector::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}

.excel-cell.print-actions i.fa-tag:hover {
    color: #45a049 !important;
}

.excel-cell.print-actions i.fa-receipt:hover {
    color: #1976d2 !important;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .order-row {
        flex-direction: column;
        gap: 12px;
    }

    .order-header {
        padding: 12px 16px 8px 16px;
    }

    .order-body {
        padding: 16px;
    }

    .order-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}