.pwpro-wrap {
  padding: 80px 20px;
}


.pwpro-card {
  max-width: 1024px !important;
  margin: 0 auto;
  background: #fff !important;
  border: 1px solid #e7eaf0;
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06);
}

.pwpro-head {
  text-align: center;
  margin-bottom: 28px;
}

.pwpro-head h2 {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.05;
  font-weight: 600;
  color: #0f172a;
}

.pwpro-head h2 span {
  background: linear-gradient(90deg, #104959b3 0%, #104959b3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pwpro-head p {
  margin: 0;
  color: #64748b;
  font-size: 17px;
}

.pwpro-section {
  margin-bottom: 24px;
}

.pwpro-label {
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #334155;
}

.pwpro-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.pwpro-type-btn {
  border: 1px solid #dbe3ee;
  background: #fff;
  color: #475569;
  border-radius: 16px;
  min-height: 56px;
  padding: 14px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all .22s ease;
}

.pwpro-type-btn:hover {
  transform: translateY(-1px);
  border-color: #9cc9ff;
}

.pwpro-type-btn.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(90deg, #2d3f44e6 0%, #146d86 100%) !important;
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.22);
}

.pwpro-pages-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.pwpro-pages-value {
  min-width: 48px;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
}

.pwpro-range {
  width: 100%;
  appearance: none;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2d3f44e6 0%, #146d86 100%) !important;
  outline: none;
}

.pwpro-range::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ccc;
  border: 2px solid #fff;
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.35);
  cursor: pointer;
}

.pwpro-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ccc;
  border: 2px solid #fff;
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.35);
  cursor: pointer;
}

.pwpro-help {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 13px;
}

.pwpro-extras-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pwpro-switch-card {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid #dbe3ee;
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  transition: all .22s ease;
}

.pwpro-switch-card:hover {
  border-color: #b8d7ff;
  transform: translateY(-1px);
}

.pwpro-switch-card strong {
  display: block;
  font-size: 15px;
  color: #0f172a;
}

.pwpro-switch-card span {
  display: block;
  font-size: 13px;
  color: #64748b;
}

.pwpro-switch-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pwpro-switch {
  position: relative;
  width: 54px;
  height: 30px;
  border-radius: 999px;
  background: #e2e8f0;
  flex: 0 0 54px;
  transition: .22s ease;
}

.pwpro-switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  transition: .22s ease;
}

.pwpro-switch-card input:checked + .pwpro-switch {
  background: linear-gradient(90deg, #2d3f44e6 0%, #146d86 100%) !important;
}

.pwpro-switch-card input:checked + .pwpro-switch::after {
  transform: translateX(24px);
}

.pwpro-custom-message {
  padding: 18px 20px;
  border-radius: 18px;
  background: #f8fafc !important;
  border: 1px dashed #cbd5e1;
  color: #475569;
  margin-bottom: 22px;
}

.pwpro-summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border-radius: 22px;
  padding: 22px;
  background: #f8fafc;
  border: 1px solid #e5edf6;
  margin-top: 8px;
}

.pwpro-summary-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pwpro-summary-left small,
.pwpro-summary-right small {
  display: block;
  color: #64748b;
  margin-bottom: 5px;
}

.pwpro-summary-left strong,
.pwpro-summary-right strong {
  display: block;
  color: #0f172a;
  font-size: 22px;
  font-weight: 600;
}

.pwpro-summary-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #2d3f44e6 0%, #146d86 100%);
  color: #fff;
  font-size: 21px;
  font-weight: 600;
}

.pwpro-main-btn,
.pwpro-submit-btn {
  width: 100%;
  border: 0;
  cursor: pointer;
  border-radius: 18px;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #2d3f44e6 0%, #146d86 100%);
  box-shadow: 0 16px 34px rgba(59, 130, 246, 0.22);
  transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.pwpro-submit-btn {
  margin-top: 0;
}

.pwpro-main-btn:hover,
.pwpro-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(59, 130, 246, 0.28);
}

.pwpro-main-btn {
  margin-top: 20px;
}

.pwpro-note {
  margin: 14px 0 0;
  color: #64748b;
  font-size: 13px;
  text-align: center;
}

.pwpro-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.pwpro-modal.is-open {
  display: block;
}

.pwpro-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(4px);
}

.pwpro-modal-dialog {
  position: relative;
  width: min(92vw, 760px);
  max-height: 88vh;
  margin: 4vh auto 0;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.28);
  animation: pwproPop .22s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@keyframes pwproPop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pwpro-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 26px;
  cursor: pointer;
}

.pwpro-modal-header {
  margin-bottom: 18px;
  padding: 30px 30px 0;
  flex: 0 0 auto;
}

.pwpro-modal-header h3 {
  margin: 0 0 8px;
  font-size: 30px;
  color: #0f172a;
}

.pwpro-modal-header p {
  margin: 0;
  color: #64748b;
}

.pwpro-form {
  padding: 0 30px 30px;
  overflow-y: auto;
  flex: 1 1 auto;
}

.pwpro-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pwpro-field {
  margin-bottom: 16px;
}

.pwpro-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

.pwpro-field input,
.pwpro-field textarea {
  width: 100%;
  border: 1px solid #d8e0eb;
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
  color: #0f172a;
  font-size: 15px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.pwpro-field input:focus,
.pwpro-field textarea:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.14);
}

.pwpro-mini-summary {
  margin: 8px 0 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f8fafc;
  color: #334155;
  font-size: 14px;
  border: 1px solid #e5edf6;
}

.pwpro-form-actions {
  position: sticky;
  bottom: 0;
  background: #fff;
  padding-top: 14px;
  margin-top: 10px;
  border-top: 1px solid #eef2f7;
}

.pwpro-form-response {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
}

.pwpro-form-response.is-success {
  color: #166534;
}

.pwpro-form-response.is-error {
  color: #b91c1c;
}

.pwpro-submit-btn.is-loading {
  opacity: .7;
  pointer-events: none;
}

.pwpro-honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.pwpro-no-scroll {
  overflow: hidden;
}

@media (max-width: 768px) {
  .pwpro-card {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .pwpro-wrap{
    padding:50px 0px;
  }

  .pwpro-type-btn{
    padding:7px 10px;
  }

  .pwpro-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px;
  }


  .pwpro-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px;
  }

  
  .pwpro-extras-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .pwpro-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .pwpro-modal-dialog {
    width: min(94vw, 760px);
    max-height: 92vh;
    margin-top: 2vh;
    border-radius: 22px;
  }

  .pwpro-modal-header {
    padding: 22px 18px 0;
  }

  .pwpro-form {
    padding: 0 18px 22px;
  }

  .pwpro-modal-header h3 {
    font-size: 24px;
  }

  #pwpro_mensaje {
    min-height: 110px;
  }
}