.educo-nl,
.educo-nl * {
  box-sizing: border-box;
}

.educo-nl {
  background: #fff;
  color: #0b3040;
  font-family: Arial, Helvetica, sans-serif;
}

.educo-nl-modal[hidden],
.educo-nl-success[hidden],
.educo-nl-form[hidden],
.educo-nl-intro[hidden] {
  display: none !important;
}

.educo-nl h2,
.educo-nl h3,
.educo-nl p {
  margin-top: 0;
}

.educo-nl h2 {
  color: #0b3040;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
}

.educo-nl-subtitle {
  color: #617184;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.educo-nl-form-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.educo-nl-field input {
  background: #fff;
  border: 1.5px solid #dde6ed;
  border-radius: 3px;
  color: #0b3040;
  font: 14px Arial, Helvetica, sans-serif;
  outline: none;
  padding: 14px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.educo-nl-field input:focus {
  border-color: #f37920;
  box-shadow: 0 0 0 3px rgba(243, 121, 32, 0.15);
}

.educo-nl-field.has-error input {
  border-color: #e03434;
}

.educo-nl button.educo-nl-submit,
button.educo-nl-popup-trigger {
  -webkit-appearance: none;
  appearance: none;
  background-color: #f37920 !important;
  background-image: linear-gradient(135deg, #f37920 0%, #f9a01b 100%) !important;
  border: 0 !important;
  border-radius: 3px;
  color: #fff;
  cursor: pointer;
  font: 700 14px Arial, Helvetica, sans-serif;
  letter-spacing: 0.5px;
  padding: 14px 24px;
  text-transform: uppercase;
  transition: filter 0.2s, opacity 0.2s;
}

.educo-nl button.educo-nl-submit:hover:not(:disabled),
button.educo-nl-popup-trigger:hover {
  background-color: #f37920 !important;
  background-image: linear-gradient(135deg, #f37920 0%, #f9a01b 100%) !important;
  filter: brightness(1.05);
}

.educo-nl-submit:focus-visible,
.educo-nl-popup-trigger:focus-visible,
.educo-nl-modal-close:focus-visible {
  outline: 3px solid rgba(243, 121, 32, 0.35);
  outline-offset: 3px;
}

.educo-nl-submit:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.educo-nl-error {
  color: #c62828;
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
  min-height: 18px;
  text-align: left;
}

.educo-nl-honeypot {
  height: 1px !important;
  left: -10000px !important;
  overflow: hidden !important;
  position: absolute !important;
  width: 1px !important;
}

.educo-nl-sr-only {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

.educo-nl-success {
  padding: 8px 0;
  text-align: center;
}

.educo-nl-success-icon {
  align-items: center;
  background: linear-gradient(135deg, #f37920, #f9a01b);
  border-radius: 50%;
  color: #fff;
  display: flex;
  height: 48px;
  justify-content: center;
  margin: 0 auto 16px;
  width: 48px;
}

.educo-nl-success-icon svg {
  height: 24px;
  width: 24px;
}

.educo-nl-success h3 {
  color: #0b3040;
  font-size: 20px;
  margin-bottom: 8px;
}

.educo-nl-success p {
  color: #617184;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 0;
}

.educo-nl-inline-card {
  border: 1px solid #dde6ed;
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(19, 39, 67, 0.07);
  max-width: 480px;
  padding: 40px 36px;
  text-align: left;
  width: 100%;
}

.educo-nl-social {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-top: 26px;
}

.educo-nl-social a {
  color: #f37920;
  display: inline-flex;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.educo-nl-social a:hover {
  color: #d9630d;
  transform: translateY(-2px);
}

.educo-nl-social svg {
  fill: currentColor;
  height: 22px;
  width: 22px;
}

.educo-nl-popup-root {
  display: inline-block;
}

.educo-nl-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 999999;
}

.educo-nl-modal-backdrop {
  animation: educo-nl-backdrop-in 220ms ease-out both;
  backdrop-filter: blur(2px);
  background: rgba(11, 48, 64, 0.72);
  inset: 0;
  position: absolute;
}

.educo-nl-popup-card {
  animation: educo-nl-popup-in 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
  border-radius: 5px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  max-height: calc(100vh - 40px);
  max-width: 500px;
  overflow: auto;
  padding: 44px 32px 36px;
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 1;
}

.educo-nl-stripes {
  display: flex;
  gap: 6px;
  position: absolute;
  right: 28px;
  top: 0;
}

@keyframes educo-nl-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes educo-nl-popup-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.educo-nl-stripes span {
  display: block;
  height: 4px;
  width: 24px;
}

.educo-nl-stripes span:nth-child(1) { background: #0b3040; }
.educo-nl-stripes span:nth-child(2) { background: #f37920; }
.educo-nl-stripes span:nth-child(3) { background: #f9a01b; }

.educo-nl-modal-close {
  background: transparent;
  border: 0;
  color: #40556b;
  cursor: pointer;
  font: 30px/1 Arial, sans-serif;
  height: 38px;
  position: absolute;
  right: 12px;
  top: 10px;
  width: 38px;
}

.educo-nl-mail-icon {
  color: #0b3040;
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.educo-nl-mail-icon svg {
  height: 52px;
  width: 52px;
}

.educo-nl-popup-card .educo-nl-subtitle {
  margin-left: auto;
  margin-right: auto;
  max-width: 400px;
}

.educo-nl-popup-card .educo-nl-submit {
  width: 100%;
}

.educo-nl-modal-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .educo-nl-inline-card {
    border-radius: 12px;
    padding: 32px 24px;
  }
  .educo-nl-modal {
    padding: 12px;
  }
  .educo-nl-popup-card {
    max-height: calc(100vh - 24px);
    padding: 38px 20px 28px;
  }
  .educo-nl-popup-trigger {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .educo-nl * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
