/* Style général */
.korence-order-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Tableau des commandes */
.korence-order-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.korence-order-table th {
    background-color: #d36200 !important;
    color: white;
    padding: 12px 15px;
    text-align: left;
}

.korence-order-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.korence-order-table tr:last-child td {
    border-bottom: none;
}

.korence-order-table tr:hover {
    background-color: #f5f7fa;
}

/* Statuts */
.status-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
    text-align: center;
    line-height: 24px;
    color: white;
}

.status-completed {
    background-color: #28a745;
}

.status-pending {
    background-color: #ffc107;
}

.status-processing {
    background-color: #17a2b8;
}

.status-cancelled {
    background-color: #dc3545;
}

.status-on-hold {
    background-color: #6c757d;
}

.status-refunded {
    background-color: #6f42c1;
}

.status-failed {
    background-color: #343a40;
}

/* Boutons */
.korence-btn {
    padding: 8px 16px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.korence-btn-primary {
    background-color: #d36200;
    color: white;
}

.korence-btn-primary:hover {
    background-color: #3a5a80;
}

.korence-btn-danger {
    background-color: #dc3545;
    color: white;
}

.korence-btn-danger:hover {
    background-color: #bb2d3b;
}

.korence-btn-success {
    background-color: #28a745;
    color: white;
}

.korence-btn-success:hover {
    background-color: #218838;
}

/* Filtres */
.korence-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.korence-filter-select {
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #ddd;
    min-width: 200px;
}

/* Pagination */
.korence-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.korence-pagination a, 
.korence-pagination span {
    padding: 8px 16px;
    border-radius: 5px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #d36200;
}

.korence-pagination a:hover {
    background-color: #d36200;
    color: white;
}

.korence-pagination .current {
    background-color: #d36200;
    color: white;
    border-color: #d36200;
}

/* Détails de la commande */
.korence-order-details {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.korence-order-details h2 {
    color: #d36200;
    border-bottom: 2px solid #d36200;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.korence-detail-row {
    display: flex;
    margin-bottom: 15px;
}

.korence-detail-label {
    font-weight: bold;
    min-width: 150px;
    color: #555;
}

.korence-detail-value {
    flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .korence-order-table {
        display: block;
        overflow-x: auto;
    }
    
    .korence-filters {
        flex-direction: column;
    }
    
    .korence-filter-select {
        width: 100%;
    }
}

/* Boutons de contact spécifiques */
.korence-btn-call, 
.korence-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-right: 10px;
    margin-bottom: 5px;
}

.korence-btn-call {
    background-color: #28a745 !important;
    color: white !important;
}

.korence-btn-call:hover {
    background-color: #218838 !important;
}

.korence-btn-whatsapp {
    background-color: #25D366 !important;
    color: white !important;
}

.korence-btn-whatsapp:hover {
    background-color: #1da851 !important;
}

.korence-contact-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}