/* ===================================
   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;
  }

  .btn-pay-now,
  .btn-paid {
    width: 65% !important;
  }
}

/* ===================================
   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;
  }

  .btn-pay-now,
  .btn-paid {
    padding: 10px 25px !important;
    font-size: 18px !important;
  }
}

@media (max-width: 480px) {

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

  .btn-pay-now,
  .btn-paid {
    padding: 8px 20px !important;
    font-size: 16px !important;
    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;
}

/* Estilos para el botón de colapso */

.btn-link.collapse {
  padding: 12px 16px;
  font-size: 18px;
  background-color: #f4f9c9;
}

/* ===================================
   SISTEMA DE DRAWER LATERAL PARA CUPONES
   =================================== */

/* CONTENEDOR DE IMAGEN CON BOTÓN SUPERPUESTO */
.image-container-with-button {
  position: relative;
  display: inline-block;
  width: 100%;
}

/* BOTÓN SUPERPUESTO EN LA ESQUINA INFERIOR DERECHA */
.coupon-overlay-button {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 10;
}

/* CONTENEDOR PARA PRECIO CENTRADO */
.price-container {
  text-align: center;
  margin: 0 auto;
  width: 100%;
}

.price-display {
  margin: 0;
  text-align: center;
}

/* ESTILOS PARA EL BOTÓN SUPERPUESTO */
.coupon-overlay-btn {
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  padding: 10px 14px !important;
  border-radius: 20px !important;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  background: rgba(255, 193, 7, 0.96) !important;
  border: 2px solid rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(6px);
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 44px;
}

.coupon-overlay-btn:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  background: rgba(255, 179, 0, 0.98) !important;
  border-color: rgba(255, 255, 255, 1) !important;
}

.coupon-overlay-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.4);
}

.coupon-overlay-btn:active {
  transform: translateY(-1px) scale(1.05);
}

/* Texto del botón superpuesto */
.coupon-btn-text {
  font-size: inherit;
  font-weight: inherit;
}

/* ESTILOS LEGACY PARA COMPATIBILIDAD */
.coupon-text-btn {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  border-radius: 20px !important;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
}

.coupon-text-btn:hover {
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.coupon-text-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.3);
}

/* RESPONSIVE PARA BOTÓN SUPERPUESTO */
@media (max-width: 768px) {
  .coupon-overlay-button {
    bottom: 12px;
    right: 12px;
  }
  
  .coupon-overlay-btn {
    font-size: 0.8rem !important;
    padding: 10px 14px !important;
    max-width: 200px;
    min-height: 40px;
  }
  
  .coupon-text-btn {
    font-size: 0.8rem !important;
    padding: 6px 12px !important;
  }
}

@media (max-width: 576px) {
  .coupon-overlay-button {
    bottom: 10px;
    right: 10px;
  }
  
  .coupon-overlay-btn {
    font-size: 0.75rem !important;
    padding: 8px 12px !important;
    max-width: 180px;
    border-radius: 16px !important;
    min-height: 36px;
  }
}

@media (max-width: 480px) {
  .coupon-overlay-button {
    bottom: 6px;
    right: 6px;
  }
  
  .coupon-overlay-btn {
    font-size: 0.6rem !important;
    padding: 4px 6px !important;
    max-width: 140px;
  }
  
  .coupon-text-btn {
    font-size: 0.75rem !important;
    padding: 6px 10px !important;
  }
}

@media (max-width: 360px) {
  .coupon-overlay-button {
    bottom: 4px;
    right: 4px;
  }
  
  .coupon-overlay-btn {
    font-size: 0.55rem !important;
    padding: 3px 5px !important;
    border-radius: 12px !important;
    max-width: 80px;
  }
  
  .coupon-text-btn {
    font-size: 0.7rem !important;
    padding: 5px 8px !important;
  }
}

