/**
 * Public styles for PayBuy Customer Listings
 */

/* Dashboard styles */
.pcl-dashboard {
    margin: 20px 0;
}

.pcl-stats-grid,
.pcl-balance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.pcl-stat-box,
.pcl-balance-box {
    padding: 20px;
    background: #f5f5f5;
    border-radius: 5px;
    text-align: center;
}

.pcl-stat-value,
.pcl-balance-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.pcl-stat-label,
.pcl-balance-label {
    display: block;
    color: #666;
}

/* Status badges */
.pcl-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.pcl-status-active {
    background: #d4edda;
    color: #155724;
}

.pcl-status-pending {
    background: #fff3cd;
    color: #856404;
}

.pcl-status-expired {
    background: #f8d7da;
    color: #721c24;
}

.pcl-status-sold {
    background: #cce5ff;
    color: #004085;
}

/* Tables */
.pcl-listings-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.pcl-listings-table th,
.pcl-listings-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.pcl-listings-table th {
    background: #f5f5f5;
    font-weight: bold;
}

/* Form validation styles */
.pcl-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.pcl-shipping-options.pcl-error {
    border: 2px solid #dc3545;
    border-radius: 5px;
    padding: 10px;
    background-color: rgba(220, 53, 69, 0.1);
}

.pcl-wc-shipping-methods.pcl-error {
    border: 2px solid #dc3545;
    border-radius: 5px;
    padding: 10px;
    background-color: rgba(220, 53, 69, 0.1);
}

/* Message styles */
.pcl-message {
    padding: 12px 20px;
    margin: 15px 0;
    border-radius: 4px;
    font-weight: 500;
}

.pcl-message-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.pcl-message-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.pcl-message-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}
}