@charset "utf-8";

/********************************************
 * Global Reset & Base
 * - 너무 전역으로 과하게 덮지 않도록 최소만 유지
 ********************************************/
body {
    font-family: "Pretendard", "Noto Sans KR", sans-serif;
    background: #003A58 !important;
    margin: 0;
    padding: 0;
    color: #fff;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

ul, li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

input, button {
    border-radius: 14px !important;
}

/********************************************
 * Login Page Mode (html.page--login 스코프)
 ********************************************/
html.page--login {
    --navy: #0E3A5A;
    --navy-dark: #08263D;
    --orange: #F5A623;
    --text: #111827;
    --muted: #6B7280;
    --line: #E5E7EB;
    --card: #fff;

    font-size: 16px;
    height: 100%;
}

html.page--login body {
    height: 100%;
    margin: 0;
    padding-top: 0 !important;
}

/* 로그인 페이지에서만 헤더/푸터/하단네비 숨김 */
html.page--login #hd,
html.page--login .navbar,
html.page--login #ft,
html.page--login .footer,
html.page--login .app-bottom-nav,
html.page--login .mobile-bottom-nav,
html.page--login .bottom_nav,
html.page--login .nav-bottom,
html.page--login .dock-nav {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}

/********************************************
 * Fullscreen Hero (Login)
 ********************************************/
.hero-full {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
}
.hero-inner {
    width: 100%;
    max-width: 420px;
    text-align: center;
    color: #fff;
}
.hero-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}
.hero-desc {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.hero-links{ margin-top:12px; display:flex; justify-content:center; align-items:center; gap:8px; color:#fff; font-size: 11px; }
.hero-links a{ color:#fff; text-decoration:none; opacity:.95; }
.hero-links a:hover{ opacity:1; }

/********************************************
 * Social Buttons (Login)
 ********************************************/
.social-stack { display: flex; flex-direction: column; gap: 12px; }
.social-btn {
    height: 54px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    border: 0;
}
.social-btn.kakao { background: #FEE500; color: #111; }
.social-btn.naver { background: #03C75A; color: #fff; }
.social-btn.google { background: #fff; color: #111; border: 1px solid #ddd; }
.social-btn.jpw { background: var(--orange); color: #fff; }

/********************************************
 * Bottom Sheet (Terms / Login Bottom Sheet)
 ********************************************/
.sheet-backdrop{
  position:fixed; inset:0; background:rgba(0,0,0,.4);
  opacity:0; visibility:hidden; transition:opacity .25s ease; z-index:9998;
}
.sheet-backdrop.active{ opacity:1; visibility:visible; }

.sheet{
  position:fixed; left:0; right:0; bottom:0;
  background:var(--card);
  border-radius:18px 18px 0 0;
  box-shadow:0 -10px 30px rgba(0,0,0,.2);
  transform:translateY(100%); transition:transform .28s ease;
  z-index:9999;
  max-height:85svh; display:flex; flex-direction:column;
}
.sheet.active{ transform:translateY(0); }

.sheet-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 18px; border-bottom:1px solid #F1F5F9; font-size:13px;
}
.sheet-header h2{ margin:0; font-size:18px; font-weight:800; color:var(--navy); }
.sheet-close{
  border:0; background:transparent; font-size:20px; line-height:1; cursor:pointer; color:#9aa3af;
}

/* 바텀시트/백드롭이 어떤 탭바보다 위로 오도록 */
.sheet-backdrop{ z-index: 100000; }
.sheet{ z-index: 100001; }

/* 홈바/노치 기기 하단 여백 */
.sheet { 
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}
@supports not (padding: max(0px)) {
  .sheet { padding-bottom: 24px; }
}

/* 로그인 페이지 한정으로 하단 네비 제거(보험) */
.page--login .app-bottom-nav,
.page--login .bottom-nav { display:none !important; }

.sheet-body{
  padding:16px 18px 20px; overflow:auto;
}
.form-control{
  width:100%; height:48px; padding:12px 14px; border:1px solid var(--line);
  border-radius:14px; font-size:15px; margin-bottom:10px; box-sizing:border-box;
}
.form-control:focus{ outline:none; border-color:var(--navy); box-shadow:0 0 0 3px rgba(14,58,90,.15); }

.sheet-row{
  display:flex; justify-content:space-between; align-items:center; gap:10px;
  margin:8px 0 12px; font-size:14px; color:var(--muted);
}
.sheet-links{ display:flex; align-items:center; gap:8px; font-size:13px; }
.sheet-links a{ color:var(--muted); text-decoration:none; }
.sheet-links a:hover{ color:var(--text); }

.btn.submit-btn{
  width:100%; height:50px; border:0; border-radius:16px; background:var(--orange);
  color:#fff; font-weight:800; font-size:16px;
  transition:transform .02s ease, filter .15s;
}
.btn.submit-btn:active{ transform:translateY(1px); }

/* 데스크톱에서도 보기 좋게 */
@media (min-width: 960px){
  .hero-title{ font-size:32px; }
  .hero-full{ padding-top:64px; padding-bottom:64px; }
  .sheet{ left:50%; right:auto; width:480px; margin-left:-240px; border-radius:18px; }
}

/* ============================================================
   ⚠️ register_form(회원가입/정보수정) 전용 CSS는 제거됨
   - 이제 register_form.skin.php 내부 <style>로만 관리
   - 아래부터는 비번찾기/비번확인/프로필수정 전용만 유지
   ============================================================ */

/*************************************************
 * 비밀번호 찾기 페이지 (점포왕 통일 디자인)
 *************************************************/
#find_info {
    max-width: 480px;
    margin: 0 auto;
    padding: 26px 18px 140px;
}

#find_info .new_win_con {
    background: #fff;
    color: #222;
    padding: 22px 20px;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    margin-bottom: 22px;
	font-size:11px;
}

#find_info .new_win_con h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #222;
    text-align: left;
}

#find_info p {
    font-size: 12px;
    color: #777;
    line-height: 1.5;
    margin-bottom: 16px;
}

#find_info input[type=text],
#find_info input[type=email] {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px !important;
    border: 1px solid #ccc !important;
    background: #fafafa;
    font-size: 12px;
    margin-bottom: 16px;
    box-sizing: border-box;
}

#find_info input:focus {
    border: 1px solid #F19208 !important;
    background: #fff;
}

