body {
  font-family: sans-serif;
  color: var(--color_5) !important;
  overflow: hidden;
}

.login-register {
  font-size: 14px;
  font-family: sans-serif;
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--color_1) 100%, transparent),
      color-mix(in srgb, var(--color_4) 85%, transparent)),
    var(--background_url_login) no-repeat center center;
  background-size: cover;
  color: #fff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-login {
  width: 500px;
  height: 500px;
  padding: 20px 30px;
}

.controls {
  width: 100%;
  margin-bottom: 26px;
  padding: 20px 20px;
  height: 3rem;
  border: none;
  border-radius: 12px;
}

.button1 {
  width: 100%;
  height: 60px;
  color: #fff;
  font-weight: 700;
  background: var(--color_3) !important;
  border: none;
  border-radius: 12px;
}

.button1:hover {
  filter: brightness(90%);
}

.sidenavbar {
  display: flex;
  flex-direction: column;
  background-color: #103663;
  min-height: 100vh;
}

.menuside {
  max-height: 75vh;
  flex-wrap: nowrap;
  overflow-y: auto;
  overflow-x: hidden;
}

.menuside::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  appearance: none;
}

.subsidemenu {
  display: none;
  padding-left: 35px;
}

.sidenavbar a {
  text-align: center;
  color: var(--color_10) !important;
  text-decoration: none;
  padding: 1rem 0rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 1rem;
}

.sidenavbar a:hover {
  font-size: 1.05rem;
  filter: brightness(85%);
}

.sidebar-divider p {
  font-size: 0.8rem;
  color: #ffffff90;
  margin: 10px 0 5px 0;
}

.sidebar-divider {
  border-top: solid 1px #ffffff90;
  text-align: center;
}

.img-logo.img2 {
  margin: auto auto 15px auto;
}

