/* Inter */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src:
    local(""),
    url("../fonts/inter/Inter-VariableFont.woff2") format("woff2"),
    url("../fonts/inter/Inter-VariableFont.woff") format("woff");
}

:root {
  --primary-ui-color: #960000;
  --primary-ui-color-hover: #b30000;
  --primary-ui-color-glow: #f00000;
  --accent-green: #013226;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--primary-ui-color);
  --bs-btn-border-color: none;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--primary-ui-color-hover);
  --bs-btn-hover-border-color: none;
  --bs-btn-focus-shadow-rgb: none;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--primary-ui-color);
  --bs-btn-active-border-color: none;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #404040;
  --bs-btn-disabled-border-color: none;
}

* {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
}

/* === LOGIN === */
/* Sin imagen de fondo por ahora (a pedido de Pablo) — se agrega otra después. */
#login-container {
  background: #fff8f8;
  color: #180000 !important;
  min-height: calc(100vh - 32px); /* deja lugar al .app-footer fijo (mismo alto que .pb-footer) */
  width: 100%;
}

#login-container-child {
  width: 100%;
  color: #180000 !important;
  max-width: 400px;
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
}

@media (max-width: 576px) {
  #login-container-child {
    padding: 1.5rem;
  }

  #login-container-child_logo {
    height: 100px;
  }
}

#login-container-child .input-group-text {
  background: white;
  border: 1px solid #d6d6d6;
  border-right: none;
  color: #666;
  height: 40px;
  display: flex;
  align-items: center;
}

#login-container-child .form-control {
  height: 40px;
  border-left: none;
}

#login-container-child .form-control:focus {
  box-shadow: none;
  border-color: #d6d6d6;
}

.flex-copy_footer {
  color: #999;
}

/* === SPINNER === */
.spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  display: none;
  z-index: 1 !important;
  background: rgba(1, 1, 1, 0.8);
  width: 100vw;
  height: 100vh;
}

/* === TOP BAR (panel) === */
body {
  background: #fff8f8;
  color: var(--accent-green);
}

.top-header {
  background: #c20000;
  padding: 10.5px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.metric-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.big-action-btn {
  padding: 1.5rem 1rem;
  border-radius: 14px;
  font-size: 1.1rem;
  font-weight: 600;
}

.btn-volver {
  font-weight: 600;
}

.app-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 32px;
  background: #212529;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  padding: 0 25px;
  z-index: 1030;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.pb-footer {
  padding-bottom: 32px;
}