:root {
  /* palette minimal */
  --pv-bg: #1b1a1aef; /* fondo app */
  --pv-surface: #000000; /* superficies */
  --pv-surface-2: rgb(11, 15, 20); /* paneles #0B0F14 */
  --pv-border: #363535; /* bordes sutiles */
  --pv-text: #e7e9ee; /* texto principal */
  --pv-text-dim: #dbe6fc; /* texto secundario */
  --pv-primary: #0546f8; /* acento */
  --pv-ok: #34d399;
  --pv-warn: #f59e0b;
  --pv-danger: #ef4444;
  /* spacing & radii */
  --pv-gap-xxs: 0.25rem;
  --pv-gap-xs: 0.5rem;
  --pv-gap-sm: 0.75rem;
  --pv-gap: 1rem;
  --pv-gap-lg: 1.25rem;
  --pv-gap-xl: 1.5rem;
  --pv-radius: 12px;
  --pv-radius-lg: 16px;
  /* sizes */
  --pv-header-h: 60px;
  --pv-topbar-h: 56px;
  --pv-ribbon-h: 80px;
  --pv-avatar-size: 28px;
  --pv-avatar-size-lg: 40px;
  --pv-avatar-size-sm: 20px;
  /* font */
  --pv-font: "Inter", system-ui, Segoe UI, Roboto, Arial;

  /* personalizados Sergio*/
  --pv-color-contraste-1: #000000 ;
  --pv-color-contraste-2: #ffffff ;
  --pv-color-azul-1: #1202f1 ;
  --pv-color-azul-2: rgb(11, 15, 20); /* #0B0F14 */
  --pv-color-verde-1: #049c3c ;
  --pv-color-rojo-1: #ff3b30 ;
  --pv-radius-ajustes: 2px;

  --pv-color-dis-gris-1: #131313; /* ribbon + iconos + toggle*/
  --pv-color-dis-gris-2: #030391; /* botones superiores */


  --pv-color-tobar: #16161a; /* topbar*/
  --pv-color-boton: rgb(2, 42, 151); /* botones superiores */
  --pv-color-btn-seleccionado: #030391 ;/* botones seleccionado */
  --pv-color-ribbon:  #16161a; /* ribbon #111111*/
  --pv-color-toggle: #16161a; /* ribbon*/
  --pv-color-iconos: #111111; /* iconos*/
  --pv-color-bordes: #111111;
  --pv-color-relleno: white;


  
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  background: var(--pv-bg);
  color: var(--pv-text);
  font: 14px/1.45 var(--pv-font);
}
img {
  max-width: 100%;
  display: block;
}
button {
  font: inherit;
}

/* Shell */
.app {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.app__top {
  height: var(--pv-header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--pv-border);
  background: var(--pv-surface);
}
.brand {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.brand__logo {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand__name {
  font-weight: 700;
  font-size: 24px;
}

/* Views */
.view {
  flex: 1;
  overflow: hidden;
  display: block;
}
.hidden {
  display: none !important;
}

/* Login */
.login {
  width: min(460px, 92vw);
  margin: 6vh auto 0;
  background: var(--pv-surface-2);
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-radius);
  padding: var(--pv-gap-xl);
}
.login__title {
  margin: 0 0 0.75rem;
}
.label {
  font-size: 0.9rem;
  color: var(--pv-text-dim);
}
.input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--pv-border);
  background: #0e1420;
  color: var(--pv-text);
}
.muted {
  color: var(--pv-text-dim);
}
.link {
  color: var(--pv-primary);
}

/* Components moved to components.css to avoid duplication */

