/* ============================================
   Kanvio (kanv.io) — Consent Bar
   Slim, fixed bottom bar shown until the visitor accepts or rejects
   analytics cookies. Palette/fonts mirror css/styles.css.
   ============================================ */

.consent-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1.5rem;
    padding: 0.9rem 1.25rem;
    background: #1a1614; /* --bg-card */
    border-top: 1px solid #2c2521;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.5);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        sans-serif;
    color: #e8e0d8; /* --text */
}

.consent-msg {
    margin: 0;
    flex: 1 1 320px;
    max-width: 760px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #9e938a; /* --text-muted */
}

.consent-msg a {
    color: #AF5823; /* --orange */
    text-decoration: none;
}

.consent-msg a:hover {
    color: #d4742f; /* --orange-light */
}

.consent-actions {
    display: flex;
    gap: 0.6rem;
    flex: 0 0 auto;
}

.consent-btn {
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: 6px; /* --radius */
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.consent-btn-accept {
    background: #AF5823; /* --orange */
    color: #fff;
}

.consent-btn-accept:hover {
    background: #d4742f; /* --orange-light */
}

.consent-btn-reject {
    background: transparent;
    color: #9e938a; /* --text-muted */
    border-color: #463c36;
}

.consent-btn-reject:hover {
    color: #e8e0d8; /* --text */
    border-color: #6a5d54;
}

@media (max-width: 600px) {
    .consent-bar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .consent-actions {
        justify-content: center;
    }
}
