/* Futuristic Promo Popup Styles for SweetAlert2 */

/* Note: These styles are for reference only. The current implementation 
   uses inline styles directly in popup.js with SweetAlert2. */

/* Main SweetAlert2 Container */
.swal-popup-custom {
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0,100,200,0.3), 0 0 60px rgba(0,0,0,0.3);
    border: 1px solid rgba(0,179,255,0.2);
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #001a33, #002e4d);
}

/* Animated top border effect */
.swal-popup-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0,179,255,0.6), transparent);
    animation: shineEffect 4s infinite;
}

@keyframes shineEffect {
    0% { left: -150%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Modal Title */
.swal-title-custom {
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(0,179,255,0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(0,179,255,0.2);
    margin-bottom: 10px;
}

/* Confirm Button */
.swal-confirm-btn-custom {
    border-radius: 8px;
    font-weight: bold;
    padding: 12px 24px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2), 0 0 8px rgba(0,179,255,0.4);
    background: linear-gradient(135deg, #0066cc, #004080);
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.swal-confirm-btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0,0,0,0.25), 0 0 12px rgba(0,179,255,0.6);
    background: linear-gradient(135deg, #0077e6, #0055a3);
}

.swal-confirm-btn-custom:active {
    transform: translateY(1px);
}

/* Close Button */
.swal-close-btn-custom {
    color: rgba(255,255,255,0.6);
    transition: all 0.3s ease;
}

.swal-close-btn-custom:hover {
    color: rgba(255,255,255,0.9);
    text-shadow: 0 0 10px rgba(0,179,255,0.7);
}

/* Carousel Styling */
.swal-carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2), 0 0 15px rgba(0,179,255,0.3);
    margin: 0 auto;
}

.swal-carousel-image {
    max-width: 60%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: brightness(1.05) contrast(1.05);
    transform: scale(1);
    transition: transform 0.5s ease;
}

.swal-carousel-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(0,179,255,0.3);
    border-radius: 12px;
    pointer-events: none;
}

/* Countdown Timer Container */
.swal-timer-container {
    text-align: center;
    margin-bottom: 20px;
}

.swal-timer-title {
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #00b3ff;
    text-shadow: 0 0 5px rgba(0,179,255,0.5);
}

.swal-timer-display {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
}

.swal-timer-item {
    position: relative;
    background: linear-gradient(145deg, #001e3c, #003366);
    border: 1px solid rgba(0,179,255,0.3);
    color: white;
    border-radius: 10px;
    padding: 10px 5px;
    min-width: 65px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2), inset 0 1px 1px rgba(255,255,255,0.1);
}

.swal-timer-value {
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1;
    text-shadow: 0 0 10px rgba(0,179,255,0.7);
}

.swal-timer-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 1px;
    opacity: 0.8;
}

.swal-timer-underline {
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #00b3ff, transparent);
}

/* Offer text styling */
.swal-offer-text {
    margin-top: 15px;
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(0,30,60,0.5), rgba(0,30,60,0.2), rgba(0,30,60,0.5));
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #e6f5ff;
    text-shadow: 0 0 5px rgba(0,179,255,0.4);
}

/* "Don't show again" checkbox styling */
.swal-checkbox-label {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.7);
}

.swal-checkbox-input {
    margin-right: 8px;
    accent-color: #00b3ff;
}

.swal-checkbox-text {
    text-shadow: 0 0 2px rgba(0,179,255,0.3);
}

/* Media Queries */
@media (max-width: 768px) {
    .swal-timer-item {
        min-width: 55px;
        padding: 8px 5px;
    }
    
    .swal-timer-value {
        font-size: 1.4rem;
    }
    
    .swal-timer-label {
        font-size: 0.6rem;
    }
}

@media (max-width: 576px) {
    .swal-carousel-image {
        max-width: 80%;
    }
    
    .swal-title-custom {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }
    
    .swal-timer-item {
        min-width: 45px;
        padding: 6px 3px;
    }
    
    .swal-timer-value {
        font-size: 1.2rem;
    }
    
    .swal-timer-label {
        font-size: 0.55rem;
    }
}
