/**
 * Smart Splash Screen v2.1.0
 * Additional styles for SweetAlert2 popup
 */

/* Popup container */
.sss-popup {
    position: relative !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Popup shadow */
.sss-popup-shadow {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
}

/* Title styling */
.sss-popup-title {
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
}

/* Button shapes */
.sss-btn-round {
    border-radius: 50px !important;
    padding: 12px 32px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.sss-btn-square {
    border-radius: 8px !important;
    padding: 12px 32px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.sss-btn-pill {
    border-radius: 9999px !important;
    padding: 12px 32px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

/* Button hover effect */
.sss-btn-round:hover,
.sss-btn-square:hover,
.sss-btn-pill:hover {
    transform: translateY(-2px) !important;
    filter: brightness(1.05) !important;
}

/* Close button */
.sss-popup-close {
    transition: all 0.2s ease !important;
    color: #94a3b8 !important;
}

.sss-popup-close:hover {
    transform: scale(1.1) !important;
    color: #1e293b !important;
}

/* Shortcode wrapper */
.sss-shortcode-wrapper {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

/* Timer progress bar */
.swal2-timer-progress-bar {
    background: #6ee7b7 !important;
}

/* Responsive design */
@media (max-width: 640px) {
    .sss-popup {
        padding: 1.5rem !important;
    }
    
    .sss-popup-title {
        font-size: 1.4rem !important;
    }
    
    .sss-btn-round,
    .sss-btn-square,
    .sss-btn-pill {
        padding: 10px 24px !important;
        font-size: 0.9rem !important;
    }
    
    .sss-shortcode-wrapper {
        padding: 15px;
        margin: 15px 0;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .sss-shortcode-wrapper {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        border-color: #334155;
        color: #e2e8f0;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .animate__animated {
        animation: none !important;
    }
    
    .sss-btn-round:hover,
    .sss-btn-square:hover,
    .sss-btn-pill:hover {
        transform: none !important;
    }
}

/* Loading animation */
@keyframes sss-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.sss-loading {
    animation: sss-pulse 1s infinite;
}