#find_info #captcha {
    margin-top: 10px;
}




#find_info #captcha img {
    border-radius: 12px;
    overflow: hidden;
}

#find_info #captcha_key {
    width: 100% !important;
    padding: 14px 16px !important;
    border-radius: 12px !important;
    border: 1px solid #ccc !important;
    background: #fafafa !important;
    font-size: 15px;
    margin-top: 12px !important;
}

#find_info #captcha button {
    border-radius: 10px;
    background: #eee;
	border:1px solid #ccc;
    font-size: 13px;
    margin-right: 6px;
}

#find_info .btn_submit {
    width: 100%;
    padding: 16px 0;
    background: #F19208;
    border-radius: 12px;
    border: none !important;
    font-size: 13px !important;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    text-align: center;
}

#find_info .win_btn {
    margin-top: 20px;
}

#find_info .find_btn h3 {
    color: #222 !important;
}

#find_info .find_btn .btn_submit {
    margin-top: 12px;
}

@media (max-width: 480px) {
    #find_info {
        padding-bottom: 160px;
    }
    #find_info .btn_submit {
        font-size: 16px;
        height: 54px;
    }
}

/************************************************
 * 회원 비밀번호 확인 페이지 전용 스타일 (최종 조정)
 ************************************************/
#mb_confirm {
    max-width: 480px;
    margin: 0 auto;
    padding: 26px 18px 40px;
}

#mb_confirm h1 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
    text-align: left;
}

#mb_confirm > p {
    background: #fff;
    color: #333;
    padding: 18px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

#mb_confirm > p strong {
    font-weight: 700;
    color: #222;
}

#mb_confirm fieldset {
    border: none;
    padding: 22px 20px;
    margin: 0;
    background: #fff;
    color: #222;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    margin-bottom: 22px;
}

#mb_confirm .confirm_id {
    color: #333;
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

