
.bgs-analyzer-form {

    margin: 0 auto;
    padding: 2rem;
    /* background: #f9fafb; */
    border-radius: 8px;
    border: 1px solid #E5E7EB;

}

.bgs-field {
  margin-bottom: 1.25rem;
}

.bgs-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #374151;
}

.bgs-field input {
width: 100% !important;
    padding: 0.75rem 1rem !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    font-size: 1rem;
    transition: border-color 0.2s !important;
}

.bgs-field input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.bgs-analyzer-form button[type="submit"] {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: #3C873D;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}

.bgs-analyzer-form button[type="submit"]:hover {
  background: #30712F;
}

#bgs-results {
  padding: 1rem;
  border-radius: 6px;
  text-align: center;
  margin-top: 20px;
  font-size: 15px;
	display:none;
}

#bgs-results a {
  color: #3b82f6;
  font-weight: 600;
  text-decoration: underline;
}

/* ===== BGS Analyzer Styles ===== */

#bgs-submit-btn {
  position: relative;
}

/* Loader inside button */
.loader {
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-top: 2px solid #0073aa;
  border-radius: 50%;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  animation: spin 0.8s linear infinite;
  display: none;
}

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


.bgs-download-pdf-notice{
	font-size:14px;
}
/* 🔴 Custom field error message styling */

.bgs-error {
  color: #d93025;
  font-size: 14px;
  margin-top: 4px;
}

.has-error {
  border-color: #d93025 !important;
  background-color: #fff6f6;
  transition: border-color 0.3s ease;
}

@media (max-width: 768px) { 
	.bgs-analyzer-form {
   	 	padding: 1rem;
	}
}
