/* 데모 로그인 토글 스위치 */
.auth-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99998;
    background: #1a1a1a;
    border-radius: 14px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    font-size: 13px;
    color: #ccc;
    user-select: none;
}
.auth-toggle_label {
    font-weight: 500;
    white-space: nowrap;
}
.auth-toggle_label--active { color: #fff; font-weight: 700; }
.auth-toggle_switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: #444;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s;
    flex-shrink: 0;
}
.auth-toggle_switch.is-on { background: #2563eb; }
.auth-toggle_switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.auth-toggle_switch.is-on::after { transform: translateX(20px); }

/* 로그인 유도 모달 */
.auth-login-modal_overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    padding: 24px;
}
.auth-login-modal_overlay.is-open { display: flex; }
.auth-login-modal {
    --auth-modal-color: #2563eb;
    --auth-modal-color-dark: #1d4ed8;
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px 32px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0,0,0,0.2);
}
.auth-login-modal_close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.12s, color 0.12s;
}
.auth-login-modal_close:hover { background: #f3f4f6; color: #374151; }
.auth-login-modal_icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--auth-modal-color), var(--auth-modal-color-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-login-modal_icon svg {
    width: 26px;
    height: 26px;
    fill: #fff;
}
.auth-login-modal_title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}
.auth-login-modal_desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}
.auth-login-modal_btns {
    display: flex;
    gap: 10px;
}
.auth-login-modal_btn {
    flex: 1;
    padding: 13px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
    display: block;
    text-align: center;
}
.auth-login-modal_btn--cancel {
    background: #f3f4f6;
    color: #555;
}
.auth-login-modal_btn--cancel:hover { background: #e5e7eb; }
.auth-login-modal_btn--login {
    background: var(--auth-modal-color);
    color: #fff;
}
.auth-login-modal_btn--login:hover { background: var(--auth-modal-color-dark); }

@media (max-width: 480px) {
    .auth-login-modal {
        padding: 28px 20px 22px;
        border-radius: 16px;
        width: 88%;
    }
    .auth-login-modal_icon {
        width: 44px;
        height: 44px;
        margin-bottom: 12px;
    }
    .auth-login-modal_icon svg {
        width: 22px;
        height: 22px;
    }
    .auth-login-modal_title {
        font-size: 16px;
        margin-bottom: 6px;
    }
    .auth-login-modal_desc {
        font-size: 13px;
        margin-bottom: 18px;
    }
    .auth-login-modal_btn {
        padding: 11px;
        font-size: 13px;
    }
}
