.mnk-ruc-field {
    display: none !important;
}

.mnk-ruc-field.mnk-field-visible {
    display: block !important;
}

/* Donaciones */
#donate-tab .jet-tabs__control-wrapper {
  display: flex;
  flex-direction: column;
  width: 120px;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  position: absolute;
  left: -50px;
  top: 20px;
}

#donate-tab .jet-tabs__content.active-content {
  min-width: 420px !important;
}

/* Estilo base para cada tab */
#donate-tab .jet-tabs__control {
  width: 50px;
  background: rgba(255, 255, 255, 0.7);
  color: #000000;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 0px;
}

/* Tab activo */
#donate-tab .jet-tabs__control.active-tab {
  background: rgba(255, 255, 255, 0.9);
  color: #000000;
}

/* Contenedor interno del tab */
#donate-tab .jet-tabs__control-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

/* Texto del label en vertical */
#donate-tab .jet-tabs__label-text {
  writing-mode: sideways-lr;
  text-orientation: mixed;
  font-size: 16px;
  font-weight: 600;
  color: inherit;
  letter-spacing: 0.5px;
}

.page-container:has(.mnk-thank-you-message) #step-indicator,
.page-container:has(.mnk-thank-you-message) #nav-step-1,
.page-container:has(.mnk-thank-you-message) #nav-step-2 {
  display: none !important;
}

#btn-nueva-donacion {
  width: 100%;
  max-width: 420px;
  height: 55px;
  padding: 4px 24px;
  background: #e11d41;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 30px auto 0;
  position: relative;
}

#btn-nueva-donacion::before {
  content: "";
  position: absolute;
  left: 24px;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M12 19l-7-7 7-7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#btn-nueva-donacion:hover {
  background: #c91739;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 29, 65, 0.4);
}

/* Ãcono de corazÃ³n */
#btn-nueva-donacion .heart-icon {
  position: absolute;
  right: 24px;
  width: 24px;
  height: 24px;
}

/* Iconos */
#donate-tab .jet-tabs__label-icon {
  display: flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
}

#donate-tab .jet-tabs__label-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* Contenedor de pÃ¡gina */
.page-container {
  border-radius: 20px;
  padding: 12px 30px 40px 30px;
  max-width: 420px;
  width: 100%;
	z-index: 1;
}

/* Step Indicator */
#step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  gap: 0;
  z-index: 1;
	position: relative;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  position: relative;
  z-index: 2;
  background-color: #D9D9D9;
  color: #8C8C8C;
  transition: all 0.3s ease;
}

.step-circle.active {
  background-color: white;
  color: #e11d41;
  border: 1px solid #e11d41;
}

.step-line {
  width: 100px;
  height: 2px;
  background-color: #999999;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.step-line.active {
  background-color: #e11d41;
}

/* Contenedor principal del form */
#mnk-donations-form {
  background: transparent;
}

/* Navigation buttons */
#nav-step-1,
#nav-step-2 {
  margin-top: 25px;
}

#nav-step-1.hidden {
  display: none;
}

#nav-step-2 {
  display: none;
  gap: 15px;
  align-items: center;
}

#nav-step-2.show {
  display: flex;
}

#btn-continuar {
  width: 100%;
  height: 55px;
  padding: 4px 24px;
  background: #e11d41;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
}

#btn-continuar br {
  display: none !important;
}

#btn-continuar::after {
  content: "";
  position: absolute;
  right: 24px;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#btn-continuar:hover {
  background: #c91739;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 29, 65, 0.4);
}

#btn-continuar svg {
  display: none;
}

.company-link {
  text-align: center;
  font-size: 13px;
  color: #000000;
  line-height: 1.5;
}

.company-link a {
  color: #00458c;
  font-weight: 600;
  text-decoration: none;
}

#back-step-1 {
  width: 60px;
  height: 55px;
  min-width: 60px;
  border: 1.5px solid #606060;
  border-radius: 50px;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#back-step-1:hover {
  border-color: #e11d41;
  background-color: #fff5f8;
}

