/* 大屏退出驗證 Modal — 全頁面共用 */
.exit-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}
.exit-modal.show {
    display: flex;
}
.exit-dialog {
    background: rgba(26,26,46,0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0,180,255,0.2);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    width: 360px;
    max-width: 90vw;
    text-align: center;
    box-sizing: border-box;
}
.exit-dialog h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    color: #fff;
}
.exit-dialog p {
    color: rgba(255,255,255,0.4);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
.exit-dialog .error-msg {
    color: #ef4444;
    font-size: 0.85rem;
    min-height: 1.2em;
    margin-bottom: 0.3rem;
}
.exit-dialog input {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.6rem;
    box-sizing: border-box;
    outline: none;
}
.exit-dialog input:focus {
    border-color: #00d4ff;
    box-shadow: 0 0 0 2px rgba(0,180,255,0.2);
}
.exit-dialog input::placeholder {
    color: rgba(255,255,255,0.3);
}
.exit-dialog .btn-row {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.2rem;
}
.exit-dialog button {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    cursor: pointer;
    font-weight: 500;
}
.exit-dialog .btn-cancel {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
}
.exit-dialog .btn-cancel:hover {
    background: rgba(255,255,255,0.12);
}
.exit-dialog .btn-confirm {
    background: linear-gradient(135deg, #00d4ff, #0090ff);
    color: #fff;
}
.exit-dialog .btn-confirm:hover {
    opacity: 0.9;
}
