﻿@charset "UTF-8";
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: #1E293B;
  background: #F5F7FA;
  overflow-x: hidden;
}

::selection {
  background: #4EC3E4;
  color: #FFFFFF;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #F5F7FA;
}

::-webkit-scrollbar-thumb {
  background: #BAC3CF;
  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4EC3E4;
}

a {
  color: #4EC3E4;
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: #1D3557;
}

img {
  max-width: 100%;
  display: block;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
}

h2 {
  font-size: 1.75rem;
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

h5 {
  font-size: 1.125rem;
  font-weight: 500;
}

h6 {
  font-size: 1rem;
  font-weight: 500;
}

p {
  color: #4A5568;
  line-height: 1.6;
}

label {
  font-weight: 600;
  margin-bottom: 8px;
  color: #4A5568;
}

.Contenedor {
  width: 100%;
  margin: auto;
}

.form-control {
  height: 50px;
  border-radius: 8px;
  border: 1px solid #D9DEE5;
  box-shadow: none;
  font-size: 0.875rem;
}

.form-control:focus {
  border-color: #4EC3E4;
  box-shadow: 0 0 0 0.2rem rgba(78, 195, 228, 0.2);
}

.table {
  margin-bottom: 0;
}

.table thead {
  background: #F4F6F9;
}

.table th {
  border-bottom: none;
  font-size: 0.813rem;
  text-transform: uppercase;
  color: #4A5568;
}

.table td {
  vertical-align: middle;
}

.SombraPequeña {
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
}

.SombraMedia {
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.1);
}

.SombraGrande {
  box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.15);
}

.CursorPointer {
  cursor: pointer;
}

.Oculto {
  display: none !important;
}

.Centrado {
  text-align: center;
}

.Derecha {
  text-align: right;
}

.Izquierda {
  text-align: left;
}

@keyframes Aparición {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.AnimaciónAparición {
  animation: Aparición 0.35s ease;
}

.BotónPrincipal,
.BotónSecundario,
.BotónCorrecto,
.BotónAdvertencia,
.BotónPeligro,
.BotónClaro {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 120px;
  height: 44px;
  padding: 0 22px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s;
  font-family: "Montserrat", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  user-select: none;
}

.BotónPrincipal {
  background: #4EC3E4;
  color: #FFFFFF;
}

.BotónPrincipal:hover {
  background: #35B5D8;
  transform: translateY(-2px);
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.1);
}

.BotónSecundario {
  background: #FEA321;
  color: #FFFFFF;
}

.BotónSecundario:hover {
  transform: translateY(-2px);
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.1);
}

.BotónClaro {
  background: #FFFFFF;
  color: #4A5568;
  border: 1px solid #D9DEE5;
}

.BotónClaro:hover {
  background: #F8F8F8;
}

.Tarjeta {
  background: #FFFFFF;
  border-radius: 22px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
  border: 1px solid #D9DEE5;
  transition: 0.3s;
}

.Tarjeta:hover {
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.1);
}

.TarjetaEncabezado {
  padding: 24px;
  border-bottom: 1px solid #D9DEE5;
}

.TarjetaContenido {
  padding: 24px;
}

.TarjetaPie {
  padding: 20px 24px;
  border-top: 1px solid #D9DEE5;
}

