:root {
  --kotta: #0d9488;
  --kotta-dark: #0f766e;
  --kotta-light: #ccfbf1;
  --bg: #f1f5f9;
}

body {
  background: var(--bg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Login ---------- */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--kotta) 0%, var(--kotta-dark) 100%);
  padding: 1rem;
}
.login-card {
  width: 100%;
  max-width: 380px;
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.login-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--kotta);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 0.75rem;
}

/* ---------- Navbar ---------- */
.navbar-kotta {
  background: var(--kotta);
}
.navbar-kotta .navbar-brand,
.navbar-kotta .nav-link {
  color: #fff !important;
}
.navbar-kotta .nav-link.active {
  font-weight: 600;
  border-bottom: 2px solid #fff;
}

/* ---------- Cards ---------- */
.card-kpi .display-6 {
  font-weight: 700;
  color: var(--kotta-dark);
}
.brand-dot {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #fff;
  color: var(--kotta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 0.5rem;
}
.table-wrap {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.online-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 4px;
}
.hidden {
  display: none !important;
}
.view-section {
  display: none;
}
.view-section.active {
  display: block;
}

/* ---------- Página pública de recarga (QR) ---------- */
.charge-body {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--kotta) 0%, var(--kotta-dark) 100%);
}
.charge-wrap {
  max-width: 440px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}
.charge-card {
  border-radius: 1rem;
  overflow: hidden;
}
.charge-header {
  background: var(--kotta-dark);
}
.charging-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto;
  background: var(--kotta-light);
  color: var(--kotta-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.4); }
  50% { box-shadow: 0 0 0 14px rgba(13, 148, 136, 0); }
}
