body { overflow: hidden; }
.wrapper {filter:blur(12px);}
#loginModal label { display: block; font-size: 12px; font-weight: 600; color: #333; margin-bottom: 7px; letter-spacing: .3px; }
#loginModal input {max-width:100%;}
#loginModal input[type=text], #loginModal input[type=password], #loginModal input[type=email] {
	width: 100%; height: 46px; padding: 0 14px;
	background: #fff; border: 1px solid #e6e6ea; border-radius: 11px;
	font-size: 14px; color: #222; outline: none;
	transition: border-color .15s, box-shadow .15s, background .15s;
}
#loginModal input::placeholder { color: #b3b1bb; }
#loginModal input[type=text]:focus, #loginModal input[type=password]:focus, #loginModal input[type=email]:focus {
	border-color: #ff5b8e; background: #fff; box-shadow: 0 0 0 3px rgba(255,91,142,.13);
}

/* 아이콘 인풋 (로그인 패널) */
.lm-input-wrap { position: relative; }
.lm-input-wrap svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #b8b6bf; pointer-events: none; transition: color .15s; }
.lm-input-wrap input { padding-left: 40px !important; }
.lm-input-wrap input:focus + svg { color: #ff5b8e; }

.lm-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 30000; display: flex; align-items: center; justify-content: center; }
.lm-modal { position: absolute; top: 50%; transform: translateY(-50%); background: #fff; border-radius: 18px; width: 400px; max-width: calc(100vw - 32px); max-height: 90vh; overflow-y: auto; box-shadow: 0 24px 70px rgba(40,30,50,.22); box-sizing: border-box; padding: 18px 26px 22px; }
.lm-tabs { display: flex; padding: 0; border-bottom: 1px solid #eee; gap: 8px; }
.lm-tab { flex:1; background: none; border: none; cursor: pointer; padding: 12px 4px; font-size: 15px; font-weight: 700; color: #b3b1bb; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .15s; }
.lm-tab.active { color: #ff5b8e; border-bottom-color: #ff5b8e; }
.lm-body { padding-top: 22px; }
.lm-panel { display: none; }
.lm-panel.active { display: block; }
.lm-field { margin-bottom: 14px; }
.lm-field-row { display: flex; gap: 8px; }
.lm-field-row input { flex: 1; }
.lm-check-btn { white-space: nowrap; background: #fff; color: #ff5b8e; border: 1px solid #ff5b8e; border-radius: 11px; padding: 0 14px; font-size: 13px; font-weight: 700; cursor: pointer; flex-shrink: 0; transition: background .15s, color .15s; }
.lm-check-btn:hover { background: #ff5b8e; color: #fff; }
.lm-hint { font-size: 12px; margin-top: 5px; display: none; }
.lm-hint.ok { color: #2a9d8f; display: block; }
.lm-hint.err { color: #e63946; display: block; }
.lm-submit { width: 100%; height: 48px; background: linear-gradient(135deg, #ff5b8e, #ff8aae); color: #fff; border: none; border-radius: 11px; font-size: 15px; font-weight: 700; letter-spacing: .5px; cursor: pointer; margin-top: 6px; box-shadow: 0 6px 16px rgba(255,91,142,.28); transition: box-shadow .15s, filter .15s; }
.lm-submit.register { margin: 8px 0 4px; }
.lm-find { display: block; text-align: center; padding-top: 9px; font-size: 12px; color: #999; text-decoration: none; }
.lm-find.lg { padding-top:13px; }
.lm-find-toggle { color: #999; cursor: pointer; }
.lm-find-box { margin-top: 12px; padding: 16px; background: #faf9fb; border: 1px solid #ececef; border-radius: 12px; }
.lm-find-actions { display: flex; gap: 8px; margin-top: 4px; }
.lm-find-btn { flex: 1; height: 44px; background: #fff; color: #555; border: 1px solid #e0e0e4; border-radius: 11px; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .15s; }
.lm-find-btn:hover { background: #f3f3f5; }
.lm-find-btn.primary { background: linear-gradient(135deg, #ff5b8e, #ff8aae); color: #fff; border: none; box-shadow: 0 8px 20px rgba(255,91,142,.3); }
.lm-find-msg { font-size: 12px; margin-top: 10px; text-align: center; color: #666; }
.lm-find-msg:empty { margin-top: 0; }
.lm-find-msg.ok { color: #2a9d8f; }
.lm-find-msg.err { color: #e63946; }
.lm-error { background: #fff5f5; border: 1px solid #f6cccc; border-radius: 10px; padding: 11px 13px; font-size: 12.5px; color: #c0392b; margin-bottom: 14px; display: none; text-align: center; }
.lm-error.register { margin:-3px 0 6px; }
.lm-success { background: #eafaf1; border: 1px solid #a8e6c9; border-radius: 10px; padding: 11px 13px; font-size: 13px; color: #1a6b63; margin-bottom: 14px; display: none; text-align: center; }
.lm-auth-box { border-radius: 14px; text-align: center; margin-bottom: 4px; padding: 22px 16px; background: #fff8fa; border: 1px solid #ffd3e0; }
.lm-auth-box p { font-size: 13px; color: #666; margin: 0 0 16px; line-height: 1.6; }
.lm-auth-btn { width: 100%; height: 48px; background: linear-gradient(135deg, #ff5b8e, #ff8aae); color: #fff; border: none; border-radius: 11px; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 16px rgba(255,91,142,.28); }
.lm-terms-box { border: 1px solid #e6e6ea; border-radius: 11px; height: 90px; overflow-y: auto; padding: 10px 12px; font-size: 12px; color: #555; line-height: 1.6; background: #faf9fb; margin-bottom: 8px; }
.lm-agree-row { display: flex; align-items: center; font-size: 13px; color: #333; margin-bottom: -4px; padding-top: 4px;}

/* 스피너 */
.lm-auth-loading { text-align: center; padding: 32px 16px; display: none; }
.lm-spinner { width: 38px; height: 38px; border: 4px solid #ffd3e0; border-top-color: #ff5b8e; border-radius: 50%; animation: lm-spin .75s linear infinite; margin: 0 auto 14px; }
@keyframes lm-spin { to { transform: rotate(360deg); } }
.lm-auth-loading p { font-size: 13px; color: #999; margin: 0; }

@media (max-width:799px) {
    label {font-size:11px;}
	.wrapper {transform:scale(1.1);}

    .lm-overlay { padding: 16px 0 24px; }
    .lm-modal { max-width: calc(100vw - 34px); max-height: 90%; border-radius: 16px; padding:14px 20px 16px;}
    .lm-tab { font-size: 13px; }
    .lm-find { font-size:11px; }
    .lm-find.lg { font-size:12px; padding-top:14px; }

    .lm-auth-box p {font-size:12px;}
    .lm-auth-btn {font-size:14px;}
}
