.rounded-input {
    max-width: 400px;
    width: 100%;
    height: 50px;
    border-radius: 32px;
    opacity: 1;
}

.navbar-menu {
  min-width: 18%;
}

.navbar-brand-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto; /* o quitarla si no es estrictamente necesaria */
  padding-top: 1.5vw;  /* relativo al ancho de la ventana */
  padding-bottom: 1.5vw;
  position: relative;
  box-sizing: border-box;
}
.navbar-brand-box .logo img {
    width: 100%;  /* porcentaje del contenedor */
    height: auto;
    object-fit: contain;
    display: block;
}

.navbar-nav .nav-link .nav-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0;
    color: #313957;
}

.menu-dropdown .nav-sm {
    padding-left: 0;
}

.menu-dropdown .nav-sm .nav-item {
    padding-left: 12%;/* para alinear con el texto que está después del ícono de 45px + margin */
}

.navbar-menu .navbar-nav .nav-sm .nav-link {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0;
    color: #313957;
}

/* El contenedor que agrupa los últimos items */
.bottom-menu {
  margin-top: 50%; /* empuja hacia abajo */
}

/* Para que navbar-nav sea un contenedor flex vertical que pueda empujar contenido */
#navbar-nav {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding-left: 0;
  margin: 0;
}
/* Línea divisora arriba del primer item */
.divider-bottom-menu {
    border: none;
    border-top: 1px solid #dee2e6;
    margin: 0 15px 10px 15px; /* igual que el hr original, con margen inferior para separación */
}

#scrollbar {
  flex: 1 1 auto; /* permite crecer y ocupar el espacio */
  display: flex;
  flex-direction: column;
  overflow-y: auto; /* para scroll interno si es necesario */
}

#scrollbar > .container-fluid {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.app-menu.navbar-menu {
  display: flex;
  flex-direction: column;
  height: 100vh; /* ocupa toda la altura de la ventana */
}

.header-profile-user {
    height: 45px;
    width: 45px;
}
.topbar-user {
    background-color: transparent !important;
}

.header-item .btn {
    padding: 2px 6px; /* por defecto suele ser más */
}


.nav-title {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0;
  color: #635D98;

}

#page-topbar {
  border-radius: 12px !important;
  background-color: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin-left: 3.5%;
  margin-right: 2.3%;
}

#page-topbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;           /* ancho fijo */
  max-width: 8px;       /* reforzamos ancho máximo */
  min-width: 8px;       /* reforzamos ancho mínimo */
  height: 100%;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  background: linear-gradient(250.35deg, #0B4F70 -34.36%, #64629A 20.43%, #62488C 57.09%, #5F1872 134.25%);
  box-shadow: 0px 2px 30px 0px #0000001A;
  z-index: 10;
  pointer-events: none; /* para que no interfiera con clicks */
  display: block;       /* aseguramos que sea bloque */
}

.card-dashboard-index, .card-large {
  width: 100%; /* para que ocupe todo el ancho de la columna */
  background: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  border-radius: 6px;
  padding: 1rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card-dashboard-index {
  height: 20rem; /* altura fija para tarjetas pequeñas */
}

.card-large {
  height: 24.75vh; /* altura proporcional para tarjetas grandes */
}

.index-icon-dash {
  width: 70%; /* imagen centrada y proporcionada */
  height: auto;
  opacity: 1;
}

.card-dashboard-index-title {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0;
 
  text-align: center;
  background: linear-gradient(250.35deg, #0B4F70 -34.36%, #64629A 20.43%, #62488C 57.09%, #5F1872 134.25%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-dashboard-index-number {
  font-family: 'Open Sans', sans-serif;
  font-size: 70px;
  line-height: 100%;
  letter-spacing: 0;
  margin: 0 0 1rem 0;
  text-align: center;
  background: linear-gradient(250.35deg, #0B4F70 -34.36%, #64629A 20.43%, #62488C 57.09%, #5F1872 134.25%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Botón adaptado para que sea más pequeño y centrado */
.btn-info {
  padding: 0.4rem 1rem;  /* ✅ Agrega un padding horizontal en vez de fijar ancho */
  font-size: 14px;
  font-weight: bold;
  border-radius: 4px;
  border: 1px solid #635D98;
  background-color: #FFFFFF;
  color: #635D98;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
  margin-top: 1rem;
  white-space: nowrap; /* Opcional: evita que se divida en varias líneas */
}


.btn-info:hover {
  background-color: #f0f0f0;
}

.circular-chart {
    display: block;
}
.circle-bg {
    stroke-linecap: round;
}
.circle {
    stroke-linecap: round;
    transition: stroke-dasharray .5s;
}
.percentage {
    font-weight: bold;
}

body{
    background-color: #F3F6F9 !important;
}

.texto1-bienvenida{
  font-family: 'Open Sans', sans-serif;
  line-height: 100%;
  display: inline;
  color: #FFFFFF;
}
.hello-dash-text{
  font-weight: 300;
  padding-left: 13%;
  font-size: 22px;
}



.texto-superior-administracion{
  padding-left: 1%;
  padding-bottom: 1%;
  font-weight: 400;
  color: #320F5E;

}

.search-input-group .form-control {
  border-right: none; /* Elimina borde derecho del input */
}

.search-input-group .input-group-text {
  background: transparent;
  border-left: none; /* Elimina borde izquierdo del ícono */
  border: 1px solid #ced4da; /* Igual al input para continuidad visual */
  border-left: none;
  padding: 0.375rem 0.6rem;
}

.search-input-group .lupa-icon i {
  font-size: 20px;
  background: linear-gradient(250.35deg, #0B4F70 -34.36%, #64629A 20.43%, #62488C 57.09%, #5F1872 134.25%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 0.5px rgba(0, 0, 0, 0.1), 0 0 0.5px rgba(0, 0, 0, 0.1);
}
