

/* Container */
.ReturnCustomerWorkOrderCard_General-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px;
}

/* Header */
.ReturnCustomerWorkOrderCard_General-header {
    background: rgba(59, 59, 65, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #3b3b41;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .ReturnCustomerWorkOrderCard_General-header h1 {
        font-size: 1.8rem;
        color: #797bf2 !important;
    }

.ReturnCustomerWorkOrderCard_General-status-badge {
    background: #797bf2;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Card Component */
.ReturnCustomerWorkOrderCard_General-card {
    background: rgba(59, 59, 65, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #3b3b41;
    position: relative;
    margin-bottom: 20px;
}

    .ReturnCustomerWorkOrderCard_General-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

.ReturnCustomerWorkOrderCard_General-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 1.2rem;
    opacity: 0.7;
    color: #797bf2;
}

.ReturnCustomerWorkOrderCard_General-card-title {
    font-size: 1rem;
    color: #797bf2 !important;
    margin-bottom: 15px;
    padding-left: 35px;
}

/* Form Grid */
.ReturnCustomerWorkOrderCard_General-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

/* Form Elements */
.ReturnCustomerWorkOrderCard_General-group {
    margin-bottom: 15px;
}

.ReturnCustomerWorkOrderCard_General-label {
    display: block;
    margin-bottom: 5px;
    color: #ccc;
    font-size: 0.9rem;
}

.ReturnCustomerWorkOrderCard_General-input,
.ReturnCustomerWorkOrderCard_General-select,
.ReturnCustomerWorkOrderCard_General-textarea {
    width: 100%;
    padding: 6px 10px;
    border: 2px solid #3b3b41;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    background: #323236;
    color: #fff;
}

    .ReturnCustomerWorkOrderCard_General-input:focus,
    .ReturnCustomerWorkOrderCard_General-select:focus,
    .ReturnCustomerWorkOrderCard_General-textarea:focus {
        outline: none;
        border-color: #797bf2;
        box-shadow: 0 0 0 3px rgba(121, 123, 242, 0.2);
    }

.ReturnCustomerWorkOrderCard_General-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Buttons */
.ReturnCustomerWorkOrderCard_General-btn {
    padding: 8px 16px;
    background: #797bf2;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    margin-right: 10px;
}

    .ReturnCustomerWorkOrderCard_General-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(121, 123, 242, 0.4);
    }

.ReturnCustomerWorkOrderCard_General-btn-secondary {
    background: #3b3b41;
}

    .ReturnCustomerWorkOrderCard_General-btn-secondary:hover {
        background: #4a4a52;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

.ReturnCustomerWorkOrderCard_General-btn-danger {
    background: #ef4444;
}

    .ReturnCustomerWorkOrderCard_General-btn-danger:hover {
        background: #dc2626;
        box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
    }


.ReturnCustomerWorkOrderCard_General-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

    .ReturnCustomerWorkOrderCard_General-table th {
        background: #3b3b41;
        padding: 12px;
        text-align: left;
        font-weight: 600;
        color: #ccc;
        border-bottom: 2px solid #797bf2;
    }

    .ReturnCustomerWorkOrderCard_General-table td {
        padding: 10px;
        border-bottom: 1px solid #3b3b41;
    }

    .ReturnCustomerWorkOrderCard_General-table tr:hover {
        background: rgba(121, 123, 242, 0.1);
    }

    .ReturnCustomerWorkOrderCard_General-table input {
        width: 100%;
        min-width: 80px;
    }

    /* Sütun Genişlikleri */
    .ReturnCustomerWorkOrderCard_General-table th:nth-child(1),
    .ReturnCustomerWorkOrderCard_General-table td:nth-child(1) {
        width: 20%; /* Ürün Adı */
    }

    .ReturnCustomerWorkOrderCard_General-table th:nth-child(2),
    .ReturnCustomerWorkOrderCard_General-table td:nth-child(2) {
        width: 8%; /* İade Miktarı - %50 küçültüldü */
    }

    .ReturnCustomerWorkOrderCard_General-table th:nth-child(3),
    .ReturnCustomerWorkOrderCard_General-table td:nth-child(3) {
        width: 10%; /* Palet & Kap Tipi - %50 küçültüldü */
    }

    .ReturnCustomerWorkOrderCard_General-table th:nth-child(4),
    .ReturnCustomerWorkOrderCard_General-table td:nth-child(4) {
        width: 30%; /* Barkod - büyütüldü */
    }

    .ReturnCustomerWorkOrderCard_General-table th:nth-child(5),
    .ReturnCustomerWorkOrderCard_General-table td:nth-child(5) {
        width: 12%; /* Tarama Durumu */
    }

    .ReturnCustomerWorkOrderCard_General-table th:nth-child(6),
    .ReturnCustomerWorkOrderCard_General-table td:nth-child(6) {
        width: 5%; /* İşlem */
        text-align: center;
    }

    /* Taranma Durumu Select Düzeltmesi */
    .ReturnCustomerWorkOrderCard_General-table td .control,
    .ReturnCustomerWorkOrderCard_General-table td .select {
        height: auto;
        width: 100%;
    }

    .ReturnCustomerWorkOrderCard_General-table td .select select,
    .ReturnCustomerWorkOrderCard_General-table td select.ReturnCustomerWorkOrderCard_General-input {
        height: 40px;
        min-height: 40px;
        line-height: 1.2;
        padding: 6px 10px;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 10px center;
        padding-right: 30px;
    }

/* Action Buttons */
.ReturnCustomerWorkOrderCard_General-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #3b3b41;
}

.ReturnCustomerWorkOrderCard_General-btn-group {
    display: flex;
    gap: 10px;
}

/* Add Row Button */
.ReturnCustomerWorkOrderCard_General-add-row {
    background: transparent;
    border: 2px dashed #797bf2;
    color: #797bf2;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

    .ReturnCustomerWorkOrderCard_General-add-row:hover {
        background: rgba(121, 123, 242, 0.1);
        border-color: #9a9bf9;
    }

/* Remove Button */
.ReturnCustomerWorkOrderCard_General-remove-btn {
    background: #ef4444;
    border: none;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ReturnCustomerWorkOrderCard_General-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .ReturnCustomerWorkOrderCard_General-grid {
        grid-template-columns: 1fr;
    }

    .ReturnCustomerWorkOrderCard_General-actions {
        flex-direction: column;
        gap: 15px;
    }

    .ReturnCustomerWorkOrderCard_General-btn-group {
        flex-wrap: wrap;
        justify-content: center;
    }

    .ReturnCustomerWorkOrderCard_General-container {
        padding: 10px;
    }

    .ReturnCustomerWorkOrderCard_General-card {
        padding: 15px;
    }

    h1 {
        font-size: 1.5rem;
    }
}

/* Product Details Header with Excel Import Button */
.ReturnCustomerWorkOrderCard_General-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-left: 35px;
}

    .ReturnCustomerWorkOrderCard_General-card-header h3 {
        font-size: 1rem;
        color: #797bf2 !important;
        margin: 0;
    }

/* Excel Import Button */
.ReturnCustomerWorkOrderCard_General-excel-import-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
}

    .ReturnCustomerWorkOrderCard_General-excel-import-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
    }

    .ReturnCustomerWorkOrderCard_General-excel-import-btn:hover::before {
        left: 100%;
    }

    .ReturnCustomerWorkOrderCard_General-excel-import-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
        background: linear-gradient(135deg, #059669, #047857);
    }

    .ReturnCustomerWorkOrderCard_General-excel-import-btn:active {
        transform: translateY(0);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    }

    .ReturnCustomerWorkOrderCard_General-excel-import-btn i {
        font-size: 1rem;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    }

