/*//////////////////////////////////////////////////////////////////
[ FONT ]*/

@font-face {
  font-family: Poppins-Regular;
  src: url("../fonts/poppins/Poppins-Regular.ttf");
}

@font-face {
  font-family: Poppins-Medium;
  src: url("../fonts/poppins/Poppins-Medium.ttf");
}

@font-face {
  font-family: Poppins-Bold;
  src: url("../fonts/poppins/Poppins-Bold.ttf");
}

@font-face {
  font-family: Poppins-SemiBold;
  src: url("../fonts/poppins/Poppins-SemiBold.ttf");
}

:root {
  --primary: #224478;
  --dark: #101419;
  --light: #ffffff;
  --secondary: #a4b8c4;
  --dark-accent: #ac445b;
  --light-accent: #7689ad;
  --bg: #f1f1f1;
  --bg-dark: #101419;
  --bg-light: #ffffff;
  --bg-light2: #f9f9f9;
  --bg-light3: #f1f1f1;
  --border: #c4d2ee;
  --border-dark: #101419;
  --text: #333333;
  --text-dark: #101419;
  --text-light: #ffffff;
}

.width100 {
  width: 100%;
}

.height100 {
  height: 100%;
}

.pers-test {
  background: #b9d0f3;
  border-radius: 10px;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08), 0px 4px 8px rgba(0, 0, 0, 0.06);
}

.pers-light-grey {
  background: #b5becc;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.pers-light-green {
  background: linear-gradient(180deg, #d5e5d6 0%, #a7c3a7 100%);
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.pers-red {
  background: #f0544f;
  border-radius: 10px;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08), 0px 4px 8px rgba(0, 0, 0, 0.06);
}

/*//////////////////////////////////////////////////////////////////
[ RESTYLE TAG ]*/
fo * {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  font-family: Poppins-Regular, sans-serif;
  background-color: #f9f8f6;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/*---------------------------------------------*/
a {
  font-family: Poppins-Regular, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--light);
  margin: 0px;
  text-transform: capitalize;
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
}

a:focus {
  outline: none !important;
}

a:hover {
  text-decoration: none;
  color: #fff;
}

/*---------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0px;
  font-weight: bold;
}

h1 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

p {
  font-family: Poppins-Regular, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #666666;
  margin: 0px;
}

ul,
li {
  margin: 0px;
  list-style-type: none;
}

/* Timeline */
ul.timeline {
  list-style-type: none;
  position: relative;
}

ul.timeline:before {
  content: " ";
  background: var(--primary);
  display: inline-block;
  position: absolute;
  left: 29px;
  width: 2px;
  height: 100%;
  z-index: 400;
}

ul.timeline > li {
  margin: 20px 0;
  padding-left: 20px;
}

ul.timeline > li:before {
  content: " ";
  display: inline-block;
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--primary);
  left: 20px;
  width: 20px;
  height: 20px;
  z-index: 400;
}

.timeline-dot-green:before {
  background: var(--bs-success) !important;
}

.timeline-dot-red:before {
  background: var(--bs-danger) !important;
}

/* --------------------------------------------------------- */
/* Override para timeline en modo zig-zag (solo si añades .zigzag) */
/* --------------------------------------------------------- */

ul.timeline.zigzag:before {
  left: 50% !important;
  margin-left: 0px;
}

ul.timeline.zigzag > li {
  position: relative;
  width: 50%;
  margin: 1rem 0;
  padding: 0;
}

ul.timeline.zigzag > li.left {
  left: 0;
  padding-right: 2rem;
  text-align: right;
}

ul.timeline.zigzag > li.right {
  left: 50%;
  padding-left: 2rem;
  text-align: left;
}

ul.timeline.zigzag > li.left:before {
  left: auto !important;
  right: 5px;
}

ul.timeline.zigzag > li.right:before {
  left: -25px !important;
}

/*---------------------------------------------*/
input {
  outline: none;
  border: none;
}

