/* 싸인메이트 AI 계약서 약식 검토 - 신청서 (.sm-review 안에서만 적용) */
.sm-review { font-family: "Noto Sans KR", sans-serif; color: #1E1B4B; }
.sm-review * { box-sizing: border-box; }
.smr { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: 24px; background: #FFFFFF; border: 1px solid #ECE7FA; box-shadow: 0 20px 50px rgba(76, 29, 149, .08); }
.smr[hidden], .smr-done[hidden], .smr-wait[hidden], .smr-fail[hidden], .smr [hidden] { display: none !important; }
.smr-step { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 17px; font-weight: 800; }
.smr-step:first-child { margin-top: 0; }
.smr-step span { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #6D28D9; color: #fff; font-size: 13px; }
.smr-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 12px; background: #F1EEF9; }
.smr-tabs button { flex: 1; height: 42px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: #6B6880; cursor: pointer; }
.smr-tabs button.on { background: #fff; color: #6D28D9; font-weight: 800; box-shadow: 0 2px 8px rgba(30, 27, 75, .08); }
.smr-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 150px; padding: 24px; border: 2px dashed #D6CCF8; border-radius: 16px; background: #FAF9FD; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.smr-drop:hover, .smr-drop.is-over { border-color: #6D28D9; background: #F5F1FF; }
.smr-drop.has-file { border-style: solid; border-color: #16A34A; background: #F0FDF4; }
.smr-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.smr-drop b { font-size: 16px; }
.smr-drop small { font-size: 13px; color: #8A87A0; }
.smr-file { font-style: normal; font-size: 14px; font-weight: 700; color: #15803D; }
.smr textarea, .smr input[type="email"], .smr input[type="text"] { width: 100%; padding: 13px 15px; border: 1px solid #E4E2EE; border-radius: 12px; background: #fff; font: inherit; font-size: 15px; color: #1E1B4B; outline: none; transition: border-color .15s, box-shadow .15s; }
.smr textarea { resize: vertical; line-height: 1.6; }
.smr textarea:focus, .smr input:focus { border-color: #6D28D9; box-shadow: 0 0 0 3px rgba(109, 40, 217, .12); }
.smr-field { display: flex; flex-direction: column; gap: 8px; }
.smr-label { font-size: 14px; font-weight: 700; color: #3F3D56; }
.smr-label small { font-weight: 500; color: #8A87A0; }
.smr-label b { color: #DC2626; }
.smr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.smr-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.smr-seg label { position: relative; flex: 1 1 160px; cursor: pointer; }
.smr-seg input { position: absolute; opacity: 0; }
.smr-seg i { display: block; padding: 12px 10px; border: 1px solid #E4E2EE; border-radius: 12px; font-style: normal; font-size: 14px; font-weight: 600; text-align: center; color: #57536E; transition: all .15s; }
.smr-seg input:checked + i { border-color: #6D28D9; background: #F5F1FF; color: #6D28D9; font-weight: 800; }
.smr-seg input:focus-visible + i { outline: 2px solid #6D28D9; outline-offset: 2px; }
.smr-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
.smr-agree { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border-radius: 14px; background: #FAF9FD; font-size: 14px; color: #4B4766; }
.smr-agree label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.smr-agree input { width: 18px; height: 18px; accent-color: #6D28D9; flex: 0 0 auto; }
.smr-agree a { color: #6D28D9; }
.smr-more { margin-left: auto; padding: 2px 10px; border: 1px solid #DDD6FE; border-radius: 999px; background: #fff; font: inherit; font-size: 12px; color: #6D28D9; cursor: pointer; }
.smr-detail { margin: -4px 0 4px 26px; padding: 10px 12px; border-radius: 10px; background: #fff; font-size: 13px; line-height: 1.7; color: #6B6785; }
.smr-msg { margin: 0; padding: 12px 14px; border-radius: 12px; background: #FEF2F2; color: #B91C1C; font-size: 14px; }
.smr-submit { height: 56px; border: 0; border-radius: 14px; background: #6D28D9; color: #fff; font: inherit; font-size: 17px; font-weight: 800; cursor: pointer; box-shadow: 0 12px 26px rgba(109, 40, 217, .28); transition: background .2s, transform .2s; }
.smr-submit:hover { background: #5B21B6; transform: translateY(-1px); }
.smr-submit:disabled { background: #A78BFA; cursor: wait; transform: none; }
.smr-note { margin: -6px 0 0; text-align: center; font-size: 13px; color: #8A87A0; }
/* 진행 · 완료 · 실패 화면 */
.smr-wait, .smr-fail { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 48px 32px; border-radius: 24px; background: #fff; border: 1px solid #ECE7FA; text-align: center; box-shadow: 0 20px 50px rgba(76, 29, 149, .08); }
.smr-wait h3, .smr-fail h3 { margin: 6px 0 0; font-size: 22px; font-weight: 800; }
.smr-spin { width: 56px; height: 56px; border-radius: 50%; border: 5px solid #EDE9FE; border-top-color: #6D28D9; animation: smrSpin 1s linear infinite; }
@keyframes smrSpin { to { transform: rotate(360deg); } }
.smr-stage { margin: 0; font-size: 16px; font-weight: 700; color: #6D28D9; }
.smr-bar { width: 100%; max-width: 420px; height: 8px; border-radius: 999px; background: #EDE9FE; overflow: hidden; margin-top: 6px; }
.smr-bar i { display: block; width: 0; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #8B5CF6, #6D28D9); transition: width 1s linear; }
.smr-elapsed { margin: 0; font-size: 14px; color: #8A87A0; }
.smr-keep { margin: 4px 0 0; font-size: 13px; color: #8A87A0; }
.smr-fail-icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #FEE2E2; color: #DC2626; font-size: 30px; font-weight: 800; }
.smr-fail-text { margin: 0; font-size: 15px; line-height: 1.7; color: #57536E; max-width: 520px; }
.smr-result { width: 100%; max-width: 560px; padding: 18px 20px; border-radius: 16px; background: #F8F6FF; text-align: left; }
.smr-result p { margin: 0 0 8px; }
.smr-result p:last-child { margin: 0; }
.smr-r-title { font-size: 17px; font-weight: 800; color: #1E1B4B; }
.smr-r-risk { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.smr-r-risk b { padding: 3px 10px; border-radius: 8px; color: #fff; background: #6B6785; }
.smr-r-risk b.r-높음 { background: #DC2626; }
.smr-r-risk b.r-보통 { background: #D97706; }
.smr-r-risk b.r-낮음 { background: #2563EB; }
.smr-r-risk span { font-weight: 500; color: #8A87A0; }
.smr-r-sum { font-size: 15px !important; line-height: 1.7; color: #4B4766; }
.smr-download { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 32px; margin-top: 8px; border-radius: 14px; background: #6D28D9; color: #fff !important; font-size: 17px; font-weight: 800; text-decoration: none; box-shadow: 0 12px 26px rgba(109, 40, 217, .28); }
.smr-download:hover { background: #5B21B6; }
.smr-done { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 48px 32px; border-radius: 24px; background: #fff; border: 1px solid #ECE7FA; text-align: center; }
.smr-done-icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #DCFCE7; color: #16A34A; font-size: 30px; font-weight: 800; }
.smr-done h3 { margin: 6px 0 0; font-size: 22px; font-weight: 800; }
.smr-done p { margin: 0; font-size: 15px; line-height: 1.7; color: #57536E; }
.smr-again { margin-top: 10px; padding: 12px 22px; border: 1px solid #DDD6FE; border-radius: 999px; background: #fff; font: inherit; font-size: 15px; font-weight: 600; color: #1E1B4B; cursor: pointer; }
@media (max-width: 767px) {
	.smr { padding: 22px 18px; border-radius: 18px; }
	.smr-row { grid-template-columns: 1fr; }
}
