/* Do Not Sell Form Styles */
.white_sec {
  background: #fff;
  padding: 60px 0;
}

.top-border {
  border-top: 3px solid #4caf50;
}

.inner-page-wrap {
  width: 100%;
}

.contact-left {
  padding-right: 30px;
}

.page-title-new {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
  font-weight: bold;
}

.contact-left h3 {
  font-size: 1.5rem;
  color: #4caf50;
  margin-bottom: 15px;
  font-weight: 600;
}

.contact-left p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.contact-right {
  background: #f9f9f9;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}

.form-control:focus {
  border-color: #4caf50;
  outline: none;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* Phone number specific styling */
input[name="phone"] {
  font-family: monospace;
  letter-spacing: 1px;
}

input[name="phone"]::-webkit-outer-spin-button,
input[name="phone"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[name="phone"][type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.custom-select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  background: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-select:focus {
  border-color: #4caf50;
  outline: none;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-check {
  margin: 25px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-check-input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.form-check-label {
  margin: 0;
  color: #333;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}

.captcha {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.small-txt {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.4;
}

.btn-wrap {
  margin-top: 30px;
}

.submit-btn button {
  background: #4caf50;
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.submit-btn button:hover {
  background: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.submit-btn button:active {
  transform: translateY(0);
}

/* Thank you message */
.thank-you-message {
  margin-bottom: 30px;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #d4edda;
  background-color: #d1ecf1;
  color: #0c5460;
}

.thank-you-message h4 {
  margin: 0 0 10px 0;
  color: #155724;
  font-weight: bold;
}

.thank-you-message p {
  margin: 0;
  line-height: 1.5;
}

/* Validation error styles */
.form-group.error .form-control,
.form-group.error .custom-select {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-check.error {
  border: 1px solid #dc3545;
  border-radius: 4px;
  padding: 8px;
  background-color: #fff5f5;
}

.captcha-element.error,
.form-item.error {
  border: 1px solid #dc3545;
  border-radius: 4px;
  padding: 8px;
  background-color: #fff5f5;
}

.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 5px;
  display: block;
  font-weight: 500;
}

/* reCAPTCHA specific styling */
.g-recaptcha {
  margin: 15px 0;
}

/* Additional error state styling - removed label color change */
/* Labels will keep their original color even in error state */

/* Bootstrap alert classes */
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

/* Responsive design */
@media (max-width: 768px) {
  .contact-left {
    padding-right: 0;
    margin-bottom: 30px;
  }
  
  .contact-right {
    padding: 20px;
  }
  
  .page-title-new {
    font-size: 2rem;
  }
  
  .contact-left h3 {
    font-size: 1.3rem;
  }
  
  .form-control,
  .custom-select {
    font-size: 16px; /* Prevent zoom on iOS */
  }
}
