/* ============================================================
   Cookie consent banner + view-counter widget styling
   ============================================================ */

#fr-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    background: #1f2a36;
    color: #f5f7fa;
    border-top: 3px solid #0055a4;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.35);
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    padding: 14px 18px;
    display: none; /* shown by JS when no consent stored */
}

#fr-cookie-banner.fr-visible { display: block; }

#fr-cookie-banner .fr-cb-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

#fr-cookie-banner .fr-cb-text {
    flex: 1 1 380px;
    min-width: 260px;
}

#fr-cookie-banner .fr-cb-text a {
    color: #79c0ff;
    text-decoration: underline;
}

#fr-cookie-banner .fr-cb-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

#fr-cookie-banner button {
    border: 0;
    border-radius: 4px;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, transform 0.05s;
}

#fr-cookie-banner button:active { transform: translateY(1px); }

#fr-cookie-banner .fr-cb-accept {
    background: #2ea043;
    color: #fff;
}
#fr-cookie-banner .fr-cb-accept:hover { background: #2c974b; }

#fr-cookie-banner .fr-cb-essential {
    background: transparent;
    color: #f5f7fa;
    border: 1px solid #5a6a78;
}
#fr-cookie-banner .fr-cb-essential:hover { background: #2a3744; }

/* Floating "manage cookies" link, persistent after consent */
#fr-cookie-reopen {
    position: fixed;
    bottom: 12px;
    left: 12px;
    z-index: 99998;
    background: rgba(31, 42, 54, 0.85);
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    text-decoration: none;
    cursor: pointer;
    display: none;
}
#fr-cookie-reopen:hover { background: #1f2a36; }
#fr-cookie-reopen.fr-visible { display: inline-block; }

/* In-house view counter — looks like the old hit-counter pill */
.fr-visit-counter {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    background: #1f2a36;
    color: #ffd700;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    border-radius: 3px;
    letter-spacing: 1px;
    min-width: 60px;
    text-align: center;
}

@media (max-width: 600px) {
    #fr-cookie-banner { font-size: 13px; padding: 12px; }
    #fr-cookie-banner .fr-cb-actions { width: 100%; }
    #fr-cookie-banner .fr-cb-actions button { flex: 1 1 auto; }
}


/* AI/scraper info block in copyright bar */
.ai-info { max-width: 760px; margin: 30px auto 0; padding: 16px 20px 0; font-size: 12px; color: #666; line-height: 1.5; text-align: left; border-top: 1px dotted #444; }
.ai-info h2 { color: #888; font-size: 14px; font-weight: 600; margin: 8px 0 4px; }
.ai-info p { margin: 6px 0; }
.ai-info a { color: #79c0ff; }
