/* Custom CSS for Hike SEO Embed Form - Add this to Hike SEO → Branding Settings → Custom CSS */

/* Main form container styling */
.shc-form-container {
  width: 100% !important;
  max-width: 100% !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Form wrapper */
.shc-form-wrapper {
  background: transparent !important;
  border-radius: 12px !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Input fields styling */
.shc-input,
.shc-form-input,
input[type="text"],
input[type="email"],
input[type="url"] {
  width: 100% !important;
  padding: 12px 16px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  font-family: inherit !important;
  background: white !important;
  color: #374151 !important;
  margin-bottom: 16px !important;
  transition: all 0.2s ease !important;
}

.shc-input:focus,
.shc-form-input:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus {
  outline: none !important;
  border-color: #0d9488 !important;
  box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.1) !important;
}

/* Button styling */
.shc-button,
.shc-submit-button,
button[type="submit"],
.shc-form-button {
  width: 100% !important;
  background: linear-gradient(to right, #14b8a6, #22c55e) !important;
  color: white !important;
  border: none !important;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  margin-top: 8px !important;
}

.shc-button:hover,
.shc-submit-button:hover,
button[type="submit"]:hover,
.shc-form-button:hover {
  background: linear-gradient(to right, #0f766e, #16a34a) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Labels */
.shc-label,
.shc-form-label,
label {
  display: block !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #374151 !important;
  margin-bottom: 8px !important;
  font-family: inherit !important;
}

/* Form title/heading */
.shc-form-title,
.shc-heading,
h1, h2, h3, h4 {
  color: #111827 !important;
  font-weight: 700 !important;
  margin-bottom: 16px !important;
  font-family: inherit !important;
}

/* Error messages */
.shc-error,
.shc-form-error,
.error-message {
  color: #dc2626 !important;
  font-size: 14px !important;
  margin-top: 4px !important;
  font-family: inherit !important;
}

/* Success messages */
.shc-success,
.shc-form-success,
.success-message {
  color: #059669 !important;
  font-size: 14px !important;
  margin-top: 4px !important;
  font-family: inherit !important;
}

/* Loading states */
.shc-loading,
.shc-spinner {
  color: #0d9488 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .shc-input,
  .shc-form-input,
  input[type="text"],
  input[type="email"],
  input[type="url"] {
    font-size: 16px !important; /* Prevents zoom on iOS */
  }
}

/* Hide any unwanted elements */
.shc-powered-by,
.powered-by,
.branding-footer {
  display: none !important;
}

/* Ensure form is visible */
.shc-form-container,
.shc-form-wrapper,
#shc-container {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  height: auto !important;
  min-height: auto !important;
}