/* WooCommerce Tiered Pricing Styles */

.tiered-pricing-table {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.tiered-pricing-table h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.tiered-pricing-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

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

.tiered-pricing-table th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: #333;
}

.tiered-pricing-table td {
    font-size: 14px;
}

.tiered-pricing-table tr:hover {
    background-color: #f0f8ff;
}

/* Tiered pricing highlight */
.tiered-pricing-active {
    background-color: #e7f3ff !important;
    font-weight: 600;
}

/* Admin styles */
.form-field .tier-row {
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.form-field .tier-row input {
    width: 100px;
    margin-right: 10px;
    padding: 5px;
}

.form-field .tier-row .remove-tier {
    margin-left: 10px;
    background-color: #dc3232;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
}

.form-field .tier-row .remove-tier:hover {
    background-color: #c02626;
}

#add-tier {
    margin-top: 10px;
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 3px;
    cursor: pointer;
}

#add-tier:hover {
    background-color: #005a87;
}

/* Responsive */
@media (max-width: 768px) {
    .tiered-pricing-table {
        overflow-x: auto;
    }
    
    .tiered-pricing-table table {
        min-width: 400px;
    }
}
