@charset "utf-8";


/* 회원가입 전체 레이아웃 */
.member-wrap {
  width: calc(100% - 24px);
  max-width: 1400px;
  margin: 20px auto 50px auto;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* 가로 중앙 */
  align-items: center;       /* 세로 중앙 */
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  border-radius:30px;
  margin-top: 20px;
}

.member-wrap section {width: min(1200px, 100%);}



/*.member-wrap section {width:100%;}*/

/* 페이지 타이틀 */
.page-title {
width:100%;
  font-size: 30px;
  font-weight: 700;
  letter-spacing:-1px;
  color: #1b1464;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e5e5e5;
  /*border:2px solid red;*/
}


/*01.로그인*/
.login-wrap.v2{
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 550px;
  width: 100%;
  margin: 100px auto 40px;
  padding: 0;
  box-sizing: border-box;

}
.login-wrap.v3{
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 550px;
  width: 100%;
  margin: 100px auto 40px;
  padding: 0;
  box-sizing: border-box;
}

.login-wrap.v3 .login-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.login-wrap.v3 .login-row form {
  width: 100%;
}

.login-wrap.v3 .login-row .login-btn {
  flex: none;
  width: 100%;
  height: auto;
  padding: 20px 0;
}

.login-row{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
  gap: 20px;
}

/* 좌측 입력 묶음 */
.input-group{
  flex: 1 1 0;                /* ⭐ 남는 공간을 확실히 다 먹음 */
  min-width: 0;
}

.form-row{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 10px;
}

.form-row label{
  width: 84px;
  font-size: 15px;
  font-weight: 700;
  color: #1f2f55;
  letter-spacing: -0.2px;
}

.form-row input{
width: 100%;
  min-width: 0;
  flex: 1;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #d6ddeb;
  background: #fbfcff;
  padding: 0 12px;
  font-size: 15px;
  color:#122044;
  transition: .18s;
}

.form-row input::placeholder{
  color:#9aa6bf;
}

.form-row input:focus{
  outline:none;
  border-color:#243b75;
  box-shadow: 0 0 0 3px rgba(36,59,117,0.12);
  background:#fff;
}

/* 우측 로그인 버튼 (세로로 두 input 높이 느낌) */
.login-btn{
  flex: 0 0 130px;
  width: 130px;
  height: 98px;
  margin: 0;
  border: 0;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #302888, #1b1464);
  cursor: pointer;
  transition: .18s;
  box-shadow: 0 10px 18px rgba(23,42,82,0.18);
}

.login-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 22px rgba(23,42,82,0.22);
}

/* 하단 버튼 3개 */
.login-links{
  width: 100%;        /* ⭐ login-row와 동일 기준 */
  display: flex;
  gap: 10px;
  box-sizing: border-box;
}