/* Responsive Design for Excel Import Button */
@media (max-width: 768px) {
    .ReturnCustomerWorkOrderCard_General-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-left: 35px;
    }

    .ReturnCustomerWorkOrderCard_General-excel-import-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        gap: 6px;
    }
}


/*DASHBOARD CSS*/

.return_dashboard {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #323236;
    color: #fff;
    font-size: 0.85rem;
    line-height: 1.6;
}

    /* Container */
    .return_dashboard .return-new-container {
        margin: 0 auto;
        padding: 15px;
    }

    /* Header */
    .return_dashboard .header {
        background: rgba(59, 59, 65, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 20px;
        margin-bottom: 20px;
        border: 1px solid #3b3b41;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .return_dashboard .header h1 {
            font-size: 1.8rem;
            color: #797bf2;
        }

    /* Card Component */
    .return_dashboard .card {
        background: rgba(59, 59, 65, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        border: 1px solid #3b3b41;
        position: relative;
    }

        .return_dashboard .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }

    .return_dashboard .icon {
        position: absolute;
        top: 15px;
        left: 15px;
        font-size: 1.2rem;
        opacity: 0.7;
    }

    /* Stats Grid */
    .return_dashboard .stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
        margin-bottom: 20px;
    }

    .return_dashboard .stat-card {
        background: rgba(59, 59, 65, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        border: 1px solid #3b3b41;
        position: relative;
    }

        .return_dashboard .stat-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }

    .return_dashboard .stat-value {
        font-size: 1.8rem;
        font-weight: 700;
        color: #797bf2;
        margin: 10px 0;
        padding-left: 35px;
    }

    .return_dashboard .stat-label {
        color: #ccc;
        font-size: 0.9rem;
        padding-left: 35px;
    }

    .return_dashboard .stat-trend {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 0.8rem;
        padding: 4px 8px;
        border-radius: 4px;
    }

    .return_dashboard .trend-up {
        color: #10b981;
        background: rgba(16, 185, 129, 0.1);
    }

    .return_dashboard .trend-down {
        color: #ef4444;
        background: rgba(239, 68, 68, 0.1);
    }

    /* Buttons */
    .return_dashboard .btn {
        padding: 8px 16px;
        background: #797bf2;
        color: white;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-weight: 600;
        font-size: 0.85rem;
        transition: all 0.3s ease;
    }

        .return_dashboard .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(121, 123, 242, 0.4);
        }

    .return_dashboard .btn-icon {
        margin-right: 5px;
    }

    /* Filter Section */
    .return_dashboard .filters {
        background: rgba(59, 59, 65, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 20px;
        margin-bottom: 20px;
        border: 1px solid #3b3b41;
        position: relative;
    }

    .return_dashboard .filter-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
        margin-bottom: 15px;
    }

    .return_dashboard .filter-group {
        display: flex;
        flex-direction: column;
    }

    .return_dashboard .label {
        color: #ccc;
        font-size: 0.9rem;
        margin-bottom: 5px;
    }

    .return_dashboard .input, .return_dashboard .select {
        padding: 6px 10px;
        border: 2px solid #3b3b41;
        border-radius: 6px;
        font-size: 0.85rem;
        transition: all 0.3s ease;
        background: #323236;
        color: #fff;
    }

        .return_dashboard .input:focus, .return_dashboard .select:focus {
            outline: none;
            border-color: #797bf2;
            box-shadow: 0 0 0 3px rgba(121, 123, 242, 0.2);
        }

    /* Table */
    .return_dashboard .table-wrapper {
        overflow-x: auto;
        background: rgba(59, 59, 65, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 20px;
        border: 1px solid #3b3b41;
        position: relative;
    }

    .return_dashboard .table {
        width: 100%;
        border-collapse: collapse;
    }

        .return_dashboard .table th {
            background: #3b3b41;
            padding: 12px;
            text-align: left;
            font-weight: 600;
            color: #ccc;
            border-bottom: 2px solid #797bf2;
        }

        .return_dashboard .table td {
            padding: 12px;
            border-bottom: 1px solid #3b3b41;
        }

        .return_dashboard .table tr:hover {
            background: rgba(121, 123, 242, 0.1);
        }

    /* Status Badge */
    .return_dashboard .status {
        display: inline-block;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
    }

    .return_dashboard .status-taslak {
        background: rgba(121, 123, 242, 0.2);
        color: #797bf2;
    }

    .return_dashboard .status-onaylandi {
        background: rgba(16, 185, 129, 0.2);
        color: #10b981;
    }

    .return_dashboard .status-islemde {
        background: rgba(245, 158, 11, 0.2);
        color: #f59e0b;
    }

    .return_dashboard .status-tamamlandi {
        background: rgba(16, 185, 129, 0.2);
        color: #10b981;
    }

    .return_dashboard .status-iptal {
        background: rgba(239, 68, 68, 0.2);
        color: #ef4444;
    }

    /* Action Buttons */
    .return_dashboard .action-btn {
        padding: 4px 8px;
        background: transparent;
        border: 1px solid #797bf2;
        color: #797bf2;
        border-radius: 4px;
        cursor: pointer;
        font-size: 0.75rem;
        margin: 0 2px;
        transition: all 0.3s ease;
    }

        .return_dashboard .action-btn:hover {
            background: #797bf2;
            color: white;
        }

    /* Chart Container */
    .return_dashboard .chart-container {
        position: relative;
        height: 300px;
        margin-top: 20px;
    }

    /* Grid Layout */
    .return_dashboard .main-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin-bottom: 20px;
    }

    /* Filter Actions */
    .return_dashboard .filter-actions {
        display: flex;
        gap: 10px;
        justify-content: flex-end;
    }

    .return_dashboard .btn-secondary {
        background: #3b3b41;
    }

        .return_dashboard .btn-secondary:hover {
            background: #4a4a52;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

    /* Modal Styles */
    .return_dashboard .modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        animation: fadeIn 0.3s ease;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.return_dashboard .modal-content {
    position: relative;
    background: #323236;
    margin: 2% auto;
    padding: 0;
    border: 1px solid #3b3b41;
    width: 90%;
    max-width: 1200px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.return_dashboard .modal-header {
    padding: 20px;
    background: rgba(59, 59, 65, 0.95);
    border-bottom: 1px solid #3b3b41;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .return_dashboard .modal-header h2 {
        color: #797bf2;
        font-size: 1.3rem;
    }

.return_dashboard .close {
    color: #ccc;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

    .return_dashboard .close:hover {
        color: #797bf2;
    }

.return_dashboard .modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

/* Checkbox */
.return_dashboard .checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #797bf2;
}

/* Select All Checkbox */
.return_dashboard .select-all {
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(121, 123, 242, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Modal Actions */
.return_dashboard .modal-actions {
    padding: 20px;
    border-top: 1px solid #3b3b41;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.return_dashboard .selected-info {
    color: #ccc;
    font-size: 0.9rem;
}

/* Print Styles */
@media print {
    body * {
        visibility: hidden;
    }

    .return_dashboard .print-content, .return_dashboard .print-content * {
        visibility: visible;
    }

    .return_dashboard .print-content {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
}

.return_dashboard .print-content {
    display: none;
    background: white;
    color: black;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.return_dashboard .print-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #000;
    padding-bottom: 20px;
}

    .return_dashboard .print-header h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }

.return_dashboard .print-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.return_dashboard .print-info-item {
    margin-bottom: 10px;
}

.return_dashboard .print-info-label {
    font-weight: bold;
    display: inline-block;
    width: 120px;
}

.return_dashboard .print-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

    .return_dashboard .print-table th, .return_dashboard .print-table td {
        border: 1px solid #000;
        padding: 8px;
        text-align: left;
    }

    .return_dashboard .print-table th {
        background: #f0f0f0;
        font-weight: bold;
    }

.return_dashboard .print-signature {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.return_dashboard .signature-box {
    text-align: center;
}

.return_dashboard .signature-line {
    border-top: 1px solid #000;
    margin-top: 60px;
    padding-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .return_dashboard .header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .return_dashboard .stats-grid {
        grid-template-columns: 1fr;
    }

    .return_dashboard .filter-grid {
        grid-template-columns: 1fr;
    }

    .return_dashboard .main-grid {
        grid-template-columns: 1fr;
    }

    .return_dashboard .filter-actions {
        flex-direction: column;
    }

    .return_dashboard .return-new-container {
        padding: 10px;
    }

    .return_dashboard h1 {
        font-size: 1.5rem;
    }
}


/* Select2 Dropdown Düzeltmeleri - Dashboard İçin */
.return_dashboard .control {
    position: relative;
}

/* Select2 Container Styling */
.return_dashboard .select2-container {
    width: 100% !important;
    z-index: 1050;
}

    .return_dashboard .select2-container .select2-selection--single {
        height: 38px !important;
        border: 2px solid #3b3b41 !important;
        border-radius: 6px !important;
        background: #323236 !important;
        color: #fff !important;
        display: flex !important;
        align-items: center !important;
    }

        .return_dashboard .select2-container .select2-selection--single .select2-selection__rendered {
            color: #fff !important;
            line-height: 34px !important;
            padding-left: 10px !important;
        }

        .return_dashboard .select2-container .select2-selection--single .select2-selection__arrow {
            height: 34px !important;
            top: 2px !important;
            right: 5px !important;
        }

        .return_dashboard .select2-container .select2-selection--single:focus,
        .return_dashboard .select2-container .select2-selection--single:focus-within {
            border-color: #797bf2 !important;
            box-shadow: 0 0 0 3px rgba(121, 123, 242, 0.2) !important;
            outline: none !important;
        }


/* Select2 Container ve Arrow */
.return_dashboard .select2-container--default .select2-selection--single {
    background: #323236 !important;
    border: 2px solid #3b3b41 !important;
    border-radius: 6px !important;
    height: auto !important;
    padding: 6px 10px !important;
}

.return_dashboard .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff !important;
    line-height: normal !important;
    padding-left: 0 !important;
    padding-right: 20px !important;
}

/* Arrow/Ok İşareti */
.return_dashboard .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    right: 6px !important;
    width: 20px !important;
}

    .return_dashboard .select2-container--default .select2-selection--single .select2-selection__arrow b {
        border-color: #fff transparent transparent transparent !important;
        border-style: solid !important;
        border-width: 5px 4px 0 4px !important;
        height: 0 !important;
        left: 50% !important;
        margin-left: -4px !important;
        margin-top: -2px !important;
        position: absolute !important;
        top: 50% !important;
        width: 0 !important;
    }

/* Focus durumu */
.return_dashboard .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #797bf2 !important;
    box-shadow: 0 0 0 3px rgba(121, 123, 242, 0.2) !important;
}

/* Dropdown açıkken arrow'u çevir */
.return_dashboard .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #fff transparent !important;
    border-width: 0 4px 5px 4px !important;
}

/* Select2 Dropdown Styling */
.return_dashboard .select2-dropdown {
    background: #323236 !important;
    border: 2px solid #3b3b41 !important;
    border-radius: 6px !important;
    z-index: 1051 !important;
}

.return_dashboard .select2-results__option {
    background: #323236 !important;
    color: #fff !important;
    padding: 8px 12px !important;
}

.return_dashboard .select2-results__option--highlighted {
    background: #797bf2 !important;
    color: white !important;
}

.return_dashboard .select2-results__option[aria-selected="true"] {
    background: rgba(121, 123, 242, 0.3) !important;
    color: #fff !important;
}

/* Search Input İçin */
.return_dashboard .select2-search--dropdown .select2-search__field {
    background: #323236 !important;
    border: 1px solid #3b3b41 !important;
    color: #fff !important;
    border-radius: 4px !important;
    padding: 6px !important;
}

/* Dashboard'daki genel .select class'ının Select2'ye müdahale etmemesi */
.return_dashboard .filter-group .select:has(.select2-container) {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* Normal Select (Select2 olmayan) için */
.return_dashboard .filter-group select:not(.select2-hidden-accessible) {
    padding: 6px 10px;
    border: 2px solid #3b3b41;
    border-radius: 6px;
    font-size: 0.85rem;
    background: #323236;
    color: #fff;
    transition: all 0.3s ease;
}

    .return_dashboard .filter-group select:not(.select2-hidden-accessible):focus {
        outline: none;
        border-color: #797bf2;
        box-shadow: 0 0 0 3px rgba(121, 123, 242, 0.2);
    }


/* Disabled Button Styles - CSS'in sonuna ekle */
.return_dashboard .btn:disabled,
.return_dashboard .btn.disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background: #555 !important;
    transform: none !important;
    box-shadow: none !important;
}

.return_dashboard .btn-secondary:disabled,
.return_dashboard .btn-secondary.disabled {
    background: #2a2a2e !important;
}



/*modal_ReturnExcelImport*/

/* Header Actions Styling */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.btn-excel {
    background: #10b981 !important;
    border-color: #10b981 !important;
}

    .btn-excel:hover {
        background: #059669 !important;
        border-color: #059669 !important;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
    }

    .btn-excel .btn-icon {
        color: white;
        margin-right: 8px;
    }


.modal_ReturnCustomerWorkOrder_ExcelTemplate_div * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.modal_ReturnCustomerWorkOrder_ExcelTemplate_div {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #fff;
    font-size: 0.85rem;
    line-height: 1.6;
}

    /* Overlay */
    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

        .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_overlay.active {
            opacity: 1;
            visibility: visible;
        }

    /* Popup Container */
    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_popup {
        background: rgba(59, 59, 65, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        border: 1px solid #3b3b41;
        width: 90%;
        max-width: 600px;
        max-height: 90vh;
        overflow: hidden;
        transform: scale(0.9);
        transition: all 0.3s ease;
    }

    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_overlay.active .excel_import_popup {
        transform: scale(1);
    }

    /* Popup Header */
    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_header {
        background: rgba(121, 123, 242, 0.1);
        padding: 20px;
        border-bottom: 1px solid #3b3b41;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_header h2 {
            font-size: 1.2rem;
            color: #797bf2;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
        }

    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_close {
        background: none;
        border: none;
        color: #999;
        font-size: 1.2rem;
        cursor: pointer;
        padding: 5px;
        transition: all 0.3s ease;
    }

        .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_close:hover {
            color: #fff;
            transform: rotate(90deg);
        }

    /* Popup Body */
    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_body {
        padding: 30px;
        overflow-y: auto;
        max-height: calc(90vh - 140px);
    }

    /* Upload Area */
    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_upload_area {
        border: 2px dashed #3b3b41;
        border-radius: 10px;
        padding: 40px;
        text-align: center;
        transition: all 0.3s ease;
        cursor: pointer;
        position: relative;
        background: rgba(121, 123, 242, 0.05);
    }

        .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_upload_area:hover,
        .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_upload_area.dragover {
            border-color: #797bf2;
            background: rgba(121, 123, 242, 0.1);
            transform: translateY(-2px);
        }

    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_upload_icon {
        font-size: 3rem;
        color: #797bf2;
        margin-bottom: 15px;
    }

    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_upload_text {
        color: #ccc;
        margin-bottom: 10px;
        font-size: 1rem;
    }

    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_upload_subtext {
        color: #999;
        font-size: 0.8rem;
    }

    /* File Input */
    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_file_input {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        opacity: 0;
        cursor: pointer;
    }

    /* Template Download Section */
    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_template_section {
        background: rgba(121, 123, 242, 0.1);
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 25px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
    }

    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_template_info {
        flex: 1;
    }

    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_template_title {
        color: #797bf2;
        font-weight: 600;
        margin-bottom: 5px;
    }

    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_template_desc {
        color: #999;
        font-size: 0.8rem;
    }

    /* Buttons */
    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_btn {
        padding: 8px 16px;
        background: #797bf2;
        color: white;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-weight: 600;
        font-size: 0.85rem;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

        .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(121, 123, 242, 0.4);
        }

        .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

            .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_btn:disabled:hover {
                transform: none;
                box-shadow: none;
            }

    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_btn_secondary {
        background: transparent;
        border: 2px solid #3b3b41;
        color: #ccc;
    }

        .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_btn_secondary:hover {
            border-color: #797bf2;
            color: #797bf2;
            box-shadow: 0 5px 15px rgba(121, 123, 242, 0.2);
        }

    /* File Preview */
    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_file_preview {
        display: none;
        background: rgba(16, 185, 129, 0.1);
        border: 1px solid rgba(16, 185, 129, 0.3);
        border-radius: 8px;
        padding: 15px;
        margin-top: 20px;
        align-items: center;
        justify-content: space-between;
    }

        .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_file_preview.active {
            display: flex;
        }

    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_file_info {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1;
    }

    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_file_icon {
        color: #10b981;
        font-size: 1.5rem;
    }

    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_file_name {
        color: #10b981;
        font-weight: 600;
    }

    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_file_size {
        color: #999;
        font-size: 0.8rem;
    }

    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_remove_file {
        background: none;
        border: none;
        color: #ef4444;
        cursor: pointer;
        font-size: 1.2rem;
        padding: 5px;
        transition: all 0.3s ease;
    }

        .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_remove_file:hover {
            transform: scale(1.1);
        }

    /* Progress Bar */
    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_progress {
        display: none;
        margin-top: 20px;
    }

        .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_progress.active {
            display: block;
        }

    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_progress_bar {
        background: #3b3b41;
        border-radius: 10px;
        height: 8px;
        overflow: hidden;
        margin-bottom: 10px;
    }

    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_progress_fill {
        background: linear-gradient(90deg, #797bf2 0%, #9c9eff 100%);
        height: 100%;
        width: 0%;
        transition: width 0.3s ease;
        border-radius: 10px;
    }

    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_progress_text {
        text-align: center;
        color: #999;
        font-size: 0.8rem;
    }

    /* Footer Actions */
    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_footer {
        background: rgba(59, 59, 65, 0.5);
        padding: 20px;
        border-top: 1px solid #3b3b41;
        display: flex;
        justify-content: flex-end;
        gap: 10px;
    }

    /* Status Messages */
    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_status {
        display: none;
        padding: 12px;
        border-radius: 8px;
        margin-top: 20px;
        font-size: 0.85rem;
        align-items: center;
        gap: 10px;
    }

        .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_status.active {
            display: flex;
        }

    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_status_success {
        background: rgba(16, 185, 129, 0.1);
        border: 1px solid rgba(16, 185, 129, 0.3);
        color: #10b981;
    }

    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_status_error {
        background: rgba(239, 68, 68, 0.1);
        border: 1px solid rgba(239, 68, 68, 0.3);
        color: #ef4444;
    }

    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_status_warning {
        background: rgba(245, 158, 11, 0.1);
        border: 1px solid rgba(245, 158, 11, 0.3);
        color: #f59e0b;
    }

/* Responsive */
@media (max-width: 768px) {
    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_popup {
        width: 95%;
        margin: 10px;
    }

    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_body {
        padding: 20px;
    }

    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_upload_area {
        padding: 30px 20px;
    }

    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_template_section {
        flex-direction: column;
        text-align: center;
    }

    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_footer {
        flex-direction: column;
    }

    .modal_ReturnCustomerWorkOrder_ExcelTemplate_div .excel_import_btn {
        width: 100%;
        justify-content: center;
    }
}



/*Confirm Excel*/
/* Excel Import Modal Styles */
.modal_ReturnCustomerWorkOrder_ConfirmExcel_div * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

    /* Overlay */
    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

        .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-overlay.active {
            opacity: 1;
            visibility: visible;
        }

    /* Main Popup Container */
    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-popup {
        background: rgba(59, 59, 65, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        border-radius: 20px !important;
        padding: 0 !important;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
        border: 1px solid #3b3b41 !important;
        width: 90% !important;
        max-width: 800px !important;
        max-height: 85vh !important;
        overflow: hidden !important;
        transform: scale(0.9) !important;
        transition: transform 0.3s ease !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-overlay.active .import-popup {
        transform: scale(1) !important;
    }

    /* Header */
    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-header {
        background: linear-gradient(135deg, #797bf2 0%, #5a5cc9 100%);
        padding: 25px 30px;
        position: relative;
        overflow: hidden;
        flex-shrink: 0 !important;
    }

        .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-header::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            animation: rotate 20s linear infinite;
        }

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .close-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
    }

/* Content */
.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-content {
    padding: 25px !important;
    overflow-y: auto !important;
    flex: 1 !important;
}

/* Stats Grid */
.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .stat-card {
    background: #323236;
    border: 1px solid #3b3b41;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .stat-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .stat-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.2rem;
}

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .stat-card.total .stat-icon {
    background: rgba(121, 123, 242, 0.2);
    color: #797bf2;
}

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .stat-card.success .stat-icon {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .stat-card.error .stat-icon {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .stat-label {
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Details Section - Düzeltildi */
.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .details-section {
    background: #323236 !important;
    border: 1px solid #3b3b41 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin-bottom: 25px !important;
}

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .details-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 15px !important;
}

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .details-title {
    color: #fff !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .details-title .icon {
        color: #ef4444 !important;
    }

/* Tabs */
.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #3b3b41;
}

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-tab {
    background: transparent;
    border: none;
    padding: 12px 20px;
    color: #999;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-tab:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.1);
    }

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-tab.active {
        color: #797bf2;
        border-bottom-color: #797bf2;
        background: rgba(121, 123, 242, 0.1);
    }

/* Tab Content */
.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-tab-content {
    display: none;
}

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-tab-content.active {
        display: block;
    }

/* Table Container */
.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-table-container {
    max-height: 300px;
    overflow-y: auto;
    border-radius: 12px;
    border: 1px solid #3b3b41;
    background: #323236;
    margin-bottom: 20px;
}

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-table-container::-webkit-scrollbar {
        width: 8px;
    }

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-table-container::-webkit-scrollbar-track {
        background: #3b3b41;
    }

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-table-container::-webkit-scrollbar-thumb {
        background: #797bf2;
        border-radius: 4px;
    }

/* Table */
.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-table th {
        background: #2a2a2e;
        color: #fff;
        padding: 12px 15px;
        text-align: left;
        font-weight: 600;
        border-bottom: 2px solid #3b3b41;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-table td {
        padding: 10px 15px;
        border-bottom: 1px solid #3b3b41;
        color: #ccc;
    }

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-table tbody tr:hover {
        background: rgba(121, 123, 242, 0.1);
    }

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-table tbody tr:nth-child(even) {
        background: rgba(255, 255, 255, 0.02);
    }

/* Status Icons */
.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .status-valid {
    color: #10b981;
    font-weight: 600;
}

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .status-error {
    color: #ef4444;
    font-weight: 600;
}

/* Error List - Düzeltildi */
.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .error-list {
    max-height: 250px !important;
    overflow-y: auto !important;
    padding-right: 10px !important;
}

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .error-list::-webkit-scrollbar {
        width: 6px !important;
    }

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .error-list::-webkit-scrollbar-track {
        background: #3b3b41 !important;
        border-radius: 3px !important;
    }

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .error-list::-webkit-scrollbar-thumb {
        background: #797bf2 !important;
        border-radius: 3px !important;
    }

/* Error Item - Düzeltildi */
.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .error-item {
    background: rgba(59, 59, 65, 0.5) !important;
    border: 1px solid #3b3b41 !important;
    border-radius: 8px !important;
    padding: 15px !important;
    margin-bottom: 12px !important;
    width: 100% !important;
    display: block !important;
    transition: all 0.2s ease !important;
}

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .error-item:hover {
        background: rgba(59, 59, 65, 0.8) !important;
        border-color: #ef4444 !important;
    }

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .error-info {
    width: 100% !important;
}

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .error-row {
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
}

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .error-reason {
    color: #ccc !important;
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
}

/* Warning Message */
.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #f59e0b;
}

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-warning i {
        font-size: 1.2rem;
        flex-shrink: 0;
    }

/* Progress Bar */
.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-progress {
    margin-bottom: 20px;
}

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .progress-bar {
    background: #3b3b41;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .progress-fill {
    background: linear-gradient(90deg, #797bf2, #10b981);
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .progress-text {
    text-align: center;
    color: #ccc;
    font-size: 0.9rem;
}

/* Status Messages */
.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-status {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .status-success-msg {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .status-error-msg {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Action Buttons - Düzeltildi */
.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .action-buttons {
    display: flex !important;
    gap: 15px !important;
    margin-top: 25px !important;
    position: sticky !important;
    bottom: 0 !important;
    background: rgba(59, 59, 65, 0.98) !important;
    padding: 20px 0 !important;
    border-top: 1px solid #3b3b41 !important;
}

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .btn-primary {
    background: #797bf2;
    color: white;
}

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .btn-primary:hover {
        background: #6a6de0;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(121, 123, 242, 0.4);
    }

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .btn-secondary {
    background: transparent;
    border: 2px solid #3b3b41;
    color: #ccc;
}

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .btn-secondary:hover {
        background: #3b3b41;
        color: #fff;
        border-color: #4b4b51;
    }

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .btn-success {
    background: #10b981;
    color: white;
}

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .btn-success:hover {
        background: #059669;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
    }

.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .btn-error {
    background: #ef4444;
    color: white;
}

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .btn-error:hover {
        background: #dc2626;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
    }

/* Disabled Button */
.modal_ReturnCustomerWorkOrder_ConfirmExcel_div .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Mobile Responsive - Geliştirildi */
@media (max-width: 768px) {
    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-popup {
        width: 95% !important;
        max-height: 90vh !important;
        margin: 20px !important;
    }

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-header {
        padding: 20px !important;
    }

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-content {
        padding: 20px !important;
    }

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .action-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .btn {
        width: 100% !important;
    }

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-tabs {
        flex-direction: column !important;
    }

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-tab {
        width: 100% !important;
        justify-content: center !important;
    }

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .error-list {
        max-height: 200px !important;
    }

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .error-row {
        font-size: 0.9rem !important;
    }

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .error-reason {
        font-size: 0.8rem !important;
    }

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .details-section {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-popup {
        width: 98% !important;
        margin: 10px !important;
    }

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .import-content {
        padding: 15px !important;
    }

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .details-section {
        padding: 12px !important;
    }

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .error-list {
        max-height: 180px !important;
    }

    .modal_ReturnCustomerWorkOrder_ConfirmExcel_div .error-item {
        padding: 12px !important;
    }
}

/* Field Error Styles */
.field-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.field-error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    margin-bottom: 10px;
    font-weight: 500;
}


/* Add Row Button Disabled Styles */
.ReturnCustomerWorkOrderCard_General-add-row:disabled,
.ReturnCustomerWorkOrderCard_General-add-row.disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background: transparent !important;
    border-color: #555 !important;
    color: #555 !important;
    transform: none !important;
}

    .ReturnCustomerWorkOrderCard_General-add-row:disabled:hover,
    .ReturnCustomerWorkOrderCard_General-add-row.disabled:hover {
        background: transparent !important;
        border-color: #555 !important;
        color: #555 !important;
        transform: none !important;
    }

/* Excel Import Button Disabled Styles */
.ReturnCustomerWorkOrderCard_General-excel-import-btn:disabled,
.ReturnCustomerWorkOrderCard_General-excel-import-btn.disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background: #555 !important;
    transform: none !important;
    box-shadow: none !important;
}

    .ReturnCustomerWorkOrderCard_General-excel-import-btn:disabled::before,
    .ReturnCustomerWorkOrderCard_General-excel-import-btn.disabled::before {
        display: none !important;
    }

    .ReturnCustomerWorkOrderCard_General-excel-import-btn:disabled:hover,
    .ReturnCustomerWorkOrderCard_General-excel-import-btn.disabled:hover {
        background: #555 !important;
        transform: none !important;
        box-shadow: none !important;
    }

        .ReturnCustomerWorkOrderCard_General-excel-import-btn:disabled:hover::before,
        .ReturnCustomerWorkOrderCard_General-excel-import-btn.disabled:hover::before {
            left: -100% !important;
        }

/* Remove Button Disabled Styles */
.ReturnCustomerWorkOrderCard_General-remove-btn:disabled,
.ReturnCustomerWorkOrderCard_General-remove-btn.disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background: #555 !important;
}

    .ReturnCustomerWorkOrderCard_General-remove-btn:disabled:hover,
    .ReturnCustomerWorkOrderCard_General-remove-btn.disabled:hover {
        background: #555 !important;
        transform: none !important;
    }

/* General Button Disabled Styles Override */
.ReturnCustomerWorkOrderCard_General-btn:disabled,
.ReturnCustomerWorkOrderCard_General-btn.disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background: #555 !important;
    transform: none !important;
    box-shadow: none !important;
}

    .ReturnCustomerWorkOrderCard_General-btn:disabled:hover,
    .ReturnCustomerWorkOrderCard_General-btn.disabled:hover {
        background: #555 !important;
        transform: none !important;
        box-shadow: none !important;
    }

/* Select Dropdown Disabled Styles */
.ReturnCustomerWorkOrderCard_General-input:disabled,
.ReturnCustomerWorkOrderCard_General-select:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    background: #2a2a2e !important;
    border-color: #555 !important;
    color: #888 !important;
}

    .ReturnCustomerWorkOrderCard_General-input:disabled:focus,
    .ReturnCustomerWorkOrderCard_General-select:disabled:focus {
        border-color: #555 !important;
        box-shadow: none !important;
    }

/* Remove Button Disabled Styles */
.ReturnCustomerWorkOrderCard_General-remove-btn:disabled,
.ReturnCustomerWorkOrderCard_General-remove-btn.disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background: #555 !important;
    color: #888 !important;
}

    .ReturnCustomerWorkOrderCard_General-remove-btn:disabled:hover,
    .ReturnCustomerWorkOrderCard_General-remove-btn.disabled:hover {
        background: #555 !important;
        color: #888 !important;
        transform: none !important;
    }

/* Dashboard Modal'daki Remove Scan Button için disabled stil */
#tab_ReturnCustomerWorkOrderDashboard-remove_scan_status:disabled,
#tab_ReturnCustomerWorkOrderDashboard-remove_scan_status.disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background: #555 !important;
    color: #888 !important;
}

    #tab_ReturnCustomerWorkOrderDashboard-remove_scan_status:disabled:hover,
    #tab_ReturnCustomerWorkOrderDashboard-remove_scan_status.disabled:hover {
        background: #555 !important;
        color: #888 !important;
        transform: none !important;
    }


/* Filtre Alanı - Select2 Tasarımı */
.return_dashboard .filter-group .search-wrapper {
    position: relative;
    width: 100%;
    flex-shrink: 0;
}

    .return_dashboard .filter-group .search-wrapper .search-icon {
        position: absolute;
        right: 12px;
        left: auto;
        top: calc(100% - 19px);
        transform: translateY(-50%);
        color: #a0a0a0;
        font-size: 14px;
        pointer-events: none;
        z-index: 5;
    }

    .return_dashboard .filter-group .search-wrapper .select2-container {
        overflow: visible !important;
    }

        .return_dashboard .filter-group .search-wrapper .select2-container .select2-selection--single {
            padding-left: 12px !important;
            padding-right: 65px !important;
            background: #323236 !important;
            border: 2px solid #3b3b41 !important;
            border-radius: 8px !important;
            height: auto !important;
            min-height: 38px !important;
            overflow: visible !important;
        }

        .return_dashboard .filter-group .search-wrapper .select2-container .select2-selection__rendered {
            padding-left: 0 !important;
            padding-right: 0 !important;
            color: #fff !important;
        }

    .return_dashboard .filter-group .search-wrapper .select2-selection__clear {
        position: absolute !important;
        right: 37px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10 !important;
        font-size: 14px;
        color: rgba(255, 255, 255, 0.5) !important;
        font-weight: normal;
    }

        .return_dashboard .filter-group .search-wrapper .select2-selection__clear:hover {
            color: rgba(255, 255, 255, 0.9) !important;
        }

    .return_dashboard .filter-group .search-wrapper .select2-container--open .select2-selection--single {
        border-color: #797bf2 !important;
    }

    .return_dashboard .filter-group .search-wrapper .select2-selection__placeholder {
        color: #a0a0a0 !important;
    }

    .return_dashboard .filter-group .search-wrapper .select2-results__message,
    .return_dashboard .filter-group .search-wrapper .select2-search__field,
    .return_dashboard .filter-group .search-wrapper .select2-results__option--loading {
        color: #a0a0a0 !important;
        font-weight: normal !important;
    }


/* ============================================================
   Barkod Rich Dropdown Styles - ReturnWorkOrder
   ============================================================ */

/* Ana Container */
.ReturnWorkOrder-barcode-select-container {
    position: relative;
    width: 100%;
}

/* Tıklanabilir Input Alanı */
.ReturnWorkOrder-barcode-select-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #323236;
    border: 2px solid #3b3b41;
    border-radius: 6px;
    cursor: pointer;
    min-height: 40px;
    transition: all 0.3s ease;
}

    .ReturnWorkOrder-barcode-select-input:hover {
        border-color: #4a4a50;
        background: #3b3b40;
    }

    .ReturnWorkOrder-barcode-select-input.active {
        border-color: #797bf2;
        box-shadow: 0 0 0 3px rgba(121, 123, 242, 0.2);
    }

    .ReturnWorkOrder-barcode-select-input.disabled {
        opacity: 0.6;
        cursor: not-allowed;
        background: #2a2a2e;
    }

