/* assets/css/car-details-discount.css - Discount specific styles for car details */

/* Discount Alert Banner */
.discount-alert-banner {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid #ef4444;
    border-radius: 16px;
    padding: 16px 24px;
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0%, 100% { border-color: #ef4444; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { border-color: #dc2626; box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.1); }
}

.discount-fire-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.discount-fire-icon i {
    font-size: 24px;
    color: white;
}

.discount-alert-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #dc2626;
}

.discount-alert-text {
    font-size: 0.9rem;
    color: #7f1d1d;
}

.discount-badge-large {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 1.5rem;
    font-weight: bold;
    animation: pulse-scale 1.5s infinite;
}

@keyframes pulse-scale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Discount Border for Image Gallery */
.discount-border {
    border: 3px solid #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

/* Discount Ribbon on Image */
.discount-ribbon {
    position: absolute;
    top: 20px;
    left: -30px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 6px 40px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(-45deg);
    z-index: 20;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Discount Price Card */
.discount-price-card {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 2px solid #ef4444;
    border-radius: 16px;
    padding: 12px 20px;
    position: relative;
    overflow: hidden;
}

.discount-price-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(239, 68, 68, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.original-price-big {
    text-decoration: line-through;
    font-size: 0.9rem;
    color: #9ca3af;
}

.discount-percent-badge {
    background: #ef4444;
    color: white;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Discount Calendar Container */
.discount-calendar-container {
    border: 2px solid #ef4444;
    border-radius: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #fff5f5, #ffffff);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.1);
}

/* Calendar Legend for Discount */
.legend-color.discount-available {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border: 1px solid #d97706;
}

/* Discount Price Summary */
.discount-price-summary {
    background: linear-gradient(135deg, #fef2f2, #fff5f5);
    border: 1px solid #ef4444;
}

.discount-price-summary .original-price {
    text-decoration: line-through;
    font-size: 0.8rem;
    color: #9ca3af;
}

.discount-price-summary .sale-price {
    font-size: 1rem;
    font-weight: bold;
}

/* Discount Book Button */
.discount-book-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    position: relative;
    overflow: hidden;
}

.discount-book-btn:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: scale(1.02);
}

.discount-book-btn::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;
}

.discount-book-btn:hover::before {
    left: 100%;
}

/* Calendar Date with Discount Styling */
.fc-day.discount-available {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
    cursor: pointer;
}

.fc-day.discount-available:hover {
    background: linear-gradient(135deg, #fde68a, #fcd34d);
    transform: scale(1.02);
}

/* Responsive */
@media (max-width: 768px) {
    .discount-badge-large {
        font-size: 1rem;
        padding: 4px 12px;
    }
    
    .discount-alert-banner {
        padding: 12px 16px;
    }
    
    .discount-fire-icon {
        width: 36px;
        height: 36px;
    }
    
    .discount-fire-icon i {
        font-size: 18px;
    }
}