#back-step-1 svg {
  width: 28px;
  height: 28px;
}

#btn-donar {
  width: 100%;
  height: 55px;
  background: #e11d41;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 24px;
}

#btn-donar:hover {
  background: #c91739;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 29, 65, 0.4);
}

#btn-donar svg {
  width: 28px;
  height: 28px;
}

/* Steps visibility */
.mnk-donation-step {
  display: none;
}

.mnk-donation-step.active {
  display: block;
}

/* Step 1 Title */
.step-1 > p:first-child {
  text-align: center;
  font-size: 28px;
  font-weight: 400;
  color: #000000;
  margin-bottom: 30px;
}

/* Form fields */
.mnk-form-field {
  margin-bottom: 25px;
}

.mnk-form-field > label:first-child {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #000000;
  margin-bottom: 12px;
}

/* Toggle buttons (Frecuencia y Moneda) */
.option-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
}

.option-group button {
  padding: 16px 20px;
  border: none;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #ffffff;
  color: #666;
}

.option-group button:not(.active) {
  background: #ffffff;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  color: #606060;
}

#recurrency-group button[data-value="monthly"] {
  border-top-left-radius: 12px !important;
  border-bottom-left-radius: 12px !important;
	  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}

#recurrency-group button[data-value="unique"] {
  border-top-right-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
	  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
}

#currency-group button[data-value="PEN"] {
  border-top-left-radius: 12px !important;
  border-bottom-left-radius: 12px !important;
	  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}

#currency-group button[data-value="USD"] {
  border-top-right-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
	  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
}

.option-group button.active {
  background: #00458c;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  color: white;
}

/* Amount buttons */
.amount-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}

.amount-btn {
  padding: 16px 10px;
  border: none;
  border-radius: 50px;
  background: #d9d9d9;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #606060;
  position: relative;
}

.amount-btn:hover {
  background: #c9c9c9;
}

.amount-btn.active {
  background: #00458c;
  color: white;
}

.amount-btn.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #00458c;
}

/* Custom amount input */
.custom-amount-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 500;
  margin-top: 0;
  display: none;
}

.custom-amount-input.show {
  display: block;
}

.custom-amount-input:focus {
  outline: none;
  border-color: #00458c;
}

/* Hidden helper */
.hidden {
  display: none !important;
}

.mnk-form-field-recurrency label {
	display: none !important;
}
.mnk-form-field-currency label {
	display: none !important;
}
.mnk-form-field-amount label {
	display: none !important;
}

/* Helper message box */
.mnk-form-helper-message {
  background: #FEF4C4;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #000000;
  margin-top: 20px;
  margin-bottom: 20px;
}

.mnk-form-helper-message.hidden {
  display: none;
}

/* Step 2 - Floating labels for text inputs */
.mnk-form-field-full-name,
.mnk-form-field-dni,
.mnk-form-field-phone,
.mnk-form-field-email,
.mnk-form-field-ruc {
  position: relative;
  margin-bottom: 20px;
}

/* Actualizar estos estilos en tu CSS */
.mnk-form-field-full-name label,
.mnk-form-field-dni label,
.mnk-form-field-phone label,
.mnk-form-field-email label,
.mnk-form-field-ruc label {
  position: absolute;
  left: 16px;
  top: 20px; /* Valor fijo en lugar de 50% */
  transform: none; /* Sin transform inicial */
  font-size: 16px;
  color: #999;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  padding: 0 8px;
  z-index: 2;
  margin: 0;
}

/* Labels cuando estÃ¡n activos (tienen la clase active) */
.mnk-form-field-full-name label.active,
.mnk-form-field-dni label.active,
.mnk-form-field-phone label.active,
.mnk-form-field-email label.active,
.mnk-form-field-ruc label.active {
  top: 0;
  transform: translateY(-50%);
  font-size: 12px;
  color: #00458c;
  font-weight: 500;
  padding: 0 8px;
}

