/* Register page - match reference style */
:root{--green:#03c75a;--blue:#2563eb;--gray:#6b7280;--line:#e5e7eb;--bg:#f6f8fb}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:'Pretendard',system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;background:#fff;color:#111827}

.rg-top{border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:10}
.rg-top .rg-inner{max-width:980px;margin:0 auto;padding:14px 16px}
.rg-title{margin:0;font-size:18px;font-weight:600}

.rg-wrap{max-width:980px;margin:0 auto;padding:16px}
.rg-sec{border:1px solid #d5dae0;border-radius:6px;margin-bottom:14px}
.rg-sec-head{background:#f3f6fa;color:#111827;border-bottom:1px solid #d5dae0;padding:10px 12px;font-weight:700}
.rg-sec-body{padding:8px 12px}
.rg-row{display:flex;align-items:flex-start;border-top:1px solid #eef1f4}
.rg-row:first-child{border-top:0}
.rg-row .th{width:140px;padding:12px 8px;color:#111827;font-weight:700}
.rg-row .th.req::before{content:'* ';color:#e11d48;font-weight:700}
.rg-row .td{flex:1;padding:10px 8px}
.rg-row .td.grid{display:flex;gap:8px;flex-wrap:wrap;align-items:center}

.ipt,.sel,.ta{border:1px solid #cfd5db;border-radius:4px;padding:8px 10px;font-size:14px}
.ipt:focus,.sel:focus,.ta:focus{outline:0;border-color:#90caf9;box-shadow:0 0 0 3px rgba(144,202,249,.25)}
.ta{width:100%}
.w60{width:60px}.w80{width:80px}.w100{width:100px}.w120{width:120px}.w140{width:140px}.w160{width:160px}.w320{width:320px}.w360{width:360px}.w520{width:520px}

.btn{background:var(--green);color:#fff;border:0;border-radius:6px;padding:8px 14px;font-weight:700;cursor:pointer}
.btn:hover{filter:brightness(1.03)}
.btn.line{background:#fff;color:#111827;border:1px solid #cfd5db}
.btn.gray{background:#eef2f7;color:#111827}
.btn.sm{padding:6px 10px;font-size:13px;border-radius:5px}
.btn.xl{padding:12px 18px;font-size:15px;border-radius:8px}

.r{display:inline-flex;align-items:center;gap:6px;margin-right:14px;color:#111827}
.hint{display:block;color:var(--gray);font-size:12px;margin-top:6px}
.tip{color:#6b7280;font-size:12px;margin-top:6px}
.editor-toolbar{display:flex;gap:6px;margin-bottom:6px}
.editor-toolbar button{border:1px solid #cfd5db;background:#fff;padding:4px 6px;border-radius:4px;cursor:pointer}

.photo-uploader{display:flex;align-items:center;gap:10px}

.rg-actions{display:flex;gap:8px;justify-content:flex-end;margin:18px 0}

@media (max-width: 768px){
  .rg-row{flex-direction:column}
  .rg-row .th{width:auto;padding-bottom:4px}
  .w520{width:100%}
}


