/**
 * Styles Public OPP Marketplace
 */

.opp-merchant-dashboard,
.opp-buyer-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.opp-merchant-stats,
.opp-buyer-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.opp-stat-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.opp-stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
}

.opp-stat-number {
    font-size: 32px;
    font-weight: 600;
    margin: 0;
    color: #2271b1;
}

.opp-transactions-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    border: 1px solid #ddd;
}

.opp-transactions-table th,
.opp-transactions-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.opp-transactions-table th {
    background: #f5f5f5;
    font-weight: 600;
}

.opp-transactions-table tr:hover {
    background: #f9f9f9;
}

.opp-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.opp-status-pending {
    background: #fff3cd;
    color: #856404;
}

.opp-status-completed {
    background: #d1e7dd;
    color: #0f5132;
}

.opp-status-failed {
    background: #f8d7da;
    color: #842029;
}

.opp-status-cancelled {
    background: #e2e3e5;
    color: #41464b;
}

.opp-status-refunded {
    background: #cfe2ff;
    color: #084298;
}

/* Styles pour le bouton Pay Now désactivé */
.homey-woo-reservation-pay.opp-homey-btn-disabled,
.homey-woo-reservation-pay[disabled] {
    opacity: 0.6;
    cursor: not-allowed !important;
    pointer-events: none;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #fff !important;
}

.homey-woo-reservation-pay.opp-homey-btn-disabled:hover,
.homey-woo-reservation-pay[disabled]:hover {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #fff !important;
}



