/* Lookimg 2026 — page layer: auth (login/signup/password), static/trust pages,
   cookie banner, modals and account settings forms. Tokens from lookimg2026.css. */

/* ---------- Auth pages (body#login: login, signup, password-forgot, …) ---------- */
html[class] body#login .background-cover {
  background-image: none !important;
  background-color: transparent;
}
html[class] body#login {
  background-color: var(--lk-paper);
}
html[class] body#login .flex-center {
  padding: 48px 16px;
  box-sizing: border-box;
}
html[class] .fancy-box {
  background: var(--lk-white);
  color: var(--lk-ink);
  border: var(--lk-border);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--lk-ink);
  padding: 34px 34px 28px;
  max-width: 440px;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: left;
}
html[class] .fancy-box-heading {
  font-family: var(--lk-hand);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.1;
  margin: 0 0 18px;
  text-align: center;
  color: var(--lk-ink);
}
html[class] .fancy-box-heading .fas,
html[class] .fancy-box-heading .far { font-size: 26px; margin-right: 6px; }
html[class] .fancy-box .content-section {
  font-size: 16px;
  color: var(--lk-muted-2);
  text-align: center;
}
html[class] .fancy-box form.content-section { text-align: left; margin-top: 18px; }
html[class] .fancy-box a {
  color: var(--lk-ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
html[class] .fancy-box a:hover { background: var(--lk-lime); text-decoration: none; border-radius: 4px; }

/* Big inputs (Peafowl's .fancy-fieldset flattens them to an underline) */
html[class] .fancy-fieldset input:not([type="checkbox"]):not([type="radio"]),
html[class] .fancy-fieldset select,
html[class] .fancy-fieldset textarea,
html[class] body#login .input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  margin: 0 0 14px;
  box-sizing: border-box;
  background: var(--lk-white);
  color: var(--lk-ink);
  border: var(--lk-border) !important;
  border-radius: 12px;
  font-family: var(--lk-sans);
  font-size: 17px;
  box-shadow: none;
}
html[class] .fancy-fieldset input:focus,
html[class] body#login .input:focus {
  box-shadow: 4px 4px 0 var(--lk-lime);
  outline: none;
}
html[class] .fancy-fieldset input::placeholder,
html[class] body#login .input::placeholder { color: #767166; }

/* Password field + its arrow submit button → black round button inside the field */
html[class] .input-with-button { position: relative; }
html[class] .input-with-button input { padding-right: 64px !important; }
html[class] .input-with-button button.icon--input-submit {
  top: 26px;
  inset-inline-end: 8px;
  width: 40px;
  height: 40px;
  font-size: 20px;
  line-height: 40px;
  border-radius: 10px;
  background: var(--lk-ink);
  color: var(--lk-white);
  box-shadow: 3px 3px 0 var(--lk-lime);
  text-align: center;
  cursor: pointer;
}
html[class] .input-with-button button.icon--input-submit:hover { background: #000; }
html[class] .input-label-below { font-size: 15px; }

/* Signup extras */
html[class] .fancy-box .red-warning { color: #B3261E; font-size: 14px; }
html[class] .fancy-box .input-password-strength {
  border: 2px solid var(--lk-ink);
  border-radius: 6px;
  overflow: hidden;
}
html[class] .fancy-box .checkbox-label {
  padding-left: 30px;
  font-size: 15px;
  color: var(--lk-muted-2);
}
html[class] .fancy-box .checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 1px 0 0 -30px;
  accent-color: var(--lk-ink);
}
html[class] .fancy-box .btn-container { margin-top: 18px; }
html[class] .fancy-box .btn-container .btn { width: 100%; min-height: 52px; font-size: 17px; }
html[class] .fancy-box .g-recaptcha,
html[class] .fancy-box .cf-turnstile { margin: 12px auto; }

/* Login page's floating menu button */
html[class] body#login #top-left { padding: 10px; }
html[class] body#login #top-left .top-button {
  background: var(--lk-white);
  border: var(--lk-border);
  border-radius: 12px;
  box-shadow: var(--lk-shadow-sm);
  color: var(--lk-ink);
}

