:root {
  --primary-color: #a6202e;
  --secondary-color: color-mix(in srgb, var(--primary-color) 60%, white);
  --background-color: #f4f4f4;
  --alternate-background-color: #ffffff;
  --background-dark-color: color-mix(in srgb, var(--primary-color) 70%, black);
  --text-primary-color: #212121;
  --text-secondary-color: #a6202e;
  --text-dark-color: color-mix(in srgb, var(--primary-color) 25%, black);
  --border-login: 20px;
}

@font-face {
  font-family: "Monsterat";
  src: url("/assets/fonts/Montserrat-Regular.ttf");
}

body,
header,
footer {
  font-family: Arial, Helvetica, sans-serif;
}

body {
  color: var(--text-primary-color);
  display: flex;
  flex-direction: column;
  height: 100vh;
}

footer {
  margin-top: auto;
  font-size: 13px;
}

.bg-image {
  background-image: url("/assets/imagenes/banners/Banner_Secundario_Home_CJ_2026.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 37.5rem;
}

.bg-image .overlay {
  background: rgba(255, 255, 255, 0.18);
  mix-blend-mode: multiply;
}

@media (max-width: 768px) {
  .bg-image {
    min-height: 45rem;
  }
}

.text-primary-plan {
  color: var(--text-primary-color);
}

.bg-login {
  background: linear-gradient(
    0deg,
    var(--primary-color) 0%,
    rgba(255, 166, 166, 1) 38%,
    rgba(255, 227, 227, 1) 70%,
    rgba(255, 255, 255, 1) 100%
  );
}

.bg-card {
  background: linear-gradient(0deg, rgba(255, 227, 227, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.msg-login-hidden {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.msg-login-show {
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

form#formLogin .form-control::placeholder {
  font-size: medium;
}

#calendarMonthsContainer button:hover {
  background: none;
  color: var(--primary-color);
}

#calendarMonthsContainer button:focus,
#calendarMonthsContainer button:disabled {
  border: none;
}
/* FIN LOGIN */

.bg-primary-plan {
  background-color: var(--primary-color);
  color: var(--text-secondary-color);
}

.bg-dark-plan {
  background-color: var(--background-color);
}

.bg-circle-dark-plan {
  background-color: var(--background-color);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-block;
  text-align: center;
  line-height: 2rem;
}

.bg-circle-dark-plan-3x {
  background-color: var(--background-color);
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  display: inline-block;
  text-align: center;
  line-height: 7rem;
}

.bg-plan {
  background-color: var(--primary-color);
}

.bg-secondary-plan {
  background-color: var(--secondary-color);
  color: var(--text-secondary-color);
}

.text-secondary-plan {
  color: var(--text-secondary-color);
}

.text-gold {
  color: #fdd017;
}

.ul-footer {
  line-height: 1.5em;
  margin: 5px 0 15px;
  padding: 0;
}

.ul-footer li {
  list-style: none;
  position: relative;
  padding: 0 0 0 20px;
  margin-bottom: 5px;
}

.ul-footer li::before {
  content: ">";
  /* La flecha */
  position: absolute;
  left: 0;
  color: #ffffff;
  /* Cambia el color si es necesario */
  font-weight: bold;
  /* O ajusta según el diseño */
}

label.small {
  font-size: 0.725rem;
  color: var(--text-primary-color);
}

/* PERSONALIZACION BOOTSTRAP*/

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:active:focus,
.btn-primary:focus,
.btn-primary:disabled,
.btn.show {
  background-color: var(--background-dark-color);
  border-color: var(--background-dark-color);
}

.btn-outline-primary {
  /* border-color: var(--background-dark-color); */
  border-color: var(--background-dark-color);
  color: var(--text-dark-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:active,
.btn-outline-primary:active:focus,
.btn-outline-primary:focus {
  background-color: var(--background-dark-color) !important;
  border-color: var(--background-dark-color) !important;
  color: var(--primary-text-color) !important;
}

.btn-check:checked + .btn {
  background-color: var(--primary-color) !important;
  border-color: var(--background-dark-color) !important;
  color: var(--primary-text-color) !important;
}

.form-control:active,
.form-control:active:focus,
.form-control:focus {
  border-color: transparent;
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--primary-color) 25%, transparent);
}

.rounded-plan {
  border-radius: 20px;
}

#carouselProductsIndicators .carousel-indicators {
  position: static;
}

.carousel-indicators [data-bs-target] {
  width: 15px;
  height: 15px;
  border-radius: 50%;
}

.nav-link-gestion {
  color: var(--text-primary-color);
  border-bottom: 2px solid white;
}

.nav-link-gestion.active {
  color: var(--text-primary-color);
  border-bottom: 2px solid var(--primary-color);
}

.nav-link-gestion:hover:not(.active) {
  color: var(--text-primary-color);
  border-bottom: 2px solid var(--text-secondary-color);
  transition: border-bottom 0.25 ease-in-out 0ms;
}

.nav-link-participante {
  color: var(--text-primary-color);
  border-bottom: 2px solid var(--text-secondary-color);
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.nav-link-participante.active {
  color: var(--primary-color);
}

.nav-link-participante:hover {
  color: var(--text-primary-color);
  border-bottom: 2px solid var(--primary-color);
  transition: border-bottom 0.25 ease-in-out 0ms;
}

.nav-link-participante::after {
  content: ">";
  flex-shrink: 0;
}

.nav-link:hover {
  color: var(--text-secondary-color);
}

.dropdown-item:active,
.dropdown-item:hover {
  background-color: var(--background-color);
  border: none;
}

#select-cargo,
#select-tipo-oficina {
  transition: opacity 0.3s ease-in-out;
}

.form-check-input {
  cursor: pointer;
}

.form-check-input:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.25rem rgba(55, 70, 245, 0.151);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Calendario de selección por mes */
/* .liquidacion-calendar {
  max-height: 380px;
  width: min(100%, 420px);
} */

.calendar-period-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: #6c757d;
  margin-bottom: 0.25rem;
}

/* .calendar-selected-month {
  font-size: 1.45rem;
  line-height: 1.1;
  margin-bottom: 0.2rem;
} */

.calendar-year-nav {
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.calendar-year-nav .text-end {
  min-width: 70px;
}

.btn-month {
  /* border: 1px solid #dee2e6; */
  /* background-color: #f8f9fa; */
  color: #212529;
  border-radius: 0.85rem;
  padding: 0.55rem 0.6rem;
  min-height: 46px;
  font-size: 0.82rem;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.btn-month:hover {
  background-color: #e9ecef;
}

.btn-month.active {
  border: none;
  color: var(--primary-color);
}

.btn-month:focus {
  box-shadow: none;
}

button#btnCalendarNextYear:disabled {
  border: none;
}

.select-video:focus {
  border: none;
  box-shadow: none;
}

.nav-underline .nav-link {
  color: var(--text-dark-color);
}

.nav-underline .nav-link:hover,
.nav-underline .nav-link:focus {
  color: var(--primary-color);
}

.nav-underline .nav-link.active {
  color: var(--primary-color);
  position: relative;
}

.all-transitions {
  transition: all 0.3s ease-in-out;
}

.card-preview-product:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transform: box-shadow 0.3s ease-in-out;
}

.item_filtro_categoria.active {
  font-weight: bold;
}

/* ESTILOS MODIFICADOS */
.text-primary {
  color: var(--text-primary-color) !important;
}

.border-primary {
  border-color: var(--primary-color) !important;
}

.focus .ts-control {
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--primary-color) 25%, transparent) !important;
}

.link-reset {
  color: inherit;
  text-decoration: none;
}

.container-90 {
  width: 90%;
}

.offcanvas-title {
  color: var(--primary-text-color);
}

#modal_notificacion .modal-title {
  color: var(--text-dark-color);
}

.accordion-button {
  position: relative;
  padding-left: 3.5rem;
}

.accordion-button::after {
  display: none;
}

.accordion-button::before {
  content: "+";
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--primary-color);
  font-weight: 700;
}

.accordion-button:not(.collapsed)::before {
  content: "−";
}

.accordion-button:not(.collapsed) {
  color: var(--text-primary-color);
  background-color: var(--alternate-background-color);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
}

.border-danger {
  border-color: var(--primary-color) !important;
}

.text-description {
  white-space: pre-wrap; /* Preserva espacios y saltos */
  word-wrap: break-word; /* Quiebra palabras largas */
  overflow-wrap: break-word; /* Compatibilidad */
}

.star-product i {
  transition: all 0.25s ease;
}

.star-product i:hover {
  cursor: pointer;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(166, 32, 46, 0.25);
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
