/* Need Help unified modal — .modal-overlay/.modal-container/.modal-form/
   .form-group/.form-select/.form-input/.form-textarea/.btn-primary/
   .btn-secondary are the app's existing generic modal styles (see
   dashboard.css / employee_dashboard.css / companies.css); this file only
   covers what's specific to this modal's own content. */

/* The generic .modal-overlay z-index (1000, see dashboard.css) exactly ties
   with the contextual-guidance onboarding highlight layer
   (--guidance-z-highlight: 1000 !important, see contextual_guidance.css),
   which can render its "NEXT STEP" tooltip on top of this modal for a
   fresh/onboarding-active account. Scoped to this modal's own id only —
   .modal-overlay itself and the guidance layer's z-index are untouched, so
   no other modal is affected. 1500 matches what the pre-unification
   Product Feedback modal already used safely. */
#needHelpModal {
  z-index: 1500;
}

.modal-subtitle {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: normal;
}

.need-help-user-info {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
}

.need-help-user-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: #6b7280;
}

.need-help-user-info-key {
  font-weight: 500;
  color: #374151;
}

.need-help-hint {
  display: block;
  font-size: 0.8125rem;
  color: #6b7280;
  margin: 0.5rem 0;
}

.need-help-file {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  margin-top: 0.5rem;
}

.need-help-preview-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.75rem 0 0;
  padding: 0;
}

.need-help-preview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 84px;
}

.need-help-preview-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 0.375rem;
  border: 1px solid #d1d5db;
  background: #f9fafb;
}

.need-help-preview-name {
  font-size: 0.6875rem;
  color: #374151;
  margin-top: 0.25rem;
  max-width: 84px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.need-help-preview-size {
  font-size: 0.625rem;
  color: #6b7280;
}

.need-help-preview-remove {
  margin-top: 0.25rem;
  background: none;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  width: 1.25rem;
  height: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
  font-size: 0.875rem;
}

.need-help-preview-remove:hover,
.need-help-preview-remove:focus-visible {
  color: #b91c1c;
  border-color: #b91c1c;
}

.need-help-error {
  color: #b91c1c;
  font-size: 0.8125rem;
  line-height: 1.4;
  margin-top: 0.75rem;
}

.need-help-success {
  text-align: center;
  padding: 3rem 1.5rem;
}

.need-help-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background-color: #d1fae5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.need-help-success h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.need-help-success p {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
}