#mb_confirm #mb_confirm_id {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #F19208;
    margin-bottom: 20px;
}

#mb_confirm #confirm_mb_password {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px !important;
    border: 1px solid #ccc !important;
    background: #fafafa;
    font-size: 16px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

#mb_confirm #confirm_mb_password:focus {
    border: 1px solid #F19208 !important;
    background: #fff;
    outline: none;
}

#mb_confirm #btn_submit {
    width: 100%;
    padding: 16px 0;
    background: #F19208;
    border-radius: 12px !important;
    border: none !important;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    text-align: center;
    position: static !important;
    margin: 0 !important;
}

/******************************************************
 * 점포왕 – 회원정보 수정 페이지 (profile-edit-page)
 ******************************************************/
body.profile-edit-page {
    background: #003A58 !important;
    font-family: "Pretendard", "Noto Sans KR", sans-serif;
    color: #fff;
    padding-bottom: 130px !important;
}

body.profile-edit-page #hd,
body.profile-edit-page #ft,
body.profile-edit-page .mobile-bottom-nav,
body.profile-edit-page .bottom_nav {
    display: none !important;
}

.profile-edit-wrapper {
    max-width: 480px;
    margin: 0 auto;
    padding: 28px 18px;
}

.profile-edit-page .profile-top-card {
    background: #fff;
    color: #222;
    padding: 28px 20px;
    border-radius: 18px;
    text-align: center;
    margin-bottom: 22px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.profile-edit-page .profile-avatar {
    cursor: pointer;
    margin-bottom: 14px;
}

.profile-edit-page .profile-avatar img {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eee;
    background: #f2f2f2;
}

.profile-edit-page .profile-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-edit-page .profile-desc {
    font-size: 14px;
    color: #666;
}

.profile-edit-page .edit-card {
    background: #fff;
    color: #333;
    padding: 22px 20px;
    border-radius: 18px;
    margin-bottom: 22px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.profile-edit-page .edit-card h2 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #222;
}

.profile-edit-page .edit-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.profile-edit-page .edit-card li {
    margin-bottom: 16px;
}

.profile-edit-page label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #222;
}

.profile-edit-page input[type=text],
.profile-edit-page input[type=password],
.profile-edit-page input[type=email],
.profile-edit-page .frm_input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #ccc !important;
    background: #fafafa;
    font-size: 15px;
    box-sizing: border-box;
}

.profile-edit-page input:focus {
    background: #fff;
    border: 1px solid #F19208 !important;
    outline: none;
}

.profile-edit-page .edit-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0; right: 0;
    background: #fff;
    padding: 12px 16px;
    display: flex;
    gap: 10px;
    border-top: 1px solid #eee;
    z-index: 10000;
}

.profile-edit-page .btn-edit-cancel,
.profile-edit-page .btn-edit-save {
    flex: 1;
    text-align: center;
    padding: 14px 0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    border: none;
}

.profile-edit-page .btn-edit-cancel {
    background: #f1f1f1;
    color: #333;
}

.profile-edit-page .btn-edit-save {
    background: #F19208;
    color: #fff;
}

.profile-edit-page .tooltip_wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.profile-edit-page .tooltip_icon {
    width: 20px;
    height: 20px;
    background: transparent;
    border: none;
    color: #555;
    cursor: pointer;
}

.profile-edit-page .jpw-tooltip {
    display: none;
    position: absolute;
    top: 28px;
    left: 0;
    background: rgba(0,0,0,0.88);
    color: #fff;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    max-width: 220px;
    white-space: normal;
    z-index: 9999;
}

.profile-edit-page .jpw-tooltip::after {
    content: "";
    position: absolute;
    top: -6px;
    left: 12px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(0,0,0,0.88);
}


/* 자동등록방지 제목 */
#captcha legend,
#captcha h3,
#captcha .captcha_title {
  font-size: 16px !important;
  font-weight: 600;
}

/* 캡차 숫자 이미지 */
#captcha img {
  height: 40px !important;   /* ← 숫자 크기 조절 */
}

/* 입력창 */
#captcha input {
  height: 40px;
  font-size: 14px;
}


