html,
body {
  height: 100%;
  margin: 0;
}

.components {
  padding: 20px 0;
}

.components li a {
  padding: 10px 20px;
  font-size: 1.1em;
  display: block;
  color: #fff;
  text-decoration: none;
}

.components li a:hover {
  color: #fff;
  background: #1a252f;
}

.components li a i {
  margin-right: 10px;
}

/* Navbar Styles */
.navbar {
  padding: 15px 10px;
  background: #fff;
  border: none;
  border-radius: 0;
  margin-bottom: 40px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

/* Page Content Styles */
.page-header {
  margin-bottom: 30px;
}

/* Footer Styles */
.footer {
  background: #f8f9fa;
  padding: 20px;
  margin-top: 30px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: #2c3e50;
  color: #fff;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  display: none;
  z-index: 999;
}

/* Variables de color para consistencia */
:root {
  /* Tu paleta personalizada */
  --color-primary: #1e6b8e;
  --color-primary-dark: #195b74;
  --color-primary-darker: #14455a;
  --color-primary-darkest: #0e2e3b;

  --color-secondary: #a8e6cf;
  --color-secondary-dark: #87d6ba;

  --color-blue-light: #f0faff;
  --color-blue: #56c1ff;
  --color-blue-dark: #2aa5d9;
  --color-blue-darker: #1e6b8e;

  --color-danger: #e74c3c;

  --color-text-light: #fdfdfd;
  --color-text-dark: #1e2a32;

  /* Variables personalizadas para tu app */
  --sidebar-bg: var(--color-primary-dark);
  --link-color: var(--color-blue-dark);
}

/* Estructura común para todos los botones */
.btn-base {
  border: none;
  padding: 8px 20px;
  border-radius: 0.25rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

/* Botón amarillo */
.btn-amarillo {
  background-color: var(--color-secondary);
  color: var(--color-text-dark);
}

.btn-amarillo:hover {
  background-color: var(--color-secondary-dark);
  transform: translateY(-1px);
}

/* Input amarillo */
.input-amarillo {
  background-color: var(--color-secondary);
  color: var(--color-text-dark);
  border: 1px solid var(--color-secondary);
  padding: 8px 20px;
  font-size: 16px;
  transition: all 0.3s ease;
  border-radius: 0.25rem;
}

.input-amarillo:focus {
  background-color: var(--color-secondary-dark);
  border-color: var(--color-secondary-dark);
  box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
  outline: none;
}

/* Tarjetas de paciente */
.paciente-card {
  border: 3px solid black;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  border-radius: 15px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.paciente-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--color-blue);
}

.paciente-imagen {
  width: 60%;
  max-width: 150px;
  height: auto;
  object-fit: cover;
}

/* Textos paciente */
.paciente-nombre,
.paciente-nombre-sm,
.paciente-info,
.paciente-info-sm {
  color: var(--color-blue);
}

.paciente-nombre {
  font-weight: 600;
  margin-bottom: 1rem;
}

.paciente-nombre-sm {
  font-weight: 500;
  font-size: 0.8rem;
}

.paciente-info {
  font-size: 0.95rem;
  padding: 0 15px;
}

.paciente-info-sm {
  font-size: 0.6rem;
  padding: 0 15px;
}

.paciente-info i {
  color: var(--color-blue-dark);
  width: 20px;
  text-align: center;
}

/* Botones varios */
.btn-eliminar:hover {
  background-color: var(--color-danger);
  color: white;
}

.btn-outline-warning:hover {
  background-color: var(--color-secondary);
  color: var(--color-text-dark);
}

/* Botones HCP */
.hcp-btn-inactive,
.hcp-btn-active {
  @extend .btn-base;
  border-radius: 50px;
  border-width: 2px;
  border-style: solid;
  margin-bottom: 1%;
}

.hcp-btn-inactive {
  background-color: #f7dc8d;
  border-color: #fcbd01;
  color: var(--color-text-dark);
}

.hcp-btn-inactive:hover {
  background-color: #fcbd01;
  border-color: #fcbd01;
}

.hcp-btn-active {
  background-color: #b9d8fc;
  border-color: #a6cff9;
  color: white;
}

.hcp-btn-active:hover {
  background-color: #88b1e0;
  border-color: #91b5d8;
}

.hcp-btn-active i {
  color: var(--color-blue);
}

/* Inputs HCP */
textarea.hcp-input.form-control,
select.hcp-input.form-control,
input.hcp-input.form-control {
  background-color: var(--color-blue-light);
  border-radius: 8px !important;
  border: 1px solid #ced4da;
}

/* Inicio */
.inicio-logo-central {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--color-primary-dark);
  background-color: white;
}