.rightside {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.header {
  display: flex;
  background-color: var(--color_2) !important;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  padding: 0px 30px;
}

.header h1 {
  text-align: left;
  font-size: 1rem;
  color: var(--color_11) !important;
}

.header .left_end-container h1 {
  margin: 0 10px 0 0;
  text-align: end;
}

.vista-scroll {
  flex: 1;
  height: calc(100vh - 50px);
  overflow: scroll;
  padding-bottom: 20px;
}

.background-border-none {
  background: transparent !important;
  border: none !important;
}

.link_noline {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.img1 {
  display: block;
  margin: 12px auto 0 auto;
}

.txtcenter {
  text-align: center;
}

.txtleft {
  text-align: left !important;
}

.txtright {
  text-align: right !important;
}

.txtjustify {
  text-align: justify !important;
}

.pr0 {
  padding-right: 0;
}

.pl0 {
  padding-left: 0;
}

.bar {
  display: flex;
  padding: 20px 0px;
  margin-top: 5px;
  justify-content: space-between;
}

.greytext {
  color: #6c757d !important;
  font-size: 0.8rem;
}

.field {
  border: 1px solid #c3c3c3 !important;
  border-radius: 12px !important;
  height: 30px;
  font-size: 0.75rem;
  color: var(--color_5) !important;
}

.field2 {
  border: 1px solid #c3c3c3 !important;
  border-radius: 12px !important;
  height: 120px;
  font-size: 0.75rem;
  margin: auto;
  color: var(--color_5) !important;
}

.field3 {
  border: 1px solid #c3c3c3 !important;
  border-radius: 12px !important;
  height: 30px;
  width: 64px;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  color: var(--color_5) !important;
  font-weight: 400;
  line-height: 1.5;
  appearance: none;
}

.field4 {
  border: 1px solid #c3c3c3 !important;
  border-radius: 12px !important;
  height: 30px;
  padding: 0.5;
  font-size: 0.75rem;
  color: var(--color_5) !important;
  font-weight: 400;
  line-height: 1.5;
  appearance: none;
}

.field5 {
  border: 1px solid #c3c3c3 !important;
  border-radius: 12px !important;
  height: 30px;
  padding: 0.375rem 2rem;
  font-size: 0.75rem;
  color: var(--color_5) !important;
  font-weight: 400;
  line-height: 1.5;
  appearance: none;
}

.field6 {
  border: 1px solid #c3c3c3 !important;
  border-radius: 12px !important;
  height: 150px !important;
  font-size: 0.75rem;
  margin: auto;
  color: var(--color_5) !important;
}

.field7 {
  border: 1px solid #c3c3c3 !important;
  border-radius: 12px !important;
  height: 200px !important;
  font-size: 0.75rem;
  margin: auto;
  color: var(--color_5) !important;
}

.field8 {
  border: 1px solid #c3c3c3 !important;
  border-radius: 12px !important;
  height: 30px;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  color: var(--color_5) !important;
  font-weight: 400;
  line-height: 1.5;
  appearance: none;
}

.field9 {
  border: 1px solid #c3c3c3 !important;
  border-radius: 8px !important;
  height: 30px;
  width: 45px;
  padding: 0rem 0.2rem;
  font-size: 0.75rem;
  color: var(--color_5) !important;
  font-weight: 400;
  line-height: 1.5;
  appearance: none;
}

.field10 {
  border: 1px solid #c3c3c3 !important;
  border-radius: 12px !important;
  height: 60px;
  font-size: 0.75rem;
  margin: auto;
  color: var(--color_5) !important;
}

.select-list {
  display: block;
  border-radius: 12px !important;
  height: 30px;
  color: #6c757d;
  font-size: 0.75rem;
  margin: auto;
}

.filaEspecialidad .col-12 {
  height: 100%;
  align-items: center;
}

.label-chips {
  background-color: var(--color_7) !important;
  width: 200px;
  color: #fff !important;
  padding: 0.6rem 1.4rem;
  border-radius: 12px;
  font-size: 0.625rem;
  margin: 6px;
}

.label-chips:hover {
  filter: brightness(90%);
}

.bubble-button_grey {
  padding: 0.3rem 1.2rem;
  font-size: 0.8rem;
  color: #c3c3c3;
  background-color: #fff !important;
  border: 1px solid #c3c3c3;
  border-radius: 12px;
}

.bubble-button_grey:hover {
  background-color: #eeeeee !important;
  color: #c3c3c3;
}

.bubble-blue {
  padding: .5rem 1rem;
  background-color: #E5EFFC !important;
  border-radius: 12px;
}

.bubble-dark_blue,
.bubble-green,
.bubble-yellow,
.bubble-red {
  display: inline-block;
  min-width: 72px !important;
  padding: .5rem 1rem;
  font-size: .6rem;
  color: #FFF;
  border-radius: 12px;
}

.bubble-dark_blue:hover,
.bubble-green:hover,
.bubble-yellow:hover,
.bubble-red:hover {
  color: #fff;
  filter: brightness(80%);
}

.bubble-dark_blue {
  background-color: #103663 !important;
}

.bubble-green {
  background-color: #1ACD62 !important;
}

.bubble-yellow {
  background-color: #FFD500 !important;
}

.bubble-red {
  background-color: #DE0D35 !important;
}

.title-field {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.grey {
  background-color: #d8d8d8;
}

.icon-grey {
  color: #8e8e8e;
}

.icon-ficha-id {
  color: var(--color_1) !important;
}

.icon-ficha-id:hover {
  filter: brightness(90%);
}

.dataTables_filter {
  display: none;
}

.dataTables_length {
  margin-bottom: 5px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: #d3d3d34a !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: linear-gradient(to bottom, #dbdbdb9d 0%, #70a7f02d 100%) !important;
  border: none !important;
  color: #09213f !important;
}

.inner-addon {
  margin: 15px;
  position: relative;
}

.inner-addon input {
  border: 1px solid #c3c3c3 !important;
  border-radius: 12px !important;
  height: 30px;
}

.inner-addon .font_awesome-icons {
  position: absolute;
  pointer-events: none;
}

.left-addon input {
  padding-left: 30px !important;
}

.left-addon .font_awesome-icons {
  top: 6px;
  left: 10px;
}

.horizontal-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.horizontal-container2 {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.header .horizontal-container2 h1 {
  margin: 0 0 0 5px;
}

.left_end-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.icon-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
}

.icon-size-1 {
  font-size: 1.8rem;
}

.icon-size-2 {
  font-size: 1.4rem;
}

.box {
  width: 30px;
  height: 30px;
  background: #3BA2FF;
  border-radius: 5px;
  border: none;
  z-index: 1;
}

.box:hover {
  transform: scale(1.1);
  filter: brightness(90%);
}

.box2 {
  width: 30px;
  height: 30px;
  background: var(--color_4) !important;
  border-radius: 5px;
  border: none;
  z-index: 1;
}

.icon1 {
  font-size: 1rem;
  color: var(--color_8) !important;
}

.icon1:hover {
  font-size: 1.1rem;
}

.icon2 {
  font-size: 1.8rem;
  color: var(--color_8) !important;
}

.icon2:hover {
  font-size: 1.7rem;
}

.icon3 {
  font-size: 0.8rem;
  color: var(--color_8) !important;
}

.icon-header1 {
  font-size: 1rem;
  color: var(--color_11) !important;
}

.icon-header1:hover {
  font-size: 1.1rem;
}

.icon-header2 {
  font-size: 1.8rem;
  color: var(--color_11) !important;
}

.icon-header2:hover {
  font-size: 1.7rem;
}

.bottom_buttons-container {
  margin-top: calc(100vh / 40);
  display: flex;
  justify-content: flex-start;
}

.btn2-m {
  margin-right: 10px;
}

.button_transparent {
  background-color: transparent;
  border: none;
  color: var(--color_4) !important;
}

.button2 {
  width: 100%;
  max-width: 86px;
  height: 30px;
  color: var(--color_8) !important;
  font-weight: 700;
  font-size: 0.625rem;
  background: var(--color_4) !important;
  border: none;
  border-radius: 12px;
}

.button3 {
  width: 100%;
  max-width: 120px;
  height: 30px;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.625rem;
  background: var(--color_3) !important;
  border: none;
  margin: 0.4rem;
  border-radius: 12px;
}

.button4 {
  width: 100%;
  max-width: 86px;
  height: 30px;
  color: #c3c3c3 !important;
  font-weight: 400;
  font-size: 0.8rem;
  background: #fff;
  border: 1px solid #c3c3c3;
  border-radius: 12px;
}

.button5 {
  padding: 0.3rem 0.4rem;
  background: var(--color_4) !important;
  border-radius: 5px;
  border: none;
  color: #fff;
}

.button6 {
  height: 30px;
  color: var(--color_8) !important;
  font-weight: 700;
  font-size: 0.625rem;
  background: var(--color_4) !important;
  border: none;
  border-radius: 12px;
  padding: 0px 15px;
}

.button_transparent:hover,
.button2:hover,
.button3:hover,
.button4:hover,
.button5:hover,
.button6:hover {
  filter: brightness(90%);
  color: #fff;
}

.swal2-styled {
  font-size: 0.625rem;
  border: none;
  border-radius: 12px !important;
}

.swal2-popup {
  display: none;
  position: relative;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;
  width: 32em;
  max-width: 100%;
  padding: 1.25em;
  border: none;
  border-radius: 0.5rem;
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
}

.swal2-content {
  z-index: 1;
  justify-content: center;
  margin: 0;
  padding: 0;
  color: var(--color_5) !important;
  font-size: 1.125em;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  word-wrap: break-word;
}

.swal2-title {
  position: relative;
  max-width: 100%;
  margin: 0 0 0.4em;
  padding: 0;
  color: var(--color_5) !important;
  font-size: 1.5em;
  font-weight: 600;
  text-align: center;
  text-transform: none;
  word-wrap: break-word;
}

.radio_ing_hospital tr {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
}

.radio_ing_hospital td:first-child {
  min-width: 280px;
  width: 300px;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;

  .title-field {
    width: 180px;
  }
}

.radio_ing_hospital td:last-child {
  flex: 1;
}

.radio_ing_hospital input[type="text"],
.radio_ing_hospital textarea {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.radio_ing_hospital textarea {
  min-height: 60px;
  resize: vertical;
}

.title-field {
  font-weight: bold;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Grupo de radios NO/SI */
.radio-group {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-shrink: 0;
}

.radio-group .title-field {
  width: fit-content !important;
}

.radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  white-space: nowrap;
}

.radio-group input[type="radio"] {
  margin: 0;
  cursor: pointer;
}

.radio_ing_hospital tr:last-child td:first-child {
  align-items: flex-start;
  padding-top: 6px;
}


.table1 {
  width: 100% !important;
  border: 1px solid var(--color_6) !important;
  border-spacing: 0;
  border-collapse: separate;
}

.table1 tbody tr td {
  white-space: nowrap;
  max-width: 260px;
  text-overflow: ellipsis;
  overflow: hidden;
  vertical-align: middle;
}

.table1 tbody tr:hover td {
  overflow: visible;
  white-space: normal;
}

#tablaatenciones tbody tr td {
  align-content: center;
}

.table1 tbody tr:hover td {
  color: var(--color_4) !important;
}

th,
td {
  text-align: center !important;
  font-size: 0.7rem;
  padding: 0.5rem 0rem;
  color: var(--color_5) !important;
}

.table1 thead th {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 999;
  padding: 0.5rem 0rem;
  background: var(--color_6) !important;
}

.card-indicador {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  padding: 20px;
  text-align: center;
  border: 1px solid #ddd;
  width: 500px;
  margin-left: 10%;
  margin-right: 10%;
}

.table-responsive2 {
  overflow-x: auto;
}

.table-sv {
  border-collapse: separate;
  text-align: center;
  font-size: 0.7rem;
}

.table-sv td {
  text-align: center !important;
  vertical-align: middle !important;
  padding: 0.5rem;
  min-width: 30px;
}

.table-notas {
  border: none;
  width: 100%;
  font-size: 1rem;
}

.table-notas td {
  padding: 0.5rem 0rem;
}

.border1 {
  border: 1px solid var(--color_1) !important;
}

.border2 {
  border: 1px solid var(--color_6) !important;
}

.border3 {
  border: 1px solid var(--color_4) !important;
}

.border-red {
  border: 1px solid #c10633 !important;
}

.diagnostic-table tr td {
  vertical-align: super !important;
  align-items: flex-start !important;
}

.receta-item {
  margin: 10px !important;
}


.ul-1 {
  font-size: 0.8rem;
  font-weight: 400;
}

ul {
  font-size: 0.8rem;
  font-weight: 400;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

li {
  margin: 1.6rem 1rem;
  list-style-type: none;
}

h2 {
  font-size: 1rem;
  font-weight: 700;
}

h3 {
  font-size: 0.8rem;
}

h4 {
  font-size: 0.8rem;
  font-weight: 700;
}

.parrafo1 {
  font-size: 0.8rem;
}

.hidden {
  display: none;
}

.paragraph {
  font-size: 0.8rem;
  line-height: 0.5 !important;
  margin: 0;
}

.diagnostic-list {
  border: 1px solid #c3c3c3;
  border-radius: 12px;
  overflow-y: auto;
  height: 250px;
}

.diagnostic-table {
  overflow-y: auto;
  height: 250px;
  background-color: #fff;
}

.standard-container {
  border: 1px solid var(--color_6) !important;
  border-radius: 12px;
  padding: 20px;
  max-width: 60%;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2) !important;
  background-color: #fff;
}

.standard-container-top {
  background-color: var(--color_6) !important;
  padding: 10px 0px 2px 0px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.standard-container-top h2 {
  font-size: 0.8rem;
  margin-left: 21px;
}

.standard-container-bottom {
  border: 1px solid var(--color_6) !important;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  background-color: #fff;
}

.grey-container {
  border-radius: 12px;
  padding: 20px;
  margin: 20px;
  display: block;
  background-color: #f7f7f7;
}

.grey-bg {
  background-color: #f7f7f7;
}

.white-bg {
  background-color: #fff;
}

.white-container {
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
  background-color: #fff;
}

.marg_t-5 {
  margin-top: 5px;
}

.marg_t-10 {
  margin-top: 10px;
}

.marg_t-20 {
  margin-top: 20px;
}

.marg_b-5 {
  margin-bottom: 5px;
}

.marg_b-10 {
  margin-bottom: 10px;
}

.marg_b-20 {
  margin-bottom: 20px;
}

.marg_l-50 {
  margin-left: 20px;
}

.marg_l-5 {
  margin-left: 5px;
}

.marg_l-10 {
  margin-left: 10px;
}

.marg_r-5 {
  margin-right: 5px;
}

.marg_r-10 {
  margin-right: 10px !important;
}

.marg_r-15 {
  margin-right: 15px;
}

.padd-5 {
  padding: 5px;
}

.padd-10 {
  padding: 10px;
}

.padd_l-10 {
  padding-left: 10px;
}

.red {
  color: #de0d35 !important;
}

.cblue {
  background-color: #3ba2ff;
  width: 40px;
  height: 40px;
  border-radius: 16px;
}

.cgreen {
  background-color: #43b500;
  width: 40px;
  height: 40px;
  border-radius: 16px;
}

.cgreenligth {
  background-color: #8ff256;
  width: 40px;
  height: 40px;
  border-radius: 16px;
}

.cyellow {
  background-color: #ffd500;
  width: 40px;
  height: 40px;
  border-radius: 16px;
}

.cnaranja {
  background-color: #de5135;
  width: 40px;
  height: 40px;
  border-radius: 16px;
}

.cred {
  background-color: #de0d35;
  width: 40px;
  height: 40px;
  border-radius: 16px;
}

.grin_smile {
  font-size: 2.8rem;
  color: #43b500;
}

.smile {
  font-size: 2.8rem;
  color: #8ff256;
}

.meh1 {
  font-size: 2.8rem;
  color: #ffd500;
}

.meh2 {
  font-size: 2.8rem;
  color: #ffaa00;
}

.frown {
  font-size: 2.8rem;
  color: #fc5e3e;
}

.dizzy {
  font-size: 2.8rem;
  color: #de0d35;
}

.col-1.cl1 {
  padding-left: 0px;
  padding-top: 10px;
  width: 22px;
}

.col-1.cl2 {
  padding: 0;
  width: 105px;
}

.pantalla {
  background: var(--background_url);
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
}

.titulofolder {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
}

.subtitulofolder {
  color: white;
  font-size: 1.6rem;
  font-weight: 100;
}

.textofolder {
  color: white;
  font-size: 1.2rem;
}

.pantalla>div.row {
  padding: 0px 20px;
}

.imagencruz {
  float: right;
  margin-top: -99px;
  margin-right: -41px;
}

.bold {
  font-weight: bold;
}

.normal {
  font-weight: normal !important;
}

/* Estilos para clasificar notas  */
.dates-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  width: 80%;
}

.chip-group>summary {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  white-space: nowrap;
  cursor: pointer;
  padding: 0.75rem 1rem;
}

.chip-group .chips-wrapper {
  display: none;
  position: absolute;
  top: auto;
  z-index: 9999;
  background: #fff;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: auto;
  max-height: 300px;
  overflow-y: auto;
  background-color: #e5effc;
  border-radius: 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.chip-group .chips-wrapper::-webkit-scrollbar {
  display: none;
}

.chip-group[open] .chips-wrapper {
  display: flex;
}

.dates-wrapper details {
  visibility: hidden;
  height: 0;
  overflow: hidden;
}

.dates-wrapper.ready details {
  visibility: visible;
  height: auto;
}

.chip-line {
  line-height: 1.2;
}

.chip-link {
  font-size: 12px;
  color: #0b2746;
  text-decoration: none;
  display: block;
  margin-top: 10px;
}

.chips-notas {
  font-size: 0.7rem;
  margin-bottom: 5px;
}

.hidden {
  display: none !important;
}

/* Móvil: ocultar sidebar por defecto */
@media (max-width: 768px) {
  body {
    height: 100dvh;
    width: 100dvw;
  }

  .sidenavbar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100dvh;
    z-index: 9999;
  }

  .vista-scroll {
    height: calc(100dvh - 50px);
  }

  .toggleicon {
    z-index: 9999;
  }

  .horizontal-container2 h1 {
    white-space: nowrap;
  }

  .left_end-container h1 {
    display: none;
  }

  .rightside {
    width: 100% !important;
  }

  .table1 {
    .min-width {
      min-width: 95px !important;
    }
  }

  .radio_ing_hospital td:first-child {
    min-width: 100px;
    width: 200px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;

    .title-field {
      width: 80px;
    }
  }
}

/* Fin Estilos para clasificar notas */
@media (min-width: 576px) {

  th,
  td {
    text-align: center;
    font-size: 0.4rem;
    padding: 0.3rem 0rem;
    color: var(--color_5) !important;
  }

  .bubble-dark_blue {
    padding: 0.1rem 0.1rem;
    font-size: 0.2rem;
    color: #fff;
    background-color: #103663 !important;
    border-radius: 12px;
  }

  .bubble-yellow {
    padding: 0.1rem 0.1rem;
    font-size: 0.2rem;
    color: #fff;
    background-color: #ffd500 !important;
    border-radius: 12px;
  }

  .bubble-green {
    padding: 0.1rem 0.1rem;
    font-size: 0.2rem;
    color: #fff;
    background-color: #1acd62 !important;
    border-radius: 12px;
  }

  .bubble-red {
    padding: 0.1rem 0.1rem;
    font-size: 0.2rem;
    color: #fff;
    background-color: #de0d35 !important;
    border-radius: 12px;
  }
}

@media (min-width: 768px) {
  .sidenavbar a {
    font-size: 0.4rem;
  }

  th,
  td {
    text-align: center;
    font-size: 0.4rem;
    padding: 0.3rem 0rem;
    color: var(--color_5) !important;
  }

  .bubble-dark_blue {
    padding: 0.3rem 0.4rem;
    font-size: 0.3rem;
    color: #fff;
    background-color: #103663 !important;
    border-radius: 12px;
  }

  .bubble-yellow {
    padding: 0.3rem 0.3rem;
    font-size: 0.3rem;
    color: #fff;
    background-color: #ffd500 !important;
    border-radius: 12px;
  }

  .bubble-green {
    padding: 0.3rem 0.4rem;
    font-size: 0.3rem;
    color: #fff;
    background-color: #1acd62 !important;
    border-radius: 12px;
  }

  .bubble-red {
    padding: 0.3rem 0.4rem;
    font-size: 0.3rem;
    color: #fff;
    background-color: #de0d35 !important;
    border-radius: 12px;
  }
}

@media (min-width: 992px) {
  .sidenavbar a {
    font-size: 0.6rem;
  }

  .sidenavbar {
    background-color: var(--color_1) !important;
  }

  .bubble-dark_blue {
    padding: 0.3rem 0.6rem;
    font-size: 0.3rem;
    color: #fff;
    background-color: #103663 !important;
    border-radius: 12px;
  }

  .bubble-yellow {
    padding: 0.3rem 0.6rem;
    font-size: 0.3rem;
    color: #fff;
    background-color: #ffd500 !important;
    border-radius: 12px;
  }

  .bubble-green {
    padding: 0.3rem 0.6rem;
    font-size: 0.3rem;
    color: #fff;
    background-color: #1acd62 !important;
    border-radius: 12px;
  }

  .bubble-red {
    padding: 0.3rem 0.6rem;
    font-size: 0.3rem;
    color: #fff;
    background-color: #de0d35 !important;
    border-radius: 12px;
  }
}

@media (min-width: 1200px) {
  .sidenavbar a {
    font-size: 0.8rem;
  }

  th,
  td {
    text-align: center;
    font-size: 0.7rem;
    padding: 0.5rem 0rem;
    color: var(--color_5) !important;
  }

  .bubble-dark_blue {
    padding: 0.5rem 0.6rem;
    font-size: 0.4rem;
    color: #fff;
    background-color: #103663 !important;
    border-radius: 12px;
  }

  .bubble-yellow {
    padding: 0.5rem 0.6rem;
    font-size: 0.4rem;
    color: #fff;
    background-color: #ffd500 !important;
    border-radius: 12px;
  }

  .bubble-green {
    padding: 0.5rem 0.6rem;
    font-size: 0.4rem;
    color: #fff;
    background-color: #1acd62 !important;
    border-radius: 12px;
  }

  .bubble-red {
    padding: 0.5rem 0.6rem;
    font-size: 0.4rem;
    color: #fff;
    background-color: #de0d35 !important;
    border-radius: 12px;
  }
}

@media (min-width: 1400px) {
  .sidenavbar a {
    font-size: 1rem;
  }
}

@media (max-height: 792px) {
  .bottom_buttons-container {
    margin-top: 0;
    display: flex;
    justify-content: flex-start;
  }
}

.select2-container--default .select2-selection--single {
  display: block !important;
  border: 1px solid #ced4da !important;
  border-radius: 12px !important;
  height: 30px !important;
  color: #6c757d !important;
  font-size: 0.75rem !important;
  margin: auto !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #ced4da !important;
  border-radius: 12px !important;
}

.select2-dropdown {
  background-color: #eff1f2 !important;
  color: #8e8e8e !important;
  border: none !important;
  border-radius: 6px !important;
  box-sizing: border-box !important;
  display: block !important;
  position: absolute !important;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #eff1f2 !important;
  color: var(--color_5) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--color_5) !important;
  line-height: 28px;
}

/* nota enfermeria */
.tbl td,
.tbl th {
  height: 48px !important;
  padding: 0px;
  padding-top: 11px;
  padding-left: 10px;
}

.estudiosrow {
  display: none;
}

.infodocrow {
  display: none;
}

/* estilos calendario */
.calendario {
  margin-top: 30px;
  width: 100%;
  border: 1px solid var(--color_1) !important;
  border-radius: 12px !important;
  border-collapse: separate;
  border-spacing: 0;
  background-color: var(--color_9) !important;
}

.mensual td {
  width: 14.28%;
}

.semanal td {
  width: 12.5%;
}

.thead-calendario {
  background: var(--color_1) !important;
}

.mensual .sig {
  margin-left: 45px;
}

.mensual .prev {
  margin-right: 45px;
}

.title-activity {
  text-align: left;
  color: var(--color_5) !important;
}

.prev-fecha,
.sig-fecha {
  opacity: 0.5;
}

.calendario a {
  color: var(--color_11) !important;
  text-decoration: none;
  cursor: pointer;
}

.calendario td {
  height: 75px;
}

.calendario thead th:first-child {
  border-radius: 12px 12px 0 0;
}

.hoy {
  color: var(--color_3) !important;
  font-weight: 700;
}

.thead-calendario th {
  gap: 10px;
  color: var(--color_11) !important;
}

.evento {
  background: #46d36cca !important;
  border-radius: 6px;
  color: #fff;
  font-weight: normal;
  margin: 6px;
  padding: 3px;
}

.button7 {
  width: 86px;
  height: 30px;
  color: var(--color_8) !important;
  font-weight: 700;
  font-size: 0.625rem;
  background: var(--color_3) !important;
  border: none;
  border-radius: 12px 0px 0px 12px;
}

.button8 {
  width: 86px;
  height: 30px;
  color: var(--color_5) !important;
  font-weight: 700;
  font-size: 0.625rem;
  background: var(--color_6) !important;
  border: none;
  border-radius: 0px 12px 12px 0px;
}

.button9 {
  width: 86px;
  height: 30px;
  color: var(--color_5) !important;
  font-weight: 700;
  font-size: 0.625rem;
  background: var(--color_6) !important;
  border: none;
  border-radius: 12px 0px 0px 12px;
}

.button10 {
  width: 86px;
  height: 30px;
  color: var(--color_8) !important;
  font-weight: 700;
  font-size: 0.625rem;
  background: var(--color_3) !important;
  border: none;
  border-radius: 0px 12px 12px 0px;
}

.button7:hover {
  filter: brightness(100%);
}

.button8:hover {
  filter: brightness(90%);
}

.button9:hover {
  filter: brightness(90%);
}

.button10:hover {
  filter: brightness(100%);
}

.calendar-container {
  display: grid;
  grid-template-columns: 70px auto 70px;
  grid-template-rows: auto;
  gap: 1px 1px;
  grid-template-areas:
    ". header"
    "timeslots-container main";
}

.weekdays,
.daynumbers {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.weekdays {
  color: var(--color_5) !important;
  font-weight: 600;
}

.weekdays ul {
  margin: 0;
  padding: 0;
}

.weekdays li {
  text-align: center;
  font-size: 0.8rem;
  margin: 0 !important;
}

.daynumbers {
  min-height: 2em;
}

.daynumbers li {
  margin: 0 !important;
}

.header-cal {
  grid-area: header;
  display: flex;
  flex-direction: column;
  background-color: var(--color_6);
  padding: 5px 0;
}

.top-row {
  display: flex;
  background-color: var(--color_6);
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
}

.header-cal .weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  width: 100%;
  margin-top: 5px;
}
.timeslots-container {
  background: var(--color_6) !important;
  grid-area: timeslots-container;
  justify-items: center;
}

.timeslots {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeslots li {
  min-height: 60px;
  margin: 0px !important;
}

.timeslots li::after {
  content: "";
  position: absolute;
  right: 25px;
  width: 80%;
  height: 1px;
  background: var(--color_6) !important;
  z-index: 1;
}

.event-name {
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.1px;
  line-height: 15px;
}


.on-resize {
  opacity: 0.85;
}

.gridcell::after {
  content: "";
  border-right: #dadce0 1px solid;
  position: relative;
  -webkit-box-flex: 1 1 auto;
  height: 200%;
}

.info-cal {
  color: var(--color_5) !important;
  display: none;
  font-size: 0.8rem;
  border-radius: 15px;
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12),
    0 3px 5px -1px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  padding: 10px;
  position: absolute;
  z-index: 3;
  width: 200px;
}

/* clinica-view*/
.img-thumbnail1 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  height: fit-content;
  padding: 10px;
  background-color: var(--color_1) !important;
  background-size: cover;
}

.img-thumbnail2 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  height: fit-content;
  padding: 10px;
  background-size: cover;
}