/* Placeholder Stili */
.ReturnWorkOrder-barcode-select-placeholder {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 0.85rem;
}

    .ReturnWorkOrder-barcode-select-placeholder i {
        color: #666;
    }

/* Seçili Değer Stili */
.ReturnWorkOrder-barcode-select-value {
    flex: 1;
    overflow: hidden;
}

.ReturnWorkOrder-barcode-selected-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ReturnWorkOrder-barcode-selected-name {
    color: #fff;
    font-weight: 500;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ReturnWorkOrder-barcode-selected-barcode {
    color: #888;
    font-size: 0.75rem;
    font-family: monospace;
}

/* Ok İkonu */
.ReturnWorkOrder-barcode-select-arrow {
    color: #888;
    font-size: 0.75rem;
    transition: transform 0.2s ease;
    margin-left: 8px;
}

.ReturnWorkOrder-barcode-select-input.active .ReturnWorkOrder-barcode-select-arrow {
    transform: rotate(180deg);
}

/* Temizleme Butonu */
.ReturnWorkOrder-barcode-select-clear {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 2px 6px;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    margin-right: 4px;
}

    .ReturnWorkOrder-barcode-select-clear:hover {
        color: #ef4444;
    }

/* Dropdown Container - Portal (body'ye eklenir) */
.ReturnWorkOrder-barcode-select-dropdown {
    position: fixed;
    background: #323236;
    border: 2px solid #797bf2;
    border-radius: 8px;
    z-index: 99999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-height: 350px;
    min-width: 300px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Arama Input Container */
.ReturnWorkOrder-barcode-select-search {
    padding: 12px;
    border-bottom: 1px solid #3b3b41;
    background: #2a2a2e;
}

    .ReturnWorkOrder-barcode-select-search input {
        width: 100%;
        padding: 10px 12px;
        background: #323236;
        border: 2px solid #3b3b41;
        border-radius: 6px;
        color: #fff;
        font-size: 0.85rem;
        outline: none;
        transition: border-color 0.2s ease;
    }

        .ReturnWorkOrder-barcode-select-search input:focus {
            border-color: #797bf2;
        }

        .ReturnWorkOrder-barcode-select-search input::placeholder {
            color: #666;
        }

/* Sonuç Listesi Container */
.ReturnWorkOrder-barcode-select-items {
    overflow-y: auto;
    max-height: 280px;
    padding: 8px;
}

    .ReturnWorkOrder-barcode-select-items::-webkit-scrollbar {
        width: 6px;
    }

    .ReturnWorkOrder-barcode-select-items::-webkit-scrollbar-track {
        background: #3b3b41;
        border-radius: 3px;
    }

    .ReturnWorkOrder-barcode-select-items::-webkit-scrollbar-thumb {
        background: #797bf2;
        border-radius: 3px;
    }

/* Her Bir Sonuç Item */
.ReturnWorkOrder-barcode-select-item {
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 6px;
    background: #3b3b40;
    border: 1px solid transparent;
}

    .ReturnWorkOrder-barcode-select-item:last-child {
        margin-bottom: 0;
    }

    .ReturnWorkOrder-barcode-select-item:hover {
        background: #4a4a50;
        border-color: #797bf2;
    }

/* Item İçindeki Satırlar */
.ReturnWorkOrder-barcode-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}

.ReturnWorkOrder-barcode-item-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    flex: 1;
    margin-right: 8px;
    line-height: 1.3;
}