#new-form input,
textarea {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 8px;
  transition: all 0.2s ease-in-out;
}

#new-form label {
  font-weight: bold;
}

#new-form input:focus,
textarea:focus {
  border: 1px solid #007bff;
  /* Azul brillante en focus */
  box-shadow: 0px 0px 5px rgba(0, 123, 255, 0.5);
  outline: none;
}

::placeholder {
  opacity: 0.6;
}

textarea {
  outline: none;
  border: none;
  resize: none;
}

textarea:focus,
input:focus {
  border-color: transparent !important;
}

input:focus::-webkit-input-placeholder {
  color: transparent;
}

input:focus:-moz-placeholder {
  color: transparent;
}

input:focus::-moz-placeholder {
  color: transparent;
}

input:focus:-ms-input-placeholder {
  color: transparent;
}

textarea:focus::-webkit-input-placeholder {
  color: transparent;
}

textarea:focus:-moz-placeholder {
  color: transparent;
}

textarea:focus::-moz-placeholder {
  color: transparent;
}

textarea:focus:-ms-input-placeholder {
  color: transparent;
}

input::-webkit-input-placeholder {
  color: #fff;
}

input:-moz-placeholder {
  color: #fff;
}

input::-moz-placeholder {
  color: #fff;
}

input:-ms-input-placeholder {
  color: #fff;
}

textarea::-webkit-input-placeholder {
  color: #fff;
}

textarea:-moz-placeholder {
  color: #fff;
}

textarea::-moz-placeholder {
  color: #fff;
}

textarea:-ms-input-placeholder {
  color: #fff;
}

label {
  margin: 0;
  display: block;
}

/*---------------------------------------------*/
button {
  outline: none !important;
  border: none;
  background: transparent;
}

button:hover {
  cursor: pointer;
}

iframe {
  border: none !important;
}

/*//////////////////////////////////////////////////////////////////
[ Utility ]*/
.txt1 {
  font-family: Poppins-Regular;
  font-size: 13px;
  color: #e5e5e5;
  line-height: 1.5;
}

/*//////////////////////////////////////////////////////////////////
[ login ]*/

.limiter {
  width: 100%;
  overflow-x: hidden;
  justify-content: center;
}

.container-login100 {
  width: 100%;
  min-height: 100vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
  justify-self: anchor-center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  z-index: 1;
}

.container-form {
  padding: 20px;
  border-radius: 20px;
  width: 99%;
  justify-self: center;
  align-self: center;
  z-index: 1;
}

.container-form-historial {
  padding: 20px;

  width: 99%;
  justify-self: center;
  align-self: center;
  z-index: 1;
}

.container-login100::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.9);
}

