/* Glacier Pool Works - Rebuilt contact form (styled, responsive, unwired) */
.gpw-form {
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  text-align: left;
  font-family: Raleway, sans-serif;
}
.gpw-form .gpw-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.gpw-form .gpw-field {
  margin-bottom: 18px;
  flex: 1 1 100%;
}
.gpw-form .gpw-form-row .gpw-field {
  flex: 1 1 calc(50% - 8px);
  min-width: 220px;
}
.gpw-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 15px;
  color: #222;
}
.gpw-form label .gpw-req {
  color: #d12b2b;
  margin-left: 2px;
}
.gpw-form input,
.gpw-form select,
.gpw-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccced3;
  border-radius: 6px;
  background: #f7f8f9;
  font-size: 16px;
  font-family: Raleway, sans-serif;
  color: #222;
  box-sizing: border-box;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.gpw-form input:focus,
.gpw-form select:focus,
.gpw-form textarea:focus {
  outline: none;
  border-color: #1e73be;
  box-shadow: 0 0 0 3px rgba(30,115,190,.15);
}
.gpw-form textarea {
  resize: vertical;
  min-height: 120px;
}
.gpw-form button[type="submit"] {
  display: inline-block;
  background: #1e73be;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 14px 32px;
  font-size: 17px;
  font-weight: 700;
  font-family: Orbitron, Raleway, sans-serif;
  text-transform: uppercase;
  letter-spacing: .03em;
  cursor: pointer;
  transition: background .15s ease;
}
.gpw-form button[type="submit"]:hover:not(:disabled) {
  background: #155a96;
}
.gpw-form button[type="submit"]:disabled {
  opacity: .65;
  cursor: default;
}
.gpw-form .form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 600;
}
.gpw-form .form-message-success {
  background: #e6f4ea;
  color: #1d7a3a;
  border: 1px solid #b7e0c4;
}
.gpw-form .form-message-error {
  background: #fdeaea;
  color: #c0392b;
  border: 1px solid #f3c2c2;
}
@media (max-width: 600px) {
  .gpw-form .gpw-form-row .gpw-field {
    flex: 1 1 100%;
  }
}
