/* ============ OWNER REQUEST PAGE ============ */

.owner-request-venue {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  background: oklch(0.2 0 0);
  border: 1px solid oklch(0.3 0 0);
  border-radius: 8px;
  padding: 12px 16px;
  flex-wrap: wrap;
}

.owner-request-venue-label {
  font-size: 11px;
  color: var(--gray-60);
}

.owner-request-venue-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--color-cream-bright);
}

.owner-request-venue-address {
  font-size: 12px;
  color: var(--gray-55);
}

.owner-request-section {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.owner-request-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.owner-request-tab {
  border: 1px solid var(--color-border-strong);
  background: #fff;
  color: var(--near-black-30);
  font-weight: 700;
  font-size: 13px;
  padding: 11px 20px;
  border-radius: 8px;
}

.owner-request-tab.is-active {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #fff;
}

.owner-request-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: clamp(22px, 4vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.owner-request-intro {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.owner-request-intro-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 19px;
}

.owner-request-intro-text {
  font-size: 13px;
  color: var(--gray-45);
  line-height: 1.6;
}

.owner-request-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.owner-request-field-heading {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.owner-request-label-strong {
  font-weight: 700;
  font-size: 14px;
}

.owner-request-asterisk {
  color: var(--color-accent);
  font-weight: 700;
  margin-left: 1px;
}

.owner-request-required-legend {
  font-size: 12px;
  color: var(--gray-50);
  margin-bottom: 4px;
}

.owner-request-field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.owner-request-field-full {
  grid-column: 1 / -1;
}

.owner-request-label {
  font-size: 12px;
  color: var(--gray-45);
}

.owner-request-input,
.owner-request-select,
.owner-request-textarea {
  border: 1px solid var(--color-border-strong);
  border-radius: 7px;
  padding: 11px 13px;
  font-size: 14px;
  font-family: var(--font-body);
  background: #fff;
  color: var(--color-text);
  width: 100%;
}

.owner-request-select {
  color: var(--near-black-30);
}

.owner-request-select-narrow {
  max-width: 460px;
}

.owner-request-textarea {
  resize: vertical;
  line-height: 1.6;
}

.owner-request-hint {
  font-size: 11px;
  color: var(--gray-50);
  line-height: 1.5;
}

/* Shared by the dropzones driven by file_preview_controller.js (claim form
   licence upload, owner console CSV import). The real <input type=file> is
   visually hidden but NOT display:none: a required input must stay
   focusable, or the browser can neither show its "please select a file"
   message nor focus it, and the submit silently does nothing (#103). It
   sits at the dropzone's bottom centre so that message points at the
   dropzone; the label still handles clicks, and keyboard focus on the
   input outlines the whole dropzone. */
.file-dropzone-input {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.owner-request-upload:has(.file-dropzone-input:focus-visible),
.owner-console-csv-dropzone:has(.file-dropzone-input:focus-visible) {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.owner-request-upload.is-invalid,
.owner-console-csv-dropzone.is-invalid {
  border-color: var(--color-accent);
  background: oklch(0.97 0.03 27);
}

.file-dropzone-missing:not([hidden]) {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
}

.owner-request-upload {
  position: relative;
  border: 2px dashed var(--color-border-strong);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: var(--color-cream-brightest);
  text-align: center;
}

.owner-request-upload-icon {
  font-size: 26px;
  color: var(--gray-60);
}

.owner-request-upload-title {
  font-weight: 700;
  font-size: 13px;
}

.owner-request-upload-help {
  font-size: 12px;
  color: var(--gray-50);
}

.owner-request-upload.is-dragover {
  border-color: var(--color-accent);
  background: var(--color-cream-brightest);
}

/* :not([hidden]) rather than a bare selector — this class's own
   display: flex would otherwise outrank the browser's
   [hidden] { display: none } default at equal specificity, since this
   stylesheet loads after the UA one. Shared by the placeholder (icon/
   title/help) and the preview (thumbnail/filename) blocks, which swap
   places via the hidden attribute — .owner-request-upload itself used to
   apply this same flex layout directly to icon/title/help before they
   were wrapped in a placeholder span, so this class carries it now. */
.owner-request-upload-placeholder:not([hidden]),
.owner-request-upload-preview:not([hidden]) {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.owner-request-upload-preview-image {
  max-width: 100%;
  max-height: 160px;
  border-radius: 6px;
  object-fit: contain;
}

.owner-request-upload-preview-filename {
  font-size: 12px;
  font-weight: 700;
  color: var(--near-black-30);
  word-break: break-all;
}

.owner-request-upload-error {
  font-size: 12px;
  color: var(--color-accent);
  text-align: center;
  line-height: 1.5;
}

/* Shown in place of the claim form when the bar already has a pending
   ClaimRequest — reuses .owner-request-card for the white frame. */
.owner-request-review-notice {
  gap: 14px;
}

.owner-request-review-notice p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-45);
}

.owner-request-errors {
  background: oklch(0.97 0.03 27);
  border: 1px solid oklch(0.85 0.08 27);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 13px;
  color: oklch(0.4 0.12 27);
}

.owner-request-errors p {
  margin: 0 0 6px;
  font-weight: 700;
}

.owner-request-errors ul {
  margin: 0;
  padding-left: 18px;
}

.owner-request-attestation {
  background: var(--color-alt-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.owner-request-checkbox-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.6;
  color: oklch(0.3 0.01 90);
  cursor: pointer;
}

.owner-request-checkbox-label input {
  margin-top: 3px;
  flex-shrink: 0;
}

.owner-request-checkbox-en {
  color: var(--gray-50);
}

.owner-request-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.owner-request-submit-neutral {
  background: oklch(0.28 0 0);
  color: #fff;
}

