/**
 * UM Form Price Calculator Styles
 *
 * @package WPRReviews
 * @since 1.0.0
 */

.wpr-um-price-display {
    margin: 20px 0;
    padding: 0;
}

.wpr-price-box {
    background: #f7f9fc;
    border: 2px solid #4a90e2;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.1);
}

.wpr-um-price-display .wpr-price-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wpr-um-price-display .wpr-price-amount {
    font-size: 36px;
    font-weight: bold;
    color: #4a90e2;
    line-height: 1.2;
}

.wpr-price-amount .wpr-price-value {
    color: #2ecc71;
}

.wpr-price-amount .wpr-price-loading {
    font-size: 16px;
    color: #999;
    font-weight: normal;
}

.wpr-price-breakdown {
    text-align: center;
    padding: 10px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.wpr-price-breakdown small {
    color: #666;
    font-size: 13px;
}

.wpr-login-required {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.wpr-login-required p {
    margin: 0;
    color: #856404;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .wpr-um-price-display .wpr-price-amount {
        font-size: 28px;
    }

    .wpr-price-box {
        padding: 15px;
    }
}

/* Animation for price updates */
.wpr-price-value {
    animation: priceUpdate 0.3s ease-in-out;
}

@keyframes priceUpdate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}
