/**
 * Legal Address Configurator Styles
 */

.legal-address-configurator {
    margin: 20px 0;
    padding: 0;
}

.configurator-section {
    margin-bottom: 10px;
    padding: 0;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #333;
    text-transform: none;
    text-align: center;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    justify-content: center;
}

.config-button {
    padding: 10px 20px;
    border: 2px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    text-align: center;
    min-width: 120px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.config-button:hover {
    border-color: #999;
    background: #f9f9f9;
}

.config-button.selected {
    background: #94DB21 !important;
    border-color: #94DB21 !important;
    color: #fff !important;
}

/* Address buttons */
.address-button {
    min-width: 150px;
}

/* Term buttons with price display */
.term-button {
    min-width: 140px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 15px;
}

.term-button .term-label {
    display: block;
    font-size: 18px;
    font-weight: 600;
}

.term-button .term-price {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #94DB21;
}

.term-button.selected .term-price {
    color: #fff;
}

/* Document buttons */
.document-button {
    min-width: 180px;
}

/* Price Display */
.price-breakdown {
    padding: 0;
    margin: 10px 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
}

.price-row:last-child {
    border-bottom: none;
}


.price-label {
    color: #666;
    font-size: 14px;
    text-align: left;
    font-weight: 400;
}

.price-value {
    font-weight: 600;
    color: #333;
    font-size: 16px;
    text-align: right;
}

.total-row .price-label,
.total-row .price-value {
    font-weight: 700;
    font-size: 18px;
    color: #000;
}

/* Add to Cart */
.cart-section {
    margin-top: 20px;
    text-align: center;
    width: 100%;
	display: inline-block;
}

.storage-box-configurator .cart-section .single_add_to_cart_button,
.legal-address-configurator .cart-section .single_add_to_cart_button {
    width: 80%;
    max-width: none;
    height: 50px;
    padding: 0 30px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    background: #7ab51d;
    border-color: #7ab51d;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #7ab51d;
    border-radius: 4px;
    line-height: normal;
    display: block;
    margin: 0 auto;
}

.single_add_to_cart_button:hover:not(:disabled) {
    background: #6a9f1a;
    border-color: #6a9f1a;
}

.single_add_to_cart_button:disabled,
.single_add_to_cart_button.disabled {
    background: #d3d3d3 !important;
    border-color: #d3d3d3 !important;
    color: #999 !important;
    cursor: not-allowed;
    opacity: 0.6;
}

.single_add_to_cart_button:disabled:hover,
.single_add_to_cart_button.disabled:hover {
    background: #d3d3d3 !important;
    border-color: #d3d3d3 !important;
}

/* Out of Stock */
.stock.out-of-stock {
    background: #ffebe9;
    border: 1px solid #ff6b6b;
    border-radius: 4px;
    padding: 15px;
    color: #d32f2f;
    text-align: center;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .config-button {
        width: 100%;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .price-value {
        text-align: left;
    }
    
    .single_add_to_cart_button {
        width: 100% !important;
    }
}