/* Brand reference: cardon.com.ar. Keep status colors semantic and restrained. */
:root {
  --bg: #f6f7f5;
  --surface: #ffffff;
  --surface-soft: #eff2ee;
  --text: #333333;
  --heading: #191919;
  --muted: #686e66;
  --border: #dfe3dc;
  --primary: #000000;
  --primary-hover: #333333;
  --radius: 10px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
button,
input,
select {
  font: inherit;
}
button,
input,
select,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible,
[tabindex='0']:focus-visible {
  outline: 2px solid var(--heading);
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  top: -70px;
  left: 16px;
  z-index: 10;
  padding: 12px 16px;
  background: var(--primary);
  color: white;
}
.skip-link:focus {
  top: 12px;
}
.app-header {
  background: var(--surface);
  border-top: 4px solid var(--primary);
  border-bottom: 1px solid var(--border);
}
.app-header-inner,
.app-footer {
  max-width: 1344px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.app-brand {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}
.app-wordmark {
  display: block;
  width: 184px;
  height: auto;
}
.app-brand-divider {
  height: 24px;
  width: 1px;
  background: var(--border);
}
.app-brand-caption {
  font-size: 12px;
  color: var(--muted);
}
.app-badge {
  flex-shrink: 0;
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.container {
  max-width: 1344px;
  margin: 0 auto;
  padding: 38px 32px 18px;
  min-width: 0;
}
.box {
  min-width: 0;
}
.stack > * + * {
  margin-top: 20px;
}
.stack-sm > * + * {
  margin-top: 12px;
}
.page-title {
  margin: 0;
  color: var(--heading);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.2;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.muted {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
}
input:not([type='hidden']),
select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid #cbd1c7;
  border-radius: 5px;
}
input::placeholder {
  color: #7b8178;
}
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  color: white;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 120ms ease,
    border-color 120ms ease;
}
button:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
.alert {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.alert--error {
  color: #912f2f;
  background: #fdf2f0;
  border-color: #edc9c3;
}
.app-footer {
  padding-top: 20px;
  padding-bottom: 28px;
  color: var(--muted);
  font-size: 11px;
}
.container--login {
  max-width: 1000px;
  padding-top: clamp(35px, 10vh, 100px);
  padding-bottom: 45px;
}
.box--login {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.login-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
}
.login-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 48px 32px;
  background: #272727;
  color: white;
  text-align: center;
}
.login-brand img {
  width: 210px;
  max-width: 100%;
  height: auto;
}
.login-brand p {
  margin: 0;
  color: #c9cec6;
  font-size: 12px;
  line-height: 1.9;
}
.login-content {
  padding: 48px;
}
.login-content .page-title {
  font-size: 26px;
}
.login-content form {
  margin-top: 28px;
}
.login-submit {
  width: 100%;
  margin-top: 22px;
}
.login-note {
  margin-top: 20px;
  font-size: 11px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 700px) {
  .app-header-inner {
    padding: 20px;
  }
  .app-brand-divider,
  .app-brand-caption {
    display: none;
  }
  .app-wordmark {
    width: 150px;
  }
  .container {
    padding: 26px 16px 12px;
  }
  .app-footer {
    flex-wrap: wrap;
    gap: 6px 20px;
    padding: 16px 20px 24px;
  }
  .login-grid {
    grid-template-columns: 1fr;
  }
  .login-brand {
    padding: 28px;
  }
  .login-brand img {
    width: 145px;
  }
  .login-brand p {
    display: none;
  }
  .login-content {
    padding: 28px 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  button {
    transition: none;
  }
}