.mnk-form-field input[type="text"],
.mnk-form-field input[type="email"],
.mnk-form-field input[type="tel"],
.mnk-form-field input[type="date"] {
  width: 100%;
  padding: 14px 20px;
  border: 1.5px solid #606060;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: white;
}

.mnk-form-field input[type="number"] {
  width: 100%;
  padding: 18px 20px;
  border: 1.5px solid #606060;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: white;
}

.mnk-form-field input:focus {
  outline: none;
  border-color: #00458c;
}

/* Document type select */
.mnk-form-field-document-type {
  position: relative;
  margin-bottom: 20px;
}

.mnk-form-field-document-type label {
  position: absolute;
  left: 20px;
  top: -8px;
  font-size: 13px;
  color: #00458c;
  font-weight: 500;
  pointer-events: none;
  background: white;
  padding: 0 4px;
  z-index: 1;
}

.mnk-form-field-document-type select {
  width: 100%;
  padding: 14px 20px;
  border: 1.5px solid #606060;
  border-radius: 12px;
  font-size: 16px;
  background: white;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 45px;
  color: #333;
}

.mnk-form-field-document-type select:focus {
  outline: none;
  border-color: #00458c;
}

/* Date field - fixed label with calendar icon */
.mnk-form-field-dob {
  position: relative;
  margin-bottom: 20px;
}

.mnk-form-field-dob label {
  position: absolute;
  left: 20px;
  top: -8px;
  font-size: 13px;
  color: #00458c;
  font-weight: 500;
  background: white;
  padding: 0 4px;
  z-index: 1;
}

.mnk-form-field-dob input[type="date"] {
  position: relative;
  color: #333;
}

.mnk-form-field-dob input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  right: 15px;
  cursor: pointer;
  opacity: 0.7;
}

/* Estilos para los checkboxes */
.mnk-form-field-donation_certificate,
.mnk-form-field-terms_and_conditions,
.mnk-form-field-newsletter {
  margin-bottom: 20px; /* Aumentado de 15px */
}

.mnk-form-field-donation_certificate label,
.mnk-form-field-terms_and_conditions label,
.mnk-form-field-newsletter label {
  display: flex;
  align-items: flex-start;
  font-size: 16px; /* Aumentado de 14px */
  color: #333;
  cursor: pointer;
  line-height: 1.5; /* Aumentado de 1.4 */
  position: static !important;
  transform: none !important;
}

.mnk-form-field input[type="checkbox"] {
  width: 20px; /* Aumentado de 22px */
  height: 20px;
  min-width: 24px;
  margin-right: 10px; /* Aumentado de 10px */
  margin-top: 0; /* Cambiado de 2px */
  cursor: pointer;
  accent-color: #e11d41;
  flex-shrink: 0; /* Evita que el checkbox se encoja */
}

/* Estilos para los links dentro de los labels de checkboxes */
.mnk-form-field-donation_certificate label a,
.mnk-form-field-terms_and_conditions label a,
.mnk-form-field-newsletter label a {
  color: #00458c;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mnk-form-field-donation_certificate label a:hover,
.mnk-form-field-terms_and_conditions label a:hover,
.mnk-form-field-newsletter label a:hover {
  color: #e11d41;
  text-decoration: underline;
}

/* Asegurar que el texto del checkbox se ajuste bien */
.mnk-form-field-donation_certificate label > *:not(input),
.mnk-form-field-terms_and_conditions label > *:not(input),
.mnk-form-field-newsletter label > *:not(input) {
  flex: 1;
}

#donate-btn {
  width: 100%;
  height: 55px;
  background: #e11d41;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 24px;
  position: relative;
}

#donate-btn::after {
  content: "";
  position: absolute;
  right: 24px;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#donate-btn:hover {
  background: #c91739;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 29, 65, 0.4);
}

#donate-btn svg {
  display: none;
}

.mnk-form-error {
	margin-top: 4px;
	color: #E11D41;
	font-size: 11px;
}