.ReturnWorkOrder-barcode-item-status {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.ReturnWorkOrder-barcode-item-row {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #aaa;
    font-size: 0.8rem;
    margin-top: 4px;
}

    .ReturnWorkOrder-barcode-item-row i {
        color: #666;
        width: 14px;
        text-align: center;
    }

.ReturnWorkOrder-barcode-item-barcode {
    font-family: monospace;
    color: #797bf2;
    background: rgba(121, 123, 242, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Yükleme Durumu */
.ReturnWorkOrder-barcode-select-loading {
    padding: 20px;
    text-align: center;
    color: #888;
}

    .ReturnWorkOrder-barcode-select-loading i {
        font-size: 1.5rem;
        color: #797bf2;
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Sonuç Bulunamadı */
.ReturnWorkOrder-barcode-select-empty {
    padding: 20px;
    text-align: center;
    color: #888;
}

    .ReturnWorkOrder-barcode-select-empty i {
        font-size: 2rem;
        color: #555;
        margin-bottom: 8px;
        display: block;
    }

/* Hata Durumu */
.ReturnWorkOrder-barcode-select-error {
    padding: 12px;
    text-align: center;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 6px;
    margin: 8px;
}

/* Müşteri Uyarısı */
.ReturnWorkOrder-barcode-select-warning {
    padding: 12px;
    text-align: center;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 6px;
    margin: 8px;
}

    .ReturnWorkOrder-barcode-select-warning i {
        margin-right: 6px;
    }

/* Responsive */
@media (max-width: 768px) {
    .ReturnWorkOrder-barcode-select-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0;
        border-radius: 16px 16px 0 0;
        max-height: 70vh;
    }

    .ReturnWorkOrder-barcode-select-search {
        padding: 16px;
    }

    .ReturnWorkOrder-barcode-select-items {
        max-height: calc(70vh - 80px);
    }
}


/* ============================================================
   KAPSAMLI VALİDASYON SİSTEMİ - CSS
   ============================================================ */

/* Validation Error Styles - Input/Select */
.validation-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
    background-color: rgba(239, 68, 68, 0.05) !important;
}

    .validation-error:focus {
        border-color: #ef4444 !important;
        box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.3) !important;
    }

/* Validation Error Wrapper - Parent Container */
.validation-error-wrapper {
    position: relative;
}

    .validation-error-wrapper .select2-selection {
        border-color: #ef4444 !important;
        box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
    }

    .validation-error-wrapper .ReturnWorkOrder-barcode-select-input {
        border-color: #ef4444 !important;
        box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
    }

/* Select2 Validation Error */
.select2-container .select2-selection.validation-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
}

