@import url('./mapa-components.css?v=202610081900');
@import url('./mapa-office.css?v=202610081900');
@import url('./mapa-admin.css?v=202610081900');

:root {
  --blue: #123c69;
  --gold: #b28a4b;
  --ink: #122033;
  --muted: #687487;
  --paper: #fff;
  --line: #dce3ea;
  --background: #eef2f5;
  color: var(--ink);
  background: var(--background);
  font-family: Inter, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
.eyebrow {
  margin: 0 0 5px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
  font-weight: 800;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(420px, 1fr);
}
.login-brand {
  padding: clamp(40px, 8vw, 100px);
  color: white;
  background: linear-gradient(145deg, #164c7f, #082d52);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.login-brand img {
  width: min(300px, 75%);
}
.login-brand h1 {
  margin: 8px 0;
  font:
    500 clamp(42px, 6vw, 76px)/1 Georgia,
    serif;
}
.login-brand p:last-child {
  color: rgba(255, 255, 255, 0.75);
}
.login-card {
  align-self: center;
  width: min(440px, calc(100% - 48px));
  margin: auto;
  display: grid;
  gap: 18px;
  padding: 36px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(18, 32, 51, 0.09);
}
.login-card h2 {
  margin: 0;
  color: var(--blue);
  font:
    500 34px Georgia,
    serif;
}
label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
input,
select,
textarea {
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  background: white;
  border: 1px solid #cbd5df;
  border-radius: 5px;
}
textarea {
  min-height: 92px;
  resize: vertical;
}
button {
  padding: 10px 14px;
  color: white;
  background: var(--blue);
  border: 0;
  border-radius: 5px;
  font-weight: 700;
}
.error {
  min-height: 20px;
  color: #9e3030;
}

.topbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(20px, 4vw, 64px);
  color: white;
  background: var(--blue);
}
.topbar img {
  width: 175px;
  height: 52px;
  object-fit: contain;
}
.brand-link {
  flex: 0 0 auto;
  padding: 4px;
}
.internal-navigation {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.internal-navigation a {
  padding: 10px 13px;
  color: white;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
}
.internal-navigation a:first-child {
  color: var(--blue);
  background: white;
}
.topbar h1 {
  margin: 0;
  font:
    500 25px Georgia,
    serif;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-actions span {
  max-width: 220px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}
.secondary {
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
}

.workspace {
  width: min(1800px, 100%);
  margin: auto;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
}
.map-column,
.configuration {
  min-width: 0;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(18, 32, 51, 0.05);
}
.map-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.map-heading h2,
.configuration h2 {
  margin: 0;
  color: var(--blue);
  font:
    500 28px Georgia,
    serif;
}
.summary,
.map-help {
  color: var(--muted);
  font-size: 12px;
}
.state-summary {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}
.office-map {
  min-height: 680px;
  display: grid;
  grid-template-columns: repeat(12, minmax(48px, 1fr));
  grid-auto-rows: 74px;
  gap: 8px;
  padding: 18px;
  overflow: auto;
  background: #e8edf0;
  border: 1px solid #cfd8df;
  background-image:
    linear-gradient(rgba(18, 60, 105, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 60, 105, 0.045) 1px, transparent 1px);
  background-size: calc((100% - 36px) / 12) 82px;
}
.empty-map {
  grid-column: 1 / -1;
  align-self: center;
  text-align: center;
  color: var(--muted);
}
