/* Login page - Innovaro visual identity (module/Auth/view/layout/layout.phtml) */
:root {
  --primary: #735c0c;
  --primary-hover: #5f4c08;
  --on-primary: #ffffff;
  --primary-container: #ffe08b;
  --secondary-container: #f2e1bb;
  --on-surface: #1b1b1b;
  --on-surface-variant: #474747;
  --outline: #777777;
  --outline-variant: #c6c6c6;
  --surface: #ffffff;
  --surface-dim: #dadada;
  --background: #eeeeee;
  --error: #ba1a1a;
  --error-container: #ffdad6;
  --on-error-container: #93000a;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: Roboto, Arial, sans-serif;
  color: var(--on-surface);
  background-color: var(--background);
  background-image:
    radial-gradient(1200px 600px at 15% 20%, rgba(227,196,109,.45), transparent 60%),
    radial-gradient(900px 500px at 85% 85%, rgba(115,92,12,.35), transparent 60%),
    linear-gradient(135deg, #f6efe0 0%, #e9dcc0 50%, #d8c7a2 100%);
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.app-bar {
  height: 48px;
  background: var(--surface);
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
  flex: none;
}
.app-bar img { height: 24px; width: auto; display: block; }
.app-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}
.card-backdrop {
  width: 100%;
  max-width: 340px;
  background: var(--surface-dim);
  border-radius: 16px;
  padding: 1px;
  box-shadow: 0 8px 28px rgba(60,45,5,.18);
}
.card {
  background: var(--surface);
  border-radius: 15px 15px 0 0;
  padding: 24px 24px 20px;
}
.card__title { text-align: center; margin-bottom: 20px; }
.card__title h1 {
  margin: 0;
  color: var(--primary);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
}
.card__title p {
  margin: 4px 0 0;
  color: var(--on-surface-variant);
  font-size: 15px;
  font-weight: 500;
}
.alert {
  display: none;
  background: var(--error-container);
  color: var(--on-error-container);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 14px;
}
.alert.is-visible { display: block; }
.alert--info { background: var(--secondary-container); color: #50462a; }
.field { position: relative; margin-bottom: 14px; }
.field input {
  width: 100%;
  height: 44px;
  padding: 18px 14px 4px;
  font: 400 15px Roboto, Arial, sans-serif;
  color: var(--on-surface);
  background: transparent;
  border: 1px solid var(--outline);
  border-radius: 4px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field--password input { padding-right: 44px; }
.field label {
  position: absolute;
  left: 14px;
  top: 12px;
  font-size: 14px;
  color: var(--on-surface-variant);
  pointer-events: none;
  transition: top .15s, font-size .15s, color .15s;
}
.field input:focus { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.field input:focus + label,
.field input:not(:placeholder-shown) + label { top: 4px; font-size: 11px; }
.field input:focus + label { color: var(--primary); }
.field.has-error input { border-color: var(--error); }
.field.has-error label { color: var(--error); }
.field .help {
  display: none;
  font-size: 12px;
  color: var(--error);
  margin: 4px 2px 0;
}
.field.has-error .help { display: block; }
.toggle-pass {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--on-surface-variant);
  cursor: pointer;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.toggle-pass:hover { background: rgba(0,0,0,.06); }
.toggle-pass svg { width: 20px; height: 20px; fill: currentColor; }
.remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--on-surface-variant);
  margin: 2px 0 18px;
  cursor: pointer;
  user-select: none;
}
.remember input { width: 16px; height: 16px; margin: 0; accent-color: var(--primary); }
.btn {
  width: 100%;
  height: 36px;
  border: 0;
  border-radius: 32px;
  background: var(--primary);
  color: var(--on-primary);
  font: 500 14px Roboto, Arial, sans-serif;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .15s, box-shadow .15s;
}
.btn:hover { background: var(--primary-hover); box-shadow: 0 2px 6px rgba(115,92,12,.35); }
.btn:focus-visible { outline: 2px solid var(--primary-container); outline-offset: 2px; }
.forgot {
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  color: var(--on-surface-variant);
}
.forgot a { color: var(--primary); font-weight: 500; text-decoration: none; }
.forgot a:hover { text-decoration: underline; }
.card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  font-size: 11px;
  color: var(--on-surface);
}