/* ICON BUTTON POSICIONADO A LA DERECHA (mantener para compatibilidad) */
.coupon-icon-trigger {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.coupon-icon-btn {
  background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  color: #000;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 15px rgba(255, 193, 7, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.coupon-icon-btn:hover {
  background: linear-gradient(135deg, #ffb300 0%, #ffa000 100%);
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.coupon-icon-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.3);
}

/* Tooltip para icon button */
.coupon-icon-btn::before {
  content: "Apply discount code";
  position: absolute;
  bottom: 55px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1001;
  pointer-events: none;
}

.coupon-icon-btn::after {
  content: "";
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1001;
  pointer-events: none;
}

.coupon-icon-btn:hover::before,
.coupon-icon-btn:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Overlay del drawer */
.coupon-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  display: none;
  backdrop-filter: blur(2px);
}

/* Drawer lateral */
.coupon-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100%;
  background: #ffffff;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  z-index: 1050;
  transition: right 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.coupon-drawer.coupon-drawer-open {
  right: 0;
}

/* Header del drawer */
.coupon-drawer-header {
  background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.coupon-drawer-title {
  margin: 0;
  color: #000;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.coupon-drawer-close {
  background: none;
  border: none;
  color: #000;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coupon-drawer-close:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: scale(1.1);
}

/* Contenido del drawer */
.coupon-drawer-content {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.coupon-drawer-description {
  text-align: center;
  margin-bottom: 10px;
}

/* Título principal del drawer */
.coupon-drawer-main-title {
  text-align: center;
  margin-bottom: 8px;
}

.coupon-drawer-main-title h2 {
  color: #000;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.coupon-drawer-subtitle {
  color: #6c757d;
  font-size: 0.9rem;
  margin: 0;
  font-weight: 500;
}

/* Imagen del cupón */
.coupon-drawer-image {
  text-align: center;
  margin: 0;
  padding: 0;
  width: 100%;
}

.coupon-image {
  width: 100%;
  height: auto;
  max-height: 300px;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.3s ease;
  object-fit: contain;
}

.coupon-image:hover {
  transform: scale(1.02);
}

/* Sección de input */
.coupon-input-section {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #e9ecef;
}

.coupon-input-label {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 600;
  color: #495057;
  font-size: 1rem;
}

.coupon-input-label i {
  color: #ffc107;
  font-size: 1.1rem;
}

.coupon-input-group-drawer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.coupon-input-drawer {
  width: 100%;
  border: 2px solid #dee2e6;
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #fff;
  transition: all 0.3s ease;
}

.coupon-input-drawer:focus {
  outline: none;
  border-color: #ffc107;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
}

.coupon-input-drawer::placeholder {
  color: #adb5bd;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.coupon-apply-btn-drawer {
  background: #ffc107;
  border: 2px solid #ffc107;
  border-radius: 6px;
  padding: 14px 20px;
  color: #000;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.coupon-apply-btn-drawer:hover {
  background: #ffb300;
  border-color: #ffb300;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.coupon-apply-btn-drawer:disabled {
  background: #6c757d;
  border-color: #6c757d;
  color: #fff;
  cursor: not-allowed;
  transform: none;
}

.coupon-apply-btn-drawer:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.3);
}

/* Feedback del drawer */
.coupon-feedback-drawer {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
  text-align: center;
}

.coupon-feedback-drawer.success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.coupon-feedback-drawer.error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