.Formulario {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.FormularioGrupo {
  display: flex;
  flex-direction: column;
}

.FormularioEtiqueta {
  margin-bottom: 8px;
  font-weight: 600;
  color: #4A5568;
}

.FormularioControl {
  position: relative;
}

.FormularioIcono {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #7B8794;
}

.FormularioInput {
  width: 100%;
  height: 52px;
  border-radius: 14px;
  border: 1px solid #D9DEE5;
  background: #FFFFFF;
  padding-left: 50px;
  padding-right: 45px;
  transition: 0.25s;
  outline: none;
}

.FormularioInput:focus {
  border-color: #4EC3E4;
  box-shadow: 0 0 0 4px rgba(78, 195, 228, 0.15);
}

.FormularioMostrar {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #7B8794;
}

.Alerta {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px;
  border-radius: 14px;
  margin-top: 15px;
}

.AlertaInformación {
  background: #EEF7FF;
  color: #0C63E7;
}

.AlertaAdvertencia {
  background: #FFF8E6;
  color: #C97A00;
}

.AlertaCorrecto {
  background: #EEFFF4;
  color: #1E8A45;
}

.AlertaError {
  background: #FFF1F1;
  color: #D92C2C;
}

.Badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.BadgeCorrecto {
  background: #E8FFF0;
  color: #0C8B45;
}

.BadgeAdvertencia {
  background: #FFF7E6;
  color: #D78A00;
}

.BadgeError {
  background: #FFF0F0;
  color: #D72F2F;
}

.Cargando {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 4px solid #E5E5E5;
  border-top-color: #4EC3E4;
  animation: Girar 0.8s linear infinite;
}

@keyframes Girar {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.BotónPrincipal,
.BotónSecundario,
.BotónCorrecto,
.BotónAdvertencia,
.BotónPeligro,
.BotónClaro {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 120px;
  height: 44px;
  padding: 0 22px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s;
  font-family: "Montserrat", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  user-select: none;
}

.BotónPrincipal {
  background: #4EC3E4;
  color: #FFFFFF;
}

.BotónPrincipal:hover {
  background: #35B5D8;
  transform: translateY(-2px);
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.1);
}

.BotónSecundario {
  background: #FEA321;
  color: #FFFFFF;
}

.BotónSecundario:hover {
  transform: translateY(-2px);
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.1);
}

.BotónClaro {
  background: #FFFFFF;
  color: #4A5568;
  border: 1px solid #D9DEE5;
}

.BotónClaro:hover {
  background: #F8F8F8;
}

.Tarjeta {
  background: #FFFFFF;
  border-radius: 22px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
  border: 1px solid #D9DEE5;
  transition: 0.3s;
}

.Tarjeta:hover {
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.1);
}

.TarjetaEncabezado {
  padding: 24px;
  border-bottom: 1px solid #D9DEE5;
}

.TarjetaContenido {
  padding: 24px;
}

.TarjetaPie {
  padding: 20px 24px;
  border-top: 1px solid #D9DEE5;
}

