/* The bills pages' header actions — uploading a document, uploading a
   statement — and the overlay the whole page shows while files
   are dragged over it. */

@layer components {
  .bills-header__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  /* ─── Drop zone ────────────────────────── */

  /* Passes the pointer through, so the drag's enter and leave events keep
     coming from the page under it. */
  .bills-drop-zone {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    background: oklch(from var(--color-canvas) l c h / 80%);
    display: grid;
    inset: 0;
    padding: 1.5rem;
    place-items: center;
    pointer-events: none;
    position: fixed;
    z-index: var(--z-sheet);
  }

  .bills-drop-zone__card {
    background: var(--color-surface);
    border: 2px dashed var(--color-brand);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lifted);
    display: grid;
    gap: 0.5rem;
    justify-items: center;
    max-inline-size: 32rem;
    padding: 3rem 4rem;
    text-align: center;
  }

  .bills-drop-zone__icon {
    background: var(--color-brand-tint);
    block-size: 3.5rem;
    border-radius: var(--radius-lg);
    color: var(--color-brand);
    display: inline-grid;
    inline-size: 3.5rem;
    margin-block-end: 0.75rem;
    place-items: center;
  }

  .bills-drop-zone__title {
    color: var(--color-ink);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
  }

  .bills-drop-zone__hint {
    color: var(--color-ink-muted);
    font-size: 0.9375rem;
    margin: 0;
  }
}
