@charset "utf-8";


:root {
    --oyev-primary: #4b5563;
    --oyev-primary-hover: #4b5563;
    --oyev-gray-50: #f9fafb;
    --oyev-gray-100: #f3f4f6;
    --oyev-gray-200: #e5e7eb;
    --oyev-gray-300: #d1d5db;
    --oyev-gray-400: #9ca3af;
    --oyev-gray-500: #6b7280;
    --oyev-gray-600: #4b5563;
    --oyev-gray-700: #374151;
    --oyev-gray-800: #1f2937;
    --oyev-gray-900: #111827;
    --oyev-success: #10b981;
    --oyev-warning: #f59e0b;
    --oyev-error: #ef4444;
    --oyev-border: #e6e8eb;
    --oyev-radius: 12px;
    --oyev-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --oyev-shadow-hover: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* 토스트 */
#toast {
    display: none;
    position: fixed;
    bottom: 45%;
    left: 50%;
    transform: translateX(-50%);
    background: rgb(47, 49, 255);
    color: white;
    padding: 7px;
    width: 20%;
    border-radius: 6px;
    font-size: 15px;
    text-align: center;
    opacity: 0.8;
    z-index: 9999;
    white-space: normal;
}

/* 회원가입 */
.agree-text-1 {
  position: absolute;
  width: 275px;
  right: 0;
}

.agree-text-2 {
  right: 0;
  position: absolute;
  width: 325px;
}



/* 툴팁 */
#register_form label { position: relative; }

#register_form label > .tooltip {
  left: 0;
  top: 100%;
  margin-left: 115px;
  margin-top: -25px;
  max-width: 320px;
  white-space: normal;
  z-index: 1000;
  border-radius: 0 8px 8px 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

#register_form label:hover > .tooltip_icon + .tooltip,
#register_form label > .tooltip_icon:focus + .tooltip,
#register_form label > .tooltip_icon:focus-visible + .tooltip {
  display: block;
}


#register_form label.tooltip-open > .tooltip_icon + .tooltip {
  display: block;
}

#register_form label > .tooltip::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 12px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent #000 transparent;
}



/* 버튼 */
.oyev-btn-submit {
  background: var(--oyev-primary);
  color: white;
  border: none;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 44px;
}

.oyev-btn-close {
  background: var(--oyev-gray-200);
  color: var(--oyev-gray-700);
  border: 1px solid var(--oyev-gray-300);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 44px;
}