.img-thumbnail img {
  min-width: 180px;
  width: 50%;
  height: auto;
  max-height: 200px;
}

/* Estilos para previews */
.img-preview {
  float: left;
  margin-right: 10px;
}

.preview2 {
  background-color: #f7f7f7;
  color: black !important;
}

.preview3 {
  color: black !important;
}

.preview4 {
  background-color: #f7f7f7;
}

.fr-consulta-medica {
  background-color: #103663;
}

.fr-rayos-x {
  background-color: #de0d35;
}

.fr-sl-laboratorio {
  background-color: #ffc525;
}

.fr-urgencia-medica {
  background-color: #103663;
}

.fr-receta {
  background-color: #103663;
}

.fr-indicaciones {
  background-color: #1acd62;
}

.fr-evolucion {
  background-color: #3aa3ff;
}

.fr-auxiliar-diagnostico {
  background-color: #103663;
}

.fr-interconsulta {
  background-color: #3aa3ff;
}

.fr-traslado {
  background-color: #3aa3ff;
}

.fr-ingreso-hospitalario {
  background-color: #3aa3ff;
}

.fr-consentimiento-informadoHospitalario {
  background-color: #3aa3ff;
}

.fr-consentimiento-informado {
  background-color: #3aa3ff;
}

.fr-negacion-consentimiento {
  background-color: #3ba2ff;
}

