/* Backup styles for Sonhosting Lead Optin popup
   These only apply if Tailwind isn’t present
-------------------------------------------------- */

.slo-backdrop {
  display: none; /* JS shows it */
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.slo-optin-box {
  max-width: 400px;
  width: 100%;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  position: relative;
  text-align: center;
  font-family: system-ui, sans-serif;
}

.slo-optin-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #666;
}

.slo-optin-headline {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #111;
}

.slo-optin-subtext {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #444;
}

.slo-optin-form {
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
  align-items: stretch;
}

.slo-optin-email {
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
  width: 100%;
}

.slo-optin-form input[type="email"],
.slo-optin-form input[type="text"] {
  border: 1px solid #dfdfdf;
  border-radius: 10px;
  padding: 10px 15px;
}

.slo-optin-submit {
  background: #2563eb; /* blue-600 */
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.slo-optin-submit:hover {
  background: #1d4ed8; /* blue-700 */
}

.slo-optin-msg {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #16a34a; /* green-600 for success */
  min-height: 1.2em;
}
