.text-danger {
    color: #ff6b6b !important;
}

/* Orders Page Global Enhancements */
.gap-3 {
    gap: 1rem !important;
}

.gap-2 {
    gap: 0.5rem !important;
}

/* Modern button transitions */
.btn {
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

/* Card hover effects */
.card {
    transition: all 0.3s ease;
}

/* Enhanced table rows */
.table tbody tr {
    transition: all 0.2s ease;
}

/* RTL Fixes for order management */
[dir="rtl"] .customer-phone {
    direction: ltr;
    text-align: right;
}

[dir="rtl"] .order-type-badge {
    flex-direction: row-reverse;
}

[dir="rtl"] .status-badge {
    flex-direction: row-reverse;
}

[dir="rtl"] .action-buttons {
    flex-direction: row-reverse;
}

/* Print styles - hide UI elements */
@media print {
    .stats-cards,
    .status-tabs-wrapper,
    .orders-page-header,
    .refresh-btn,
    .action-buttons {
        display: none !important;
    }
}

/* Toastr Style Fixes - Ensure proper colors */
.toast {
    opacity: 1 !important;
}

.toast-success {
    background-color: #51a351 !important;
    color: #fff !important;
}

.toast-error {
    background-color: #bd362f !important;
    color: #fff !important;
}

.toast-info {
    background-color: #2f96b4 !important;
    color: #fff !important;
}

.toast-warning {
    background-color: #f89406 !important;
    color: #fff !important;
}

.toast-message {
    color: #fff !important;
}

.toast-title {
    color: #fff !important;
    font-weight: 700;
}

#toast-container > div {
    opacity: 1 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
    border-radius: 8px !important;
}

#toast-container > .toast-success {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E") !important;
    background-color: #22c55e !important;
}

#toast-container > .toast-error {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z'/%3E%3C/svg%3E") !important;
    background-color: #ef4444 !important;
}

#toast-container > .toast-info {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E") !important;
    background-color: #3b82f6 !important;
}

#toast-container > .toast-warning {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z'/%3E%3C/svg%3E") !important;
    background-color: #f59e0b !important;
}

/* Hide default DataTables buttons as we use custom header buttons */
.dt-buttons {
    display: none !important;
}

/* DataTables search box styling (if still present) */
.dataTables_filter {
    display: none !important;
}
