@charset "utf-8";

/* 공통 */
.credit-body{
  max-width:1100px;
  margin:0 auto;
}

:root{
  --bg:#ffffff;
  --card:#ffffff;
  --line:#e8edf3;
  --text:#111827;
  --muted:#d93025;
  --blue:#2563eb;
  --blueDeep:#1e3a8a;
  --shadow:0 14px 38px rgba(17,24,39,.08);
  --radius:20px;
}

/* 스크린리더 */
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); border:0;
}

/* 상단 카드 그리드 */
.reg-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap:28px;
  align-items:stretch;
}

.reg-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:34px 34px 30px;
  min-height:260px;
}

.reg-head{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-bottom:22px;
}

.reg-ico{
  width:58px; height:58px;
  border-radius:16px;
  background:#f5f7fb;
  border:1px solid #edf1f7;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 22px rgba(17,24,39,.08);
  color:#1f2937;
}
.reg-ico svg{ width:28px; height:28px; }

.reg-title{
  font-size:22px;
  font-weight:800;
  letter-spacing:-0.3px;
  color:var(--text);
}

/* 회원 폼 */
.reg-form{
  display:grid;
  gap:12px;
  max-width:420px;
}

.reg-input{
  height:50px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  padding:0 16px;
  font-size:15px;
  outline:none;
}
.reg-input::placeholder{ color:#9ca3af; }
.reg-input:focus{
  border-color:#c7d2fe;
  box-shadow:0 0 0 4px rgba(37,99,235,.12);
}

/* 비회원 버튼 정렬 */
.reg-actions{
  display:flex;
  align-items:flex-start;
}

/* 안내 문구 */
.reg-note{
  margin:14px 2px 34px;
  color:#ef4444;
  font-size:18px;
  font-weight:600;
  text-align:center;
}

/* 버튼: 애플 느낌 */
.btn{
  height:50px;
  padding:0 18px;
  border-radius:14px;
  border:1px solid #d7deea;
  background:#fff;
  font-weight:700;
  font-size:14px;
  color:#111827;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{
  background:#f6f8fc;
  box-shadow:0 10px 22px rgba(17,24,39,.08);
  transform: translateY(-1px);
}
.btn:active{ transform: translateY(0); box-shadow:none; }

.btn-primary{
  border:none;
  background:linear-gradient(180deg,#2f6fed,#1d4ed8);
  color:#fff;
  width:140px;
  justify-self:start;
}
.btn-primary:hover{ background:linear-gradient(180deg,#2b66e0,#1b46c8); }

.btn-ghost{
  width:140px;
}

.btn-pill{
  height:44px;
  border-radius:999px;
  padding:0 18px;
  font-weight:700;
  font-size:13px;
  background:#fff;
}
.btn-primary-soft{
  background:linear-gradient(180deg,#2f6fed,#1d4ed8);
  border:none;
  color:#fff;
}
.btn-primary-soft:hover{ 
  background:linear-gradient(180deg,#2b66e0,#1b46c8); 
  border:none;
  color:#fff;
}

/* 승인 절차 */
.flow{
  margin-top:10px;
}

.flow-title{
  font-size:26px;
  font-weight:900;
  letter-spacing:-0.6px;
  margin:0 0 14px;
}

.flow-box{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px 18px 16px;
  box-shadow:0 10px 26px rgba(17,24,39,.06);
  margin-top:14px;
}

.flow-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}

.flow-label{
  font-weight:800;
  color:#111827;
}

.step{
  display:flex;
  align-items:stretch;
  gap:12px;
  flex-wrap:wrap;
}

.step-item{
  flex:1;
  background:#f7f9fc;
  border:1px solid #e7edf6;
  border-radius:16px;
  padding:14px 14px;
  text-align:center;
  font-weight:800;
  color:#111827;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1.25;
}

.step-item-w1{min-width:300px;}
.step-item-w2{min-width:100px;}

.step-item.is-strong{
  background:linear-gradient(180deg,#153a74,#0f2f61);
  color:#fff;
  border:none;
}

.step-arrow{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:22px;
  color:#6b7280;
  font-weight:900;
}

.flow-desc{
  margin:4px 4px 0;
  color:#111827;
  font-size:14px;
  font-weight:600;
  line-height:1.6;
}

/* 반응형 */
@media (max-width:980px){
  .reg-grid{ grid-template-columns:1fr; }
  .reg-form{ max-width:100%; }
  .step-item{ min-width:160px; }
}
@media (max-width:520px){
  .reg-card{ padding:26px 22px; }
  .flow-title{ font-size:22px; }
  .step-arrow{ display:none; }
  .step{ gap:10px; }
}







/* ===== 04. 사전등록 ===== */


:root{
    --line:#35b9d6;      /* ✅ 아젠다 라인색 참고 */
    --breakbg:#f3fbfe;   /* ✅ Break 배경색 */
    --border:#e6e8ee;
    --labelbg:#f7f8fa;
    --text:#111;
    --muted:#667085;
    --primary:#1f4bb8;
  }

  .reg-form-box{
    border:1px solid var(--border);
    border-radius:0;          /* ✅ 둥근 모서리 제거 */
    overflow:hidden;
    background:#fff;
  }

  /* ===== Row layout (PC: 2 columns, Mobile: stacked) ===== */
  .form-row{
    display:grid;
    grid-template-columns: 240px 1fr;
    border-top:1px solid var(--border);
  }
  .form-row:first-child{ border-top:none; }

  .form-label{
    background:var(--labelbg);
    padding:18px 18px;
    font-weight:800;
    display:flex;
    align-items:center;
    gap:8px;
    border-right:1px solid var(--border);
    word-break:keep-all;
  }
  .req{
    color:#d92d20;
    font-weight:900;
  }

  .form-field{
    padding:16px 18px;
  }

  /* ===== Inputs ===== */
  .input_regis, .select_regis{
    width:100%;
    height:42px;
    border:1px solid #d9dce6;
    border-radius:10px;
    padding:0 12px;
    outline:none;
    background:#fff;
  }
  .input_regis:focus, .select_regis:focus{
    border-color:var(--primary);
    box-shadow:0 0 0 3px rgba(31,75,184,.12);
  }

  .row-flex{
    display:flex;
    gap:10px;
    align-items:center;
    flex-wrap:wrap;
  }
  .row-flex > *{flex:0 0 auto;}
  .row-flex .mini{ flex:0 0 90px; min-width:90px; }

/*
  .inline-at{
  flex:0 0 20px;
  text-align:center;
  }*/


/* ===== Phone Row ===== */
.phone-row{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:nowrap;              /* ✅ PC 한 줄 고정 */
}

.phone-prefix{
  flex:0 0 110px;
  width:110px;
}

.phone-mid,
.phone-last{
  flex:0 0 260px;                /* ✅ PC에서 너무 길면 이 값 조정 */
  width:260px;
}

/* ✅ 태블릿/작은 화면: 적당히 줄어들게 */
@media (max-width:900px){
  .phone-mid,
  .phone-last{
    flex:1;
    width:auto;                  /* 남는 공간 채우되, 줄바꿈은 안함 */
    min-width:140px;
  }
}

/* ✅ 모바일: 3칸 한 줄 유지(최대한) */
@media (max-width:768px){
  .phone-row{
    display:flex;
    flex-wrap:nowrap;   /* 줄바꿈 금지 */
    gap:8px;
    width:100%;
  }

  .phone-prefix{
    flex:0 0 84px;
    width:84px;
  }

  .phone-mid,
  .phone-last{
    flex:1 1 0;
    width:0;            /* ✅ 핵심 */
    min-width:0 !important; /* ✅ 핵심 */
  }
}  }
}




  /* ===== Email Row (PC/모바일 안정형) ===== */
.email-row{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:nowrap;          /* ✅ PC는 무조건 한 줄 */
}

.email-at{
  flex:0 0 18px;             /* ✅ @ 폭 줄이기 */
  width:18px;
  text-align:center;
  font-weight:900;
  color:#98a2b3;
  line-height:1;
}

.email-id{ flex:0 0 260px; width:260px; }
.email-domain{ flex:0 0 260px; width:260px; }
.email-select{ flex:0 0 140px; width:140px; }

/* ===== Mobile: 2줄로 정리 ===== */
@media (max-width:768px){
  .email-row{
    display:grid;
    grid-template-columns: 1fr 18px 1fr; /* 아이디 @ 도메인 */
    gap:10px 8px;
    align-items:center;
  }

  .email-id{ width:100%; flex:auto; }
  .email-domain{ width:100%; flex:auto; }

  .email-select{
    grid-column: 1 / -1;      /* ✅ 선택박스는 2번째 줄 전체 */
    width:100%;
    flex:auto;
  }

  .email-at{
    justify-self:center;
    width:18px;
  }
}



  /* ===== Radio grid (구분) ===== */
  .radio-grid{
    display:grid;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap:10px 16px;
    padding-top:4px;
  }
  .r-item{
    display:flex;
    align-items:center;
    gap:8px;
    white-space:nowrap;
  }
  .r-item input_regis{ width:18px; height:18px; }

  /* ===== Payment (무통장입금) ===== */
  .pay-title{
    display:inline-flex;
    align-items:center;
    gap:8px;
	font-size:14px;
    font-weight:900;
    color:#0b5a6a;
    background:var(--breakbg);         /* ✅ #f3fbfe 활용 */
    border:1px solid rgba(53,185,214,.35);
    padding:8px 12px;
    border-radius:10px;
    margin-bottom:12px;
  }

  .pay-grid{
    display:grid;
    grid-template-columns: 1fr;
    gap:10px;
  }

  .pay-row{
    display:flex;
    gap:10px;
    align-items:center;
    flex-wrap:wrap;
  }
  .pay-row .mini{ flex:0 0 110px; }
  .pay-row .wide{ flex:1; min-width:200px; }

  .hint{
    font-size:16px;
    /*color:var(--muted);*/
	color:#d93025;
    margin-top:8px;
    line-height:1.5;
  }

  /* ===== Fee section (등록비 구분) ===== */
  .fee-block{
    border:1px solid rgba(53,185,214,.5); /* ✅ 라인색 참고 */
    background:#fff;
  }
  .fee-group{
    padding:14px 14px;
  }
  .fee-group + .fee-group{
    border-top:1px dashed rgba(53,185,214,.55); /* ✅ 구분선 */
    margin-top:10px;
    padding-top:18px;
  }
  .fee-group-title{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-weight:900;
    font-size:14px;
    margin-bottom:10px;
    color:#0b5a6a;
    background:var(--breakbg); /* ✅ #f3fbfe */
    padding:6px 10px;
    border:1px solid rgba(53,185,214,.35);
    border-radius:10px;
  }

  .fee-list{
    display:grid;
    gap:10px;
  }
  .fee-item{
    display:flex;
    align-items:flex-start;
    gap:10px;
    line-height:1.2;
    word-break:keep-all;
  }
  input.input_regis_radio{ width:18px; height:18px; margin-top:2px;}
  .fee-item b{ font-weight:900; }

  .fee-subnote{
    font-size:12.5px;
    color:var(--muted);
    margin-top:8px;
    line-height:1.5;
  }

  /* ===== Account bar ===== */
  .account-bar{
    border-top:1px solid var(--border);
    background:#fbf5df;
    padding:14px 18px;
    font-weight:800;
    font-size:14px;
    line-height:1.5;
  }

  /* ===== Submit ===== */
  .submit-wrap{
    display:flex;
    justify-content:center;
    padding:22px 0 0;
  }
  .submit-btn{
    min-width:240px;
    height:56px;
    border:none;
    border-radius:12px;
    background:linear-gradient(#2f5ea6,#1f4bb8);
    color:#fff;
    font-weight:900;
    font-size:16px;
    cursor:pointer;
    box-shadow:0 12px 22px rgba(31,75,184,.22);
  }
  .submit-btn:active{ transform:translateY(1px); }

  /* ===== Responsive ===== */
  @media (max-width:900px){
    .form-row{ grid-template-columns: 200px 1fr; }
    .radio-grid{ grid-template-columns: repeat(3, minmax(140px, 1fr)); }
  }

  @media (max-width:768px){
    .form-row{
      grid-template-columns: 1fr;
    }
    .form-label{
      border-right:none;
      border-bottom:1px solid var(--border);
      padding:14px 14px;
    }
    .form-field{ padding:14px 14px; }

    .radio-grid{
      grid-template-columns: repeat(2, minmax(140px, 1fr));
      gap:10px 12px;
    }

    .row-flex > *{ min-width:140px; }
  }












/* ===== 05. 사전등록확인 ===== */
.check-form{
    width:100%;
    max-width:520px;          /* PC에서도 예쁘게 */
    margin:0 auto;
    padding:22px 16px;
  }

  .check-field{ margin-bottom:18px; }

  .check-label{
    display:block;
    font-weight:800;
    color:#111;
    margin:0 0 10px;
    letter-spacing:-0.02em;
  }

  .input-wrap{
    display:flex;
    align-items:center;
    gap:12px;
    border:1px solid #d6dbe6;
    border-radius:14px;
    padding:12px 14px;
    background:#fff;
    box-shadow:0 1px 0 rgba(0,0,0,0.03);
  }

  .input-wrap:focus-within{
    border-color:#2f5ea6;
    box-shadow:0 0 0 3px rgba(47,94,166,0.12);
  }

  .ico{
    width:34px;
    height:34px;
    border-radius:10px;
    background:#f3f5f9;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 34px;
  }

  .ico svg{ width:18px; height:18px; }

  .check-input{
    width:100%;
    height:40px;
    border:none;
    outline:none;
    background:transparent;
    color:#111;
    letter-spacing:-0.01em;
  }

  .check-input::placeholder{ color:#a5acb8; }

  /* 버튼 */
  .check-btn{
    width:100%;
    height:56px;
    border:1px solid #cfcfcf;
    border-radius:14px;
    background:linear-gradient(#f4f4f4,#dedede);
    color:#111;
    font-size:16px;
    font-weight:900;
    letter-spacing:-0.02em;
    cursor:pointer;
    box-shadow:0 10px 18px rgba(0,0,0,0.14);
    transition:transform .06s ease, filter .15s ease;
  }
  .check-btn:hover{ filter:brightness(0.99); }
  .check-btn:active{ transform:translateY(1px); }

  .check-note{
    margin-top:40px;
    font-size:17px;
    color:#666;
    text-align:center;
    line-height:1.5;
  }

  /* ✅ PC에서 더 고급스럽게(여백/입력높이 약간 업) */
  @media (min-width:769px){
    .check-form{ padding:26px 18px; }
    .check-input{ height:42px; font-size:15.5px; }
    .check-btn{ height:60px; font-size:16.5px; }
  }

  /* ✅ Mobile: 더 꽉 차 보이게 */
  @media (max-width:480px){
    .check-form{ padding:18px 14px; }
    .input-wrap{ padding:10px 12px; border-radius:12px; }
    .ico{ width:32px; height:32px; border-radius:10px; }
    .check-input{ height:38px; font-size:14.5px; }
    .check-btn{ height:54px; border-radius:12px; }
  }