/* ==========================================================
   Log in / Sign up (page-login.php, page-sign-up.php)
   ========================================================== */
.rhh-auth { font-family: var(--rhh-font); color: var(--rhh-text); background: linear-gradient(160deg, #fff4f8 0%, #fff 55%, #fffaf0 100%); padding: 32px 16px 72px; }
.rhh-auth h1, .rhh-auth h2 { font-family: var(--rhh-font); color: var(--rhh-ink); letter-spacing: -.01em; }
.rhh-auth .rhh-btn--block { width: 100%; }
.rhh-auth :focus-visible { outline: none; box-shadow: var(--rhh-focus); }

.rhh-auth__wrap { display: grid; max-width: 1040px; margin: 0 auto; background: #fff; border: 1px solid var(--rhh-line); border-radius: 28px; overflow: hidden; box-shadow: 0 24px 60px rgba(29,32,36,.08); }
@media (min-width: 900px) { .rhh-auth__wrap { grid-template-columns: 5fr 6fr; } }

/* Brand panel */
.rhh-auth__aside { position: relative; display: none; color: #fff; background: linear-gradient(160deg, rgba(201,47,106,.92), rgba(233,75,134,.78)), var(--rhh-auth-photo, none) center / cover, var(--rhh-pink); }
@media (min-width: 900px) { .rhh-auth__aside { display: flex; align-items: flex-end; } }
.rhh-auth__aside-inner { padding: 44px 40px; }
.rhh-auth__kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; font-weight: 700; letter-spacing: .02em; opacity: .95; }
.rhh-auth__kicker .rhh-icon { width: 26px; height: 26px; }
.rhh-auth__aside h2 { margin: 0 0 20px; color: #fff; font-size: 30px; line-height: 1.2; font-weight: 700; }
.rhh-auth__aside ul { margin: 0; padding: 0; list-style: none; }
.rhh-auth__aside li { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; padding: 0; background: none; font-size: 16px; font-weight: 600; line-height: 1.4; }
.rhh-auth__aside li::before { display: none; }
.rhh-auth__aside li .rhh-icon { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(255,255,255,.22); stroke-width: 3; }

/* Form card */
.rhh-auth__card { padding: 36px 22px 32px; }
@media (min-width: 560px) { .rhh-auth__card { padding: 48px 52px 40px; } }
.rhh-auth__card h1 { margin: 0 0 6px; font-size: clamp(28px, 3.4vw, 34px); font-weight: 700; }
.rhh-auth__sub { margin: 0 0 26px; color: var(--rhh-muted); font-size: 16px; }
.rhh-auth a { color: var(--rhh-pink-dark); font-weight: 700; }
.rhh-auth__alert { margin: 0 0 20px; padding: 14px 16px; border-radius: 14px; background: #fdecee; border: 1px solid #f5c2c7; color: #8a1c2b; font-size: 15px; font-weight: 600; }
.rhh-auth__alert ul { margin: 6px 0 0; padding-left: 20px; font-weight: 500; }
.rhh-auth__alert:focus { outline: none; box-shadow: var(--rhh-focus); }

.rhh-auth__form { display: grid; gap: 18px; }
.rhh-auth__row { display: grid; gap: 18px; }
@media (min-width: 480px) { .rhh-auth__row { grid-template-columns: 1fr 1fr; } }
.rhh-auth__field label, .rhh-auth__labelrow label { display: block; margin: 0 0 6px; font-weight: 700; font-size: 15px; color: var(--rhh-ink); }
.rhh-auth__labelrow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rhh-auth__labelrow a { font-size: 14px; }
.rhh-auth__hint { margin: -2px 0 8px; font-size: 13.5px; line-height: 1.45; color: var(--rhh-muted); }
.rhh-auth input[type=text], .rhh-auth input[type=email], .rhh-auth input[type=tel], .rhh-auth input[type=password], .rhh-auth textarea {
	display: block; width: 100%; height: auto; min-height: 50px; margin: 0; padding: 12px 14px;
	border: 1.5px solid #d6d8de; border-radius: 12px; background: #fff; box-shadow: none;
	font: 500 16px/1.4 var(--rhh-font); color: var(--rhh-ink); transition: border-color .15s, box-shadow .15s;
}
.rhh-auth input:hover, .rhh-auth textarea:hover { border-color: #a9adb8; }
.rhh-auth input:focus, .rhh-auth textarea:focus { outline: none; border-color: var(--rhh-pink); box-shadow: 0 0 0 4px rgba(233,75,134,.18); }
.rhh-auth input::placeholder { color: #9aa0ab; }
.rhh-auth .has-error input, .rhh-auth input[aria-invalid="true"] { border-color: #c62839; }
.rhh-auth__fielderr { display: flex; gap: 6px; margin: 7px 0 0; color: #b3192b; font-size: 14px; font-weight: 600; }
.rhh-auth__fielderr::before { content: "!"; display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #b3192b; color: #fff; font-size: 12px; }
.rhh-auth__fielderr[hidden] { display: none; }

.rhh-auth__pw { position: relative; }
.rhh-auth__pw input { padding-right: 76px; }
.rhh-auth__eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); padding: 8px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--rhh-pink-dark); font: 700 14px var(--rhh-font); cursor: pointer; }
.rhh-auth__eye:hover { background: #fdeef4; }
.rhh-auth__meter { height: 6px; margin-top: 10px; border-radius: 99px; background: #f1f2f4; overflow: hidden; }
.rhh-auth__meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: #c62839; transition: width .25s, background-color .25s; }
.rhh-auth__meter span[data-level="2"] { background: #d98a00; }
.rhh-auth__meter span[data-level="3"] { background: #3f9a5c; }
.rhh-auth__meter span[data-level="4"], .rhh-auth__meter span[data-level="5"] { background: #1f7a55; }
.rhh-auth__meter-label { margin: 6px 0 0; }
.rhh-auth__meter-label:empty { display: none; }

.rhh-auth__check { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--rhh-ink); cursor: pointer; }
.rhh-auth__check input { width: 20px; height: 20px; margin: 0; accent-color: var(--rhh-pink); }
.rhh-auth__more > summary { cursor: pointer; font-weight: 700; color: var(--rhh-pink-dark); list-style: none; }
.rhh-auth__more > summary::-webkit-details-marker { display: none; }
.rhh-auth__more > summary::before { content: "+ "; }
.rhh-auth__more[open] > summary::before { content: "– "; }
.rhh-auth__more[open] > summary { margin-bottom: 12px; }
.rhh-auth__captcha { min-height: 78px; }
.rhh-auth__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rhh-auth button[type=submit] { margin-top: 4px; }
.rhh-auth button[disabled] { opacity: .7; cursor: progress; }
.rhh-auth__terms { margin: 0; font-size: 13.5px; color: var(--rhh-muted); text-align: center; }
.rhh-auth__foot { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 22px 0 0; font-size: 13.5px; color: var(--rhh-muted); }
.rhh-auth__foot .rhh-icon { width: 16px; height: 16px; color: #1f9d6b; }