/* ---------- Static / trust pages (body#page) ---------- */
html[class] body#page .c24.center-box {
  float: none;
  max-width: 800px;
  width: auto;
  margin: 40px auto 48px;
  padding: 36px 40px 30px;
  box-sizing: border-box;
  background: var(--lk-white);
  border: var(--lk-border);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--lk-ink);
}
html[class] body#page .c24.center-box .header {
  border-bottom: 2px dashed var(--lk-line);
  margin-bottom: 18px;
  padding-bottom: 10px;
}
html[class] body#page .c24.center-box h1,
html[class] body#page .c24.center-box .header h1 {
  font-family: var(--lk-hand);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.1;
  margin: 0;
  color: var(--lk-ink);
}
html[class] body#page .text-content {
  font-size: 17px;
  color: var(--lk-muted-2);
}
html[class] body#page .text-content h2,
html[class] body#page .text-content h3 {
  font-family: var(--lk-hand);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  color: var(--lk-ink);
  margin: 30px 0 10px;
}
html[class] body#page .text-content p,
html[class] body#page .text-content li { line-height: 1.65; }
html[class] body#page .text-content ul,
html[class] body#page .text-content ol { padding-left: 22px; }
html[class] body#page .text-content li::marker { color: var(--lk-ink); }
html[class] body#page .text-content a,
html[class] body#page .form-content a {
  color: var(--lk-ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
html[class] body#page .text-content a:hover,
html[class] body#page .form-content a:hover { background: var(--lk-lime); text-decoration: none; }
html[class] body#page .form-content { font-size: 17px; color: var(--lk-muted-2); }
html[class] body#page .form-content ul { list-style: none; padding: 0; }
html[class] body#page .form-content ul a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px !important;
  border: 2px solid var(--lk-ink);
  border-radius: 999px;
  background: var(--lk-sky);
  text-decoration: none;
}
/* Donate page brings its own .lkd layout: keep the shell out of its way */
html[class] body#page .lkd { margin-top: 8px; }

/* ---------- Cookie banner → sticker ---------- */
html[class] #cookie-law-banner {
  left: 16px;
  right: 16px;
  bottom: 16px;
  width: auto;
  max-width: 980px;
  margin: 0 auto;
  padding: 14px 18px;
  box-sizing: border-box;
  background: var(--lk-white);
  color: var(--lk-ink);
  border: var(--lk-border);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--lk-ink);
  font-size: 15px;
}
html[class] #cookie-law-banner .c24,
html[class] #cookie-law-banner .center-box { width: auto; float: none; }
html[class] #cookie-law-banner p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--lk-ink);
  padding-inline-end: 48px;
}
html[class] #cookie-law-banner a { color: var(--lk-ink); font-weight: 700; text-decoration: underline; }
html[class] #cookie-law-banner .cookie-law-close {
  width: 36px;
  height: 36px;
  line-height: 32px;
  top: 50%;
  margin-top: -18px;
  inset-inline-end: 12px;
  text-align: center;
  border: 2px solid var(--lk-ink);
  border-radius: 10px;
  background: var(--lk-lime);
  color: var(--lk-ink);
  opacity: 1;
  cursor: pointer;
}
html[class] #cookie-law-banner .cookie-law-close .icon { color: var(--lk-ink); }

/* ---------- Modals ---------- */
html[class] #fullscreen-modal-box {
  background: var(--lk-white);
  color: var(--lk-ink);
  border: var(--lk-border);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--lk-ink);
  padding: 26px 28px;
}
html[class].phone #fullscreen-modal-box { border-radius: 0; border-left: 0; border-right: 0; }
html[class] #fullscreen-modal-box .modal-box-title,
html[class] #fullscreen-modal-box h1 {
  font-family: var(--lk-hand);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  color: var(--lk-ink);
  padding-bottom: 10px;
  border-bottom: 2px dashed var(--lk-line);
}
html[class] #fullscreen-modal-box .input-label > label { font-weight: 700; }

/* ---------- Account / settings forms ---------- */
html[class] .input-label > label,
html[class] .input-label label[for] {
  font-weight: 700;
  color: var(--lk-ink);
}
html[class] .input-below,
html[class] .input-label .input-below {
  color: var(--lk-muted);
  font-size: 14px;
}
html[class] .input-label .text-input,
html[class] .input-label select,
html[class] .input-label textarea {
  min-height: 46px;
  padding: 10px 14px;
  font-size: 16px;
}
html[class] .input-label textarea { min-height: 96px; }
html[class] .checkbox-label input[type="checkbox"],
html[class] .input-label input[type="checkbox"],
html[class] input[type="radio"] { accent-color: var(--lk-ink); }
html[class] body#settings .content-width > .header,
html[class] body#settings .header {
  border-bottom: 2px dashed var(--lk-line);
}
html[class] body#settings .form-content,
html[class] body#settings .settings-form,
html[class] body#settings form.content-section {
  font-size: 16px;
}
html[class] .btn-container { margin-top: 18px; }
html[class] .btn-container .btn-alt,
html[class] .btn-container .btn-alt a { color: var(--lk-muted-2); }

