/* Popup Styles - BurnPeak to FitBurn */
.fitburn-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fitburn-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.fitburn-popup {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.7) translateY(50px);
    transition: all 0.3s ease;
    border: 3px solid #ffe161;
}

.fitburn-popup-overlay.show .fitburn-popup {
    transform: scale(1) translateY(0);
}

.fitburn-popup-header {
    background: linear-gradient(135deg, #ffe161 0%, #ffd10a 100%);
    padding: 25px;
    border-radius: 17px 17px 0 0;
    text-align: center;
    position: relative;
}

.fitburn-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 18px;
    font-weight: bold;
    color: #614f00;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fitburn-popup-close:hover {
    background: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.fitburn-popup-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #614f00;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
    line-height: 1.1;
}

.fitburn-popup-subtitle {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.1rem;
    color: #614f00;
    margin: 8px 0 0 0;
    font-weight: 500;
}

.fitburn-popup-body {
    padding: 30px 25px;
    text-align: center;
}

.fitburn-popup-image {
    width: 200px;
    height: auto;
    margin: 0 auto 25px auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.fitburn-popup-image:hover {
    transform: scale(1.05);
}

.fitburn-popup-description {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 25px;
    text-align: left;
}

.fitburn-popup-footer {
    padding: 0 25px 25px 25px;
    text-align: center;
}

.fitburn-popup-close-btn {
    background: linear-gradient(135deg, #ffe161 0%, #ffd10a 100%);
    border: 2px solid #614f00;
    color: #614f00;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 225, 97, 0.3);
}

.fitburn-popup-close-btn:hover {
    background: linear-gradient(135deg, #ffd10a 0%, #ffe161 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 225, 97, 0.4);
}

.fitburn-countdown {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fitburn-popup {
        width: 95%;
        margin: 10px;
    }
    
    .fitburn-popup-title {
        font-size: 1.8rem;
    }
    
    .fitburn-popup-subtitle {
        font-size: 1rem;
    }
    
    .fitburn-popup-description {
        font-size: 1.1rem;
    }
    
    .fitburn-popup-image {
        width: 150px;
    }
    
    .fitburn-popup-header,
    .fitburn-popup-body,
    .fitburn-popup-footer {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .fitburn-popup-title {
        font-size: 1.6rem;
    }
    
    .fitburn-popup-description {
        font-size: 1rem;
    }
    
    .fitburn-popup-image {
        width: 120px;
    }
    
    .fitburn-popup-header,
    .fitburn-popup-body,
    .fitburn-popup-footer {
        padding: 15px;
    }
}

/* Animation for popup entrance */
@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.7) translateY(50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.fitburn-popup-overlay.show .fitburn-popup {
    animation: popupFadeIn 0.3s ease forwards;
}