.Formulario {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.FormularioGrupo {
  display: flex;
  flex-direction: column;
}

.FormularioEtiqueta {
  margin-bottom: 8px;
  font-weight: 600;
  color: #4A5568;
}

.FormularioControl {
  position: relative;
}

.FormularioIcono {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #7B8794;
}

.FormularioInput {
  width: 100%;
  height: 52px;
  border-radius: 14px;
  border: 1px solid #D9DEE5;
  background: #FFFFFF;
  padding-left: 50px;
  padding-right: 45px;
  transition: 0.25s;
  outline: none;
}

.FormularioInput:focus {
  border-color: #4EC3E4;
  box-shadow: 0 0 0 4px rgba(78, 195, 228, 0.15);
}

.FormularioMostrar {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #7B8794;
}

.Alerta {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px;
  border-radius: 14px;
  margin-top: 15px;
}

.AlertaInformación {
  background: #EEF7FF;
  color: #0C63E7;
}

.AlertaAdvertencia {
  background: #FFF8E6;
  color: #C97A00;
}

.AlertaCorrecto {
  background: #EEFFF4;
  color: #1E8A45;
}

.AlertaError {
  background: #FFF1F1;
  color: #D92C2C;
}

.Badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.BadgeCorrecto {
  background: #E8FFF0;
  color: #0C8B45;
}

.BadgeAdvertencia {
  background: #FFF7E6;
  color: #D78A00;
}

.BadgeError {
  background: #FFF0F0;
  color: #D72F2F;
}

.Cargando {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 4px solid #E5E5E5;
  border-top-color: #4EC3E4;
  animation: Girar 0.8s linear infinite;
}

@keyframes Girar {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
body.Login {
  min-height: 100vh;
  margin: 0;
  overflow-y: auto;
  background: radial-gradient(circle at 10% 20%, rgba(78, 195, 228, 0.18) 0%, transparent 30%), radial-gradient(circle at 90% 15%, rgba(254, 163, 33, 0.2) 0%, transparent 28%), radial-gradient(circle at 80% 85%, rgba(78, 195, 228, 0.12) 0%, transparent 25%), linear-gradient(135deg, #F7FAFC, #EEF5FA);
}

.LoginContenedor {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 40px;
}

.LoginPanel {
  width: 460px;
  background: #FFFFFF;
  border-radius: 22px;
  padding: 40px;
  box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.15);
  animation: LoginAparecer 0.45s ease;
}

.LoginLogo {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.LoginLogo img {
  width: 90px;
}

.LoginEncabezado {
  text-align: center;
  margin-bottom: 22px;
}

.LoginSubtitulo {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1D3557;
  margin-bottom: 6px;
}

.LoginDescripción {
  font-size: 0.813rem;
  color: #7B8794;
  line-height: 22px;
}

.LoginFormulario {
  display: flex;
  flex-direction: column;
}

.LoginFormulario .EstiloGrupoInput {
  margin-bottom: 18px;
}

.LoginFormulario .FormularioEtiqueta {
  display: block;
  margin-bottom: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4A5568;
}

.LoginFormulario .FormularioControl {
  position: relative;
}

.LoginFormulario .FormularioIcono {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #98A2B3;
  font-size: 1rem;
  pointer-events: none;
}

.LoginFormulario .FormularioInput {
  width: 100%;
  height: 56px;
  border-radius: 14px;
  border: 1px solid #D9DEE5;
  background: #FFFFFF;
  padding-left: 50px;
  padding-right: 50px;
  font-size: 0.938rem;
  color: #4A5568;
  transition: all 0.25s ease;
}

.LoginFormulario .FormularioInput::placeholder {
  color: #98A2B3;
}

.LoginFormulario .FormularioInput:hover {
  border-color: #BAC3CF;
}

.LoginFormulario .FormularioInput:focus {
  border-color: #4EC3E4;
  box-shadow: 0 0 0 4px rgba(78, 195, 228, 0.15);
  outline: none;
}

.LoginMostrarContraseña {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #98A2B3;
  cursor: pointer;
  transition: 0.25s;
  padding: 0;
}

.LoginMostrarContraseña:hover {
  color: #4EC3E4;
}

.LoginOpciones {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  margin-bottom: 30px;
}

.LoginRecordar {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.875rem;
  color: #4A5568;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.LoginRecordarInput {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

.LoginRecordarCaja {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid #D9DEE5;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.LoginRecordarCaja i {
  font-size: 11px;
  color: #FFFFFF;
  opacity: 0;
  transform: scale(0.4);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.LoginRecordarInput:hover ~ .LoginRecordarCaja {
  border-color: #4EC3E4;
}

.LoginRecordarInput:focus-visible ~ .LoginRecordarCaja {
  box-shadow: 0 0 0 4px rgba(78, 195, 228, 0.18);
}

.LoginRecordarInput:checked ~ .LoginRecordarCaja {
  background: #4EC3E4;
  border-color: #4EC3E4;
}
.LoginRecordarInput:checked ~ .LoginRecordarCaja i {
  opacity: 1;
  transform: scale(1);
}

.LoginRecordarTexto {
  transition: color 0.2s ease;
}

.LoginRecordarInput:checked ~ .LoginRecordarTexto {
  color: #1D3557;
  font-weight: 600;
}

.LoginRecuperar {
  font-size: 0.875rem;
  color: #4EC3E4;
  transition: 0.25s;
}

.LoginRecuperar:hover {
  color: #1D3557;
}

.LoginBotón {
  width: 100%;
}

.LoginBotón .BotónPrincipal {
  width: 100%;
  height: 56px;
  font-size: 1rem;
}

.LoginBotón .BotónPrincipal:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.LoginComunicados {
  margin-top: 35px;
  border-top: 1px solid #D9DEE5;
  padding-top: 22px;
}

.LoginComunicadosTitulo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #1D3557;
  font-size: 0.938rem;
  font-weight: 600;
}

.LoginComunicadosTitulo i {
  color: #4EC3E4;
  font-size: 1.125rem;
}

.LoginComunicado {
  display: flex;
  gap: 14px;
  padding: 16px;
  margin-bottom: 15px;
  border-radius: 14px;
  background: #F7FBFE;
  border: 1px solid rgba(78, 195, 228, 0.18);
  transition: 0.25s;
}

.LoginComunicado:hover {
  transform: translateY(-2px);
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.1);
}

.LoginComunicado:last-child {
  margin-bottom: 0;
}

.LoginComunicadoIcono {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  background: rgba(78, 195, 228, 0.12);
  color: #4EC3E4;
  font-size: 1.125rem;
}

.LoginComunicadoContenido {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.LoginComunicadoTitulo {
  font-size: 0.813rem;
  font-weight: 600;
  color: #1D3557;
}

.LoginComunicadoTexto {
  font-size: 0.813rem;
  line-height: 20px;
  color: #7B8794;
}

.LoginComunicadoFecha {
  margin-top: 5px;
  font-size: 0.688rem;
  color: #98A2B3;
}

.LoginPie {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #D9DEE5;
  text-align: center;
}

.LoginVersión {
  font-size: 0.813rem;
  color: #7B8794;
  margin-bottom: 5px;
}

.LoginCopyright {
  font-size: 0.75rem;
  color: #98A2B3;
}

@keyframes LoginAparecer {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .LoginContenedor {
    padding: 24px 20px;
  }
  .LoginPanel {
    width: 100%;
    padding: 30px;
  }
}
@media (max-width: 480px) {
  .LoginContenedor {
    padding: 16px;
  }
  .LoginPanel {
    padding: 24px;
    border-radius: 14px;
  }
  .LoginLogo img {
    width: 70px;
  }
  .LoginSubtitulo {
    font-size: 1rem;
  }
  .LoginFormulario .FormularioInput {
    height: 52px;
  }
}
@media (max-height: 700px) {
  .LoginContenedor {
    align-items: flex-start;
    padding-top: 24px;
  }
  .LoginPanel {
    padding: 28px 40px;
  }
}
.EstiloGrupoInputError {
  animation: EstiloVibraciónError 0.4s ease;
}
.EstiloGrupoInputError .FormularioInput, .EstiloGrupoInputError .FormularioInput:focus, .EstiloGrupoInputError .FormularioInput:hover {
  border-color: #d63031;
  box-shadow: 0 0 0 4px rgba(214, 48, 49, 0.15);
}
.EstiloGrupoInputError .FormularioSelect, .EstiloGrupoInputError .FormularioSelect:focus, .EstiloGrupoInputError .FormularioSelect:hover {
  border-color: #d63031;
  box-shadow: 0 0 0 4px rgba(214, 48, 49, 0.15);
}
.EstiloGrupoInputError .FormularioIcono {
  color: #d63031;
}
.EstiloGrupoInputError .FormularioEtiqueta {
  color: #d63031;
}
.EstiloGrupoInputError .LoginMostrarContraseña {
  color: #d63031;
}

@keyframes EstiloVibraciónError {
  0%, 100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-6px);
  }
  40% {
    transform: translateX(5px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(3px);
  }
}
.LoginRegistro {
  text-align: center;
  margin-top: 22px;
  font-size: 0.875rem;
  color: #7B8794;
}

.LoginRegistroLink {
  color: #4EC3E4;
  font-weight: 600;
  margin-left: 4px;
  transition: 0.25s;
}

.LoginRegistroLink:hover {
  color: #1D3557;
}

.RegistroPanel {
  width: 620px;
  padding-top: 32px;
  padding-bottom: 32px;
}

.FormularioFila {
  display: flex;
  gap: 20px;
}
.FormularioFila .EstiloGrupoInput {
  flex: 1;
  min-width: 0;
}

.FormularioFechaContenedor {
  display: flex;
  gap: 10px;
}

.FormularioSelect {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 56px;
  border-radius: 14px;
  border: 1px solid #D9DEE5;
  background: #FFFFFF;
  padding: 0 14px;
  font-size: 0.938rem;
  color: #4A5568;
  cursor: pointer;
  transition: all 0.25s ease;
}

.FormularioSelect:hover {
  border-color: #BAC3CF;
}

.FormularioSelect:focus {
  border-color: #4EC3E4;
  box-shadow: 0 0 0 4px rgba(78, 195, 228, 0.15);
  outline: none;
}

.FormularioSelectVacio {
  color: #98A2B3;
}

.LoginGeneroContenedor {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 4px 0;
}

.LoginGeneroOpcion {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.875rem;
  color: #4A5568;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.LoginGeneroInput {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

.LoginGeneroCaja {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #D9DEE5;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  position: relative;
}
.LoginGeneroCaja::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FFFFFF;
  transform: scale(0);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.LoginGeneroInput:hover ~ .LoginGeneroCaja {
  border-color: #4EC3E4;
}

.LoginGeneroInput:focus-visible ~ .LoginGeneroCaja {
  box-shadow: 0 0 0 4px rgba(78, 195, 228, 0.18);
}

.LoginGeneroInput:checked ~ .LoginGeneroCaja {
  background: #4EC3E4;
  border-color: #4EC3E4;
}
.LoginGeneroInput:checked ~ .LoginGeneroCaja::after {
  transform: scale(1);
}

.LoginGeneroTexto {
  transition: color 0.2s ease;
}

.LoginGeneroInput:checked ~ .LoginGeneroTexto {
  color: #1D3557;
  font-weight: 600;
}

@media (max-width: 768px) {
  .RegistroPanel {
    width: 100%;
  }
  .FormularioFila {
    flex-direction: column;
    gap: 0;
  }
  .FormularioFila .EstiloGrupoInput {
    margin-bottom: 18px;
  }
  .FormularioFechaContenedor {
    gap: 8px;
  }
}
.Sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 290px;
  height: 100vh;
  background: #FFFFFF;
  border-right: 1px solid #D9DEE5;
  display: flex;
  flex-direction: column;
  z-index: 900;
  transition: 0.3s;
  overflow-y: auto;
  overflow-x: hidden;
}

.Sidebar.SidebarColapsado {
  width: 85px;
}

.SidebarLogo {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 70px;
  padding: 0 24px;
  border-bottom: 1px solid #D9DEE5;
  flex-shrink: 0;
  overflow: hidden;
}

.SidebarLogo img {
  width: 34px;
  flex-shrink: 0;
}

.SidebarLogoTexto {
  font-size: 1rem;
  font-weight: 700;
  color: #1D3557;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.Sidebar.SidebarColapsado .SidebarLogoTexto {
  display: none;
}

.SidebarNavegación {
  flex: 1;
  padding: 20px 14px;
}

.SidebarGrupo {
  margin-bottom: 22px;
}

.SidebarGrupoTitulo {
  padding: 0 12px;
  margin-bottom: 8px;
  font-size: 0.688rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #BAC3CF;
  white-space: nowrap;
}

.Sidebar.SidebarColapsado .SidebarGrupoTitulo {
  display: none;
}

.SidebarEnlace {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  margin-bottom: 2px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #415161;
  transition: 0.15s;
  white-space: nowrap;
  overflow: hidden;
}

.SidebarEnlace i {
  width: 18px;
  text-align: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.SidebarEnlace:hover {
  background: #EEF7FD;
  color: #1D3557;
}

.SidebarEnlaceTexto {
  overflow: hidden;
  text-overflow: ellipsis;
}

.Sidebar.SidebarColapsado .SidebarEnlaceTexto {
  display: none;
}

.Sidebar.SidebarColapsado .SidebarEnlace {
  justify-content: center;
  padding: 11px 0;
}

.SidebarEnlaceActivo {
  background: #EEF7FD;
  color: #4EC3E4;
  font-weight: 600;
}

.SidebarEnlaceActivo i {
  color: #4EC3E4;
}

.SidebarOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 700;
}

@media (max-width: 992px) {
  .Sidebar {
    transform: translateX(-100%);
  }
  .Sidebar.SidebarVisible {
    transform: translateX(0);
  }
  .SidebarOverlay.SidebarOverlayVisible {
    display: block;
  }
}
.SidebarBadge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 50%;
  background: #EF4444;
  color: #FFFFFF;
  font-size: 0.688rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.Sidebar.SidebarColapsado .SidebarBadge {
  position: absolute;
  top: 6px;
  right: 6px;
  margin-left: 0;
  min-width: 16px;
  height: 16px;
  font-size: 9px;
}

.Topbar {
  position: fixed;
  top: 0;
  left: 290px;
  right: 0;
  height: 70px;
  background: #FFFFFF;
  border-bottom: 1px solid #D9DEE5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  z-index: 800;
  transition: 0.3s;
}

.Topbar.TopbarExpandido {
  left: 85px;
}

.TopbarIzquierda {
  display: flex;
  align-items: center;
  gap: 18px;
}

.TopbarColapsar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #344054;
  cursor: pointer;
  transition: 0.15s;
}

.TopbarColapsar:hover {
  background: #F5F7FA;
}

.TopbarTitulo {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1D3557;
}

.TopbarDerecha {
  display: flex;
  align-items: center;
  gap: 22px;
}

.TopbarNotificaciones {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #F5F7FA;
  color: #344054;
  cursor: pointer;
  transition: 0.15s;
}

.TopbarNotificaciones:hover {
  background: #EEF7FD;
  color: #4EC3E4;
}

.TopbarNotificacionesBadge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #EF4444;
  border: 2px solid #FFFFFF;
}

.TopbarUsuario {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.TopbarAvatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #4EC3E4;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.TopbarUsuarioTexto {
  display: flex;
  flex-direction: column;
}

.TopbarUsuarioNombre {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1D3557;
}

.TopbarUsuarioRol {
  font-size: 0.688rem;
  color: #7B8794;
}

.TopbarUsuario > i {
  color: #7B8794;
  font-size: 0.75rem;
}

.MenuUsuario {
  display: none;
  position: absolute;
  top: 56px;
  right: 0;
  width: 200px;
  background: #FFFFFF;
  border: 1px solid #D9DEE5;
  border-radius: 14px;
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.1);
  padding: 8px;
  z-index: 9999;
}

