/*
Theme Name: Autoware
Theme URI: http://basework.studio
Author: Basework Studio
Author URI: http://basework.studio
Version: 1.3
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: autoware
*/

.privacy-policy {
  padding: 0px 0px 0px 0px;
  background-color: #fff;
}

.resources-blog-body-card-content-action {
  position: absolute;
  margin-top: 140px;
  right: 0;
  left: 0;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
}

.hero-text-logo img {
  max-height: none !important;
  width: 100%;
}

.gfield--type-captcha {
  display: none !important;
}

/* Gravity Forms Error Styling */
.gform_validation_error .gform_validation_errors {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.gform_validation_error .gform_submission_error {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

.gform_validation_error .gform-icon--circle-error {
  width: 16px;
  height: 16px;
  background: #ffffff;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}

.gform_validation_error .gform-icon--circle-error::after {
  content: '!';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000000;
  font-size: 12px;
  font-weight: bold;
}

.gform_validation_error .gfield_error input {
  border: 2px solid #ffffff !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

.gform_validation_error .gfield_error input::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
}

.gform_validation_error .gfield_error input:focus {
  border-color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2) !important;
  outline: none !important;
}

.gform_validation_error .validation_message {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
}

.gform_validation_error .validation_message::before {
  content: '⚠';
  font-size: 16px;
  color: #ffffff;
}

.gform_validation_error .gfield_label {
  color: #ffffff !important;
  font-weight: 500;
  margin-bottom: 8px;
}

.gform_validation_error .gfield_required_asterisk {
  color: #ffffff !important;
}

.gform_validation_error .gform_heading h2 {
  color: #ffffff !important;
}

.gform_validation_error .gform_heading p {
  color: rgba(255, 255, 255, 0.8) !important;
}

.gform_validation_error .gform_required_legend {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 12px;
  margin-top: 8px;
}

/* Loading button state */
.gform_button.loading {
  opacity: 0.7;
  cursor: not-allowed;
  position: relative;
}

.gform_button.loading::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: translateY(-50%) rotate(0deg);
  }

  100% {
    transform: translateY(-50%) rotate(360deg);
  }
}