.wrap-login100 {
  width: 500px;
  border-radius: 10px;
  overflow: hidden;
  padding: 55px 55px 37px 55px;

  background: black;
  background: -webkit-linear-gradient(top, #101419, #224478);
  background: -o-linear-gradient(top, #101419, #224478);
  background: -moz-linear-gradient(top, #101419, #224478);
  background: linear-gradient(top, #101419, #224478);
}

.wrap-form {
  width: 1000px;
  border-radius: 10px;
  overflow: hidden;
  padding: 55px 55px 37px 55px;

  background: black;
  background: -webkit-linear-gradient(top, #101419, #224478);
  background: -o-linear-gradient(top, #101419, #224478);
  background: -moz-linear-gradient(top, #101419, #224478);
  background: linear-gradient(top, #101419, #224478);
}

.header-logo {
  color: white;
  background: -webkit-linear-gradient(top, #101419, #224478);
  background: -o-linear-gradient(top, #101419, #224478);
  background: -moz-linear-gradient(top, #101419, #224478);
  background: linear-gradient(top, #101419, #224478);
  box-shadow: 0px 6px 3px 0px rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 0px 6px 3px 0px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 6px 3px 0px rgba(0, 0, 0, 0.15);
}

.wrapper {
  position: relative;
}

footer {
  bottom: 0;
  width: 100%;
  height: 150px;
  font-size: 12px;
  margin-top: auto;
  justify-content: center;
  align-items: center;
  background: -webkit-linear-gradient(bottom, #101419, #224478);
  background: -o-linear-gradient(bottom, #101419, #224478);
  background: -moz-linear-gradient(bottom, #101419, #224478);
  background: linear-gradient(bottom, #101419, #224478);
}

.nav-options {
  display: flex;
  justify-content: space-around;
}

.nav-options a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: black;
}

.footer-fix {
  bottom: 0;
  position: fixed !important;
  padding: 10px 0;
  width: 100%;
  height: 150px;
  font-size: 12px;
  display: flex;
  justify-content: center;
  z-index: 10;
  align-items: center;
  background: -webkit-linear-gradient(bottom, #101419, #224478);
  background: -o-linear-gradient(bottom, #101419, #224478);
  background: -moz-linear-gradient(bottom, #101419, #224478);
  background: linear-gradient(bottom, #101419, #224478);
}

.project-list > tbody > tr > td {
  padding: 12px 8px;
}

.project-list > tbody > tr > td .avatar {
  width: 22px;
  border: 1px solid #ccc;
}

.logo {
  display: block;
  justify-content: center;
  height: 100px;
  margin-left: 20px;
}

.search_input::placeholder {
  opacity: 1;
}

#organization-form:focus {
  background-color: #ac445b;
}

#department-form:focus {
  background-color: #ac445b;
}

/*------------------------------------------------------------------
[ Form ]*/

.form-wrapper {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.login100-form {
  width: 100%;
}

.login100-form-logo {
  font-size: 60px;
  color: #333333;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 120px;
  border-radius: 50%;
  background-color: transparent;
  margin: 0 auto;
}

.login100-form-logo-img {
  width: 100%;
}

.login100-form-title {
  font-family: Poppins-Medium;
  font-size: 30px;
  color: #fff;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;

  display: block;
}

/*------------------------------------------------------------------
[ Input ]*/

.wrap-input100 {
  width: 100%;
  position: relative;
  border-bottom: 2px solid rgba(255, 255, 255, 0.24);
  margin-bottom: 30px;
}

.wrap-title {
  width: 100%;
  position: relative;
  border-bottom: 2px solid black;
  margin-bottom: 30px;
}

.input100 {
  font-family: Poppins-Regular;
  font-size: 16px;
  color: #fff;
  line-height: 1.2;

  display: block;
  width: 100%;
  height: 45px;
  background: transparent;
  padding: 0 5px 0 38px;
}

/*---------------------------------------------*/
.focus-input100 {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.focus-input100::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;

  background: #fff;
}

.focus-input100::after {
  font-family: Material-Design-Iconic-Font;
  font-size: 22px;
  color: #fff;

  content: attr(data-placeholder);
  display: block;
  width: 100%;
  position: absolute;
  top: 6px;
  left: 0px;
  padding-left: 5px;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.input100:focus {
  padding-left: 5px;
}

.input100:focus + .focus-input100::after {
  top: -22px;
  font-size: 18px;
}

.input100:focus + .focus-input100::before {
  width: 100%;
}

.has-val.input100 + .focus-input100::after {
  top: -22px;
  font-size: 18px;
}

.has-val.input100 + .focus-input100::before {
  width: 100%;
}

.has-val.input100 {
  padding-left: 5px;
}

.form-content {
  border-radius: 20px;
  padding: 40px;
}

.form-content-brb {
  border-radius: 0px 0px 20px 20px;
  padding: 40px;
}

.brtl {
  border-radius: 20px 0px 0px 0px;
}

.brtr {
  border-radius: 0px 20px 0px 0px;
}

/*==================================================================
[ Restyle Checkbox ]*/

.contact100-form-checkbox {
  padding-left: 5px;
  padding-top: 5px;
  padding-bottom: 35px;
}

.input-checkbox100 {
  display: none;
}

.label-checkbox100 {
  font-family: Poppins-Regular;
  font-size: 13px;
  color: #fff;
  line-height: 1.2;

  display: block;
  position: relative;
  padding-left: 26px;
  cursor: pointer;
}

.label-checkbox100::before {
  content: "\f26b";
  font-family: Material-Design-Iconic-Font;
  font-size: 13px;
  color: transparent;

  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 2px;
  background: #fff;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

.input-checkbox100:checked + .label-checkbox100::before {
  color: #555555;
}

/*------------------------------------------------------------------
[ Button ]*/
.container-login100-form-btn {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.login100-form-btn {
  font-family: Poppins-Medium;
  font-size: 16px;
  color: #555555;
  line-height: 1.2;

  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  min-width: 120px;
  height: 50px;
  border-radius: 25px;

  background: #9152f8;
  background: -webkit-linear-gradient(bottom, #101419, #224478);
  background: -o-linear-gradient(bottom, #101419, #224478);
  background: -moz-linear-gradient(bottom, #101419, #224478);
  background: linear-gradient(bottom, #101419, #224478);
  position: relative;
  z-index: 1;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.form100-form-btn {
  font-family: Poppins-Medium;
  font-size: 16px;
  color: white;
  line-height: 1.2;

  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  min-width: 120px;
  height: 50px;
  border-radius: 25px;

  background-color: #537bb8;
  position: relative;
  z-index: 1;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.form100-form-btn::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  background-color: #224478;
  top: 0;
  left: 0;
  opacity: 1;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.form100-form-btn:hover {
  color: #fff;
}

.form100-form-btn:hover:before {
  opacity: 0;
}

.login100-form-btn::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  background-color: #fff;
  top: 0;
  left: 0;
  opacity: 1;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.login100-form-btn:hover {
  color: #fff;
}

.login100-form-btn:hover:before {
  opacity: 0;
}

/*------------------------------------------------------------------
[ Responsive ]*/

@media (max-width: 576px) {
  .wrap-login100 {
    padding: 55px 15px 55px 15px;
  }
}

/*------------------------------------------------------------------
[ Alert validate ]*/

.validate-input {
  position: relative;
}

.alert-validate::before {
  content: attr(data-validate);
  position: absolute;
  max-width: 70%;
  background-color: #fff;
  border: 1px solid #c80000;
  border-radius: 2px;
  padding: 4px 25px 4px 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 0px;
  pointer-events: none;

  font-family: Poppins-Regular;
  color: #c80000;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;

  visibility: hidden;
  opacity: 0;

  -webkit-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  -moz-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

.alert-validate::after {
  content: "\f12a";
  font-family: FontAwesome;
  font-size: 16px;
  color: #c80000;

  display: block;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 5px;
}

.alert-validate:hover:before {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 992px) {
  .alert-validate::before {
    visibility: visible;
    opacity: 1;
  }
}

/*-- Saturn Pagination --*/

.saturn-pagination,
.mir-pagination {
  float: right;
}

.saturn-pagination li,
.mir-pagination li {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  text-justify: center;
  align-content: space-evenly;
  background-color: #fff;
  border: 1px solid #c4d2ee;
  -webkit-transition: 0.2s all;
  transition: 0.2s all;
}

.saturn-pagination li + li,
.mir-pagination li + li {
  margin-left: 5px;
}

.saturn-pagination li:hover,
.mir-pagination li:hover {
  background-color: #c4d2ee;
  color: #d10024;
}

.saturn-pagination li:hover a .mir-pagination li:hover a {
  color: white;
}

.saturn-pagination li.active,
.mir-pagination li.active {
  background-color: #224478;
  border-color: #224478;
  color: #fff;
  font-weight: 500;
  cursor: default;
}

.saturn-pagination a.active,
.mir-pagination a.active {
  color: white;
}

.saturn-pagination li a,
.mir-pagination li a {
  display: block;
}

.saturn-filter {
  margin-bottom: 15px;
  margin-top: 15px;
}

.saturn-pagination-message,
.mir-span {
  margin-right: 30px;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 12px;
}

.table a {
  color: #224478;
  text-decoration: underline;
}

.bg-personalizado {
  background-color: #224478;
}

.radius-right {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.radius-left {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

/* Barra de busqueda */

.searchbar {
  margin-bottom: auto;
  margin-top: auto;
  height: 40px;
  background-color: #224478;
  border-radius: 30px;
  padding: 10px;
}

.search_input {
  color: white;
  border: 0;
  outline: 0;
  background: none;
  width: 0;
  caret-color: transparent;
}

.search_input {
  width: 100%;
  font-size: small;
  padding: 0 10px;
}

.searchbar:hover > .search_input {
  caret-color: #c4d2ee;
  transition: width 0.4s linear;
}

.searchbar:hover > .search_icon {
  background: white;
  color: #224478;
}

.search_icon {
  height: 20px;
  width: 20px;
  float: right;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: white;
  text-decoration: none;
}

/* Filtros */

.filter {
  color: #224478;
  border-color: #c4d2ee;
}

.stat-filter {
  font-size: small;
  color: var(--primary);
  border-color: #c4d2ee;
}

.stat-filter {
  border-color: #224478;
  outline: none;
}

.filter:focus {
  border-color: #224478;
  outline: none;
}

@media (max-width: 768px) {
  .wrap-login100 {
    width: 300px;
  }
}

@media (min-width: 1100px) {
  .card-table__mobile-title {
    display: none;
  }
}

@media (max-width: 1100px) {
  /* Aseguramos que la tabla ocupe todo el ancho y separe bien las "cards" */

  .visit-card {
    background-color: #e6e4e4;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 240px;
  }

  .visit-header {
    font-weight: bold;
    font-size: 0.95rem;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
  }

  .visit-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    color: #444;
  }

  .visit-body .label {
    font-weight: 600;
    color: #666;
    margin-right: 4px;
  }

  .visit-tarifa {
    display: flex;
    flex-direction: column;
  }

  .visit-tarifa select {
    margin-top: 2px;
  }

  table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 20px;
  }

  thead {
    display: none;
  }

  tbody {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding: 20px;
    scroll-snap-type: x mandatory;
    /* Opcional: personalizar la apariencia del scrollbar */
    -ms-overflow-style: none;
    /* IE y Edge */
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
  }

  tbody::-webkit-scrollbar {
    height: 8px;
  }

  tbody::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
  }

  /* Cada fila se muestra como una card */
  tr {
    display: block;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 260px;
    scroll-snap-align: start;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  /* Efecto hover para dar sensación de interactividad */
  tr:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  }

  /* Cada celda se convierte en un bloque con separación interna */
  td {
    display: block;
    margin-bottom: 12px;
    text-align: left;
    position: relative;
    font-size: 0.9rem;
    color: #333;
  }

  td:last-child {
    margin-bottom: 0;
  }

  /* Etiqueta superior para cada celda usando el atributo data-label */
  td::before {
    content: attr(data-label) ":";
    display: block;
    font-size: 0.75rem;
    font-weight: bold;
    color: #777;
    margin-bottom: 4px;
    text-transform: uppercase;
  }

  /* Si la celda no tiene data-label, no se muestra el pseudo-elemento */
  td:not([data-label])::before {
    display: none;
  }

  .saturn-pagination,
  .mir-pagination {
    display: none;
  }

  .saturn-pagination-message,
  .mir-span {
    display: none;
  }
}

@media (max-width: 768px) {
  #filter .d-flex {
    flex-direction: column;
    /* Cambiar a diseño vertical */
    align-items: stretch;
  }

  #filter p {
    margin-bottom: 0.5rem;
    /* Reducir margen para pantallas pequeñas */
  }

  #filter select,
  #filter .searchbar input {
    width: 100%;
    /* Ocupa el ancho completo en dispositivos pequeños */
  }
}

@media print {
  .no-print {
    display: none !important;
  }
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  transition: 0.5s;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50px;
}

/*** Layout ***/
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 250px;
  height: 100vh;
  overflow-y: auto;
  transition: 0.5s;
  z-index: 999;
}

.content {
  margin-left: 250px;
  min-height: 100vh;
  background: var(--secondary);
  transition: 0.5s;
}

@media (min-width: 992px) {
  .sidebar {
    margin-left: 0;
  }

  .sidebar.open {
    margin-left: -250px;
  }

  .content {
    width: calc(100% - 250px);
  }

  .content.open {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 991.98px) {
  .sidebar {
    margin-left: -250px;
  }

  .sidebar.open {
    margin-left: 0;
  }

  .container-form {
    padding: 0px;
    border-radius: 20px;
    width: 95%;
    justify-self: center;
    align-self: center;
    z-index: 1;
  }

  .content {
    width: 100%;
    margin-left: 0;
  }
}

/*** Navbar ***/
.sidebar .navbar .navbar-nav .nav-link {
  padding: 7px 20px;
  color: var(--light);
  font-weight: 500;
  border-left: 3px solid var(--dark);
  border-radius: 0 30px 30px 0;
  outline: none;
}

.sidebar .navbar .navbar-nav .nav-link:hover,
.sidebar .navbar .navbar-nav .nav-link.active {
  color: var(--light);
  background: var(--dark);
  border-color: var(--primary);
}

.sidebar .navbar .navbar-nav .nav-link i {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  border-radius: 40px;
}

.sidebar .navbar .navbar-nav .nav-link:hover i,
.sidebar .navbar .navbar-nav .nav-link.active i {
  background: var(--primary);
}

.sidebar .navbar .dropdown-toggle::after {
  position: absolute;
  top: 15px;
  right: 15px;
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  transition: 0.5s;
}

.sidebar .navbar .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(-180deg);
}

.sidebar .navbar .dropdown-item {
  padding-left: 25px;
  border-radius: 0 30px 30px 0;
  color: var(--light);
}

.sidebar .navbar .dropdown-item:hover,
.sidebar .navbar .dropdown-item.active {
  background: var(--primary);
}

.content .navbar .navbar-nav .nav-link {
  margin-left: 25px;
  padding: 12px 0;
  color: var(--light);
  outline: none;
}

.content .navbar .navbar-nav .nav-link:hover,
.content .navbar .navbar-nav .nav-link.active {
  color: var(--dark);
}

.content .navbar .sidebar-toggler,
.content .navbar .navbar-nav .nav-link i {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 40px;
}

.content .navbar .dropdown-item {
  color: var(--light);
}

.content .navbar .dropdown-item:hover,
.content .navbar .dropdown-item.active {
  background: var(--dark);
}

.content .navbar .dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: middle;
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  transition: 0.5s;
}

.content .navbar .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(-180deg);
}

.disabled-row {
  opacity: 0.6;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 575.98px) {
  .content .navbar .navbar-nav .nav-link {
    margin-left: 15px;
  }
}

.btn-call {
  background: linear-gradient(135deg, #224478 0%, #5b86e5 100%);
  color: #fff;
  border: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-call .bi {
  font-size: 1.4rem;
}

.btn-call:hover,
.btn-call:focus {
  transform: scale(1.08);
  color: white;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

@media (prefers-reduced-motion: no-preference) {
  .btn-call-pulse::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(91, 134, 229, 0.35);
    /* 5 s de duración total  ──► 1 s de animación + 4 s de “pausa” */
    animation: pulse 5s ease-out infinite;
    z-index: -1;
  }

  @keyframes pulse {
    /* ----- fase visible (≈1 s) ----- */
    0% {
      transform: scale(0.95);
      opacity: 0.8;
    }

    20% {
      transform: scale(1.5);
      opacity: 0;
    }

    /* ----- fase “quieta” (≈4 s) ----- */
    100% {
      transform: scale(1.5);
      opacity: 0;
    }
  }
}
