/* Custom admin theme colors and components */
:root {
    --primary-color: #007bff;
    --success-color: #28a745;
    --warning-color: #fd7e14;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --bg-light: #f9fafb;
}

/* Custom pagination styles for Bootstrap 4 pagination used in Livewire tables */
.custom-pagination .pagination,
.custom-bootstrap-pagination {
    margin-bottom: 0;
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.custom-pagination .page-item:first-child .page-link,
.custom-bootstrap-pagination .page-item:first-child .page-link {
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}

.custom-pagination .page-item:last-child .page-link,
.custom-bootstrap-pagination .page-item:last-child .page-link {
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.custom-pagination .page-link,
.custom-bootstrap-pagination .page-link {
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.45rem 0.85rem;
    border: 1px solid #dee2e6;
    background-color: #fff;
    transition: all 0.15s ease-in-out;
}

.custom-pagination .page-link:hover,
.custom-bootstrap-pagination .page-link:hover {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.custom-pagination .page-item.active .page-link,
.custom-bootstrap-pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

.custom-pagination .page-item.disabled .page-link,
.custom-bootstrap-pagination .page-item.disabled .page-link {
    color: #adb5bd;
    background-color: var(--bg-light);
    border-color: #dee2e6;
}

/* Detail labels and values */
.detail-label {
    color: #4b5563;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.detail-value {
    color: #1f2937;
    font-weight: 700;
    font-size: 0.95rem;
}

.detail-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* Custom operation badges */
.badge {
    padding: 5px;
}

.badge-custom-return {
    background-color: var(--primary-color);
    color: #fff;
}

.badge-custom-damage {
    background-color: var(--danger-color);
    color: #fff;
}

.badge-custom-cleaning {
    background-color: var(--success-color);
    color: #fff;
}

.badge-custom-exit {
    background-color: var(--warning-color);
    color: #fff;
}

/* Custom operation buttons */
.btn-custom-return {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-custom-return:hover {
    background-color: #0069d9;
    border-color: #0062cc;
    color: #fff;
}

.btn-custom-damage {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
    color: #fff;
}

.btn-custom-damage:hover {
    background-color: #c82333;
    border-color: #bd2130;
    color: #fff;
}

.btn-custom-cleaning {
    background-color: var(--success-color);
    border-color: var(--success-color);
    color: #fff;
}

.btn-custom-cleaning:hover {
    background-color: #218838;
    border-color: #1e7e34;
    color: #fff;
}

.btn-custom-exit {
    background-color: var(--warning-color);
    border-color: var(--warning-color);
    color: #fff;
}

.btn-custom-exit:hover {
    background-color: #e66a02;
    border-color: #d65f0a;
    color: #fff;
}

/* RTL border-radius fixes */
[dir="rtl"] .custom-pagination .page-item:first-child .page-link,
[dir="rtl"] .custom-bootstrap-pagination .page-item:first-child .page-link {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

[dir="rtl"] .custom-pagination .page-item:last-child .page-link,
[dir="rtl"] .custom-bootstrap-pagination .page-item:last-child .page-link {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}
.export-section-card
{border: 1px solid #17a2b8 !important;}