/* Paws Around Town - Contact Form Styles */

/* Override cursive fonts in contact sections */
.ry-contact .ry-heading h3,
.ry-contact .ry-inside-heading p,
.ry-contact-form h3,
#contact-wrap h3,
#contact-wrap p,
.ry-content-section h2,
.ry-content-section h3,
.ry-content-section p,
.ry-inside-heading h2,
.ry-inside-heading h3,
.ry-right h3,
.ry-sidebar h3,
#ry-pg-body .ry-right h3 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  color: #1a1a1a !important;
}

.ry-contact .ry-heading h3,
#contact-wrap h3,
.ry-content-section h2,
.ry-content-section h3,
.ry-right h3,
.ry-sidebar h3,
#ry-pg-body .ry-right h3 {
  font-size: 28px !important;
  font-weight: 700 !important;
}

.ry-contact .ry-inside-heading p,
#contact-wrap .ry-inside-heading p,
.ry-content-section p {
  font-size: 17px !important;
  color: #333 !important;
}

.paws-contact-form {
  max-width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.paws-contact-form .fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.paws-contact-form .form-section {
  width: 100%;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.paws-contact-form .form-section:last-of-type {
  border-bottom: none;
}

.paws-contact-form .form-section-title {
  color: #1a1a1a;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  padding-left: 15px;
  border-left: 3px solid #8bc34a;
}

.paws-contact-form .leadbox {
  margin-bottom: 15px;
  padding-left: 15px;
  padding-right: 15px;
}

.paws-contact-form .form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #111;
  font-size: 16px;
}

.paws-contact-form .required {
  color: #e74c3c;
  font-weight: bold;
}

.paws-contact-form .form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  color: #111;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
}

.paws-contact-form .form-control:focus {
  border-color: #8bc34a;
  box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.15);
  outline: none;
}

.paws-contact-form .form-control::placeholder {
  color: #888;
}

.paws-contact-form select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 10px center;
  background-repeat: no-repeat;
  background-size: 20px;
  padding-right: 40px;
}

.paws-contact-form textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* Checkbox group for preferred days */
.paws-contact-form .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 10px 0;
}

.paws-contact-form .checkbox-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  color: #111;
}

.paws-contact-form .checkbox-inline input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #8bc34a;
  cursor: pointer;
}

/* Submit section */
.paws-contact-form .submit-section {
  margin-top: 20px;
  text-align: center;
}

.paws-contact-form .submit-section .ry-btn {
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.paws-contact-form .submit-section .ry-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.paws-contact-form .form-note {
  margin-top: 15px;
  font-size: 15px;
  color: #333;
}

.paws-contact-form .form-note a {
  color: #8bc34a;
  font-weight: 600;
  text-decoration: none;
}

.paws-contact-form .form-note a:hover {
  text-decoration: underline;
}

/* Address autocomplete highlight */
.paws-contact-form input#address {
  position: relative;
}

.paws-contact-form .address-validation {
  font-size: 12px;
  margin-top: 5px;
  padding: 5px 10px;
  border-radius: 3px;
}

.paws-contact-form .address-valid {
  color: #27ae60;
  background-color: rgba(39, 174, 96, 0.1);
}

.paws-contact-form .address-invalid {
  color: #e74c3c;
  background-color: rgba(231, 76, 60, 0.1);
}

/* Google Places Autocomplete dropdown styling */
.pac-container {
  border-radius: 5px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  z-index: 10000;
}

.pac-item {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 15px;
  color: #111;
}

.pac-item-query {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 15px;
  color: #111;
}

.pac-item:hover {
  background-color: #f8f9fa;
}

.pac-item-selected {
  background-color: #e8f5e9;
}

.pac-icon {
  margin-right: 10px;
}

/* Quick form variant for homepage */
.paws-contact-form.quick-form .form-section {
  border-bottom: none;
  margin-bottom: 15px;
  padding-bottom: 0;
}

.paws-contact-form.quick-form .form-section-title {
  display: none;
}

.paws-contact-form.quick-form .leadbox {
  margin-bottom: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .paws-contact-form .col-md-6 {
    width: 100%;
  }

  .paws-contact-form .checkbox-group {
    flex-direction: column;
    gap: 10px;
  }

  .paws-contact-form .form-section-title {
    font-size: 16px;
  }
}

/* Success state after submission */
.paws-form-success {
  background-color: #e8f5e9;
  border: 1px solid #8bc34a;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

.paws-form-success h4 {
  color: #27ae60;
  margin-bottom: 10px;
}

.paws-form-success p {
  color: #333;
  margin: 0;
}
