/* COLORES SOBRESCRITOS */
.btn-primary {
  background-color: #543EF3 !important;
}

.bg-primary {
  background-color: #543EF3 !important;
}

.card {
  border-radius: 10px !important;
  transition: transform .5s;
}

.card-animada:hover {
  transform: scale(1.02);
}

.card-header {
  background-color: #6750A4;
  color: white;
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
}

.card-info:not(.card-outline)>.card-header {
  background-color: #6750A4 !important;
}

.card-body-info {
  flex: 1 1 auto;
  min-height: 100px;
}

.card-body-info .info-content .card-title {
  width: 100% !important;
  text-align: center;
  font-size: 1.4rem;
  padding-bottom: 8px;
}

.card-body-info .info-icon {
  width: 100px;
  max-height: 180px;
  flex-shrink: 0;
  border-top-left-radius: 10px;
}

.card-body-info .info-icon i {
  font-size: 2.8rem;
}

.card-body-info .info-content {
  padding: 0.2rem;
}

.card-body-info .info-content .card-text {
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  text-overflow: ellipsis;
}

.card-header-login {
  background-color: #543EF3;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.btn-success {
  background-color: rgb(53, 179, 149) !important;
  border-color: rgb(53, 179, 149) !important;
}

.alert-success {
  background-color: rgb(53, 179, 149) !important;
  border-color: rgb(53, 179, 149) !important;
}

.edit-icon {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: white;
  transition: transform .5s ease;
  zoom: 1.2;
}

.edit-icon:hover {
  transform: scale(1.2) translateY(-40%);
}

.link {
  cursor: pointer;
  transition: transform .5s ease;
}

.link:hover {
  transform: scale(1.4) translateX(20%);
}

span.estado {
  cursor: pointer;
  transition: transform .5s ease;
}

span.estado:hover {
  transform: scale(1.4) translateX(20%);
}

.custom-swal-popup {
  width: 70%;
  max-width: 100%;
}
.custom-swal-title {
  text-align: center;
}
.custom-swal-html {
  text-align: justify;
}
@media (max-width: 768px) {
  .custom-swal-popup {
      width: 90%;
  }
}

.sm-column-width {
  width: 5%;
  word-wrap: break-word;
  white-space: normal;
}

.md-column-width {
  width: 10%;
  word-wrap: break-word;
  white-space: normal;
}

.lg-column-width {
  width: 20%;
  word-wrap: break-word;
  white-space: normal;
}

.xl-column-width {
  max-width: 30%;
  word-wrap: break-word;
  white-space: normal;
}

.xxl-column-width {
  max-width: 40%;
  word-wrap: break-word;
  white-space: normal;
}

.truncated-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* CHECKBOXES CON ESTILO SWITCH */
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slider {
  background-color: #2196F3;
}

input:focus+.slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* FULL CALENDAR */
.fc-event {
  padding: 8px;
  /* Puedes ajustar este valor según tus necesidades */
  font-size: 14px;
  /* Puedes ajustar este valor según tus necesidades */
}

.fc-title {
  white-space: pre-wrap !important;
}

.tooltip-inner {
  background-color: #ffffff !important; /* Cambia el fondo a blanco */
  color: blue !important; /* Cambia el color del texto a negro */
  border: 1px solid #ccc; /* Puedes agregar un borde si deseas */
  padding: 10px; /* Ajusta el padding si es necesario */
}

.tooltip-arrow {
  border-top-color: #ffffff !important; /* Cambia el color de la flecha del tooltip */
}
