/* ===================================
   CHAPLAIN CUSTOM CSS
   Solo las clases específicas para las vistas de capellanes
   Las clases de Bootstrap (grid, espaciado, botones) ya están en el sistema
   =================================== */

/* ===================================
   BOTONES DE NAVEGACIÓN TRIANGULARES
   =================================== */
.chaplain-nav-toolbar {
  padding: 0.4rem;
  text-align: right;
  position: relative;
  z-index: 10;
  margin: 0.5rem 0;
}

.chaplain-nav-btn {
  display: inline-block;
  padding: 0.4rem 2rem;
  font-size: 1.5rem;
  color: #ffc600;
  background-color: #000000;
  text-align: center;
  font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  border: none !important;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
  margin-left: 8px;
  width: 140px;
  height: 50px;
  line-height: 1.2;
}

.chaplain-nav-btn:hover {
  background-color: #313a46;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.chaplain-nav-btn:disabled,
.chaplain-nav-btn.disabled {
  background-color: #cccccc;
  color: #999999;
  cursor: not-allowed;
  opacity: 0.8;
  transform: none;
  box-shadow: none;
}

/* Botón Previous - Triángulo a la izquierda */
.chaplain-nav-btn-prev {
  clip-path: polygon(13% 0, 100% 0, 100% 100%, 13% 100%, 0% 50%);
  padding-left: 2.1rem;
}

/* Botón Next - Triángulo a la derecha */
.chaplain-nav-btn-next {
  clip-path: polygon(0 0, 87% 0, 100% 50%, 87% 100%, 0 100%);
  padding-right: 2.5rem;
}

/* ===================================
   ESTILOS ESPECÍFICOS DE BOTONES (Extraídos de app.min.css)
   =================================== */
.my-course-1-last .my-course-1-btn .btn {
  padding: 5px 28px;
  display: block;
}

.btn-info {
  color: #fff;
  background-color: #ffc600;
  border-color: #ffc600;
  -webkit-box-shadow: 0 2px 6px 0 rgba(57, 175, 209, .5);
  box-shadow: 0 2px 6px 0 rgba(57, 175, 209, .5);
}

.btn-info:hover {
  color: #fff;
  background-color: #e6b800;
  border-color: #e6b800;
}

.btn-danger {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}

.btn-danger:hover {
  color: #fff;
  background-color: #c82333;
  border-color: #bd2130;
}

/* ===================================
   ESTILOS PARA ICONOS EN USER_COURSE.PHP
   =================================== */
.icon-1 i {
  color: #fcb404;
  font-size: 1.1rem;
}

.icon-1 p {
  color: #6c757d;
  font-size: 0.9rem;
  margin: 0;
}

/* ===================================
   ESTILOS PARA CHAPLAIN_CONTENT1.PHP
   =================================== */
.is-invalid {
  border-color: red;
}

.rotate-icon {
  transition: transform 0.3s ease-in-out;
}

.rotate-icon.rotated {
  transform: rotate(180deg);
}

.cls_becoming .cls_border {
  border: 1px solid #d5d4c3;
  max-width: 90%;
  background-color: #fff9e3;
  border-radius: 20px;
  padding: 20px;
  margin: 20px auto;
}

.cls_becoming .cls_img img,
.enrol img {
  border-radius: 20px !important;
}

.cls_becoming img,
.enrol img {
  border: 1px solid #d5d4c3;
  max-width: 90%;
  border-radius: 20px;
  padding: 0px;
  margin-top: 20px;
  text-align: center;
}

.cls_becoming ul {
  padding-left: 20px;
  list-style: disc !important;
}

.cls_becoming h2 {
  color: var(--sw-anchor-disabled-secondary-color) !important;
}

.cls_becoming {
  max-width: 80%;
  text-align: left;
  margin: auto;
}

.btn-size {
  width: 150px;
}

.enrol img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

/* ===================================
   ESTILOS PARA BECOMING_SECTION.PHP - DISEÑO LIMPIO Y ANCHO
   =================================== */
.chaplain-becoming-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 20px;
}

.chaplain-becoming-section .section-header {
  margin-bottom: 40px;
}

.chaplain-becoming-section .main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 40px;
}