.fr-nota-preoperatoria {
  background-color: #3aa3ff;
}

.fr-nota-preanestesica {
  background-color: #3aa3ff;
}

.fr-nota-postoperatoria {
  background-color: #3aa3ff;
}

.fr-nota-postanestesica {
  background-color: #3aa3ff;
}

.fr-alta-ugrencia {
  background-color: #103663;
}

.fr-alta-voluntaria {
  background-color: #3aa3ff;
}

.fr-alta-hospitalaria {
  background-color: #3aa3ff;
}

/* Estilos para calendario */
.slot {
  position: relative;
  box-sizing: border-box;
  border-radius: 8px;
  padding: 2px 6px;
  overflow: hidden;
  cursor: default;
  min-height: 14px;
}

.slot:hover {
  z-index: 999;
  outline: 2px solid rgba(0, 0, 0, 0.15);
}

.event-status {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  opacity: 0.3;
  background: #000;
}

.info-cal {
  position: absolute;
  min-width: 200px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: none;
  pointer-events: none;
}

.event-container {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: 1px;
  height: 1440px;
  grid-area: main;
  position: relative;
  white-space: nowrap;
  background: repeating-linear-gradient(to right,
      transparent 0%,
      transparent 14.1%,
      var(--color_6) 14.3%);
}

