/*
	Theme Name: Hello Elementor
	Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
	Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
	Author: Elementor Team
	Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
	Version: 3.4.9
	Stable tag: 3.4.9
	Requires at least: 6.0
	Tested up to: 6.8
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
/* ============================================================================
   CONTACT FORM 7 PREMIUM DESIGN SYSTEM
   ============================================================================ */

/* Root styling for forms */
.wpcf7 {
  width: 100%;
}

.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.wpcf7-form p {
  margin: 0 0 16px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Row wrapper for side-by-side inputs (e.g. name and email) */
.wpcf7-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .wpcf7-form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Label styling */
.wpcf7-form label {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #2c3e35; /* Elegant dark slate green */
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

/* Inputs & Textareas */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background-color: #ffffff; /* Clean pure white input boxes */
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #1f2937;
  transition: all 0.2s ease-in-out;
  box-sizing: border-box;
  outline: none;
}

/* Hover state */
.wpcf7-form input[type="text"]:hover,
.wpcf7-form input[type="email"]:hover,
.wpcf7-form input[type="tel"]:hover,
.wpcf7-form select:hover,
.wpcf7-form textarea:hover {
  border-color: #9ca3af;
}

/* Focus states */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  border-color: #055346; /* Health theme green */
  box-shadow: 0 0 0 3px rgba(5, 83, 70, 0.12);
  background-color: #ffffff;
}

/* Dropdown select custom style overrides */
.wpcf7-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 16px;
  padding-right: 45px;
  cursor: pointer;
}

/* Textarea height */
.wpcf7-form textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

/* Submit Button - Left-aligned pill */
.wpcf7-form input[type="submit"] {
  align-self: flex-start; /* Move to the left */
  background-color: #055346 !important; /* Forest green */
  color: #ffffff !important;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 40px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px rgba(5, 83, 70, 0.15);
  margin-top: 5px;
  width: auto; /* Width fits the text, no longer full-width */
  text-align: center;
  box-sizing: border-box;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #0c4839 !important;
  box-shadow: 0 6px 15px rgba(5, 83, 70, 0.25);
  transform: translateY(-1px);
}

.wpcf7-form input[type="submit"]:active {
  transform: translateY(0);
}

/* Inline verification error alerts */
.wpcf7-not-valid-tip {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  color: #ef4444 !important;
  margin-top: 4px;
  font-weight: 500;
}

.wpcf7-form input.wpcf7-not-valid,
.wpcf7-form textarea.wpcf7-not-valid {
  border-color: #ef4444 !important;
  background-color: #fef2f2 !important;
}

/* Global status alert responses (bottom of form) */
.wpcf7-response-output {
  margin: 15px 0 0 0 !important;
  padding: 16px 20px !important;
  border-radius: 12px !important;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-width: 1px !important;
  text-align: center;
}

/* Success status response */
.wpcf7-form.sent .wpcf7-response-output {
  background-color: #f0fdf4 !important;
  border-color: #bbf7d0 !important;
  color: #15803d !important;
}

/* Validation error response */
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output {
  background-color: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #b91c1c !important;
}

/* General errors / spam status response */
.wpcf7-form.aborted .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output {
  background-color: #fffbeb !important;
  border-color: #fef3c7 !important;
  color: #d97706 !important;
}