/* Growl / notices */
html[class] .growl,
html[class] #growl {
  background: var(--lk-white);
  color: var(--lk-ink);
  border: var(--lk-border);
  border-radius: 14px;
  box-shadow: 6px 6px 0 var(--lk-ink);
}

/* ---------- Phone ---------- */
@media (max-width: 600px) {
  html[class] .fancy-box { padding: 26px 20px 22px; border-radius: 18px; }
  html[class] .fancy-box-heading { font-size: 28px; }
  html[class] body#page .c24.center-box {
    margin: 20px 12px 28px;
    padding: 24px 20px 20px;
    border-radius: 16px;
  }
  html[class] body#page .c24.center-box h1 { font-size: 32px; }
  html[class] body#page .text-content h2 { font-size: 24px; }
  html[class] #cookie-law-banner { left: 10px; right: 10px; bottom: 10px; padding: 12px 14px; }
}

/* ---------- Fixes (round 2) ---------- */
/* The banner's inner .c24.center-box must not pick up the static-page card */
html[class] body#page #cookie-law-banner .c24.center-box,
html[class] #cookie-law-banner .c24.center-box {
  margin: 0;
  padding: 0;
  max-width: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
/* Icon-font buttons: the base layer sets button font-family, restore Font Awesome */
html[class] button.fas,
html[class] button.fa-solid,
html[class] .input-with-button button.icon--input-submit {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}
/* Auth card width */
html[class] body#login .content-box.col-8-max {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}
html[class] body#login .fancy-box { max-width: none; }
html[class] body#login #top-left .top-button-icon { color: var(--lk-ink); }

/* ---------- Design 404 (lookimg2026/404.php) ---------- */
html[class] .lk-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 40px 16px;
  box-sizing: border-box;
}
html[class] .lk-404__card {
  width: 100%;
  max-width: 520px;
  padding: 32px 28px;
  box-sizing: border-box;
  text-align: center;
  background: var(--lk-white);
  border: var(--lk-border);
  border-radius: var(--lk-radius);
  box-shadow: var(--lk-shadow);
  color: var(--lk-ink);
  font-family: var(--lk-sans);
}
html[class] .lk-404__doodle {
  width: 120px;
  height: 100px;
  margin: 0 auto 8px;
  display: block;
  fill: none;
  stroke: var(--lk-ink);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html[class] .lk-404 h1 {
  margin: 0 0 8px;
  font-family: var(--lk-hand);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--lk-ink);
}
html[class] .lk-404__lol {
  margin: 0 0 12px;
  font-family: var(--lk-hand);
  font-size: 20px;
  color: var(--lk-muted-2);
}
html[class] .lk-404__plain {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--lk-muted);
}
html[class] .lk-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
html[class] .lk-404__btn {
  display: inline-block;
  padding: 10px 18px;
  border: var(--lk-border);
  border-radius: 999px;
  background: var(--lk-white);
  color: var(--lk-ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--lk-shadow-sm);
  transition: transform .1s ease, box-shadow .1s ease;
}
html[class] .lk-404__btn--main {
  background: var(--lk-ink);
  color: var(--lk-white);
  box-shadow: 4px 4px 0 var(--lk-lime);
}
html[class] .lk-404__btn:hover,
html[class] .lk-404__btn:focus-visible {
  transform: translate(-1px, -1px);
  color: var(--lk-ink);
  text-decoration: none;
}
html[class] .lk-404__btn--main:hover,
html[class] .lk-404__btn--main:focus-visible {
  color: var(--lk-white);
  box-shadow: 5px 5px 0 var(--lk-lime);
}
html[class] .lk-404__btn:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}
@media (max-width: 480px) {
  html[class] .lk-404__card { padding: 24px 18px; }
  html[class] .lk-404 h1 { font-size: 36px; }
}
