/* The upload drop zone, in both portals.
 *
 * This is the control a customer meets first and the one Compliance uses every
 * day, so it is the clearest case of "the two tools should feel like one
 * system". It was written for the Onboarding Portal; the Compliance Portal then
 * had the MARKUP copied into it three separate times and never the CSS, so both
 * of its drop zones rendered as two bare lines of text -- no border, no target
 * to drag onto, no hover. A drop zone you could not see. It looked correct in
 * every code review and was obviously wrong on screen, which is exactly what
 * this file exists to stop happening again.
 *
 * Depends on tokens.css for --stone-dk / --white / --forest / --blue. Link that
 * first.
 *
 * `:hover` and `.over` are one rule ON PURPOSE. `.over` is added on dragover by
 * the JS; a file being dragged produces no :hover, so without it there is no
 * feedback that the drop will land where the pointer is.
 *
 * The hint text under the heading names the accepted formats and each app owns
 * its own wording, because the two apps genuinely accept different sets -- the
 * Compliance Portal reads WebP and the customer wizard does not. Both name HEIC
 * in that hint, and what must NOT differ is that neither app puts the MIME token
 * `image/heic` in an input's `accept` attribute: that MIME list is what makes
 * iOS transcode a camera photo to JPEG at the picker, so advertising it would
 * turn an occasional raw HEIC into every upload.
 *
 * The Compliance Portal DOES offer the EXTENSION tokens `.heic,.heif`, and only
 * to DESKTOP pickers -- see `uploadAccept()` in its public/app/ui.js (ui.js:385,
 * ACCEPT_HEIC at :362). The customer wizard offers no HEIC token of either kind.
 * Read the desktop scoping as the caution it is, not as evidence that extension
 * tokens are safe on iOS: nobody has verified whether `.heic` also defeats the
 * transcode, and withholding it from iOS costs nothing, so the question stays
 * unasked. The server converts whatever still arrives raw (heic.js).
 */

.drop {
  border:2px dashed var(--stone-dk);
  border-radius:10px;
  padding:34px 20px;
  text-align:center;
  cursor:pointer;
  transition:border-color .2s, background .2s;
  background:var(--white);
}
.drop:hover, .drop.over { border-color:var(--blue); background:#F4F7FF; }
.drop .big { font-weight:500; font-size:16px; color:var(--forest); }
.drop .small { font-weight:300; font-size:13px; color:#6B7E74; margin-top:6px; }
.drop input { display:none; }

/* Narrow screens: the customer wizard is used on phones more than anything else
   in either app, and 34px of padding on a 375px viewport pushes the heading off
   the fold. */
@media (max-width:560px) {
  .drop { padding:24px 14px; }
}