.MenuUsuario.MenuUsuarioVisible {
  display: block;
}

.MenuUsuarioEnlace {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.813rem;
  color: #4A5568;
}

.MenuUsuarioEnlace:hover {
  background: #F5F7FA;
  color: #1D3557;
}

.MenuUsuarioEnlace i {
  width: 16px;
  color: #7B8794;
}

.MenuUsuarioSeparador {
  height: 1px;
  background: #D9DEE5;
  margin: 6px 0;
}

@media (max-width: 992px) {
  .Topbar,
  .Topbar.TopbarExpandido {
    left: 0;
  }
}
.TopbarAvatarContenedor {
  position: relative;
  flex-shrink: 0;
}

.TopbarEstadoPunto {
  position: absolute;
  bottom: 0;
  right: -1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
}

.TopbarEstadoEnLínea {
  background: #22C55E;
}

.TopbarEstadoDesconectado {
  background: #BAC3CF;
}

.MensajeríaContenedor {
  display: flex;
  height: calc(100vh - 70px - 64px);
  background: #FFFFFF;
  border-radius: 22px;
  border: 1px solid #D9DEE5;
  overflow: hidden;
}

.MensajeríaListaColegios {
  width: 320px;
  flex-shrink: 0;
  border-right: 1px solid #D9DEE5;
  overflow-y: auto;
}

