/* Custom Popup/Alert Styles - Minimalist */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.2s ease;
}

.popup-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.popup-container {
    background-color: #fff;
    border: 2px solid #2c2c2c;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
    position: relative;
    animation: slideIn 0.2s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
}

.popup-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 18px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c2c2c;
}

.popup-title i {
    font-size: 20px;
}

.popup-title.error i {
    color: #e63946;
}

.popup-title.success i {
    color: #2A9D8F;
}

.popup-title.warning i {
    color: #F4A259;
}

.popup-title.info i {
    color: #2B7DE9;
}

.popup-close {
    background: none;
    border: none;
    color: #666;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.popup-close:hover {
    color: #2c2c2c;
}

.popup-body {
    padding: 20px;
}

.popup-message {
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    margin: 0;
}

.popup-footer {
    padding: 15px 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
}

.popup-btn {
    padding: 10px 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.popup-btn-primary {
    background-color: #2A9D8F;
    color: #fff;
    box-shadow: 3px 3px 0 #1e7267;
}

.popup-btn-primary:hover {
    background-color: #238276;
}

.popup-btn-primary:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 #1e7267;
}

/* Responsive Design */
@media (max-width: 768px) {
    .popup-container {
        width: 95%;
        max-width: none;
        margin: 20px;
    }

    .popup-header {
        padding: 18px;
    }

    .popup-title {
        font-size: 16px;
    }

    .popup-body {
        padding: 18px;
    }

    .popup-footer {
        padding: 15px 18px;
    }

    .popup-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .popup-container {
        box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
    }

    .popup-title {
        font-size: 15px;
    }

    .popup-message {
        font-size: 14px;
    }
}


