@charset "UTF-8";
/* CSS Custom Properties */
/* Dark / Light mode via CSS variables (sólo variables de color extra que no cubre Tailwind directamente) */
html.dark #main {
  background-color: rgb(8, 9, 13);
  background-color: #08090D;
}
html.dark .glass {
  background: rgba(8, 9, 13, 0.7);
  border-color: rgb(43, 48, 56);
}
html.dark #sidebar, html.dark .card {
  background-color: rgb(10, 12, 16);
  border-color: rgb(43, 48, 56);
}
html.dark .card:hover {
  background-color: rgb(21, 23, 28);
  border-color: rgb(0, 194, 255);
}
html.dark #chart-categorias text, html.dark #chart-grupo-rendimientos text, html.dark #chart-inversiones text {
  fill: white;
  stroke: none;
}
html.dark .nav-item.active {
  border: 1px solid rgb(0, 194, 255);
  color: #fff;
  background-color: #000;
}

html .card:hover {
  border-color: rgb(0, 194, 255);
}
html .nav-item.active {
  border: 1px solid rgb(0, 194, 255);
  color: #000;
  background-color: #fff;
}

body {
  margin: 0;
  padding: 0;
  font-size: 18px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Space Grotesk", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

html, body, p, span, a, label, button {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* Grid principal: grid-template-areas */
#app {
  display: grid;
  grid-template-areas: "sidebar header" "sidebar main";
  grid-template-columns: 260px 1fr;
  grid-template-rows: 68px 1fr;
  min-height: 100dvh;
  transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

#app.collapsed {
  grid-template-columns: 72px 1fr;
}
#app.collapsed .nav-lbl {
  width: 0;
  opacity: 0;
}

/* Móvil: sidebar sale del flujo */
@media (max-width: 1023px) {
  #app, #app.collapsed {
    grid-template-areas: "header" "main";
    grid-template-columns: 1fr;
  }
}
/* Grid areas */
/* Sidebar */
#sidebar {
  position: fixed;
  grid-area: sidebar;
  width: 260px;
  height: 100dvh;
  overflow: hidden;
  transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 1023px) {
  #sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    z-index: 50;
    transform: translateX(-110%);
    width: 260px !important;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.35);
  }
}

#sidebar.mobile-open {
  transform: translateX(0);
}

#header {
  grid-area: header;
}

#main {
  grid-area: main;
}

#app.collapsed #sidebar {
  width: 72px;
}

/* Etiquetas que se ocultan al colapsar */
.nav-lbl {
  transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  overflow: hidden;
}

/* Glassmorphism card */
.glass {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Texto degradado */
.grad-text {
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Barra de chart */
.bar {
  transform-origin: bottom;
}

/* Pulse verde del avatar */
.dot-pulse {
  position: relative;
}
.dot-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #10b981;
  animation: pulseDot 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Animación de entrada al main */
#main > * {
  animation: fadeUp 0.45s ease-out both;
}

#main > * :nth-child(1) {
  animation-delay: 0.05s;
}

#main > * :nth-child(2) {
  animation-delay: 0.12s;
}

#main > *:nth-child(3) {
  animation-delay: 0.2s;
}

/* Transición suave de tema en toda la página */
*, *::before, *::after {
  transition: background-color 0.3s, border-color 0.3s, color 0.1s;
}

/* Scrollbar delgado */
::-webkit-scrollbar {
  width: 5px;
  height: 4px;
}

::-webkit-scrollbar-thumb {
  background: #023BFF;
  border-radius: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

/* Excepciones para no romper animaciones */
.bar, #sidebar, #app {
  transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Formulario */
input[type=date]::-webkit-calendar-picker-indicator {
  background: transparent;
  bottom: 0;
  color: transparent;
  cursor: pointer;
  height: auto;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
}

.error {
  font-size: 0.75rem;
  border-radius: 4px;
  padding: 0px 6px;
  width: -moz-fit-content;
  width: fit-content;
}

/* Mensaje de error */
.formulario__grupo {
  width: 100%;
}

.formulario__grupo-input {
  position: relative;
}

.formulario__input-error {
  position: relative;
  top: -12px;
  font-size: 0.8rem;
  margin-bottom: 0px;
  padding: 4px 16px;
  font-weight: 200;
  display: none;
}

.formulario__input-error-activo {
  display: block;
}

.formulario__validacion-estado {
  position: absolute;
  right: 6px;
  top: 16px;
  z-index: 100;
  font-size: 16px;
  opacity: 0;
}

#banner_reserva .formulario__validacion-estado {
  position: absolute;
  right: unset;
  top: 18px;
  margin-left: 120px;
}

#banner_reserva .item_form:nth-child(2) .formulario__validacion-estado {
  margin-left: 144px;
}

#banner_reserva .item_form:nth-child(4) .formulario__validacion-estado {
  margin-left: 156px;
}

.formulario__mensaje, .formulario__captcha {
  height: 45px;
  line-height: 45px;
  background: #F66060;
  padding: 0 15px;
  border-radius: 3px;
  margin-top: 8px;
  margin-bottom: 12px;
  display: none;
}

.formulario__mensaje-activo {
  display: block;
}

.formulario__mensaje-exito {
  margin-top: 8px;
  font-size: 14px;
  background-color: #1eab0b;
  padding: 10px 15px;
  color: #ffffff;
  display: none;
}

.formulario__mensaje-exito-activo {
  display: block;
}

/* Estilos para Validacion */
.formulario__grupo-correcto .formulario__validacion-estado {
  color: #1ed12d;
  opacity: 1;
}

.formulario__grupo-incorrecto .formulario__label {
  color: #bb2929;
}

.formulario__grupo-incorrecto .formulario__validacion-estado {
  color: #bb2929;
  opacity: 1;
}

.formulario__grupo-incorrecto .formulario__input {
  border: 3px solid #bb2929;
}

/* Graficas */
.chart-container {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.btn {
  transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: inherit;
  cursor: pointer;
  color: white;
  padding: 6px 48px;
  background-color: #023BFF;
  font-size: 1rem;
  border-radius: 8px;
}
.btn:hover {
  background-color: #17F38C;
  color: #000000;
}
.btn__arrow {
  opacity: 1;
}

span.out {
  opacity: 0.3;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  z-index: 99;
  display: none;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.modal__overlay {
  position: absolute;
  width: 100%;
  height: 100svh;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  z-index: 49;
}

.modal.active {
  display: flex;
}
.modal.active #newMessage {
  padding: 16px 0px;
  text-align: center;
}/*# sourceMappingURL=style.css.map */