@charset "UTF-8";
/* [SR-077] 모두의 토론회 로그인 모달 (WEB-INF/views/moduTalk/_loginModal.jsp).
   웹접근성: JSP 본문 안 <style> 대신 templates/modutalk/Frame.jsp head 에서 로드 (모달이 토론회 모든 화면에 include 되므로 항상 로드) */
#mtLoginModal{display:none;position:fixed;inset:0;z-index:100010;background:rgba(0,0,0,.5);overscroll-behavior:contain}
#mtLoginModal.is-open{display:block}
#mtLoginModal .mt-lm-dialog{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;width:520px;max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);background:#fff;border-radius:12px;box-shadow:0 12px 32px rgba(0,0,0,.25);outline:0;overflow:hidden}
#mtLoginModal .mt-lm-head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #e5e5e5}
#mtLoginModal .mt-lm-head h2{margin:0;font-size:20px;font-weight:700;color:#111}
#mtLoginModal .mt-lm-close{width:36px;height:36px;border:0;background:transparent;font-size:26px;line-height:1;color:#555;cursor:pointer;border-radius:6px}
#mtLoginModal .mt-lm-close:focus-visible,#mtLoginModal .mt-lm-btn:focus-visible,#mtLoginModal .mt-lm-input:focus-visible{outline:3px solid #1a56db;outline-offset:2px}
#mtLoginModal .mt-lm-body{word-break:keep-all;flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:18px 20px}
#mtLoginModal .mt-lm-msg{margin:0 0 10px;padding:10px 12px;border-radius:8px;background:#fff6e5;color:#7a4b00;font-size:14px;font-weight:600}
#mtLoginModal .mt-lm-msg:empty{display:none}
#mtLoginModal .mt-lm-desc{margin:0 0 14px;font-size:14px;line-height:1.6;color:#444}
#mtLoginModal .mt-lm-desc strong{color:#1a3598}
#mtLoginModal .mt-lm-state{padding:24px 0;text-align:center;font-size:14px;color:#666}
#mtLoginModal .mt-lm-state.inline{padding:10px 0 0;text-align:left}
#mtLoginModal .mt-lm-error{color:#c62828}
#mtLoginModal .mt-lm-ok{color:#1b7f3b}
#mtLoginModal .mt-lm-center{text-align:center;padding:8px 0 4px}
#mtLoginModal .mt-lm-center p{margin:0 0 16px;font-size:15px;line-height:1.6;color:#333}
#mtLoginModal .mt-lm-btns{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
#mtLoginModal .mt-lm-btn{min-width:120px;height:44px;padding:0 18px;border-radius:8px;border:1px solid #1a3598;background:#1a3598;color:#fff;font-size:15px;font-weight:600;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
#mtLoginModal .mt-lm-btn.line{background:#fff;color:#1a3598}
#mtLoginModal .mt-lm-btn.gray{background:#f1f3f5;border-color:#ced4da;color:#333;min-width:96px}
#mtLoginModal .mt-lm-btn[disabled]{opacity:.5;cursor:default}
#mtLoginModal .mt-lm-sub{margin:12px 0 0;font-size:13px;color:#666;text-align:center}
#mtLoginModal .mt-lm-sub a{color:#1a3598;text-decoration:underline}
#mtLoginModal .mt-lm-steps{display:flex;gap:6px;margin:0 0 14px;padding:0;list-style:none;font-size:12px;color:#888}
#mtLoginModal .mt-lm-steps li{flex:1 1 0;padding:6px 0;border-bottom:3px solid #e5e5e5;text-align:center}
#mtLoginModal .mt-lm-steps li.on{color:#1a3598;font-weight:700;border-color:#1a3598}
#mtLoginModal .mt-lm-field label{display:block;margin:0 0 6px;font-size:14px;font-weight:700;color:#222}
#mtLoginModal .mt-lm-field label span{color:#c62828}
#mtLoginModal .mt-lm-row{display:flex;gap:8px}
#mtLoginModal .mt-lm-input{flex:1 1 auto;min-width:0;height:44px;padding:0 12px;border:1px solid #bbb;border-radius:8px;font-size:15px}
#mtLoginModal .mt-lm-help{margin:8px 0 0;font-size:13px;line-height:1.5;color:#666}
#mtLoginModal .mt-lm-foot{flex:0 0 auto;padding:14px 20px;border-top:1px solid #e5e5e5;font-size:14px;color:#555;text-align:center}
#mtLoginModal .mt-lm-foot a{color:#1a3598;font-weight:700;text-decoration:underline;margin-left:6px}
#mtLoginModal #anyidc{max-width:100%}
/* Any-ID 모듈 보정: 로그인 화면용 카드 폭(144px 고정)을 모달 폭에 맞춤, 모달 설명과 겹치는 제목 숨김 */
#mtLoginModal #anyidc .tit-wrap,#mtLoginModal #anyidc .sr-only{display:none!important}
#mtLoginModal #anyidc .tab-area{padding-top:0!important}
#mtLoginModal #anyidc .certify-type{display:flex!important;flex-wrap:wrap!important;gap:12px!important;width:100%!important;margin:0!important}
#mtLoginModal #anyidc .certify-type>li{flex:1 1 0!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important}
#mtLoginModal #anyidc .certify-type>li .login-link{width:100%!important}
#mtLoginModal #anyidc .certify-type>li .type-tit{word-break:keep-all}
html.mt-lm-open,html.mt-lm-open body{overflow:hidden!important}
@media (max-width:480px){
#mtLoginModal .mt-lm-head{padding:14px 16px}
#mtLoginModal .mt-lm-head h2{font-size:18px}
#mtLoginModal .mt-lm-body{padding:14px 16px}
#mtLoginModal .mt-lm-btns .mt-lm-btn{flex:1 1 auto;min-width:0}
#mtLoginModal #anyidc .certify-type>li{flex:1 1 100%!important}
}
