/**
 * SISVECON — demo.css
 * Estilos complementarios al tema Sneat
 */

/* ── Variables de color personalizadas ── */
:root {
  --sisvecon-primary: #7367f0;
  --sisvecon-success: #28c76f;
  --sisvecon-danger:  #ea5455;
  --sisvecon-warning: #ff9f43;
  --sisvecon-info:    #00cfe8;
}

/* ── Ajustes generales ── */
body {
  font-size: 0.875rem;
}

/* ── Cards sin borde redondeado exagerado ── */
.card {
  border-radius: 0.5rem;
}

/* ── Tablas ── */
.table > :not(caption) > * > * {
  padding: 0.6rem 0.85rem;
}

.table thead th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #a1a5b7;
  font-weight: 600;
}

/* ── Badge pill suave ── */
.badge.rounded-pill {
  font-size: 0.7rem;
  padding: 0.3em 0.75em;
}

/* ── Botón icono cuadrado pequeño ── */
.btn-icon {
  padding: 0.35rem 0.5rem;
  line-height: 1;
}

/* ── Avatar ── */
.avatar {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.avatar-sm {
  width: 32px;
  height: 32px;
}

.avatar-initial {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border-radius: 0.375rem;
}

/* Colores de label avatar */
.bg-label-primary  { background-color: rgba(115,103,240,.15); color: var(--sisvecon-primary); }
.bg-label-success  { background-color: rgba(40,199,111,.15);  color: var(--sisvecon-success); }
.bg-label-danger   { background-color: rgba(234,84,85,.15);   color: var(--sisvecon-danger); }
.bg-label-warning  { background-color: rgba(255,159,67,.15);  color: var(--sisvecon-warning); }
.bg-label-info     { background-color: rgba(0,207,232,.15);   color: var(--sisvecon-info); }
.bg-label-secondary{ background-color: rgba(108,117,125,.15); color: #6c757d; }

/* ── Progreso delgado ── */
.progress {
  border-radius: 10px;
}

/* ── Login page ── */
.authentication-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.authentication-inner {
  width: 100%;
  max-width: 420px;
}

/* ── Alert slim ── */
.alert {
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
}

/* ── Sidebar brand ── */
.app-brand-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ── Dropdown usuario navbar ── */
.dropdown-user .dropdown-menu {
  min-width: 180px;
}
.dropdown-user .dropdown-item-text {
  padding: 0.5rem 1rem;
}

/* ── Cursor pointer ── */
.cursor-pointer {
  cursor: pointer;
}

/* ── Responsive utils ── */
@media (max-width: 767px) {
  .container-xxl {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  h4 { font-size: 1.1rem; }
}