.modal-backdrop {
  z-index: 2147483645 !important;
}

.modal {
  z-index: 2147483646 !important;
}

.modal-header h2 {
  margin: 0;
}

.swal2-container {
  z-index: 2147483648 !important;
}

.swal2-popup {
  z-index: 2147483649 !important;
}

.card-indicador .icono {
  font-size: 40px;
  color: var(--color_1);
  margin-bottom: 10px;
}

.card-indicador .titulo {
  font-weight: bold;
  color: var(--color_5);
  margin-bottom: 5px;
}

.card-indicador .cantidad {
  font-size: 28px;
  color: var(--color_5);
}

.seccion-tipo {
  margin-bottom: 22px;
  padding: 0 20px;
}

.seccion-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--color_6);
}

.seccion-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}

.seccion-header .icono-tipo {
  font-size: 26px;
  margin-right: 15px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.seccion-header .contador {
  margin-left: auto;
  background: var(--color_4);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 13px;
}

.container-camas-horizontal {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 5px 0 10px 0;
  scroll-behavior: smooth;
}

.container-camas-horizontal::-webkit-scrollbar {
  height: 7px;
}

.container-camas-horizontal::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 10px;
}

.container-camas-horizontal::-webkit-scrollbar-thumb {
  background: #b1b1b1ff;
  border-radius: 10px;
}

