/* css/popup.css */

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

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

.popup-content {
    background-color: var(--bg-color-dark); /* Using a dark background variable from your theme */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.popup-content h2 {
    color: var(--text-color-primary);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.popup-content p {
    color: var(--text-color-secondary);
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 25px;
}

.popup-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2em;
    color: var(--text-color-secondary);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.popup-close-btn:hover {
    color: var(--primary-color);
}

.popup-confirm-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.popup-confirm-btn:hover {
    background-color: var(--primary-color-dark); /* Assuming a darker shade for hover */
}