.chaplain-becoming-section .overview-image {
  text-align: center;
  margin-bottom: 50px;
}

.chaplain-becoming-section .overview-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.chaplain-becoming-section .phases-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.phase-card {
  background: #fff9e3;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 30px;
  transition: all 0.3s ease;
}

.phase-card.close-card {
  background: #313a46;
}

.phase-card.close-card::after {
  content: "x";
  position: absolute;
  top: 6px;
  right: 10px;
  color: #fff;
  height: 24px;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.phase-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.phase-title {
  margin: 0 0 20px 0;
  color: #000;
  font-weight: 700;
  font-size: 1.5rem;
  text-align: left;
  border-bottom: 2px solid #fcc404;
  padding-bottom: 10px;
}

.phase-content {
  padding: 0;
}

.phase-content p {
  margin: 0;
  color: #333;
  line-height: 1.8;
  font-size: 1.1rem;
  text-align: left;
  font-weight: 400;
}

.phase-card.close-card .phase-content p {
  color: #fff;
}

.phase-card.close-card .phase-content li {
  color: #fff;
}

/* ===================================
   BOTÓN PERSONALIZADO PARA GUARDAR PERFIL
   =================================== */
.btn-chaplain-save {
  color: #000 !important;
  background-color: #ffd800 !important;
  border-color: #ffd800 !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-chaplain-save:hover {
  background-color: #e6c200 !important;
  border-color: #e6c200 !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 216, 0, 0.3);
}

.btn-chaplain-save:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 216, 0, 0.25);
}

/* ===================================
   CLASES ESPECÍFICAS PARA DOCUMENT_CHAPLAIN.PHP
   =================================== */

.my-course-1-lesson-text .icon-1 p {
  font-size: 15px;
  color: #6e798a;
  margin-left: 8px;
}

.contact-image {
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.contact-image::after {
  content: "";
  position: absolute;
  background-color: #dbe1fe;
  height: 148px;
  width: 148px;
  top: -15px;
  left: -8px;
  z-index: -1;
  border-radius: 10px;
}

/* Componentes de menú */
.wisth_tgl_div {
  position: relative;
}

.wisth_tgl_2div {
  position: relative;
}

.menu_pro_wish {
  background-color: var(--bg-white-2);
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: 5px;
  position: absolute;
  width: auto;
  right: 0;
  top: 46px;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  transition: 0.5s;
}

.wisth_tgl_2div:hover .menu_pro_wish {
  opacity: 1;
  visibility: visible;
}

.menu_pro_wish::after {
  content: "";
  height: 19px;
  width: 19px;
  top: -18px;
  right: 13px;
  position: absolute;
  background-color: var(--bg-white-4);
  box-sizing: border-box;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  clip-path: polygon(53% 35%, 0% 100%, 100% 100%);
  z-index: 999;
}

.menu_pro_wish-f-b a {
  text-decoration: none;
}

.menu_pro_wish .menu_pro_wish-flex img {
  height: 59px;
  width: 69px;
  border-radius: 10px;
  margin: 0 10px;
}

.menu_pro_wish .menu_pro_wish-flex {
  display: flex;
}

.menu_pro_wish .menu_pro_wish-flex .text h4 {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-1);
}

.menu_pro_wish:hover .text h4 {
  color: var(--color-10);
}

.menu_pro_wish .menu_pro_wish-flex .text P {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-1);
  margin-bottom: 5px;
}

.menu_pro_wish:hover .text P {
  color: var(--color-11);
}

.menu_pro_wish-f-b {
  padding-bottom: 16px;
  border-bottom: 1.5px solid #6479964e;
  padding: 20px 0 12px 0;
  border-radius: 10px 10px 0 0;
}

.menu_pro_wish-f-b:hover {
  background-color: var(--hover-color);
  color: var(--color-10);
}

.menu_pro_wish-f-b:last-child {
  border-bottom: none;
}

.menu_pro_wish .path_pos_wish {
  width: 276px;
}

.menu_pro_wish .path_pos_wish.content-document {
  width: 386px;
}

.menu_pro_wish.document {
  min-width: 386px;
}

.chaplain-img-course {
  height: 250px !important;
  width: 420px !important;
}

