/* Ayurlogy login: split-screen "wellness" design (ported from the Ayurlogy Wellness App prototype). */
.wl, .wl * { box-sizing: border-box; }
body.wl-body { margin: 0; min-width: 320px; background: #faf8f3; color: #18342c; font-family: 'DM Sans', sans-serif; font-synthesis: none; }
.wl a, .wl button, .wl input { font: inherit; }
.wl button { cursor: pointer; }
.wl svg.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

.wl-page { min-height: 100vh; display: grid; grid-template-columns: minmax(480px, 46%) 1fr; background: #faf8f3; }

/* ---------- left visual ---------- */
.wl-visual { position: relative; min-height: 730px; overflow: hidden; color: #fff; background: #173f35; }
.wl-visual > img, .wl-overlay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wl-visual > img { object-position: 50% 40%; }
.wl-overlay { background: linear-gradient(180deg, rgba(10,40,32,.35), rgba(10,43,33,.16) 40%, rgba(9,40,31,.78)); }
.wl-brand-top { position: absolute; top: 43px; left: 52px; }
.wl-message { position: absolute; left: 10%; bottom: 27%; max-width: 470px; }
.wl-quote-mark { font: 65px/.6 'Instrument Serif', serif; color: #d9af8d; }
.wl-message blockquote { margin: 13px 0 18px; font-family: 'Instrument Serif', serif; font-weight: 400; font-size: clamp(43px, 4vw, 64px); line-height: .99; letter-spacing: -.025em; }
.wl-message blockquote em { color: #f1c09d; font-style: italic; }
.wl-message > p { color: #dbe5e0; font-size: 12px; line-height: 1.65; max-width: 360px; margin: 0; }
.wl-testimonial { position: absolute; left: 10%; right: 10%; bottom: 5%; display: flex; gap: 16px; align-items: flex-start; border-top: 1px solid rgba(255,255,255,.3); padding-top: 20px; }
.wl-testimonial-icon { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: #f1c09d; font-size: 20px; flex: 0 0 auto; }
.wl-stars { color: #e3a57f; letter-spacing: .08em; font-size: 10px; }
.wl-testimonial p { font: 15px 'Instrument Serif', serif; margin: 6px 0 3px; }
.wl-testimonial small { color: #bfccc6; font-size: 9px; }

/* ---------- logo ---------- */
.wl-logo { display: inline-flex; align-items: center; gap: 11px; color: #173f35; text-decoration: none; }
.wl-logo-mark { width: 39px; height: 39px; border-radius: 50%; display: grid; place-items: center; color: #f8f5ee; background: #315f4f; font-size: 21px; }
.wl-logo-type { font-family: 'Instrument Serif', serif; font-size: 26px; line-height: .72; letter-spacing: -.02em; }
.wl-logo-type small { display: block; margin-top: 8px; font: 700 7px/1 'DM Sans', sans-serif; letter-spacing: .2em; }
.wl-logo.light { color: #f8f5ee; }
.wl-logo.light .wl-logo-mark { background: #f2eadc; color: #173f35; }

/* ---------- right panel ---------- */
.wl-panel { min-height: 100vh; padding: 42px clamp(40px, 7vw, 110px) 25px; display: flex; flex-direction: column; }
.wl-back { align-self: flex-end; display: flex; gap: 9px; align-items: center; color: #6f7e77; font-size: 11px; text-decoration: none; }
.wl-back:hover { color: #173f35; }
.wl-form-wrap { width: min(430px, 100%); margin: auto; padding: 40px 0; }
.wl-mobile-logo { display: none; }
.wl-kicker { display: flex; align-items: center; gap: 9px; color: #a96645; font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.wl-form-wrap h1 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: clamp(52px, 5vw, 68px); line-height: .96; letter-spacing: -.035em; color: #173f35; margin: 20px 0 18px; }
.wl-form-wrap h1 em { color: #a96645; font-style: italic; }
.wl-subtitle { color: #77847e; font-size: 13px; margin: 0 0 30px; }

.wl-label, .wl-form-wrap form .wl-label { display: block; color: #27483e; font-size: 11px; font-weight: 700; margin: 0 0 9px; }
.wl-field { height: 55px; display: flex; align-items: center; gap: 12px; padding: 0 17px; border: 1px solid #d6dbd6; background: #fff; margin-bottom: 8px; transition: border .2s, box-shadow .2s; }
.wl-field:focus-within { border-color: #315f4f; box-shadow: 0 0 0 3px rgba(49,95,79,.08); }
.wl-field > svg { color: #8b9992; font-size: 19px; }
.wl-field input { width: 100%; border: 0; outline: 0; color: #173f35; background: transparent; font-size: 13px; }
.wl-field input::placeholder { color: #a8b0ac; }
.wl-field button { border: 0; background: transparent; color: #7c8c84; padding: 4px; display: grid; place-items: center; font-size: 19px; }
.wl-err { display: block; min-height: 16px; color: #b3402c; font-size: 11px; margin-bottom: 10px; }
.wl-pw-label { display: flex; align-items: center; justify-content: space-between; }
.wl-pw-label a { color: #a96645; font-size: 10px; font-weight: 600; text-decoration: none; }
.wl-remember { display: flex; align-items: center; gap: 9px; color: #6f7e77; font-size: 11px; font-weight: 500; margin: 4px 0 24px; cursor: pointer; }
.wl-remember input { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; margin: 0; border: 1px solid #bec7c1; background: #fff; }
.wl-remember input:checked { background: #315f4f; box-shadow: inset 0 0 0 3px #fff; }
.wl-alert { margin: -8px 0 20px; padding: 11px 13px; display: flex; gap: 8px; align-items: center; color: #8a2d1f; background: #fbe9e5; border-left: 3px solid #c0392b; font-size: 12px; }
.wl-alert.validation-summary-valid { display: none; }
.wl-alert ul { margin: 0; padding: 0; list-style: none; }

.wl-button { width: 100%; min-height: 52px; padding: 0 25px; border-radius: 2px; border: 1px solid #173f35; background: #173f35; color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 15px; font-weight: 600; font-size: 14px; transition: transform .2s, background .2s; box-shadow: 0 9px 25px rgba(23,63,53,.12); }
.wl-button:hover { background: #285b4b; transform: translateY(-2px); }
.wl-signup { text-align: center; color: #74827b; font-size: 11px; margin: 22px 0; }
.wl-signup a { color: #a96645; font-weight: 700; text-decoration: none; }

/* ---------- demo logins ---------- */
.wl-demo { border: 1px dashed #c9d3cd; background: #f3f6f1; padding: 14px 16px; margin: 6px 0 18px; }
.wl-demo summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; color: #27483e; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.wl-demo summary::-webkit-details-marker { display: none; }
.wl-demo summary:after { content: "+"; font-size: 16px; color: #a96645; }
.wl-demo[open] summary:after { content: "\2212"; }
.wl-demo p { color: #6f7e77; font-size: 11px; margin: 10px 0; }
.wl-demo-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wl-demo-btn { text-align: left; border: 1px solid #cfd8d2; background: #fff; padding: 9px 11px; color: #173f35; display: flex; flex-direction: column; gap: 2px; transition: border-color .2s, background .2s; }
.wl-demo-btn:hover, .wl-demo-btn.active { border-color: #315f4f; background: #e7efe8; }
.wl-demo-btn strong { font-size: 12px; display: flex; align-items: center; gap: 6px; }
.wl-demo-btn small { font-size: 10px; color: #77847e; overflow: hidden; text-overflow: ellipsis; }
.wl-demo .fine { font-size: 10px; margin: 10px 0 0; }

.wl-secure { display: flex; align-items: center; justify-content: center; gap: 7px; padding-top: 18px; border-top: 1px solid #e3e5e1; color: #98a39e; font-size: 9px; }
.wl-footer { display: flex; justify-content: space-between; color: #9aa49f; font-size: 9px; }
.wl-footer span:last-child { display: flex; gap: 20px; }
.wl-footer a { color: inherit; text-decoration: none; }

@media (max-width: 1100px) {
  .wl-page { grid-template-columns: 43% 57%; }
  .wl-message { left: 8%; }
}
@media (max-width: 760px) {
  .wl-page { display: block; }
  .wl-visual { display: none; }
  .wl-panel { padding: 25px 24px; }
  .wl-mobile-logo { display: block; margin-bottom: 50px; }
  .wl-back { order: 2; align-self: center; margin-top: 25px; }
  .wl-form-wrap { padding: 10px 0 30px; }
  .wl-form-wrap h1 { font-size: 54px; }
  .wl-footer { margin-top: auto; }
  .wl-demo-list { grid-template-columns: 1fr; }
}
