/*
Theme Name: PuroClean Zee TW
Theme URI: https://puroclean.com
Description: Franchise child theme based on PuroClean Tailwind corporate theme
Author: PuroClean Team
Template: puroclean-tw
Version: 1.0.0
*/

/* Global h2 line-height override */
h2 {
  line-height: 1.1 !important;
}

.credentials-slider img {
  max-height: 90px;
  width: auto;
  margin: 0 auto;
}

/* Bright Reviews Widget - Hero Section Customization */
.hero-section .bright-reviews-widget--overall {
  text-align: left;
}

.hero-section .bright-reviews-widget--no-box .bright-reviews-overall{
  padding: 0 !important;
}

/* Hide "Overall Rating of X Reviews" title */
.hero-section .bright-reviews-overall__title {
  display: none;
}

/* Hide "out of 5 stars" text */
.hero-section .bright-reviews-overall__score-text {
  display: none;
}

/* Reorganize rating section: stars on top, rating number below */
.hero-section .bright-reviews-overall__rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.hero-section .bright-reviews-overall__score-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

/* Stars on top */
.hero-section .bright-reviews-overall__stars {
  order: 1;
  margin: 0;
}

/* Rating number below stars */
.hero-section .bright-reviews-overall__score-number {
  order: 2;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1;
}

/* WPForms Contact Form Customization - Shared styles for both contact-form-section and contact-form-wrapper */
.contact-form-section .wpforms-container,
.contact-form-wrapper .wpforms-container {
  max-width: 800px !important;
  margin: 0 auto;
}

.contact-form-section .wpforms-form {
  display: block;
  text-align: center;
}

/* Labels styling - uppercase, above inputs */
.contact-form-section .wpforms-field-label {
  color: #ffffff !important;
  text-transform: uppercase !important;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
  text-align: left;
}

/* Override label color for contact-form-wrapper (light background) */
.contact-form-wrapper .wpforms-field-label {
  color: #000000 !important;
}

/* Input fields styling - white background, black text, rounded 5px */
.contact-form-section .wpforms-field input[type="text"],
.contact-form-section .wpforms-field input[type="email"],
.contact-form-section .wpforms-field input[type="tel"],
.contact-form-section .wpforms-field input[type="url"],
.contact-form-section .wpforms-field input[type="number"],
.contact-form-section .wpforms-field textarea,
.contact-form-wrapper .wpforms-field input[type="text"],
.contact-form-wrapper .wpforms-field input[type="email"],
.contact-form-wrapper .wpforms-field input[type="tel"],
.contact-form-wrapper .wpforms-field input[type="url"],
.contact-form-wrapper .wpforms-field input[type="number"],
.contact-form-wrapper .wpforms-field textarea {
  border-radius: 5px !important;
  color: #000000 !important;
  background-color: #ffffff !important;
  padding: 0.75rem 1rem !important;
  width: 100% !important;
}

.contact-form-section .wpforms-field input::placeholder,
.contact-form-section .wpforms-field textarea::placeholder,
.contact-form-wrapper .wpforms-field input::placeholder,
.contact-form-wrapper .wpforms-field textarea::placeholder {
  color: rgba(0, 0, 0, 0.5) !important;
}

.contact-form-section .wpforms-field input:focus,
.contact-form-section .wpforms-field textarea:focus,
.contact-form-wrapper .wpforms-field input:focus,
.contact-form-wrapper .wpforms-field textarea:focus {
  outline: none !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  background-color: #ffffff !important;
}

/* Field container - label above input */
.contact-form-section .wpforms-field,
.contact-form-wrapper .wpforms-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem !important;
}

/* reCAPTCHA and submit button alignment - in same row */
.contact-form-section .wpforms-recaptcha-container,
.contact-form-wrapper .wpforms-recaptcha-container {
  display: inline-block !important;
  vertical-align: middle !important;
  margin-right: 1.5rem !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

.contact-form-section .wpforms-submit-container,
.contact-form-wrapper .wpforms-submit-container {
  display: inline-block !important;
  vertical-align: middle !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Submit button styling */
.contact-form-section .wpforms-submit-container button[type="submit"],
.contact-form-section .wpforms-submit-container input[type="submit"],
.contact-form-wrapper .wpforms-submit-container button[type="submit"],
.contact-form-wrapper .wpforms-submit-container input[type="submit"] {
  background-color: #dc2626 !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  padding: 0.75rem 2rem !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  border: none !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
}

.contact-form-section .wpforms-submit-container button[type="submit"]:hover,
.contact-form-section .wpforms-submit-container input[type="submit"]:hover,
.contact-form-wrapper .wpforms-submit-container button[type="submit"]:hover,
.contact-form-wrapper .wpforms-submit-container input[type="submit"]:hover {
  background-color: #b91c1c !important;
}

/* Mobile: Stack reCAPTCHA and submit vertically */
@media (max-width: 767px) {
  .contact-form-section .wpforms-field-recaptcha,
  .contact-form-section .wpforms-submit-container,
  .contact-form-wrapper .wpforms-field-recaptcha,
  .contact-form-wrapper .wpforms-submit-container {
    flex: 1 1 100% !important;
    width: 100%;
  }
  
  .contact-form-section .wpforms-submit-container button[type="submit"],
  .contact-form-section .wpforms-submit-container input[type="submit"],
  .contact-form-wrapper .wpforms-submit-container button[type="submit"],
  .contact-form-wrapper .wpforms-submit-container input[type="submit"] {
    width: 100%;
  }
}

/* shadow box style*/
.shadowed-box {
  box-shadow: 0px 0px 20px #00000029;
}