/* 離脱防止ポップアップ用CSS */
.exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.exit-popup-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 90%;
    width: 500px;
    position: relative;
    animation: popupFadeIn 0.3s ease-out;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.exit-popup-title {
    font-size: 24px;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 20px;
    line-height: 1.4;
}

.exit-popup-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.exit-popup-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.exit-popup-btn-primary {
    background: #e74c3c;
    color: white;
}

.exit-popup-btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.exit-popup-btn-primary.btn-line {
    background: #03ab00;
    color: white;
}

.exit-popup-btn-primary.btn-line:hover {
    background: #03ab00;
    transform: translateY(-2px);
}

.exit-popup-btn-secondary {
    background: #95a5a6;
    color: white;
}

.exit-popup-btn-secondary:hover {
    background: #7f8c8d;
}

/* 後方互換性のため残す */
.exit-popup-btn.primary {
    background: #e74c3c;
    color: white;
}

.exit-popup-btn.primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.exit-popup-btn.secondary {
    background: #95a5a6;
    color: white;
}

.exit-popup-btn.secondary:hover {
    background: #7f8c8d;
}

.exit-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #95a5a6;
    line-height: 1;
}

.exit-popup-close:hover {
    color: #7f8c8d;
}

@media (max-width: 768px) {
    .exit-popup-content {
        padding: 25px 20px;
        width: 85%;
    }
    
    .exit-popup-title {
        font-size: 20px;
    }
    
    .exit-popup-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .exit-popup-btn {
        width: 100%;
        padding: 15px;
    }
} 