@import url('/request-appointment/css/theme-tokens.css');

.public-intake-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.public-intake-form-panel,
.public-intake-side-panel {
  background: #fff;
  border: 1px solid #dee2e6;
  padding: 1.5rem;
}

.public-intake-side-panel {
  background: #f8f9fa;
}

.public-intake-form-panel .appointment-field-group {
  background: #fbfcfc;
  border: 1px solid #d8e0de;
  margin-bottom: 1.25rem;
  padding: 1rem;
}

.public-intake-form-panel .appointment-field-group-title {
  align-items: center;
  border-bottom: 1px solid #d8e0de;
  color: var(--pp-heading-text);
  display: flex;
  font-size: 1.1rem;
  font-weight: 700;
  gap: .55rem;
  margin: 0 0 1rem;
  padding-bottom: .5rem;
  text-transform: uppercase;
}

.public-intake-form-panel .appointment-field-group-title .fa,
.public-intake-form-panel .appointment-field-group-title .fas {
  color: #27604f;
  flex: 0 0 auto;
  font-size: 1rem;
  width: 1.2rem;
}

.public-intake-form-panel .appointment-field-group-help {
  margin-top: -.5rem;
}

.public-intake-form-panel .appointment-customer-type {
  background: transparent;
  border: 0;
  padding: 0;
}

.public-intake-form-panel .appointment-customer-type .btn-group {
  gap: .5rem;
}

.public-intake-form-panel .appointment-customer-type .btn {
  border-radius: .25rem !important;
  white-space: normal;
}

.appointment-photo-picker {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.appointment-photo-picker input[type="file"] {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.appointment-photo-picker .btn {
  align-items: center;
  display: inline-flex;
  gap: .45rem;
  min-height: 42px;
}

.appointment-photo-picker .appointment-photo-selected {
  background: #27604f;
  border-color: #27604f;
  color: #fff;
}

.appointment-photo-selection-status {
  background: #f8f9fa;
  border: 1px solid #d8e1e5;
  border-radius: 999px;
  color: var(--pp-muted-text);
  display: inline-flex;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.25;
  max-width: 100%;
  padding: .45rem .75rem;
}

.appointment-photo-selection-status.has-photos {
  background: #e8f5ee;
  border-color: #27604f;
  color: #1f4d3f;
}

.appointment-photo-selection-status.has-error {
  background: #fff3f3;
  border-color: var(--pp-danger);
  color: #8a1f16;
}

.appointment-photo-clear {
  background: transparent;
  border: 0;
  color: #27604f;
  font-size: .9rem;
  font-weight: 700;
  padding: .25rem .35rem;
  text-decoration: underline;
}

.public-intake-note-panel {
  background: #2c3e50;
  border-color: #243342;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(44, 62, 80, .16);
  color: #fff;
}

.public-intake-note-panel h2,
.public-intake-note-panel strong {
  color: #fff;
}

.public-intake-note-panel a,
.public-intake-note-panel .text-warning {
  color: #f4d03f !important;
}

.public-intake-note-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.public-intake-note-list li {
  border-top: 1px solid rgba(255, 255, 255, .2);
  padding: .75rem 0;
}

.public-intake-note-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.public-intake-form-error-alert {
  border-width: 2px;
  box-shadow: 0 8px 22px rgba(114, 28, 36, .18);
  position: sticky;
  top: 88px;
  z-index: 20;
}

.generated-report-link {
  align-items: center;
  background: #f8fbfb;
  border: 1px solid #dce7ea;
  border-radius: 8px;
  color: #536873;
  display: flex;
  gap: 12px;
  line-height: 1.4;
  margin-top: 20px;
  padding: 12px;
}

.generated-report-link a {
  color: var(--pp-public-action-teal, #11718a);
  font-weight: 800;
}

.problem-report-icon {
  flex: 0 0 auto;
  height: 42px;
  width: 42px;
}

@media (max-width: 575.98px) {
  .public-intake-form-panel .appointment-customer-type .btn-group {
    flex-wrap: wrap;
  }

  .public-intake-form-panel .appointment-customer-type .btn {
    flex: 1 1 100% !important;
  }
}

@media (max-width: 767.98px) {
  .public-intake-section {
    padding-top: 3rem;
  }

  .public-intake-form-panel,
  .public-intake-side-panel {
    padding: 1.25rem;
  }

  .public-intake-form-error-alert {
    top: 74px;
  }
}
