/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0F172A; 
}
::-webkit-scrollbar-thumb {
    background: #4F46E5; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4338ca; 
}

/* Glass Effect */
.glass {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Payment Option Selected State */
.payment-option.selected {
    border-color: #4F46E5;
    background-color: rgba(79, 70, 229, 0.1);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

/* Images */
img {
    transition: opacity 0.3s ease-in-out;
}

/* QR Code Animation */
@keyframes qr-appear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.qr-appear {
    animation: qr-appear 0.3s ease-out;
}

/* Timer animation */
@keyframes timer-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.timer-pulse {
    animation: timer-pulse 1s ease-in-out infinite;
}

/* Status badge colors */
.status-pending { 
    background-color: rgba(251, 191, 36, 0.1); 
    color: #fbbf24; 
    border-color: rgba(251, 191, 36, 0.3);
}
.status-processing { 
    background-color: rgba(59, 130, 246, 0.1); 
    color: #3b82f6; 
    border-color: rgba(59, 130, 246, 0.3);
}
.status-completed { 
    background-color: rgba(34, 197, 94, 0.1); 
    color: #22c55e; 
    border-color: rgba(34, 197, 94, 0.3);
}
.status-cancelled { 
    background-color: rgba(239, 68, 68, 0.1); 
    color: #ef4444; 
    border-color: rgba(239, 68, 68, 0.3);
}

/* Line clamp utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Strikethrough price effect */
.line-through {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: #ef4444;
}

/* Discount badge animation */
@keyframes badge-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.discount-badge {
    animation: badge-pulse 2s ease-in-out infinite;
}