/* --- Form Container --- */
.gs-contact-form {
  max-width: 700px;
  /*margin: 2rem auto;
  padding: 2rem;
  margin: 1rem auto;*/
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  font-family: system-ui, sans-serif;
}

/* --- Two-column layout --- */
.gs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Collapse to one column on small screens */
@media (max-width: 600px) {
  .gs-row {
    grid-template-columns: 1fr;
  }
}

/* --- Floating Label Wrapper --- */
.gs-field {
  position: relative;
  margin-bottom: 1.5rem;
}

/* --- Inputs & Textareas --- */
.gs-field input,
.gs-field textarea {
  width: 100%;
  padding: 1rem 0.75rem 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fafafa;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

/* --- Floating Labels --- */
.gs-field label {
  position: absolute;
  left: 0.75rem;
  top: 0.9rem;
  font-size: 1rem;
  color: #666;
  pointer-events: none;
  transition: all 0.2s ease;
}

/* When input is focused or has content */
.gs-field input:focus + label,
.gs-field textarea:focus + label,
.gs-field input:not(:placeholder-shown) + label,
.gs-field textarea:not(:placeholder-shown) + label {
  top: -0.55rem;
  left: 0.6rem;
  font-size: 1rem; /*0.75rem;*/
  background: #fff;
  padding: 0 0.25rem;
  color: #0073e6;
}

/* --- Focus States --- */
.gs-field input:focus,
.gs-field textarea:focus {
  outline: none;
  border-color: #0073e6;
  box-shadow: 0 0 0 3px rgba(0, 115, 230, 0.25);
  background: #fff;
}

/* --- Submit Button --- */
.gs-submit-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #0073e6;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.1s ease;
}

.gs-submit-button:hover {
  background: #005bbd;
}

.gs-submit-button:active {
  transform: scale(0.97);
}

/* --- Success / Error Messages --- */
.gs-form-message {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
}

.gs-success {
  background: #e6f7e6;
  color: #1a7f1a;
  border: 1px solid #b6e3b6;
}

.gs-error {
  background: #fdeaea;
  color: #b30000;
  border: 1px solid #f5b5b5;
}
.gs-map-container {
  padding-top: 1rem;
}
