/* Price calculator styles */

/* Price display styling */
.calculated-price,
.subtotal-price,
.delivery-price-value,
.single-box-price-value {
    font-weight: bold;
    padding-right: 0px;
    border-radius: 3px;
    display: inline-block;
    position: relative;
}

.calculated-price {
    font-size: 1.2em;
    color: #000;
}

/* Loading indicator for calculation in progress */
.calculating {
    position: relative;
    color: transparent !important; /* Hide text during calculation */
}

.calculating:after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    vertical-align: middle;
    border: 2px solid rgba(94, 181, 151, 0.2); /* Thinner border with main color */
    border-radius: 50%;
    border-top-color: #5eb597; /* Main color */
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Fade in animation for price display */
@keyframes fadeIn {
    from {
        opacity: 0.3;
    }
    to {
        opacity: 1;
    }
}

.price-updated {
    animation: fadeIn 0.3s ease;
    color: #5eb597; /* Main color */
}

.woocommerce-cart .custom-price-per-box,
.woocommerce-cart .custom-shipping-cost,
.woocommerce-checkout .custom-price-per-box,
.woocommerce-checkout .custom-shipping-cost {
    display: none !important;
}