/* ====== 카드/그리드 ====== */
.oyev-req{ color: var(--oyev-error); margin-left:.25rem; font-weight:700; }
.oyev-register { max-width: 980px; margin: 0 auto; }
.oyev-header h2 { font-size: 28px; margin: 0 0 .5rem; }
.oyev-sub { color:#666; margin:.25rem 0 1.25rem; }

.oyev-card{
  background:#fff; border:1px solid #e5e7eb; border-radius:16px;
  padding:24px;
  /* box-shadow:0 6px 20px rgba(0,0,0,.04); */
}
.oyev-grid{
  display:grid; gap:18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style:none; margin:0; padding:0;
}
.oyev-cell label{ display:block; font-weight:600; margin:0 0 .5rem; }
.oyev-col-2{ grid-column: 1 / -1; }

/* 휴대폰 한 줄 배치 */
.oyev-inline-row{
  display:grid;
  grid-template-columns: 1fr 1fr; /*  타이머 | 버튼 */
  gap:10px; align-items:center;
}
.oyev-chip{
  display:flex; align-items:center; justify-content:center;
  height:56px; padding:0 14px;
  border:1px solid var(--oyev-gray-200);
  border-radius:12px; color:#555; font-variant-numeric: tabular-nums;
  min-width:72px;
}
.oyev-inline-btn{background-color: #fff;height:56px; padding:0 18px; border-radius:12px; }

/* 정보수정의 경우 수정버튼 추가  */
.oyev-change-inline-row{
  display:grid;
  grid-template-columns: 4fr 1fr; /*  타이머 | 버튼 */
  gap:10px; align-items:center;
  align-items: start;
}

.oyev-change-inline-row2{
  display:grid;
  grid-template-columns: 2fr 2fr 1fr; /*  타이머 | 버튼 */
  gap:10px; align-items:center;
}

.oyev-change-btn {
  background-color: #f6f6f8;
  border: 1px solid #ddd;
  color: #747783;
  height: 56px;
  padding: 0 18px;
  border-radius: 12px;
}

.oyev-input-wrap input.frm_input.readonly {
    background: #ddd;
}

/* ====== 인풋 & 어펜드버튼 ====== */
.oyev-input-wrap{ position:relative; }
.oyev-input-wrap input.frm_input{
  width:100%; height:56px; padding:0 16px;
  border:1px solid #e5e7eb; border-radius:12px; background:#fff;
  font-size:16px;
}
.oyev-input-wrap input.frm_input:focus{
  outline:0; border-color:#FB4949;
  /* box-shadow:0 0 0 4px rgba(59,130,246,.15); */
}
.oyev-has-append input.frm_input{ padding-right:120px; } /* 버튼 자리 확보 */
.oyev-append-btn{
  color:#333;position:absolute; top:8px; right:8px; height:40px; min-width:100px;
  border-radius:10px; border:1px solid #d1d5db; background:#fff; cursor:pointer;
  padding:0 12px; font-weight:600;
}
.oyev-append-btn:hover{ background:#f9fafb; }

/* input박스 readonly인 경우 */
.oyev-has-append input.frm_input.readonly{
  background-color: rgb(232, 240, 254);
  cursor: pointer;
  border-color: #ddd;
}

/* 버튼 공통 */
.oyev-btn{ font-size:14px; line-height:1; }
.oyev-primary{border: 1px solid #ddd; color:#4b5563; }
.oyev-primary:hover{ background:#eff6ff; }
.oyev-ghost{ background:#fff; }

/* 인라인 영역(타이머/재전송) */
.oyev-inline{ display:flex; align-items:center; gap:10px; margin-top:.5rem; }
.oyev-timer{
  display:inline-block; min-width:54px; padding:6px 10px; text-align:center;
  font-variant-numeric: tabular-nums;
  border:1px solid #e5e7eb; border-radius:8px; color:#555;
}

.oyev-msg{ display:block; margin-top:.4rem; font-size:13px; color:#6b7280; }

.oyev-visually-hidden{
  position:absolute !important; width:1px; height:1px; margin:-1px;
  padding:0; border:0; overflow:hidden; clip:rect(0 0 0 0);
}

/* 회원가입 완료 페이지 */
.btn_register_confirm {
    background-color: #4b5563;
    margin-top:1rem;
    color: #fff;
    border: 1px solid var(--oyev-gray-300);
    border-radius: 8px;
    min-height: 50px;
    height: 50px;
    width: 30%;
    font-weight: bold;
    font-size: 1.083em;
    display: flex;
    justify-self: center;
    justify-content: space-evenly;
    align-items: center;
}

.btn_register_confirm:hover {
  color:#fff;
}

.reg_result_box {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    margin: 0 auto;
    width: 700px;
}

.reg_result_b {
    font-size: 1.25em;
    margin: 0 0 10px;
    color: #FB4949;
}


/* 회원가입완료 페이지 */
.register-result {
    margin: 0 auto;
    width: 800px;
}

/* 반응형 */
@media (max-width: 768px) {

  .register-result {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 20px 16px 24px;
    box-sizing: border-box;
}

  .oyev-grid{ grid-template-columns: 1fr; }
  .oyev-col-2{ grid-column: auto; }
  .oyev-has-append input.frm_input{ padding-right:108px; }
  .oyev-append-btn{
    top: 4px;
    right: 4px;
    height: 36px;
    min-width: 85px;
  }

  .register {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 20px 16px;
    box-sizing: border-box;
    font-size: 14px;
  }

  .register > p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .oyev-req-mobile-x {
    display:none;
  }

  .oyev-header h2 {
    font-size: 22px;
  }

  .oyev-sub {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .oyev-card {
    padding: 16px;
    border-radius: 12px;
  }

  .oyev-grid {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .oyev-cell label {
    font-size: 15px;
  }

  .oyev-input-wrap input.frm_input {
    height: 44px;
    font-size: 16px;
    padding: 0 14px;
  }

  .oyev-chip {
    height: 44px;
    padding: 0 10px;
    min-width: 64px;
    font-size: 14px;
  }

  .oyev-inline-btn {
    margin-left: 5px;
    height: 44px;
    padding: 0 14px;
    font-size: 14px;
    border-radius: 10px;
    background-color: #f6f6f8;
  }

  .oyev-inline-row {
    gap: 0;
  }

  #fregister_term h2,
  #fregister_private h2 {
    font-size: 16px;
    margin-bottom: 0px;
  }

  #fregister section{
    margin:0;
      margin-bottom: 15px;
  }

  #fregister_term textarea {
    height: 180px;
    font-size: 13px;
    line-height: 1.5;
    padding: 10px;
  }

  #fregister_private > div {
    overflow-x: auto;
    padding: 10px;
  }

  #fregister_private table {
    min-width: 500px;
    font-size: 12px;
  }

  #fregister_private table th,
  #fregister_private table td {
    padding: 6px 8px;
    word-break: keep-all;
  }

  .fregister_agree {
    margin-top: 10px;
  }

  .fregister_agree label {
    font-size: 14px;
    margin:0;
  }

  .agree-text-1,
  .agree-text-2 {
    position: static;
    display: block;
    width: 100%;
    margin-top: 4px;
  }

  #fregister_chkall {
    margin-top: 0;
    padding-top: 0;
    border: 1px solid #e5e9f0;
    font-size: 14px;
  }

  .btn_confirm {
    margin-top: 16px;
    display: flex;
    flex-direction: row;
    gap: 8px;
    clear: both;
  }

  .btn_close,
  .btn_submit {
    float: none;
    width: 100%;
    height: 48px !important;
    font-size: 16px;
    margin: 0;
  }

  .btn_submit {
    margin-left: 0;
  }

  #toast {
    width: 80%;
    bottom: 50%;
    font-size: 14px;
  }

  .reg_result_box {
    width: 100%;
    max-width: 100%;
    padding: 16px;
    box-sizing: border-box;
  }

  .btn_register_confirm {
    width: 100%;
    font-size: 1em;
  }

  .fregister_agree input[type="checkbox"] + label span{
    top:10px;
  }


  /* 회원가입 완료 */
  .reg_result_b{
    font-size:18px !important;
  }
  .result_txt{
    font-size:14px !important;
  }

}
