/**
 * popup.css – Stile für Popups
 * Version 1.1 – Weight-Mode Popup
 */

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

.popup-box {
    background: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.popup-box h2 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.4rem;
}

.popup-box p {
    color: #666;
    margin-bottom: 20px;
}

.popup-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.popup-btn {
    padding: 10px 20px;
    border: 2px solid #d0c0b0;
    border-radius: 6px;
    background: #faf3e8;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.popup-btn:hover {
    background: #e8ddd0;
    border-color: #4a7a9a;
}

.popup-btn:active {
    transform: scale(0.97);
}

#popup-close,
#weight-mode-close {
    padding: 8px 24px;
}