/* DxDatePicker Validation Error */
.validation-error-wrapper .dx-texteditor {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
}

/* Native Select Validation Error */
select.validation-error,
.new-select.validation-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
    background-color: rgba(239, 68, 68, 0.05) !important;
}

/* Autocomplete/Typeahead Validation Error */
.validation-error-wrapper .typeahead-input,
.validation-error-wrapper .autocomplete-input {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
}

/* Barkod Dropdown Validation Error */
.ReturnWorkOrder-barcode-select-input.validation-error,
.validation-error-wrapper .ReturnWorkOrder-barcode-select-input {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
    background-color: rgba(239, 68, 68, 0.05) !important;
}

/* Shake Animation for Validation Errors */
@keyframes validationShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.validation-error.shake {
    animation: validationShake 0.5s ease-in-out;
}

/* Validation Toast Message Override */
.toast.is-danger {
    background-color: rgba(239, 68, 68, 0.95) !important;
    color: #fff !important;
    border-left: 4px solid #dc2626 !important;
}

    .toast.is-danger .toast-message {
        line-height: 1.6;
        font-size: 0.9rem;
    }

/* Header Field Validation Error Highlight */
.ReturnCustomerWorkOrderCard_General-group .validation-error,
.ReturnCustomerWorkOrderCard_General-group .validation-error-wrapper input,
.ReturnCustomerWorkOrderCard_General-group .validation-error-wrapper select {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
}

/* Product Table Row Validation Error */
.ReturnCustomerWorkOrderCard_General-table tr.validation-row-error {
    background-color: rgba(239, 68, 68, 0.08) !important;
}

    .ReturnCustomerWorkOrderCard_General-table tr.validation-row-error:hover {
        background-color: rgba(239, 68, 68, 0.12) !important;
    }

/* Form Control Wrapper Error State */
.control.validation-error-wrapper,
.select.validation-error-wrapper {
    position: relative;
}

    .control.validation-error-wrapper::after,
    .select.validation-error-wrapper::after {
        content: '\f071';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: #ef4444;
        font-size: 0.8rem;
        pointer-events: none;
    }

/* Clear validation errors on user interaction */
.validation-error:focus,
.validation-error:active {
    border-color: #797bf2 !important;
    box-shadow: 0 0 0 3px rgba(121, 123, 242, 0.2) !important;
    background-color: transparent !important;
}