/* Header: parse + Start */
.main-header__start-actions {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.main-header__parse-doc-button {
  margin: 0;
  padding: 10px 8px;
  cursor: pointer;
  width: 12rem;
  max-width: 12rem;
  min-height: 44px;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Modal */
.auto-upload-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.auto-upload-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.auto-upload-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  padding: 1.25rem 1.35rem 1.5rem;
}

.auto-upload-modal-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.auto-upload-modal-panel__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  color: #111827;
}

.auto-upload-modal-panel__close {
  flex-shrink: 0;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0 0.25rem;
  cursor: pointer;
  color: #6b7280;
}

.auto-upload-modal-panel__close:hover {
  color: #111827;
}

.auto-upload-modal-panel__description {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #4b5563;
}

/* Drop zone */
.auto-upload-drop-zone {
  position: relative;
  min-height: 148px;
  padding: 1.25rem 1rem;
  background: #e5e7eb;
  border: 1px dashed #4b5563;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-align: center;
}

.auto-upload-drop-zone.auto-upload-drop-zone--drag {
  background: #d1d5db;
  border-color: #1f2937;
}

.auto-upload-drop-zone__input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.auto-upload-drop-zone__hint {
  margin: 0;
  font-size: 0.8125rem;
  color: #6b7280;
}

.auto-upload-drop-zone__browse {
  position: relative;
  z-index: 2;
}
