/* Transcrib Si — the consent banner.
 *
 * The banner sits at the top of the page in the normal flow of the document:
 * it never covers the upload zone of the first screen. The page keeps working
 * while it is open — nothing is disabled and nothing is blocked.
 */

.consent {
  background: var(--bg-raised);
  border-bottom: var(--border-w) solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 50;
}

.consent[hidden] {
  display: none;
}

.consent__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-3) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.consent__title {
  margin: 0;
  font-size: var(--fs-300);
  font-weight: 650;
  letter-spacing: 0.01em;
  flex: 0 0 auto;
}

.consent__text {
  margin: 0;
  font-size: var(--fs-200);
  line-height: 1.45;
  color: var(--text-muted);
  flex: 1 1 22rem;
  min-width: 0;
}

.consent__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-left: auto;
}

.consent__link {
  font-size: var(--fs-200);
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.consent__link:hover {
  color: var(--brand);
}

@media (max-width: 760px) {
  .consent__inner {
    padding: var(--space-4);
    gap: var(--space-3);
  }

  .consent__actions {
    margin-left: 0;
    width: 100%;
  }

  .consent__actions .btn {
    flex: 1 1 auto;
  }
}