/* Información de cupón aplicado */
.coupon-success-info-drawer {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.coupon-applied-content {
  display: flex;
  align-items: center;
  color: #155724;
  font-weight: 500;
  flex: 1;
}

.coupon-remove-btn-drawer {
  background: #dc3545;
  border: 1px solid #dc3545;
  border-radius: 4px;
  color: #fff;
  font-size: 0.8rem;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.coupon-remove-btn-drawer:hover {
  background: #c82333;
  border-color: #bd2130;
  transform: translateY(-1px);
}

/* Footer del drawer */
.coupon-drawer-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

/* Sección de beneficios */
.coupon-benefits-section {
  margin-bottom: 16px;
}

.coupon-benefits-title {
  color: #495057;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
}

.coupon-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #f8f9fa;
  border-radius: 6px;
  padding: 12px 16px;
  border-left: 4px solid #ffc107;
}

.coupon-benefits-list li {
  color: #495057;
  font-size: 0.85rem;
  margin-bottom: 6px;
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}

.coupon-benefits-list li:before {
  content: "✓";
  color: #28a745;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.coupon-benefits-list li:last-child {
  margin-bottom: 0;
}

/* Información de urgencia */
.coupon-urgency-info {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 1rem;
  color: #856404;
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 4px;
  padding: 12px;
}

/* Información de soporte */
.coupon-support-info {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #721c24;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  padding: 12px;
}

.coupon-urgency-info i,
.coupon-support-info i {
  font-size: 0.9rem;
}

/* Bloquear scroll del body cuando el drawer está abierto */
.coupon-drawer-body-lock {
  overflow: hidden;
}

/* ===================================
   RESPONSIVE PARA DRAWER DE CUPONES
   =================================== */

/* Tablets y pantallas medianas */
@media (max-width: 768px) {
  .coupon-drawer {
    width: 350px;
    right: -350px;
  }

  .coupon-drawer-header {
    padding: 16px 20px;
  }

  .coupon-drawer-title {
    font-size: 1.2rem;
  }

  .coupon-drawer-content {
    padding: 20px;
    gap: 16px;
  }

  .coupon-input-section {
    padding: 16px;
  }

  /* Layout responsive para tablets - ya no necesario */

  .coupon-icon-btn {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .coupon-icon-btn::before {
    bottom: 50px;
    font-size: 0.75rem;
    padding: 5px 8px;
  }

  .coupon-icon-btn::after {
    bottom: 40px;
  }

  .coupon-drawer-image {
    margin: 0;
    padding: 0;
  }

  .coupon-image {
    max-height: 250px;
  }

  .coupon-drawer-main-title h2 {
    font-size: 1.2rem;
  }

  .coupon-benefits-title {
    font-size: 0.95rem;
  }

  .btn-pay-now,
  .btn-paid {
    width: 80% !important;
  }

}

/* Móviles pequeños */
@media (max-width: 480px) {
  .coupon-drawer {
    width: 100%;
    right: -100%;
  }

  .coupon-drawer-header {
    padding: 14px 16px;
  }

  .coupon-drawer-title {
    font-size: 1.1rem;
  }

  .coupon-drawer-content {
    padding: 16px;
    gap: 14px;
  }

  .coupon-input-section {
    padding: 14px;
  }

  .coupon-input-drawer {
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .coupon-apply-btn-drawer {
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  /* Layout responsive para móviles - ya no necesario */

  .coupon-drawer-image {
    margin: 0;
    padding: 0;
  }

  .coupon-image {
    max-height: 200px;
  }

  .coupon-drawer-main-title h2 {
    font-size: 1.1rem;
  }

  .coupon-benefits-title {
    font-size: 0.9rem;
  }

  .coupon-benefits-list li {
    font-size: 0.8rem;
  }
}

/* Pantallas muy pequeñas */
@media (max-width: 360px) {
  .coupon-drawer-header {
    padding: 12px 14px;
  }

  .coupon-drawer-title {
    font-size: 1rem;
  }

  .coupon-drawer-content {
    padding: 14px;
    gap: 12px;
  }

  .coupon-input-section {
    padding: 12px;
  }

  .coupon-input-drawer {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .coupon-apply-btn-drawer {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  /* Layout para pantallas muy pequeñas - ya no necesario */

  .coupon-drawer-image {
    margin: 0;
    padding: 0;
  }

  .coupon-image {
    max-height: 100px;
  }

  .coupon-drawer-main-title h2 {
    font-size: 1rem;
  }

  .coupon-benefits-title {
    font-size: 0.85rem;
  }

  .coupon-benefits-list li {
    font-size: 0.75rem;
  }
}

/* Orientación landscape en móviles */
@media (max-width: 768px) and (orientation: landscape) {
  .coupon-drawer {
    width: 300px;
    right: -300px;
  }

  .coupon-drawer-header {
    padding: 12px 16px;
  }

  .coupon-drawer-content {
    padding: 16px;
    gap: 12px;
  }

  .coupon-input-section {
    padding: 12px;
  }

  /* Layout en landscape - ya no necesario */

  .coupon-icon-btn {
    width: 35px;
    height: 35px;
    font-size: 0.8rem;
  }

  .coupon-icon-btn::before {
    bottom: 40px;
    font-size: 0.7rem;
    padding: 4px 6px;
  }

  .coupon-icon-btn::after {
    bottom: 30px;
  }

  .coupon-drawer-image {
    margin: 0;
    padding: 0;
  }

  .coupon-image {
    max-height: 100px;
  }

  .coupon-drawer-main-title h2 {
    font-size: 1.1rem;
  }

  .coupon-benefits-title {
    font-size: 0.9rem;
  }
}

/* Estilos para botón de pago principal */
.btn-pay-now {
  padding: 15px 30px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
  letter-spacing: 0.5px;
  width: 50%;
}

.btn-pay-now:hover {
  background: linear-gradient(135deg, #ffb300 0%, #ffa000 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

/* Estilos para botón de pago completado (btn-paid) - Mismas dimensiones que btn-pay-now */
.btn-paid {
  padding: 15px 30px !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3) !important;
  letter-spacing: 0.5px !important;
  width: 50% !important;
  transition: all 0.3s ease !important;
}

.btn-paid:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
}

/* ===================================
   ESTILOS PARA LÍNEA DE DESCUENTO
   =================================== */

/* Contenedor de la línea de descuento - Estilo minimalista */
.discount-line {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 8px 0;
  margin: 12px 0;
  box-shadow: none;
  transition: all 0.3s ease;
  text-align: center;
}

/* Texto del descuento aplicado */
.discount-line .discount-amount {
  color: #28a745;
  font-size: 1.8rem;
  font-weight: 800;
  margin-right: 4px;
  text-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
}

/* Texto "discount applied" */
.discount-line .discount-text {
  color: #28a745;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Texto del precio original */
.discount-line .original-text {
  color: #6c757d;
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 8px;
}

/* Precio original */
.discount-line .original-amount {
  color: #6c757d;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: line-through;
  margin-left: 6px;
}

/* Responsive para línea de descuento */
@media (max-width: 768px) {
  .discount-line {
    padding: 8px 0;
    margin: 12px 0;
  }
  
  .discount-line .discount-amount {
    font-size: 1.2rem;
    font-weight: 800;
  }
  
  .discount-line .discount-text {
    font-size: 1rem;
    font-weight: 700;
  }
  
  .discount-line .original-text {
    font-size: 0.9rem;
    font-weight: 500;
  }
  
  .discount-line .original-amount {
    font-size: 1rem;
    font-weight: 600;
  }
}

@media (max-width: 480px) {
  .discount-line {
    padding: 6px 0;
    margin: 10px 0;
  }
  
  .discount-line .discount-amount {
    font-size: 1.2rem;
    font-weight: 800;
  }
  
  .discount-line .discount-text {
    font-size: 0.9rem;
    font-weight: 700;
  }
  
  .discount-line .original-text {
    font-size: 0.8rem;
    font-weight: 500;
  }
  
  .discount-line .original-amount {
    font-size: 0.9rem;
    font-weight: 600;
  }
}

@media (max-width: 360px) {
  .discount-line {
    padding: 4px 0;
    margin: 8px 0;
  }
  
  .discount-line .discount-amount {
    font-size: 1rem;
    font-weight: 800;
  }
  
  .discount-line .discount-text {
    font-size: 0.8rem;
    font-weight: 700;
  }
}