
/* Layout wrapper */
.sched-install-module {
  width: 100%;
  display: flex;
  justify-content: center;
}
.modal-sched-install-content {
  background: #fff;
  width: 100%;
  max-width: 750px;
  padding: 45px 40px;
  overflow-y: visible;
  max-height: none;
  position: relative;
  border: 1px solid var(--accent);
  border-radius: 10px;
}
@media (max-width: 768px) {
  .modal-sched-install-content { padding: 40px 25px; }
}
.modal-sched-install-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 30px;
}

/* Grid layout */
.modal-form .grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 15px;
}
.modal-form .col-12 { grid-column: span 12; }
.modal-form .col-6  { grid-column: span 6; }
.modal-form .col-4  { grid-column: span 4; }
@media (max-width: 650px) {
  .modal-form .col-6,
  .modal-form .col-4 { grid-column: span 12; }
}

/* Fields */
.modal-form .field {
  font-weight: 600;
}
.contact-module .modal-form .field input,
.contact-module .modal-form .field textarea {
  width: 100%;
  margin-top: 6px;
  padding: 8px 10px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: #fff;
}
.contact-module .modal-form textarea { resize: vertical; }
.contact-module .modal-form .field select {
  width: 100%;
  margin-top: 6px;
  padding: 8px 10px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: #fff;
}

.asterisk {
  color: var(--accent);
  margin-left: 2px;
}

.error-msg {
  background: #ffc0c0;
  color: #a33;
  padding: 7px 10px;
  border-radius: 5px;
  font-weight: 600;
  display: none;
  margin: 10px 0 15px;
}
.success-msg {
  background: #d7ffde;
  color: #237a2a;
  padding: 7px 10px;
  border-radius: 5px;
  font-weight: 600;
  margin: 10px 0 15px;
}

.btn.primary-btn {
  background: var(--accent);
  color: #fff;
  padding: 8px 24px;
  border-radius: 8px;
  font-weight: 600;
}
.btn.primary-btn:hover,
.btn.primary-btn:focus {
  background: var(--off-black);
}

.contact-pref-field {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.contact-pref-label {
  white-space: nowrap;
}
.contact-pref-options {
  display: inline-flex;
  gap: 10px;
  font-weight: 400;
}
.contact-pref-option {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.95rem;
}
.contact-module .contact-pref-option input[type="radio"] {
  margin: 0;
}

@media (max-width: 480px) {
  .contact-pref-field {
    flex-direction: column;
    align-items: flex-start;
  }
}