@media all and (max-width: 991px) {
  .chaplain-img-course {
    width: 100% !important;
  }
}

/* Botones de compra */
.purchase-btn a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.purchase-btn {
  background-color: #fcb404;
  border-radius: 5px;
  border: 1px solid #6e798a;
  padding: 8px 18px;
  transition: 0.5s;
  margin: auto;
  text-align: center;
  display: flex;
  margin-top: 15px;
}

.purchase-btn.btn-primary {
  padding: 12px 18px;
  background: #fcb404;
  font-weight: 700;
}

.purchase-btn:hover {
  background-color: #fcb404;
  color: #fff;
  border-color: #ffc600;
}

.purchase-btn:hover a {
  color: #fff;
}

/* Botones alternativos */
.btn-alternative {
  color: var(--bg-white) !important;
  background: #5e5d55 !important;
  border-color: #83837c !important;
}

.btn-alternative:hover,
.btn-alternative:focus {
  background-color: #313a46 !important;
}

/* Botones de advertencia */
.btn-warning {
  color: #313a46;
  background-color: #ffbc00;
  border-color: #ffbc00;
}

.btn-warning:hover {
  color: #313a46;
  background-color: #d9a000;
  border-color: #cc9600;
}

.btn-dark {
  color: #fff;
  background-color: #313a46;
  border-color: #313a46;
}

.btn-dark:hover {
  color: #fff;
  background-color: #000;
  border-color: #313a46;
}

.btn-warning.focus,
.btn-warning:focus {
  -webkit-box-shadow: 0 0 0 .2rem rgba(224, 169, 11, .5);
  box-shadow: 0 0 0 .2rem rgba(224, 169, 11, .5);
}

.btn-warning.disabled,
.btn-warning:disabled {
  color: #313a46;
  background-color: #ffbc00;
  border-color: #ffbc00;
}

.btn-warning:not(:disabled):not(.disabled).active,
.btn-warning:not(:disabled):not(.disabled):active,
.show>.btn-warning.dropdown-toggle {
  color: #fff;
  background-color: #cc9600;
  border-color: #bf8d00;
}

.btn-warning:not(:disabled):not(.disabled).active:focus,
.btn-warning:not(:disabled):not(.disabled):active:focus,
.show>.btn-warning.dropdown-toggle:focus {
  -webkit-box-shadow: 0 0 0 .2rem rgba(224, 169, 11, .5);
  box-shadow: 0 0 0 .2rem rgba(224, 169, 11, .5);
}

/* Botones de bloque */
.btn-block {
  display: block;
  width: 100%;
}

.btn-block+.btn-block {
  margin-top: .5rem;
}

input[type=button].btn-block,
input[type=reset].btn-block,
input[type=submit].btn-block {
  width: 100%;
}

/* Clases de utilidad */
.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

/* ===================================
   RESPONSIVE MÍNIMO
   =================================== */
@media (max-width: 768px) {
  .chaplain-nav-toolbar {
    text-align: right;
    margin: 0.3rem 0;
    padding: 0.3rem;
  }

  .chaplain-nav-btn {
    width: 120px;
    font-size: 1.1rem;
    padding: 0.6rem 2rem;
    margin-left: 6px;
  }

  .chaplain-nav-btn-prev {
    padding-left: 2rem;
  }

  .chaplain-nav-btn-next {
    padding-right: 2rem;
  }

  .chaplain-becoming-section {
    padding: 15px;
  }

  .chaplain-becoming-section .main-title {
    font-size: 2rem;
  }

  .phase-card {
    padding: 25px;
  }

  .phase-title {
    font-size: 1.3rem;
  }

  .phase-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .chaplain-nav-toolbar {
    text-align: right;
    margin: 0.2rem 0;
    padding: 0.2rem;
  }

  .chaplain-nav-btn {
    width: 100px;
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    margin-left: 4px;
  }

  .chaplain-nav-btn-prev {
    padding-left: 1.5rem;
  }

  .chaplain-nav-btn-next {
    padding-right: 1.5rem;
  }

  .chaplain-becoming-section {
    padding: 10px;
  }

  .chaplain-becoming-section .main-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .chaplain-becoming-section .overview-image {
    margin-bottom: 35px;
  }

  .phase-card {
    padding: 20px;
  }

  .phase-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  .phase-content p {
    font-size: 0.95rem;
  }
}

