/* ============================================================================
   Shared site footer: ONE thin fixed bar at the bottom of every page, at every
   screen size.  COMPU-DOC · Banner Elk, NC · 828.260.3306 · email · Facebook
   - bullet separators between every item, purple glow on everything.
   Every rule is !important because footer.css and the per-page footer rules
   (and their mobile media queries) would otherwise restack / restyle it.
   ============================================================================ */

.compact-site-footer {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 2000 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    padding-bottom: env(safe-area-inset-bottom) !important;
    transform: none !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    height: 46px !important;
    background: #211d24 !important;
    border-top: 1px solid rgba(192, 132, 252, .3) !important;
    overflow: hidden !important;
    box-sizing: content-box !important;
}

.compact-site-footer .footercontact {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: auto !important;
    max-width: 100% !important;
    height: 46px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    background: none !important;
    border: 0 !important;
}

/* Each footer item: content width, no growing, no inherited spacing. */
.compact-site-footer .footercontact > * {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    text-align: center !important;
}

/* Hide only the stacked "Call a Tech!" label. */
.compact-site-footer .footer-phone > p:first-child {
    display: none !important;
}

.compact-site-footer .address p {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* All footer text: white, small, purple glow. */
.compact-site-footer .footer-location,
.compact-site-footer .footer-phone p,
.compact-site-footer .footer-phone a {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    -webkit-text-stroke: 0 !important;
    background: none !important;
    font: 400 12px/1 'Noto Sans', Arial, sans-serif !important;
    letter-spacing: .01em !important;
    text-decoration: none !important;
    text-shadow: 0 0 9px rgba(139, 92, 246, .75), 0 0 18px rgba(106, 56, 255, .45) !important;
    animation: none !important;
    filter: none !important;
}

/* Brand keeps the purple gradient wordmark + glow. */
.compact-site-footer .footer-brand {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    font: 700 12px/1 'Noto Sans', Arial, sans-serif !important;
    letter-spacing: .02em !important;
    background: linear-gradient(135deg, #8b5cf6 0%, #c084fc 50%, #6a38ff 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, .6)) !important;
    animation: none !important;
}

/* Bullet separators (standalone ones + the one inside .address). */
.compact-site-footer .footer-separator {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #c084fc !important;
    -webkit-text-fill-color: #c084fc !important;
    background: none !important;
    font: 700 12px/1 'Noto Sans', Arial, sans-serif !important;
    text-shadow: 0 0 8px rgba(192, 132, 252, .7) !important;
}

.compact-site-footer .contacticon a {
    display: block !important;
    line-height: 0 !important;
    background: none !important;
}

.compact-site-footer .contacticon img {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    animation: none !important;
    filter: drop-shadow(0 0 7px rgba(139, 92, 246, .65)) drop-shadow(0 0 14px rgba(106, 56, 255, .4)) !important;
}

/* The email icon PNG is solid black - force it white, keep the glow. */
.compact-site-footer .contacticon img[src*="email"] {
    filter: brightness(0) invert(1) drop-shadow(0 0 7px rgba(139, 92, 246, .65)) drop-shadow(0 0 14px rgba(106, 56, 255, .4)) !important;
}

/* Every page reserves space so nothing hides behind the bar. */
.compact-footer-page {
    padding-bottom: calc(46px + env(safe-area-inset-bottom)) !important;
}

/* Very narrow phones: drop the brand wordmark, keep location + phone + icons. */
@media (max-width: 380px) {
    .compact-site-footer .footer-brand,
    .compact-site-footer .footer-address-separator {
        display: none !important;
    }
    .compact-site-footer .footercontact { gap: 8px !important; }
}
