/* CWCOUNT Site v1 — Reset Password page (edge RP, WEB-57). Restyles the existing, untouched Ultimate Member
   password-reset form on the Reset Password page, matching the Login page (edge L). Every selector is scoped to
   body.cwc-resetpw-v1 (added by cwc-site-v1-resetpw.php). The UM form itself, its action, field name/type and
   honeypot (.request_name) are never touched; the loader's `the_title`/`the_content` filters write the real,
   localized per-step title and one subtitle paragraph into the DOM (not CSS generated content - see loader
   comments), which this file only styles. Font/palette = the same site v1 tokens as login.css. */

/* ===== page surface (same header offset as every other site-v1-restyled page) ===== */
html body.cwc-resetpw-v1{background:#fff!important;padding-top:64px!important;}
html body.cwc-resetpw-v1 main#main,
html body.cwc-resetpw-v1 main#main *:not(i){font-family:work_sans,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;}
/* full device height (a dedicated full-screen auth page, not a short card above the marketing footer), content
   vertically centered within it - Login's own content is tall enough (many fields + Kakao button) to read as
   "settled" while anchored at top; this form is a single field, so on a tall viewport top-anchoring instead
   looked stuck to the header with a large empty gap below it (Owner: "탑 메뉴에 딱 붙어서 위로 올라가 붙어있어") */
html body.cwc-resetpw-v1 main#main{background:#fff!important;padding-top:0!important;padding-bottom:48px!important;min-height:calc(100vh - 64px)!important;display:flex!important;flex-direction:column!important;justify-content:center!important;}
html body.cwc-resetpw-v1 main#main .entry-header{background:#fff!important;padding:48px 20px 32px!important;margin:0!important;text-align:center!important;}

/* heading: the loader's `the_title` filter now writes the real, single, already-localized state copy into the
   DOM (GPT-6.0 Sol NEEDS_EDIT on e11d932: font-size:0 + :before duplicated the accessible name, and CSS `content:`
   text could not go through the site's KO/EN layer) - this is plain text styling, no generated content. */
html body.cwc-resetpw-v1 main#main .entry-header .entry-title{display:block;color:#000;font-size:40px;line-height:1.15;font-weight:700;letter-spacing:0;margin:0 0 12px!important;}

/* subtitle: the loader's `the_content` filter prepends a real, localized <p class="cwc-resetpw-subtitle"> before
   the untouched UM form output, so it renders at the top of entry-content (same visual position as before). */
html body.cwc-resetpw-v1 main#main .entry-content{padding:0 20px!important;}
html body.cwc-resetpw-v1 main#main .entry-content .cwc-resetpw-subtitle{display:block;white-space:pre-line;text-align:center;color:#667085;font-size:16px;line-height:24px;font-weight:400;margin:0 0 24px!important;}

/* ===== card: the form element itself (no .login_block wrapper exists on this page) - overrides UM's own inline
   "max-width:450px" <style> tag, which is printed into the body after this enqueued stylesheet and would otherwise
   win the cascade on equal specificity ===== */
html body.cwc-resetpw-v1 main#main .entry-content .um.um-password{display:block!important;box-sizing:border-box!important;width:100%!important;max-width:440px!important;margin:0 auto!important;padding:0!important;background:#fff!important;border:0!important;border-radius:0!important;float:none!important;}
html body.cwc-resetpw-v1 main#main .entry-content .um.um-password .um-form{width:100%!important;max-width:none!important;margin:0!important;}

/* ===== fields (identical visual language to login.css) ===== */
html body.cwc-resetpw-v1 main#main .um-password .um-field{padding-top:0!important;margin:0 0 16px!important;}
html body.cwc-resetpw-v1 main#main .um-password .um-field-block{margin:0 0 20px!important;}
html body.cwc-resetpw-v1 main#main .um-password .um-field-block>div{text-align:center!important;color:#344054!important;font-size:15px!important;line-height:22px!important;}
html body.cwc-resetpw-v1 main#main .um-password .um-row{margin:0!important;}
html body.cwc-resetpw-v1 main#main .um-password .um-field-label{margin:0 0 8px!important;}
html body.cwc-resetpw-v1 main#main .um-password .um-field-label label{display:block!important;color:#050505!important;font-size:15px!important;line-height:1.3!important;font-weight:700!important;}
html body.cwc-resetpw-v1 main#main .um-password .um-form .um-field-area input[type=text],
html body.cwc-resetpw-v1 main#main .um-password .um-form .um-field-area input[type=password]{box-sizing:border-box!important;display:block!important;width:100%!important;height:52px!important;min-height:0!important;padding:0 16px!important;background:#f5f7f9!important;border:1px solid #dfe5ec!important;border-radius:10px!important;color:#050505!important;font-size:16px!important;font-weight:400!important;line-height:normal!important;box-shadow:none!important;}
html body.cwc-resetpw-v1 main#main .um-password .um-form .um-field-area input[type=text]:focus,
html body.cwc-resetpw-v1 main#main .um-password .um-form .um-field-area input[type=password]:focus{background:#fff!important;border:1px solid #050505!important;box-shadow:0 0 0 3px rgba(8,120,255,.18)!important;}
html body.cwc-resetpw-v1 main#main .um-password .um-form .um-field-area input[type=text]:-webkit-autofill,
html body.cwc-resetpw-v1 main#main .um-password .um-form .um-field-area input[type=text]:-webkit-autofill:hover,
html body.cwc-resetpw-v1 main#main .um-password .um-form .um-field-area input[type=password]:-webkit-autofill,
html body.cwc-resetpw-v1 main#main .um-password .um-form .um-field-area input[type=password]:-webkit-autofill:hover{-webkit-text-fill-color:#050505!important;-webkit-box-shadow:0 0 0 1000px #f5f7f9 inset!important;box-shadow:0 0 0 1000px #f5f7f9 inset!important;caret-color:#050505!important;transition:background-color 99999s ease-out 0s!important;}

/* password fields: 46px left padding for the decorative lock icon, 52px right padding for the eye toggle */
html body.cwc-resetpw-v1 main#main .um-password .um-form .um-field-area{position:relative!important;}
html body.cwc-resetpw-v1.cwc-resetpw-step-newpass main#main .um-password .um-form .um-field-area input[type=password],
html body.cwc-resetpw-v1.cwc-resetpw-step-newpass main#main .um-password .um-form .um-field-area input[type=text]{padding-left:46px!important;padding-right:52px!important;}
html body.cwc-resetpw-v1.cwc-resetpw-step-newpass main#main .um-password .um-form .um-field-area:before{content:"";position:absolute;left:16px;top:50%;width:20px;height:20px;margin-top:-10px;background-repeat:no-repeat;background-position:center;background-size:20px 20px;pointer-events:none;z-index:1;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10.5' width='16' height='10.5' rx='2.5'/%3E%3Cpath d='M8 10.5V8a4 4 0 0 1 8 0v2.5'/%3E%3C/svg%3E");}
html body.cwc-resetpw-v1 main#main .um-password .cwc-resetpw-eye{display:flex!important;align-items:center!important;justify-content:center!important;position:absolute!important;right:2px!important;top:3px!important;width:44px!important;height:44px!important;margin:0!important;padding:0!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#667085!important;cursor:pointer!important;z-index:2!important;}
html body.cwc-resetpw-v1 main#main .um-password .cwc-resetpw-eye svg{width:20px!important;height:20px!important;display:block!important;}
html body.cwc-resetpw-v1 main#main .um-password .cwc-resetpw-eye[aria-pressed=true]{color:#050505!important;}

/* ===== submit / notices ===== */
html body.cwc-resetpw-v1 main#main .um-password .um-col-alt{margin:0!important;}
html body.cwc-resetpw-v1 main#main .um-password .um-center{text-align:center!important;margin:8px 0 0!important;}
html body.cwc-resetpw-v1 main#main .um-password .um-center .um-button,
html body.cwc-resetpw-v1 main#main .um-password input[type=submit].um-button{box-sizing:border-box!important;display:block!important;width:100%!important;min-width:0!important;height:52px!important;padding:0 20px!important;background:#050505!important;color:#fff!important;border:0!important;border-radius:10px!important;font-size:16px!important;font-weight:700!important;line-height:1.2!important;text-transform:none!important;letter-spacing:0!important;box-shadow:none!important;cursor:pointer!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 20px center!important;background-size:20px 20px!important;}
html body.cwc-resetpw-v1 main#main .um-password .um-center .um-button:hover,
html body.cwc-resetpw-v1 main#main .um-password input[type=submit].um-button:hover{background-color:#2a2a2a!important;}
html body.cwc-resetpw-v1 main#main .um-password .um-center .um-button:focus-visible,
html body.cwc-resetpw-v1 main#main .um-password input[type=submit].um-button:focus-visible{box-shadow:0 0 0 3px rgba(8,120,255,.35)!important;}
html body.cwc-resetpw-v1 main#main .um-password .um-notice{box-sizing:border-box!important;border-radius:10px!important;margin:0 0 16px!important;}

/* "back to login" link: a real <a> injected by the wp_footer helper below (not a pseudo-element, so it is an
   actual focusable/clickable link, not just painted text) */
html body.cwc-resetpw-v1 main#main .um.um-password .cwc-resetpw-back{display:block!important;margin:20px 0 0!important;text-align:center!important;font-size:15px!important;color:#344054!important;}
html body.cwc-resetpw-v1 main#main .um.um-password .cwc-resetpw-back a{color:#050505!important;font-weight:700!important;text-decoration:underline!important;}

/* ===== mobile (<=600px) ===== */
@media (max-width:600px){
html body.cwc-resetpw-v1{padding-top:56px!important;}
html body.cwc-resetpw-v1 main#main{padding-top:0!important;padding-bottom:24px!important;min-height:calc(100svh - 56px)!important;}
html body.cwc-resetpw-v1 main#main .entry-header{padding:24px 20px 24px!important;}
html body.cwc-resetpw-v1 main#main .entry-header .entry-title{font-size:32px;}
html body.cwc-resetpw-v1 main#main .entry-content{padding:0!important;}
html body.cwc-resetpw-v1 main#main .entry-content .um.um-password{margin:0 5px!important;}
html body.cwc-resetpw-v1 .parent,
html body.cwc-resetpw-v1 #onesignal-bell-container,
html body.cwc-resetpw-v1 .onesignal-bell-container,
html body.cwc-resetpw-v1 #onesignal-slidedown-container,
html body.cwc-resetpw-v1 #ch-plugin,
html body.cwc-resetpw-v1 #tawkchat-container,
html body.cwc-resetpw-v1 iframe[id^="launcher"]{display:none!important;}
}