/* Clase book-img para breadcrumb */
.book-img img {
  height: auto;
  width: 212px;
  float: right;
}

@media screen and (max-width: 991px) {
  .book-img img {
    max-width: 120px;
  }
}

/* ===================================
   ESTILOS PARA TOOLTIPS DE DOCUMENTOS
   =================================== */

/* Icono de información del tooltip */
.document-tooltip-info-icon {
  color: #fcb404 !important;
}

/* Icono de link - Estado normal (no vacío) */
.document-link-icon {
  color: #fcb404 !important;
}

/* Icono de link - Estado vacío */
.document-link-icon-empty {
  color: #6c757d !important;
  /* text-light de Bootstrap */
}

/* Contenedor del tooltip */
.document-tooltip-container {
  margin: 0 0.25rem;
}

/* ===== ESTILOS FALTANTES PARA LA VISTA DE PAGOS ===== */
.card.payment-card {
  border: none;
  -webkit-box-shadow: 0 0 35px 0 rgba(154, 161, 171, .15);
  box-shadow: 0 0 35px 0 rgba(154, 161, 171, .15);
  margin-bottom: 30px;
}

.chaplain-payment-image {
  max-width: 70%;
  width: 70%;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* Responsive para la imagen de pago */
@media (max-width: 768px) {
  .chaplain-payment-image {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .chaplain-payment-image {
    max-width: 100%;
    width: 100%;
  }
}

/* Orientación landscape en móviles */
@media (max-width: 768px) and (orientation: landscape) {
  .chaplain-payment-image {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 480px) and (orientation: landscape) {
  .chaplain-payment-image {
    max-width: 100%;
    width: 100%;
  }
}

/* ===== ESTILOS PARA EL BOTÓN DE PAGO ===== */

/* Botón de pago personalizado */
.button .btn-primary {
  background-color: #ffc600 !important;
  border-color: #ffc600 !important;
  color: black !important;
  font-weight: 600;
  padding: 10px 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(158, 143, 8, 0.3);
  /* Centrar contenido del botón */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.button .btn-primary:hover {
  background-color: #ffc600 !important;
  border-color: #ffc600 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(148, 158, 8, 0.4);
}

.button .btn-primary:focus {
  background-color: #ffc600 !important;
  border-color: #ffc600 !important;
  box-shadow: 0 0 0 0.2rem rgba(156, 158, 8, 0.25);
}

.button .btn-primary:active {
  background-color: #ffc600 !important;
  border-color: #ffc600 !important;
  transform: translateY(0);
}

/* Botón de éxito (ya pagado) */
.button .btn-success {
  background-color: #089e74 !important;
  border-color: #089e74 !important;
  color: white !important;
  font-weight: 600;
  padding: 10px 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  /* Centrar contenido del botón */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.button .btn-success:hover {
  background-color: #089e74 !important;
  border-color: #089e74 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Contenedor del botón centrado */
.button {
  text-align: center;
  margin: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Centrar el botón dentro del contenedor */
.button .btn {
  margin: 0 auto;
}

/* ===== ESTILOS SIMPLES PARA CHECKBOXES ===== */

.payment-options {
  margin-bottom: 2rem;
}

.payment-installments {
  font-size: 1.2rem;
}

/* Centrar checkboxes sin cajas */
.chaplain-form-check {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin-bottom: 0.3rem !important;
}

/* Input y label juntos con poco espacio */
.chaplain-form-check-input {
  margin-right: 8px !important;
  margin-left: 0 !important;
  flex-shrink: 0 !important;
}

.chaplain-form-check-label {
  margin: 0 !important;
  cursor: pointer !important;
  user-select: none !important;
  color: black !important;
  font-size: 1.125rem !important;
  font-weight: normal !important;
}

/* Mantener texto negro siempre, incluso cuando está marcado */
.chaplain-form-check-input:checked+.chaplain-form-check-label {
  color: black !important;
  font-weight: normal !important;
}

/* Estado deshabilitado */
.chaplain-form-check-input:disabled+.chaplain-form-check-label {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  color: black !important;
}

/* Responsive para checkboxes */
@media (max-width: 768px) {
  .chaplain-form-check {
    max-width: 350px !important;
    margin: 6px auto !important;
  }

  .payment-installments {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .chaplain-form-check {
    max-width: 300px !important;
    margin: 5px auto !important;
  }

  .chaplain-form-check-label {
    font-size: 14px !important;
  }

  .payment-installments {
    font-size: 1rem;
  }
}

/* Responsive para botones */
@media (max-width: 768px) {

  .button .btn-primary,
  .button .btn-success {
    padding: 10px 25px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {

  .button .btn-primary,
  .button .btn-success {
    padding: 8px 20px;
    font-size: 16px;
    width: 100% !important;
  }
}

/* ===================================
   ESTILOS PARA USER_CHECKLIST.PHP
   =================================== */

/* Contenedor principal sin márgenes y ancho reducido */
.user-checklist-container {
  margin: 0 auto;
  padding: 0;
  max-width: 1200px;
  width: 100%;
}

/* Sistema de grid flexible para las columnas */
.user-checklist-container .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.user-checklist-container .col-4 {
  flex: 1;
  min-width: 250px;
  max-width: calc(33.333% - 14px);
}

/* ===================================
   CABECERA RESPONSIVE (BLOQUE SKILL)
   =================================== */

/* Contenedor de la cabecera */
.user-checklist-container .skill {
  width: 100%;
  margin-bottom: 20px;
}

/* Títulos de la cabecera */
.user-checklist-container .skill h3 {
  margin: 8px 0;
  font-size: 1.2rem;
  text-align: center;
}

/* Contenedor de los contadores */
.user-checklist-container .skill-point {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}

/* Contadores individuales */
.user-checklist-container .skill-point .col-4 {
  flex: 1;
  min-width: 120px;
  max-width: 200px;
  text-align: center;
  margin: 0;
}

/* Cards sin sombras ni márgenes */
.user-checklist-container .course-description {
  background: transparent;
  border: none;
  box-shadow: none;
  margin: 0;
  padding: 0;
}

/* Reducir ancho de las columnas */
.user-checklist-container .col-4 {
  width: 100%;
  max-width: 100%;
  margin: 0 1.5%;
}

/* Títulos de sección */
.user-checklist-container .description-head {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
  text-align: center;
}

/* Lista de documentos */
.user-checklist-container .step-down {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  /* Centra la lista */
}

.user-checklist-container .step-down li {
  padding: 4px 0;
  border: none;
  margin: 0;
  background: transparent;
  box-shadow: none;
}

.user-checklist-container .course-description h3.description-head {
  margin-top: 12px;
}

/* Eliminar bordes de todos los elementos */
.user-checklist-container * {
  border: none !important;
  box-shadow: none !important;
}

/* ===================================
   NUEVOS COLORES DEL SISTEMA
   =================================== */

/* Color Primary */
.text-primary,
.user-checklist-container .text-primary {
  color: #ffc600 !important;
}

/* Color Danger */
.text-danger,
.user-checklist-container .text-danger {
  color: #fa5c7c !important;
}

/* Color Info */
.text-info,
.user-checklist-container .text-info {
  color: #247f9a !important;
}

/* Color Success */
.text-success,
.user-checklist-container .text-success {
  color: #0acf97 !important;
}

/* ===================================
   RESPONSIVE PARA USER_CHECKLIST
   =================================== */

@media (max-width: 768px) {

  /* Cambiar a layout vertical en móviles */
  .user-checklist-container .row {
    flex-direction: column;
    gap: 15px;
  }

  .user-checklist-container .col-4 {
    flex: none;
    width: 100%;
    max-width: 100%;
    min-width: auto;
  }

  /* ===================================
     CABECERA RESPONSIVE EN MÓVILES
     =================================== */

  /* Ajustar contenedor de la cabecera */
  .user-checklist-container .skill {
    margin-bottom: 15px;
  }

  /* Títulos de la cabecera más compactos */
  .user-checklist-container .skill h3 {
    margin: 6px 0;
    font-size: 1.1rem;
  }

  /* Contenedor de contadores más compacto */
  .user-checklist-container .skill-point {
    gap: 10px;
    margin-top: 10px;
  }

  /* Contadores individuales más compactos */
  .user-checklist-container .skill-point .col-4 {
    min-width: 100px;
    max-width: 150px;
  }

  .user-checklist-container .skill-point .col-4 h3 {
    margin: 3px 0;
    padding: 6px;
  }

  /* Reducir espacios en móviles */
  .user-checklist-container .skill {
    margin: 10px 0 !important;
    padding: 10px 0 !important;
  }

  .user-checklist-container .skill h3 {
    margin: 8px 0 !important;
  }

  .user-checklist-container .skill-point {
    margin: 10px 0 !important;
    padding: 5px 0 !important;
  }

  .user-checklist-container .skill-point .col-4 {
    margin: 5px 0 !important;
    padding: 5px 0 !important;
  }

  .user-checklist-container .skill-point h3 {
    margin: 5px 0 !important;
  }

  /* Ajustar lista en móviles */
  .user-checklist-container .step-down {
    margin: 10px auto !important;
    max-width: 95% !important;
  }

  .user-checklist-container .step-down li {
    padding: 3px 0 !important;
  }
}

/* ===================================
   ORIENTACIÓN LANDSCAPE EN MÓVILES
   =================================== */

@media (max-width: 768px) and (orientation: landscape) {

  /* Reducir espacios al mínimo en landscape */
  .user-checklist-container .skill {
    margin: 3px 0 !important;
    padding: 3px 0 !important;
  }

  .user-checklist-container .skill h3 {
    margin: 3px 0 !important;
  }

  .user-checklist-container .skill-point {
    margin: 3px 0 !important;
    padding: 2px 0 !important;
  }

  .user-checklist-container .skill-point .col-4 {
    margin: 2px 0 !important;
    padding: 2px 0 !important;
  }

  .user-checklist-container .skill-point h3 {
    margin: 2px 0 !important;
  }

  /* Lista más compacta en landscape */
  .user-checklist-container .step-down {
    margin: 5px auto !important;
    max-width: 98% !important;
  }

  .user-checklist-container .step-down li {
    padding: 1px 0 !important;
  }

  /* Reducir espacios del contenedor principal */
  .user-checklist-container {
    padding: 5px !important;
  }

  /* Reducir espacios de los títulos */
  .user-checklist-container .description-head {
    margin-bottom: 8px !important;
    padding: 8px 0 !important;
  }
}

@media (max-width: 480px) {

  /* ===================================
     CABECERA RESPONSIVE EN PANTALLAS MUY PEQUEÑAS
     =================================== */

  /* Contenedor de la cabecera ultra compacto */
  .user-checklist-container .skill {
    margin-bottom: 10px;
  }

  /* Títulos de la cabecera ultra compactos */
  .user-checklist-container .skill h3 {
    margin: 4px 0;
    font-size: 1rem;
  }

  /* Contenedor de contadores ultra compacto */
  .user-checklist-container .skill-point {
    gap: 8px;
    margin-top: 8px;
  }

  /* Contadores individuales ultra compactos */
  .user-checklist-container .skill-point .col-4 {
    min-width: 80px;
    max-width: 120px;
  }

  .user-checklist-container .skill-point .col-4 h3 {
    margin: 2px 0;
    padding: 4px;
  }

  /* Ajustar layout para pantallas muy pequeñas */
  .user-checklist-container .row {
    gap: 10px;
  }

  /* Espacios mínimos para pantallas muy pequeñas */
  .user-checklist-container .skill {
    margin: 5px 0 !important;
    padding: 5px 0 !important;
  }

  .user-checklist-container .skill h3 {
    margin: 5px 0 !important;
  }

  .user-checklist-container .skill-point {
    margin: 5px 0 !important;
    padding: 3px 0 !important;
  }

  .user-checklist-container .skill-point .col-4 {
    margin: 3px 0 !important;
    padding: 3px 0 !important;
  }

  .user-checklist-container .skill-point h3 {
    margin: 3px 0 !important;
  }

  /* Lista más compacta */
  .user-checklist-container .step-down {
    margin: 8px auto !important;
    max-width: 98%;
  }

  .user-checklist-container .step-down li {
    padding: 2px 0 !important;
  }
}

/* ===================================
   LANDSCAPE EN PANTALLAS MUY PEQUEÑAS
   =================================== */

@media (max-width: 480px) and (orientation: landscape) {

  /* Espacios mínimos absolutos en landscape */
  .user-checklist-container .skill {
    margin: 2px 0 !important;
    padding: 2px 0 !important;
  }

  .user-checklist-container .skill h3 {
    margin: 2px 0 !important;
  }

  .user-checklist-container .skill-point {
    margin: 2px 0 !important;
    padding: 1px 0 !important;
  }

  .user-checklist-container .skill-point .col-4 {
    margin: 1px 0 !important;
    padding: 1px 0 !important;
  }

  .user-checklist-container .skill-point h3 {
    margin: 1px 0 !important;
  }

  /* Lista ultra compacta */
  .user-checklist-container .step-down {
    margin: 3px auto !important;
    max-width: 99% !important;
  }

  .user-checklist-container .step-down li {
    padding: 1px 0 !important;
  }

  /* Contenedor principal ultra compacto */
  .user-checklist-container {
    padding: 3px !important;
  }

  /* Títulos ultra compactos */
  .user-checklist-container .description-head {
    margin-bottom: 5px !important;
    padding: 5px 0 !important;
  }
}

@media (max-width: 768px) and (orientation: landscape) {

  /* ===================================
     CABECERA RESPONSIVE EN LANDSCAPE
     =================================== */

  /* Contenedor de la cabecera ultra compacto en landscape */
  .user-checklist-container .skill {
    margin-bottom: 8px;
  }

  /* Títulos de la cabecera ultra compactos en landscape */
  .user-checklist-container .skill h3 {
    margin: 3px 0;
    font-size: 1rem;
  }

  /* Contenedor de contadores ultra compacto en landscape */
  .user-checklist-container .skill-point {
    gap: 6px;
    margin-top: 6px;
  }

  /* Contadores individuales ultra compactos en landscape */
  .user-checklist-container .skill-point .col-4 {
    min-width: 70px;
    max-width: 100px;
  }

  .user-checklist-container .skill-point .col-4 h3 {
    margin: 2px 0;
    padding: 3px;
  }

  /* Reducir espacios al mínimo en landscape */
  .user-checklist-container .skill {
    margin: 3px 0 !important;
    padding: 3px 0 !important;
  }

  .user-checklist-container .skill h3 {
    margin: 3px 0 !important;
  }

  .user-checklist-container .skill-point {
    margin: 3px 0 !important;
    padding: 2px 0 !important;
  }

  .user-checklist-container .skill-point .col-4 {
    margin: 2px 0 !important;
    padding: 2px 0 !important;
  }

  .user-checklist-container .skill-point h3 {
    margin: 2px 0 !important;
  }

  /* Lista más compacta en landscape */
  .user-checklist-container .step-down {
    margin: 5px auto !important;
    max-width: 98% !important;
  }

  .user-checklist-container .step-down li {
    padding: 1px 0 !important;
  }

  /* Reducir espacios del contenedor principal */
  .user-checklist-container {
    padding: 5px !important;
  }

  /* Reducir espacios de los títulos */
  .user-checklist-container .description-head {
    margin-bottom: 8px !important;
    padding: 8px 0 !important;
  }
}

/* Estilos para validación de formularios */

/* Campo inválido - solo borde rojo */
.form-control.is-invalid {
  border-color: #fa5c7c !important;
}

/* Contenedor de campo inválido */
.input-group.has-error {
  border-radius: 0.375rem;
}

/* Input group text cuando hay error */
.input-group.has-error .input-group-text {
  border-color: #fa5c7c !important;
  background-color: #fef2f4 !important;
  color: #7f1d1d !important;
}

/* Label de campo inválido */
.input-group.has-error+label,
.input-group.has-error label {
  color: #fa5c7c !important;
}

/* Asterisco de campo requerido */
.required {
  color: #fa5c7c;
  font-weight: bold;
  margin-left: 2px;
}