/* Rental Pricing Styles - RentoMojo Style */
.rent-duration-section {
    border: 1px solid #e3e6f0;
    border-radius: 10px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.rent-duration-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.rent-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.rent-label i {
    color: #3498db;
    margin-right: 8px;
}

.rental-duration-select {
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.rental-duration-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
}

.rental-duration-select option {
    padding: 10px;
    font-size: 14px;
}

.pricing-breakdown {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    border: 1px solid #e3e8ff;
    border-radius: 8px;
    padding: 12px;
    margin-top: 12px;
    position: relative;
}

.pricing-breakdown::before {
    content: '💰';
    position: absolute;
    top: -10px;
    left: 15px;
    background: white;
    padding: 0 5px;
    font-size: 16px;
}

.monthly-cost {
    color: #6c757d;
    font-size: 13px;
    margin-bottom: 5px;
}

.total-cost {
    color: #007bff;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 5px;
}

.savings {
    color: #28a745;
    font-weight: 600;
    font-size: 13px;
    background: rgba(40, 167, 69, 0.1);
    padding: 4px 8px;
    border-radius: 5px;
    display: inline-block;
}

.add_cart {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.add_cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.add_cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.add_cart:hover::before {
    left: 100%;
}

.rent-savings-badge {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 5px;
    display: inline-block;
}

.wsus__rent_price {
    position: relative;
}

.wsus__rent_price .discount-indicator {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .rent-duration-section {
        padding: 12px;
    }
    
    .rental-duration-select {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .pricing-breakdown {
        padding: 10px;
    }
    
    .add_cart {
        font-size: 14px;
        padding: 10px 16px;
    }
}

/* Animation for price changes */
@keyframes priceChange {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.price-animation {
    animation: priceChange 0.3s ease;
}