
/* Form container */
#zapform-newsletter-form {
  position: relative;
  max-width: 600px;
  margin: 1em auto;
}

/* ───────────────────────────────────────────────────────────────
   Floating Label Group
──────────────────────────────────────────────────────────────── */
.floating-label-group {
  position: relative;
  margin-bottom: 20px;
}

/* Input styles */
#zapform-newsletter-form .zapform-input {
  width: 100%;
  height: 3em;
  padding: 10px;
  border: 1px solid #a3a3a3;
  border-radius: 0.375rem;
  background-color: transparent;
  font-size: 16px;
  line-height: 1.5;
  color: #111;
  font-weight: 500;
  box-sizing: border-box;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Label styling */
.floating-label-group .floating-label {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  font-size: 16px;
  color: #4f4f4f;
  background-color: transparent;
  font-weight: 500;
  transition: 0.2s;
  pointer-events: none;
  padding: 0 5px;
  line-height:1;
}

.floating-label-extra-text {
    color: #969696;
}

/* Animation for label when input is focused or has content */
.floating-label-group input:focus ~ .floating-label,
.floating-label-group input:not(:placeholder-shown) ~ .floating-label {
  transform: translateX(-6px) translateY(-30px);
  font-size: 12px;
  background-color: #fff;
  color: #111;
}

/* Focus state */
#zapform-newsletter-form .zapform-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

/* Hide native placeholder */
#zapform-newsletter-form .zapform-input::placeholder {
  color: transparent;
}

/* Disabled state */
#zapform-newsletter-form .zapform-input:disabled {
  background-color: #f9fafb;
  cursor: not-allowed;
}

/* ───────────────────────────────────────────────────────────────
   Submit Button
──────────────────────────────────────────────────────────────── */
#zapform-newsletter-form button[type="submit"],
.zapform-submit {
  display: block;
  width: 100%;
  padding: 0.5em 1em;
  color: #ffffff;
  font-size: 13px;
  font-family: 'Rubik', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  line-height: 1.7em;
  background-color: #2970fa;
  border-width: 10px !important;
  border-color: rgba(0, 0, 0, 0);
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-align: center;
}

/* Submit button hover */
#zapform-newsletter-form button[type="submit"]:hover,
.zapform-submit:hover {
  background-color: #2565e1;
}

/* ───────────────────────────────────────────────────────────────
   Zapform Message Box
──────────────────────────────────────────────────────────────── */
.zapform-message-box {
    max-width: 600px;
    margin: 1em auto;
    border: 1px solid #2970fa;          /* blue border */
    background-color: #f0f8ff;          /* very light blue */
    color: #111;                        /* default text */
    padding: 1em 1.25em;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: center;
  }
  
  /* Error variant */
  .zapform-message-box--error {
    border: 2px dashed #c00;
    color: #900;
    margin-bottom: 25px;
    font-size: 18px;
    line-height: 1.6;
    background-color: #fff0f0;
    border-radius: 12px;
    padding: 20px;
  }
  
  /* Success variant */
  .zapform-message-box--success {
    border: 2px dashed #080;
    color: #060;
    margin-bottom: 25px;
    font-size: 18px;
    line-height: 1.6;
    background-color: #f0fff2;
    border-radius: 12px;
    padding: 20px;
  }


/* Spinner in-button */
.zapform-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 0.5em;
    border: 4px solid rgba(255,255,255,0.6);
    border-top-color: #fff;
    border-radius: 50%;
    animation: zap-spin 0.75s linear infinite;
    vertical-align: text-bottom;
  }
  
  @keyframes zap-spin {
    to { transform: rotate(360deg); }
  }
  

  .thank-you-container {
    max-width: 600px;
    text-align: center;
    background-color: white;
    margin: 0 auto;
  }
  
  .thumbs-up-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 10px;
    position: relative;
  }
  
  .thumbs-up-svg {
    animation: bounce 2s infinite;
  }
  
  .thank-you-message {
    color: #333;
    margin-bottom: 25px;
    font-size: 18px;
    line-height: 1.6;
    background-color: #f0f6ff;
    border-radius: 12px;
    padding: 20px;
    border: 2px dashed #2970FA;
  }
  
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-20px);
    }
    60% {
      transform: translateY(-10px);
    }
  }
  
  /* Confetti animation */
  .confetti {
    position: absolute;
    width: 15px;
    height: 15px;
    opacity: 0;
  }
  
  #confetti-1 {
    top: 10px;
    left: 20px;
    animation: confetti-fall-1 3s linear infinite;
  }
  
  #confetti-2 {
    top: 5px;
    left: 70px;
    animation: confetti-fall-2 2.5s linear infinite;
  }
  
  #confetti-3 {
    top: 15px;
    left: 100px;
    animation: confetti-fall-3 3.5s linear infinite;
  }
  
  @keyframes confetti-fall-1 {
    0% {
      transform: translateY(0) rotate(0deg);
      opacity: 1;
    }
    100% {
      transform: translateY(100px) rotate(360deg);
      opacity: 0;
    }
  }
  
  @keyframes confetti-fall-2 {
    0% {
      transform: translateY(0) rotate(0deg);
      opacity: 1;
    }
    100% {
      transform: translateY(100px) rotate(-360deg);
      opacity: 0;
    }
  }
  
  @keyframes confetti-fall-3 {
    0% {
      transform: translateY(0) rotate(0deg);
      opacity: 1;
    }
    100% {
      transform: translateY(100px) rotate(180deg);
      opacity: 0;
    }
  }
  
  .thank-you-header {
    color: #2970FA;
    margin-top: 0;
    font-size: 28px;
    font-weight: 700;
  }
  
.zapform-footer {
    font-size: 13px;
    text-align: center;
}
  
