/* ══════════════════════════════════════════════
   ROBIX Member Skin — Light Theme
   Primary #1a3a6b | Accent #e8510a
══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700&display=swap');

:root {
  --primary:   #1a3a6b;
  --primary-l: #eef2f9;
  --primary-m: #d0daf0;
  --accent:    #e8510a;
  --accent-l:  #fff3ee;
  --accent2:   #d44608;
  --text:      #1e293b;
  --sub:       #475569;
  --muted:     #94a3b8;
  --border:    #e2e8f0;
  --bg:        #f8fafc;
  --white:     #ffffff;
  --red:       #ef4444;
  --green:     #16a34a;
  --radius:    10px;
  --shadow:    0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg: 0 4px 6px rgba(0,0,0,.05), 0 10px 40px rgba(0,0,0,.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  font-size: 14px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent); }

/* ── 페이지 래퍼 ── */
.rb-page {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 16px 64px;
  background: var(--bg);
}
.rb-page-inner { width: 100%; max-width: 560px; }

/* ── 카드 ── */
.rb-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  box-shadow: var(--shadow);
}

/* ── 팝업 창 공통 ── */
.new_win {
  background: var(--white);
  color: var(--text);
  min-height: 100vh;
}
#win_title {
  background: var(--primary);
  color: #fff;
  padding: 13px 18px;
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: .02em;
}
#win_title svg, #win_title i { opacity: .8; }
.new_win_con { padding: 18px; }

/* ── 폼 ── */
.rb-form-group { margin-bottom: 14px; }
.rb-label,
.rb-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--sub);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.rb-input,
input[type=text]:not([class*="search"]),
input[type=password],
input[type=email],
input[type=tel],
textarea,
select {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 13px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.rb-input:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=tel]:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,58,107,.1);
}
.rb-input::placeholder,
input::placeholder { color: var(--muted); }
textarea { resize: vertical; min-height: 88px; }
input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #fff inset; -webkit-text-fill-color: var(--text); }

/* ── 버튼 ── */
.btn_submit,
input[type=submit].btn_submit,
input[type=submit] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  height: 44px;
  background: var(--primary);
  border: none;
  border-radius: var(--radius);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .15s, transform .1s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(26,58,107,.25);
}
.btn_submit:hover,
input[type=submit]:hover {
  background: #152f58;
  box-shadow: 0 4px 14px rgba(26,58,107,.35);
  transform: translateY(-1px);
}
.btn_submit:active { transform: none; }

/* 액센트 버튼 */
.btn_submit.accent { background: var(--accent); box-shadow: 0 2px 8px rgba(232,81,10,.25); }
.btn_submit.accent:hover { background: var(--accent2); box-shadow: 0 4px 14px rgba(232,81,10,.35); }

.btn_close,
button.btn_close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  height: 42px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--sub);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: .15s;
}
.btn_close:hover { background: var(--bg); border-color: #c0cfe0; color: var(--text); }

.btn, a.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 14px; height: 34px;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 7px; color: var(--sub); font-size: 12.5px;
  font-family: inherit; cursor: pointer; transition: .15s; text-decoration: none;
}
.btn:hover, a.btn:hover { border-color: var(--primary); color: var(--primary); }
.btn_b02, a.btn_b02 { background: var(--accent-l); border-color: rgba(232,81,10,.3); color: var(--accent); }
.btn_b02:hover, a.btn_b02:hover { background: rgba(232,81,10,.15); }

/* 버튼 행 */
.win_btn {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

/* ── 체크박스·라디오 ── */
input[type=checkbox], input[type=radio] {
  accent-color: var(--primary);
  width: 15px; height: 15px; cursor: pointer;
  flex-shrink: 0;
}

/* ── 안내 텍스트 ── */
.win_desc, p.win_desc {
  font-size: 12px; color: var(--muted);
  padding: 8px 18px; line-height: 1.7;
}
.frm_info {
  font-size: 11.5px; color: var(--muted);
  margin-top: 5px; line-height: 1.6;
}

/* ── 탭 ── */
.win_ul {
  display: flex; list-style: none;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.win_ul li a {
  display: block; padding: 10px 16px;
  font-size: 12.5px; font-weight: 500; color: var(--muted);
  transition: color .15s; white-space: nowrap;
}
.win_ul li.selected a {
  color: var(--primary); font-weight: 700;
  border-bottom: 2px solid var(--primary);
}
.win_ul li a:hover { color: var(--primary); }

/* ── 목록 ── */
.list_01 ul { list-style: none; }
.list_01 li {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  display: flex; flex-wrap: wrap; gap: 5px; align-items: center;
}
.list_01 li:last-child { border-bottom: none; }
.list_01 li:hover { background: var(--bg); }
.empty_li, li.empty_table {
  text-align: center; color: var(--muted);
  padding: 32px 16px; font-size: 13px;
}

/* ── 테이블 ── */
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 13px; border-bottom: 1px solid var(--border); font-size: 13px; text-align: left; }
th { background: var(--bg); font-weight: 600; color: var(--sub); font-size: 12px; white-space: nowrap; }
tr:last-child td { border-bottom: none; }

/* ── 페이지네이션 ── */
.pg_wrap, #pg_wrap {
  display: flex; justify-content: center; gap: 4px; padding: 14px 0;
}
.pg_wrap a, .pg_wrap strong,
#pg_wrap a, #pg_wrap strong {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 6px;
  font-size: 12px; border: 1px solid var(--border);
  background: var(--white); color: var(--sub); text-decoration: none; transition: .15s;
}
.pg_wrap a:hover { border-color: var(--primary); color: var(--primary); }
.pg_wrap strong, #pg_wrap strong { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── sound_only ── */
.sound_only { position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0); }

@media (max-width: 480px) {
  .rb-card { padding: 22px 16px; }
  .new_win_con { padding: 14px; }
}


.btn_cancels{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  height: 44px;
  background: #969696;
  border: none;
  border-radius: var(--radius);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .15s, transform .1s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(26,58,107,.25);
}
.btn_cancel:hover,
input[type=submit]:hover {
  background: #152f58;
  box-shadow: 0 4px 14px rgba(26,58,107,.35);
  transform: translateY(-1px);
}