/* Round 6 (2026-11-24): shared desktop footer, 3 bands per the
   browser-measured reference spec (footer-measurement.md).
   Structure/dimensions only — ZELON24 Electric Blue theme, ZELON24's
   own images. Linked from desktop_head(), so ALL 5 desktop pages
   (index, dashboard, login, signup, menu) share this footer.

   Measured targets (1920px): link band 238px, gap 8, logos band 177px,
   gap 8, bottom band 96px; all bands full-bleed with 8px page margins,
   radius 8-10px. Total stack ~527px + 8px below = ~535px.
   Round 9 (2026-11-24): link band stays 6 columns in ONE row at every
   desktop width (the old <=1400px 3-column rule broke it on laptops);
   tiles band is ONE row with manual overflow-x:auto scroll, never auto. */

.dt-footer3{ max-width:none !important; margin:8px 8px 0; padding:0 0 8px; background:transparent; }
.dt-f3-band{ background:var(--surf); border:1px solid var(--bdr); border-radius:9px; margin:0 0 8px; }
.dt-f3-band:last-child{ margin-bottom:0; }

/* ---- Band 1: link band, 238px ---- */
.dt-f3-links{ min-height:238px; padding:14px 12px 12px; }
.dt-f3-cols{ display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); }
.dt-f3-col h4{ font-size:14px; font-weight:800; text-transform:uppercase; letter-spacing:.4px; color:var(--txt); margin:0 0 13px; }
.dt-f3-col a{ display:block; font-size:12.5px; color:var(--txt2); line-height:22px; text-decoration:none; }
.dt-f3-col a:hover{ color:var(--sec); }
.dt-f3-col a svg{ display:inline-block; width:14px; height:14px; vertical-align:-2px; margin-right:8px; fill:currentColor; }

/* ---- Band 2: logos band, 177px — SINGLE row, manual horizontal scroll.
   Round 9 fix: the old flex-wrap:wrap made 2 rows below ~1400px (what the
   user saw on his laptop). Now one row at every desktop width; on wide
   screens all 13 tiles fit (like the reference), on narrower screens the
   row scrolls BY HAND (overflow-x:auto). NEVER auto-scrolls — no JS, no
   animation moves the strip. */
.dt-f3-logos{ min-height:177px; padding:14px 12px 12px; }
.dt-f3-logos h4{ font-size:14px; font-weight:800; text-transform:uppercase; letter-spacing:.4px; color:var(--txt); margin:0 0 8px; }
.dt-f3-tiles{ display:flex; flex-wrap:nowrap; gap:10px; overflow-x:auto; scrollbar-width:thin; scrollbar-color:var(--bdr) transparent; padding-bottom:2px; }
.dt-f3-tiles::-webkit-scrollbar{ height:6px; }
.dt-f3-tiles::-webkit-scrollbar-thumb{ background:var(--bdr); border-radius:3px; }
.dt-f3-tiles::-webkit-scrollbar-track{ background:transparent; }
.dt-f3-tile{ position:relative; flex:0 0 120px; width:120px; height:120px; border-radius:8px; background:var(--surf2); border:1px solid var(--bdr); display:flex; align-items:center; justify-content:center; }
/* Payment wordmarks are white-on-transparent: tiles stay dark navy in
   light mode too, or the marks would vanish on a pale tile. */
html[data-theme="light"] .dt-f3-tile{ background:#0C1B33; border-color:#1E3A5F; }
.dt-f3-tile img{ max-width:70px; max-height:70px; width:auto; height:auto; display:block; }
.dt-f3-tile .dt-f3-mini{ position:absolute; top:10px; right:10px; width:10px; height:10px; color:var(--txt3); }
.dt-f3-tile .dt-f3-mini svg{ width:10px; height:10px; display:block; }
.dt-f3-ph{ font-size:28px; font-weight:900; letter-spacing:1px; color:var(--sec); }

/* ---- Band 3: bottom band, 96px ---- */
.dt-f3-bottom{ min-height:96px; display:flex; gap:8px; align-items:stretch; }
.dt-f3-copy{ flex:1 1 auto; min-width:0; display:flex; flex-direction:column; justify-content:center; padding:0 12px; }
.dt-f3-copy p{ font-size:11.5px; color:var(--txt2); line-height:14px; margin:0 0 6px; }
.dt-f3-copy p:last-child{ margin:0; }
.dt-f3-copy a{ color:var(--sec); text-decoration:none; }
.dt-f3-copy a:hover{ text-decoration:underline; }
.dt-f3-support{ flex:0 0 466px; display:flex; align-items:center; gap:16px; padding:0 12px; }
.dt-f3-support svg.dt-f3-headset{ flex:0 0 76px; width:76px; height:64px; color:var(--sec); }
.dt-f3-support-title{ font-size:13px; font-weight:800; text-transform:uppercase; color:var(--txt); margin-bottom:8px; }
.dt-f3-support a{ display:block; font-size:12px; color:var(--txt2); line-height:20px; text-decoration:none; }
.dt-f3-support a:hover{ color:var(--sec); }
.dt-f3-side{ flex:0 0 308px; display:flex; flex-direction:column; gap:8px; justify-content:center; }
.dt-f3-side-top{ display:flex; gap:8px; align-items:center; height:56px; }
.dt-f3-social{ flex:0 0 231px; display:flex; gap:8px; align-items:center; }
.dt-f3-social a{ width:32px; height:32px; border-radius:50%; background:#E9EEF2; display:flex; align-items:center; justify-content:center; flex:0 0 32px; }
.dt-f3-social a:hover{ background:#fff; }
.dt-f3-social a svg{ width:17px; height:17px; fill:#0C1B33; display:block; }
.dt-f3-18{ flex:0 0 69px; height:56px; display:flex; align-items:center; justify-content:center; font-size:15px; font-weight:900; color:#EF4444; border:2px solid #EF4444; border-radius:8px; }
/* MOBILE VERSION button — Button C (site-wide). */
.dt-f3-mobile-btn{ display:flex; align-items:center; justify-content:center; height:32px; border-radius:12px; background:linear-gradient(180deg,#60A5FA,#2563EB 60%,#1D4ED8); color:#fff; font-weight:800; text-transform:uppercase; letter-spacing:1px; font-size:12px; text-decoration:none; box-shadow:0 6px 18px rgba(37,99,235,.5), inset 0 1px 0 rgba(255,255,255,.6), inset 0 -3px 6px rgba(0,0,0,.2); }

/* Modal embed (?modal=1): the auth-modal iframe shows only the form —
   no footer, no header. Standalone pages are unaffected (the class is
   only added when the ?modal=1 param is present). */
.dt-modal-embed .dt-footer3{display:none!important}
.dt-modal-embed .dt-header{display:none!important}

/* Round 9 fix: the old rule below broke the footer to 3 link columns +
   a wrapped bottom band below 1400px (what the user saw on his laptop).
   The reference keeps 6 columns in ONE row and one bottom row at the
   same width, so the link band now stays 6-in-one-row at every desktop
   width (>=1024; below that the mobile site takes over). Only below
   1200px may the bottom band wrap (copy full-width on top) — the copy
   text needs ~500px and cannot share one row with the 466px support +
   308px side blocks at 1024px. */
@media (max-width:1200px){
  .dt-f3-bottom{ flex-wrap:wrap; }
  .dt-f3-copy{ flex:1 1 100%; padding:12px; }
  .dt-f3-support{ flex:1 1 auto; }
}