.MensajeríaListaEncabezado {
  padding: 20px;
  font-size: 1rem;
  font-weight: 600;
  color: #1D3557;
  border-bottom: 1px solid #D9DEE5;
}

.MensajeríaColegioItem {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 20px;
  border: none;
  background: transparent;
  text-align: left;
  border-bottom: 1px solid #F5F7FA;
  transition: 0.15s;
}

.MensajeríaColegioItem:hover {
  background: #EEF7FD;
}

.MensajeríaColegioItemActivo {
  background: #EEF7FD;
  border-left: 3px solid #4EC3E4;
}

.MensajeríaColegioAvatarContenedor {
  position: relative;
  flex-shrink: 0;
}

.MensajeríaColegioAvatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1D3557;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.MensajeríaColegioTexto {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.MensajeríaColegioNombre {
  font-size: 0.875rem;
  font-weight: 600;
  color: #4A5568;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.MensajeríaColegioÚltimoMensaje {
  font-size: 0.75rem;
  color: #7B8794;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.MensajeríaBadge {
  flex-shrink: 0;
}

.MensajeríaChat {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.MensajeríaChatEncabezado {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid #D9DEE5;
}

.MensajeríaChatEncabezadoTexto {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.MensajeríaChatNombre {
  font-size: 1rem;
  font-weight: 600;
  color: #1D3557;
}

.MensajeríaChatEstado {
  font-size: 0.75rem;
  color: #7B8794;
}

.MensajeríaChatCuerpo {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #F5F7FA;
}

.MensajeríaBurbujaFila {
  display: flex;
  justify-content: flex-start;
}

.MensajeríaBurbujaFilaPropia {
  justify-content: flex-end;
}

.MensajeríaBurbuja {
  max-width: 60%;
  padding: 10px 14px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

.MensajeríaBurbujaAjena {
  background: #FFFFFF;
  border: 1px solid #D9DEE5;
  border-bottom-left-radius: 4px;
}

.MensajeríaBurbujaPropia {
  background: #4EC3E4;
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
}

.MensajeríaBurbujaImagen {
  max-width: 100%;
  border-radius: 8px;
}

.MensajeríaBurbujaTexto {
  font-size: 0.875rem;
  line-height: 1.5;
  word-break: break-word;
}

.MensajeríaBurbujaHora {
  font-size: 0.625rem;
  opacity: 0.65;
  align-self: flex-end;
}

.MensajeríaChatPie {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid #D9DEE5;
}

.MensajeríaBtnAdjuntar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #F5F7FA;
  color: #7B8794;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: 0.15s;
}

.MensajeríaBtnAdjuntar:hover {
  background: #EEF7FD;
  color: #4EC3E4;
}

.MensajeríaInputArchivo {
  display: none;
}

.MensajeríaInputTexto {
  flex: 1;
  resize: none;
  height: 42px;
  max-height: 100px;
  border-radius: 14px;
  border: 1px solid #D9DEE5;
  padding: 10px 16px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.875rem;
  outline: none;
  transition: 0.15s;
}

.MensajeríaInputTexto:focus {
  border-color: #4EC3E4;
  box-shadow: 0 0 0 4px rgba(78, 195, 228, 0.15);
}

.MensajeríaBtnEnviar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #4EC3E4;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: 0.15s;
}

.MensajeríaBtnEnviar:hover {
  background: #35B5D8;
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .MensajeríaListaColegios {
    width: 100%;
    position: absolute;
    inset: 0;
    z-index: 5;
  }
}