.sub-btn{
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #d6ddeb;
  background: linear-gradient(180deg, #ffffff, #f2f5fb);
  color: #22355f;
  font-size: 14px;
  font-weight: 700;
  cursor:pointer;
  transition: .18s;
}

.sub-btn:hover{
  border-color:#243b75;
  color:#243b75;
  box-shadow: 0 6px 14px rgba(18, 32, 64, 0.08);
}

/* 모바일 반응형 */
@media (max-width: 560px){
  .login-wrap.v2{
    margin: 18px 12px;
    padding: 18px 14px;
    border-radius: 12px;
  }

  .login-row{
    flex-direction: column;
    gap: 12px;
  }

  .login-btn{
    width: 100%;
    height: 46px;
    border-radius: 10px;
  }

  .form-row label{
    width: 78px;
  }

  .login-links{
    flex-direction: column;
  }

  .sub-btn{
    width: 100%;
    padding: 8px 0;
  }
}



/*02.회원가입 - 약관*/

/*
    .agree_wrap{
      width: min(1160px, 100%);
    }*/

    .card{
      background: var(--card);
      border: 1px solid rgba(15,23,42,.10);
      box-shadow: var(--shadow);
      border-radius: var(--radius);
      overflow:hidden;
      backdrop-filter: blur(10px);
    }

    .card-header{
      padding: 22px 26px 14px;
      border-bottom: 1px solid rgba(15,23,42,.08);
      position: relative;
      background:
        linear-gradient(180deg, rgba(27,20,100,.06), transparent 70%);
    }

    .h3_agree {
      margin: 10px 0 0;
      font-size: 24px;
	  font-weight:800;
      letter-spacing: -0.2px;
    }
    .desc{
      margin: 8px 0 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.6;
    }

    .agree_content{
      padding: 22px 26px 26px;
      display:grid;
      gap: 18px;
    }

    .agree_section{
      border: 1px solid rgba(15,23,42,.10);
      border-radius: 16px;
      overflow:hidden;
      background: rgba(255,255,255,.75);
    }

    .agree_section-head{
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding: 14px 16px;
      border-bottom: 1px solid rgba(15,23,42,.08);
      background:
        linear-gradient(180deg, rgba(27,20,100,.05), rgba(255,255,255,.0));
    }
    .agree_section-title{
      font-weight: 700;
      font-size: 19px;
      letter-spacing:-.2px;
      display:flex; gap:10px; align-items:center;
    }
    .agree_section-title small{
      font-weight:600;
      color: var(--muted);
      font-size: 12px;
    }

    .agree_scrollbox{
      height: 170px;
      padding: 14px 16px;
      overflow:auto;
      font-size: 13px;
      line-height: 1.7;
      color: #1f2937;
      background: rgba(255,255,255,.7);
    }
    .agree_scrollbox h4{
	  font-weight:600;
      margin: 6px 0 8px;
      font-size: 14px;
    }
    .agree_scrollbox p{
      margin: 0 0 10px;
      color: #334155;
    }
    .agree_scrollbox ol{
      margin: 0 0 10px 0;
      padding: 0;
    }
    .agree_scrollbox li{ margin: 4px 0; }

    /* 스크롤바(크롬/엣지) */
    .agree_scrollbox::-webkit-scrollbar{ width: 10px; }
    .agree_scrollbox::-webkit-scrollbar-track{ background: rgba(15,23,42,.06); border-radius: 999px; }
    .agree_scrollbox::-webkit-scrollbar-thumb{
      background: rgba(27,20,100,.35);
      border-radius: 999px;
      border: 2px solid rgba(255,255,255,.7);
    }
    .agree_scrollbox::-webkit-scrollbar-thumb:hover{ background: rgba(27,20,100,.5); }

    .agree{
      display:flex;
      align-items:center;
      gap: 10px;
      padding: 12px 16px 14px;
      border-top: 1px solid rgba(15,23,42,.08);
      background: rgba(248,250,252,.75);
    }

    .chk{
  appearance:none;
  width:16px;
  height:16px;
  border:1px solid #999;
  border-radius:3px;
  background:#fff;
  cursor:pointer;
}

.chk:checked{
  background:#333;
}

.chk:checked::after{
  content:"✔";
  color:#fff;
  font-size:12px;
  display:flex;
  justify-content:center;
  align-items:center;
}

    .agree label{
      cursor:pointer;
      font-size: 13px;
      color: #334155;
    }
    .agree .req{
      font-size: 12px;
      color: var(--muted);
      margin-left:auto;
    }

    .agree_actions{
      display:flex;
      justify-content:center;
      gap: 10px;
      padding-top: 6px;
    }

    .btn_agree{
      min-width: 110px;
      padding: 11px 18px;
      border-radius: 999px;
      border: 1px solid rgba(15,23,42,.14);
      background: #fff;
      color: #0f172a;
      font-weight: 700;
      cursor:pointer;
      transition: .15s ease;
      box-shadow: 0 10px 20px rgba(2,6,23,.06);
    }
	.btn_agree:hover,
.btn_agree:active{
  transform:none;
}


.btn-primary{
  background: linear-gradient(135deg, #1b1464, #3a3dbf);
  color:#fff;
  border:none;
  box-shadow:none;
}

    .btn-ghost{
  background: linear-gradient(180deg, #f8fafc, #e5edf7);
  border: 1px solid #cbd5e1;
  color: #333;
  box-shadow: none;
}

    @media (max-width: 640px){
      .card-header{ padding: 18px 16px 12px; }
      .agree_content{ padding: 16px; }
      .agree_scrollbox{ height: 190px; }
      .agree_actions{ flex-direction: column; }
      .btn_agree{ width: min(320px, 100%); }
    }




/*회원가입*/
/*.mbship_wrap{ width:min(1160px, 100%);}*/
    .mbship_card{
      background:var(--card);
      border:1px solid rgba(15,23,42,.10);
      box-shadow:var(--shadow);
      border-radius:var(--radius);
      overflow:hidden;
    }

    .mbship_header{
      padding:20px 26px 0px;
      background: linear-gradient(180deg, rgba(27,20,100,.06), transparent 70%);
    }

    .dot{
      width:10px; height:10px; border-radius:999px;
      background: linear-gradient(135deg, var(--brand), var(--brand2));
    }

    .desc{ margin:8px 0 0; color:var(--muted); font-size:14px; line-height:1.6; }
    .req-note{
      margin-top:10px;
      color: #ec1c24;
      font-weight:500;
      text-align: right;
    }

    form#joinForm{ padding: 22px 26px 40px;}

    #joinForm .grid{
      display:grid;
      grid-template-columns: 190px 1fr;
      gap: 12px 16px;
      align-items:center;
    }

    #joinForm .label{
	    font-weight:700;
      color:#000;
      white-space:nowrap;
    }
    #joinForm .label .req{
      color:#ec1c24;
      font-weight:700;
      margin-left:4px;
    }

    #joinForm .field{
      display:flex;
      gap:10px;
      align-items:center;
      flex-wrap:wrap;
    }

