/*--------------------------------------------------------------
# Reward Bank Container
--------------------------------------------------------------*/
.wrb-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
}

/* Card Title */
.wrb-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #222;
    font-family: "Playfair Display", Sans-serif;
}

/*--------------------------------------------------------------
# Reward Table
--------------------------------------------------------------*/
.wrb-table {
    width: 100%;
    border-collapse: collapse;
}

.wrb-table th,
.wrb-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
    font-size: 18px;
}

.wrb-table th {
    background-color: #f7f7f7;
    font-weight: 600;
    color: #333;
    font-family: "Playfair Display", Sans-serif;
}

/* Reward Points Styling */
.wrb-points {
    font-weight: 600;
    color: #007cba;
}

.wrb-plus {
    color: #28a745;
    font-weight: 600;
}

.wrb-minus {
    color: #dc3545;
    font-weight: 600;
}

/*--------------------------------------------------------------
# Redeem Button
--------------------------------------------------------------*/
.wrb-btn {
    background-color: #007cba;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.wrb-btn:hover {
    background-color: #005a8c;
}

/* Reward Product Image */
.wrb-table td img {
    max-width: 50px;
    height: auto;
    border-radius: 6px;
    margin-right: 6px;
    vertical-align: middle;
}

/* Fixed Quantity (locked in cart) */
.wrb-fixed-qty {
    font-weight: 600;
    color: #555;
}

/* Block Cart Quantity Lock */
.wc-block-components-quantity-selector input[disabled] {
    background-color: #f5f5f5 !important;
    cursor: not-allowed !important;
}

/*--------------------------------------------------------------
# WooCommerce Notices
--------------------------------------------------------------*/
.woocommerce-message {
    background: #e0f4ff;
    border-left: 4px solid #007cba;
    color: #333;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/*--------------------------------------------------------------
# Hide 0 Points Rows (optional)
--------------------------------------------------------------*/
.wrb-table tbody tr td .wrb-points:empty {
    display: none;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 768px) {
    .wrb-table th,
    .wrb-table td {
        padding: 8px 6px;
    }
    .wrb-btn {
        padding: 6px 10px;
        font-size: 13px;
    }
    .wrb-title {
        font-size: 18px;
    }
}
