/**
 * Welcome Popup CSS
 */

.welcome-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.welcome-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.welcome-popup-container {
    background-color: #fff;
    border-radius: 0;
    box-shadow: none;
    max-width: 100%;
    width: 100%;
    height: 100vh;
    position: relative;
    animation: welcomePopupFadeIn 0.5s ease forwards;
    overflow-y: hidden;
}

.welcome-popup-content {
    padding: 40px;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.welcome-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
    width: 100%;
}

.welcome-popup-content h2 {
    margin: 0;
    color: #333;
    font-size: 28px;
    text-align: left;
}

.welcome-popup-body {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
    flex: 1;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.welcome-popup-body p {
    margin-bottom: 15px;
    max-width: none;
    width: 100%;
}

.welcome-popup-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;
    max-height: 60vh;
    object-fit: contain;
}

.welcome-popup-footer {
    text-align: center;
}

.welcome-popup-button {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.welcome-popup-button:hover {
    background-color: #005a87;
}

/* Animation */
@keyframes welcomePopupFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Countdown Timer */
.welcome-popup-countdown {
    font-size: 14px;
    color: #777;
    margin-top: 0px;
    position: absolute;
    right: 0;
    top: 100%;
}

/* Responsive Styles */
@media (max-width: 600px) {
    .welcome-popup-container {
        width: 100%;
    }
    
    .welcome-popup-content {
        padding: 20px;
    }
    
    .welcome-popup-content h2 {
        font-size: 20px;
    }
    
    .welcome-popup-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 30px;
    }
    
    .welcome-popup-button {
        margin-top: 10px;
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .welcome-popup-countdown {
        right: auto;
        left: 0;
        top: calc(100% + 10px);
    }
    
    .welcome-popup-logo {
        max-width: 200px;
        margin-bottom: 15px;
    }
}

@media (max-height: 700px) {
    .welcome-popup-content {
        padding: 20px;
    }
    
    .welcome-popup-body {
        font-size: 0.9em;
    }
    
    .welcome-popup-content h2 {
        font-size: 20px;
    }
}

.welcome-popup-logo {
    max-width: 300px;
    display: flex;
    align-items: center;
}

.welcome-popup-logo img {
    max-width: 100%;
    height: auto;
    display: block;
    max-height: 80px;
} 