.btn-inicio {
  @extend .btn-base;
  padding: 20px;
  font-size: 1.2rem;
  background-color: var(--color-primary);
  color: white;
}

.btn-inicio:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-login {
  @extend .btn-base;
  background-color: var(--color-primary);
  color: white;
}

.btn-login:hover {
  background-color: var(--color-primary-dark);
}

/* Fondos login */
.fondo-login-oscuro {
  background-color: var(--color-primary);
}

.fondo-login-claro {
  background-color: #96b5d0;
}

.contenido-login-claro {
  color: #96b5d0;
}

.paciente-custom-file-color {
  background-color: var(--color-blue-light);
  border-radius: 8px !important;
  border: 1px solid #ced4da;
}

/* Iconos redes sociales */
.icono-red-social-login {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 19px;
  height: 19px;
  background-color: white;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.icono-red-social-login img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.icono-red-social-login:hover {
  transform: scale(1.1);
}

.tabla-colores th {
  background-color: #0aa3c4;
  color: white;
}

.tabla-colores tr td {
  background-color: var(--color-blue-light);
}

.tabla-colores tr td:hover {
  background-color: #a3c3e4; /* más oscuro al pasar el mouse */
}

.tabla-colores td,
.tabla-colores th {
  border-color: #9bddff;
}

.tabla-redonda {
  border-radius: 12px;
  overflow: hidden;
}

.primer-select-color {
  background-color: var(--color-blue-light);
}

.segundo-select-color {
  background-color: #e1f1f6;
}

.input-group-text-color {
  background-color: var(--color-blue-light);
  border-radius: 8px !important;
  border: 1px solid #ced4da;
}

/* Botón custom */
.btn-custom {
  @extend .btn-base;
  background-color: var(--color-primary);
  color: white;
}

.btn-custom:hover {
  background-color: var(--color-primary-darker);
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-custom:active {
  background-color: var(--color-primary-darkest);
  transform: translateY(0);
}

.btn-superior-derecha {
  background-color: var(--color-primary);
  border-radius: 12px;
  color: white;
  font-weight: 600;
}

/* Estados consistentes para todos los botones */
button:hover,
.btn:hover,
a.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

button:active,
.btn:active,
a.btn:active {
  transform: translateY(0);
}

.imagen-circular {
  width: 200px;
  height: 200px;
}

.imagen-degradada {
  width: 100%;
  height: 100vh; /* Ocupa toda la altura visible de la pantalla */
  min-height: 100%; /* Para asegurar cobertura completa */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Efecto parallax opcional */
  position: relative;
}

.imagen-degradada::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9); /* Más transparente (30% opacidad) */

  /* Degradado vertical mejorado */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
}
.label-slidebar {
  font-size: 1.2vw;
}

label.max {
  font-size: 1.1rem;
  padding: 0.5rem 0;
}

input.form-control,
select.form-control,
textarea.form-control {
  font-size: 1.125rem;
  border: 2px solid #2a3f56;
  border-radius: 0.375rem;
  box-shadow: 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

input.form-control:focus,
select.form-control:focus,
textarea.form-control:focus {
  border-color: #2a3f56;
  box-shadow: 0 0 0.25rem rgba(0, 86, 179, 0.25);
}
.image-container {
  position: relative;
  width: 100%;
  height: 500px; /* Ajusta la altura según tus necesidades */
}

.image-container img.background {
  width: 100%;
  height: 80%;
  object-fit: cover; /* Asegura que la imagen cubra el contenedor */
}

.image-container img.overlay {
  position: absolute;
  top: 90%; /* Posiciona la imagen al final del contenedor */
  left: 50%;
  transform: translate(
    -50%,
    -50%
  ); /* Centra la imagen horizontalmente y ajusta la vertical */
  width: 200px; /* Ajusta el tamaño de la imagen superior */
  height: 200px;
  object-fit: cover;
  border-radius: 50%; /* Si quieres bordes redondeados */
  margin-top: -75px; /* Ajusta este valor para subir la imagen y que quede visible */
  border: 1px solid #d9d9d9;
}
.capitalize {
  text-transform: capitalize;
}
.menu-paciente-link:hover {
  background-color: lightblue; /* o cualquier color que combine */
  border-radius: 0.375rem;
  color: #000; /* asegúrate de que contraste bien */
  text-decoration: none;
}
@media (max-width: 767.98px) {
  .hide-on-sm {
    display: none !important;
  }
}

.width-100{
  width: 100%;
}