.custom-amount-wrapper {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.custom-amount-wrapper.show {
  display: grid;
}

.custom-amount-label {
  font-size: 14px;
  font-weight: 400;
  color: #000000;
  line-height: 1.4;
  padding-right: 8px;
}

.custom-amount-wrapper .custom-amount-input {
  display: block !important;
  margin-top: 0;
}

/* Ocultar el input cuando no estÃ¡ en el wrapper */
.mnk-form-field-amount > .custom-amount-input {
  display: none !important;
}

/* ============================================
   MOBILE STYLES
   ============================================ */

/* Tablets y mobile */
@media (max-width: 768px) {
  /* Contenedor de tabs: cambiar a horizontal arriba */
  #donate-tab .jet-tabs__control-wrapper {
    flex-direction: row;
    width: 100%;
    position: static;
    left: auto;
    top: auto;
  border-radius: 0px !important;
  }
	
	#donate-tab .jet-tabs__content-wrapper {
		border-top-left-radius: 0px !important;
		border-top-right-radius: 0px !important;
		border-bottom-left-radius: 16px !important;
		border-bottom-right-radius: 16px !important;
	}
	
	#donate-tab .jet-tabs__content-wrapper {
		box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.25);
	}
	
	#donate-tab .jet-tabs__label-icon {
    transform: rotate(-90deg);
    transition: transform 0.3s ease;
  }
	
	  #donate-tab #yape .jet-tabs__label-icon {
    transform: rotate(90deg); /* 90Â° sentido horario */
  }
	
	#tarjeta {
		border-top-left-radius: 16px !important;
		border-top-right-radius: 16px !important;
		border-bottom-left-radius: 0px !important;
	}
	
	#yape {
		border-top-left-radius: 16px !important;
		border-top-right-radius: 16px !important;
		border-bottom-left-radius: 0px !important;
	}
  
  /* Cada tab ocupa el mismo espacio */
  #donate-tab .jet-tabs__control {
    width: auto;
    flex: 1;
    padding: 12px 8px;
  }
  
  /* Contenedor interno: cambiar a horizontal */
  #donate-tab .jet-tabs__control-inner {
    flex-direction: row;
    gap: 8px;
  }
  
  /* Texto horizontal normal */
  #donate-tab .jet-tabs__label-text {
    writing-mode: horizontal-tb;
    text-orientation: initial;
    font-size: 14px;
  }
  
  /* Iconos mÃ¡s pequeÃ±os en mobile */
  #donate-tab .jet-tabs__label-icon {
    width: 20px;
    height: 20px;
  }
  
  /* Contenido del tab */
  #donate-tab .jet-tabs__content.active-content {
    min-width: 100% !important;
    width: 100%;
	  background-color: white !important;
  }
	
	.option-group button {
  font-size: 16px;
}
	
	.amount-btn button {
	font-size: 16px;
	}
}

/* Pantallas muy pequeÃ±as */
@media (max-width: 480px) {
  #donate-tab .jet-tabs__control {
    padding: 10px 6px;
  }
	
	#tarjeta {
		border-top-left-radius: 16px !important;
		border-top-right-radius: 16px !important;
		border-bottom-left-radius: 0px !important;
	}
	
	#yape {
		border-top-left-radius: 16px !important;
		border-top-right-radius: 16px !important;
		border-bottom-left-radius: 0px !important;
	}
  
  #donate-tab .jet-tabs__label-icon {
    width: 18px;
    height: 18px;
  }
  
  .page-container {
    padding: 30px 20px;
  }
  
  #mnk-donations-form {
    padding: 0;
  }
  
  .amount-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Thank you page */
.mnk-thank-you-message {
	color: #333;
}

.mnk-thank-you-message .mnk-thank-you-title {
    text-align: center;
    font-size: 24px;
    font-family: "Playwrite US Modern", cursive !important;
}

.mnk-thank-you-message .mnk-thank-you-message {
	text-align: center;
}

.mnk-thank-you-message ul {
	padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}