/* sections/cars/assets/css/request-details.css */
.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-confirmed {
    background-color: #cce5ff;
    color: #004085;
}

.status-in_progress {
    background-color: #e2e3e5;
    color: #383d41;
}

.status-completed {
    background-color: #d4edda;
    color: #155724;
}

.status-cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

.request-details table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.request-details th,
.request-details td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    text-align: right;
}

.request-details th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.request-details tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.request-details tbody tr:hover {
    background-color: #f2f2f2;
}

.payment-schedule {
    max-height: 400px;
    overflow-y: auto;
}

.payment-schedule table {
    position: relative;
}

.payment-schedule thead th {
    position: sticky;
    top: 0;
    background-color: #f8f9fa;
    z-index: 1;
}

.admin-actions {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

.admin-actions button {
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .request-details {
        overflow-x: auto;
    }
    
    .status-badge {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .request-details th,
    .request-details td {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
}
.requests-tabs {
    margin: 20px 0;
}

.nav-tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #dee2e6;
}

.nav-tabs li {
    margin-bottom: -1px;
}

.nav-tabs li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #6c757d;
    border: 1px solid transparent;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.nav-tabs li.active a {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}

.tab-content {
    padding: 20px 0;
}

.woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-orders-table th,
.woocommerce-orders-table td {
    padding: 12px;
    text-align: right;
    border-bottom: 1px solid #dee2e6;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 50px auto;
    padding: 20px;
    max-width: 800px;
    width: 90%;
    border-radius: 4px;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}