/* Notification Popup Styles */
.popup-overlay {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    /* border: 1px solid #fff; */
}

.popup-container {
    background-color: #2196F3;
    /* Dark blue specific to image */
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    text-align: center;
    position: relative;
    color: #ffffff;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    font-family: 'Arial', sans-serif;
    /* Fallback */
    animation: popupFadeIn 0.5s;
    border: 5px solid #fe0000;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    color: #ffffff;
    cursor: pointer;
    border: 2px solid white;
    width: 30px;
    height: 30px;
    line-height: 26px;
    text-align: center;
    display: block;
}

.close-btn:hover {
    color: #ff8fa3;
    border-color: #ff8fa3;
}

.popup-header {
    font-size: 30px;
    font-weight: bolder;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: #000;
    line-height: 38px;
}

.discount-text {
    font-size: 47px;
    font-weight: 800;
    color: #cd0025;
    /* Pink color */
    margin: 0;
    line-height: 1.1;
    animation: pulseHighlight 1s infinite alternate;
}

@keyframes pulseHighlight {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.sub-discount-text {
    font-size: 24px;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #ffffff;
}

.divider {
    border: 0;
    height: 1px;
    background: #ffffff;
    width: 80%;
    margin: 20px auto;
    opacity: 0.5;
}

.popup-form input[type="email"] {
    width: 80%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
}

.popup-form button {
    background-color: #ff8fa3;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    width: 60%;
    transition: background-color 0.3s;
}

.popup-form button:hover {
    background-color: #ff708a;
}

.countdown-container {
    margin-top: 25px;
}

.countdown-timer {
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 2px;
}

.countdown-labels {
    font-size: 28px;
    color: #ff1111;
    margin-top: 5px;
}

.countdown-labels span {
    margin: 0 10px;
}

/* Decorative stars (simplified for CSS) */
.star {
    position: absolute;
    color: #ff0000;
    font-size: 24px;
    opacity: 0.8;
}

.star.pink {
    color: #ff8fa3;
}

.star-1 {
    top: 20px;
    left: 20px;
    font-size: 40px;
    transform: rotate(-15deg);
}

.star-2 {
    top: 60px;
    left: 60px;
    font-size: 20px;
}

.star-3 {
    top: 80px;
    left: 30px;
    font-size: 15px;
}

.star-4 {
    top: 70px;
    right: 40px;
    font-size: 30px;
    transform: rotate(15deg);
}

.star-5 {
    top: 30px;
    right: 80px;
    font-size: 15px;
}

.popup-container h2 {
    font-size: 24px;
    line-height: 15px;
    color: #e00000;
    font-weight: 900;
}

.popup-container h3 {
    font-size: 24px;
    line-height: 15px;
    color: #e00000;
}

/* Responsive */
@media (max-width: 600px) {
    .popup-container {
        padding: 20px;
        width: 95%;
    }

    .discount-text {
        font-size: 40px;
    }

    .popup-form input[type="email"],
    .popup-form button {
        width: 100%;
    }
}