/*
	#joinForm .grid > #joinForm .label,
	#joinForm .grid > #joinForm .field{
	  padding-bottom: 12px;
	  border-bottom: 1px solid rgba(15,23,42,.08);
	}

	#joinForm .grid > #joinForm .label:not(:nth-last-child(2)),
	#joinForm .grid > #joinForm .field:not(:last-child){
	  padding-bottom: 12px;
	  border-bottom: 1px solid rgba(15,23,42,.08);
	}
*/

    #joinForm input[type="text"],
    #joinForm input[type="password"],
    #joinForm input[type="email"],
    #joinForm select{
      height: 42px;
      padding: 0 14px;
      border: 1px solid #d9dee5;
      border-radius: 8px;
      background: #fff;
      font-size: 14px;
      color: #222;
      box-sizing: border-box;
      transition: border-color .2s ease, box-shadow .2s ease;
    }

    #joinForm input[type="text"]:focus,
    #joinForm input[type="password"]:focus,
    #joinForm input[type="email"]:focus,
    #joinForm select:focus{
      border-color: #6b7280;
      outline: none;
      box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.08);
    }

    #joinForm .w-sm{ width:160px; }
    #joinForm .w-md{ width:260px; }
    #joinForm .w-lg{ width:min(520px, 100%); }
    #joinForm .w-full{ width:100%; min-width: 240px; }

    #joinForm .textarea {
      padding: 12px;
      border:1px solid rgba(15,23,42,.18);
      border-radius:10px;
      outline:none;
      background:#fff;
      color:#0f172a;
      min-width: 160px;
      min-height: 240px;
    }

    #joinForm .dash{
      color: var(--muted);
      font-weight:700;
      margin: 0 -4px;
    }

    #joinForm .hint{
      font-size:12px;
      color: var(--muted);
      line-height:1.5;
      flex-basis:100%;
    }
    #joinForm .hint.red{
      color:#ec1c24;
      font-weight:600;
    }

    #joinForm .divider{
      margin: 18px 0;
      height:1px;
      background: rgba(15,23,42,.08);
    }

    /* 버튼들: 과한 효과 없이 깔끔 */
    #joinForm .btn_mbship{
      height:38px;
      padding: 0 14px;
      border-radius:999px;
      border:1px solid rgba(15,23,42,.14);
      background:#fff;
      color:#0f172a;
      font-weight:700;
      cursor:pointer;
    }

    /* 아이디 중복확인 / 우편번호검색(작은 액션 버튼) */
    #joinForm .btn-mini{
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 38px;
      padding: 0 14px;
      border: 1px solid #1b1464;
      border-radius: 8px;
      background: #1b1464;
      color: #374151;
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      transition: all .2s ease;
      color: #fff;
    }

    /* 하단 확인/취소: 요청하신 스타일 */
    #joinForm .mbship_actions{
      display:flex;
      justify-content:center;
      gap: 10px;
      margin-top: 35px;
    }

    /* 확인: 로그인 버튼 같은 보라 그라데이션, BUT 효과(hover/그림자/변색) 없음 */
    #joinForm .btn-primary{
      min-width:120px;
      border:none;
      color:#fff;
      background: linear-gradient(135deg, #1b1464, #3a3dbf);
      box-shadow:none;
    }

    /* 취소: 이미지처럼 연한 회색/블루 그라데이션 + 테두리 */
    #joinForm .btn-cancel{
      min-width:120px;
      background: linear-gradient(180deg, var(--btn-gray1), var(--btn-gray2));
      border: 1px solid #cbd5e1;
      color: #1e3a8a;
      box-shadow:none;
    }

    /* hover/active 효과 제거 */
    #joinForm .btn:hover, #joinForm .btn:active{ transform:none; }

    /* 캡차 */
    #joinForm .captcha{
      display:flex;
      align-items:center;
      gap:10px;
      flex-wrap:wrap;
    }
    #joinForm .captcha-box{
      width:64px;
      height:38px;
      border-radius:10px;
      border:1px solid rgba(15,23,42,.18);
      display:flex;
      align-items:center;
      justify-content:center;
      font-weight:900;
      letter-spacing:1px;
      color:#fff;
      background: #0f172a;
      user-select:none;
    }
    @media (max-width: 1024px){
      .sitemap-grid { gap: 20px; }
    }
    @media (max-width: 768px){
      .sitemap-grid { grid-template-columns: repeat(2, 2fr); }
    }

    @media (max-width: 720px){
      #joinForm .grid{ grid-template-columns: 1fr; }
      #joinForm .label{ color:#334155; font-weight:700; }
      #joinForm .field{ gap:8px; }
      #joinForm .w-sm,#joinForm .w-md,#joinForm .w-lg{ width:100%; }
      #joinForm input, #joinForm select{ width:100%; min-width:0; }
      #joinForm .captcha-box{ width:88px; }
    }
    @media (max-width: 640px){
      .sitemap-grid { grid-template-columns: repeat(1, 4fr); }
    }