/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-container {
    background-color: #f8f0dd; /* Cream color matching main-block */
    border: 3px solid #8B4513; /* Brown border */
    border-radius: 15px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.popup-message {
    color: #8B4513; /* Brown text */
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    color: #8B4513;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.popup-close:hover {
    transform: scale(1.2);
}

/* Animation for popup */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .popup-container {
        padding: 20px;
        max-width: 300px;
    }
    
    .popup-message {
        font-size: 1rem;
    }
}