/* Style cho Form (Áp dụng chung cho cả Form tĩnh và Form trong Popup) */
.google-custom-form {
  max-width: 450px;
  margin: 20px auto;
  padding: 25px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  font-family: inherit;
}
.google-custom-form .form-group {
  margin-bottom: 20px;
}
.google-custom-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}
.google-custom-form input[type="text"],
.google-custom-form input[type="tel"],
.google-custom-form select,
.google-custom-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 15px;
  transition: border-color 0.3s;
  background-color: #fff;
}
.google-custom-form select:focus,
.google-custom-form textarea:focus,
.google-custom-form input:focus {
  border-color: #007bff;
  outline: none;
}
.google-custom-form button[type="submit"] {
  width: 100%;
  padding: 14px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.3s;
}
.google-custom-form button[type="submit"]:hover {
  background: #0056b3;
}
.google-custom-form .success-msg {
  margin-top: 15px;
  padding: 12px;
  background: #d4edda;
  color: #155724;
  border-radius: 6px;
  text-align: center;
  font-weight: 500;
  display: none;
}

/* Trường chống Spam (Honeypot) */
.hp-field {
  display: none !important;
}

/* Style cho Popup Modal */
.custom-modal {
  display: none; 
  position: fixed; 
  z-index: 99999; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  background-color: rgba(0,0,0,0.6); 
  justify-content: center;
  align-items: center;
}
.custom-modal-content {
  background-color: #fff;
  padding: 10px 20px 20px 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 480px;
  position: relative;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  animation: popupFadeIn 0.3s ease-in-out;
}
.custom-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}
.custom-modal-close:hover {
  color: #000;
}
.btn-open-popup {
  background-color: #007bff;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-open-popup:hover {
  background-color: #0056b3;
}
@keyframes popupFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}