
#exitModal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0,0,0,.65);
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.exit-box {
    width: 100%;
    max-width: 360px;
    background: #fff;
    border-radius: 16px;
    padding: 28px 22px;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,.25);
    animation: popup .3s ease;
}

@keyframes popup {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.exit-title {
    font-size: 23px;
    font-weight: bold;
    color: #222;
    margin-bottom: 12px;
}

.exit-desc {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
    margin-bottom: 20px;
}

.countdown {
    font-size: 38px;
    font-weight: bold;
    color: #16a34a;
    margin: 15px 0;
}

.countdown span {
    font-size: 16px;
}

.progress {
    width: 100%;
    height: 7px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
    margin: 18px 0;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: #16a34a;
    transition: width 1s linear;
}

.exit-btn {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.stay-btn {
    background: #16a34a;
    color: white;
}

.leave-btn {
    background: #f1f1f1;
    color: #888;
}

.leave-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}