.container-camas-horizontal::-webkit-scrollbar-thumb:hover {
  background: #898989ff;
}

.card-cama {
  width: 195px;
  background: #f9f9f9ff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.card-cama p {
  margin-bottom: .5rem;
}

.card-cama .icono {
  font-size: 25px;
  margin-bottom: 10px;
}

.card-cama .estado {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
}

.card-cama button {
  border-radius: 10px;
  padding: 8px;
  width: 40px;
  height: 40px;
  border: none;
  margin-top: 6px;
  background: var(--color_4);
  color: white;
  cursor: pointer;
}

.card-cama button:hover {
  filter: brightness(90%);
}

.estado.disponible {
  background: #19c37d;
  color: white;
}

.estado.ocupada {
  background: #de0d35;
  color: white;
}

.estado.deshabilitada {
  background: #8c8c8cff;
  color: white;
}

.sin-camas {
  text-align: center;
  padding: 30px;
  color: #999;
  font-style: italic;
}

/* Íconos para cada tipo de servicio
    .icono-urgencia {
        background-image: url('<?php echo SERVERURL . "vistas/assets/icons/urgencias.png"; ?>');
    }

    .icono-hospitalizacion {
        background-image: url('<?php echo SERVERURL . "vistas/assets/icons/reanimacion.png"; ?>');
    }

    .icono-quirofano {
        background-image: url('<?php echo SERVERURL . "vistas/assets/icons/quirofano.png"; ?>');
    }

    .fas.fa-ambulance::before,
    .fas.fa-procedures::before,
    .fas.fa-syringe::before {
        content: "";
        display: inline-block;
        width: 20px;
        height: 20px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

    .fas.fa-ambulance::before {
        background-image: url('<?php echo SERVERURL . "vistas/assets/icons/urgencias.png"; ?>');
    }

    .fas.fa-procedures::before {
        background-image: url('<?php echo SERVERURL . "vistas/assets/icons/reanimacion.png"; ?>');
    }

    .fas.fa-syringe::before {
        background-image: url('<?php echo SERVERURL . "vistas/assets/icons/quirofano.png"; ?>');
    }

    .fas.fa-ambulance,
    .fas.fa-procedures,
    .fas.fa-syringe {
        font-size: 0;
    }
    */
