:root {
  --azul-oscuro: #0f1f3d;
  --azul-medio: #16305c;
  --dorado: #d4af37;
  --verde: #2ecc71;
  --rojo: #e74c3c;
  --amarillo: #f1c40f;
  --gris: #95a5a6;
}

body { background: #f4f6f9; font-family: 'Segoe UI', Arial, sans-serif; }

.sidebar {
  background: var(--azul-oscuro);
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 92px;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  overflow-x: auto;
  white-space: nowrap;
  z-index: 1000;
}
.sidebar .logo { display: flex; align-items: center; margin-right: 2rem; flex-shrink: 0; }
.sidebar .logo img { max-height: 68px; }
.sidebar a {
  display: inline-flex;
  align-items: center;
  color: #cfd8e3;
  text-decoration: none;
  padding: .7rem 1.2rem;
  font-size: 1.02rem;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  gap: .6rem;
}
.sidebar a i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  font-size: 1.15rem;
  transition: background .15s ease;
}
.sidebar a:hover { color: #fff; }
.sidebar a:hover i { background: var(--dorado); color: var(--azul-oscuro); }
.sidebar a.active { color: #fff; border-bottom: 3px solid var(--dorado); }
.sidebar a.active i { background: var(--dorado); color: var(--azul-oscuro); }
.contenido { margin-left: 0; margin-top: 112px; padding: 0 2rem 1.5rem; }

.topbar {
  display: flex; justify-content: space-between; align-items: center;
  background: #fff; padding: .9rem 1.5rem; border-radius: 8px; margin-bottom: 1.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.card-resumen { border-radius: 10px; border: none; box-shadow: 0 1px 4px rgba(0,0,0,.07); }
.card-resumen .icono { width: 42px; height: 42px; border-radius: 8px; display:flex; align-items:center; justify-content:center; font-size:1.2rem; }

.login-wrapper { min-height: 100vh; display: flex; }
.login-lado-izq {
  flex: 1; background: linear-gradient(rgba(15,31,61,.85), rgba(15,31,61,.85));
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.login-lado-der { flex: 1; display: flex; align-items: center; justify-content: center; background: #eef1f5; }
.login-card { background: #fff; padding: 2.5rem; border-radius: 10px; width: 380px; box-shadow: 0 4px 20px rgba(0,0,0,.08); }

.badge-disponible { background: var(--verde); }
.badge-ocupada { background: var(--rojo); }
.badge-limpieza { background: var(--amarillo); color: #333; }
.badge-mantenimiento { background: var(--gris); }

table td, table th { vertical-align: middle; }
.btn-accion { border: none; background: none; font-size: 1rem; }