/* Cookie consent banner - shared across marketing pages, legal pages, and dashboard. */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: #12121a;
    border-top: 1px solid #2a2a3a;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45);
    color: #e0e0f0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}
.cookie-banner__body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.cookie-banner__text {
    margin: 0;
    /* flex-basis `auto` — lets the text size to its own content. Previously `320px` which,
       when flex-direction flipped to column on mobile, was interpreted as a 320-pixel *height*
       and produced a huge empty banner. */
    flex: 1 1 auto;
    min-width: 0;
    color: #d0d0d8;
}
.cookie-banner__text a {
    color: #D6F08D;
    text-decoration: underline;
}
.cookie-banner__text a:hover {
    color: #e0f5a0;
}
.cookie-banner__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.cookie-btn {
    border: 1px solid #2e2e3e;
    background: transparent;
    color: #d0d0d8;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.cookie-btn:focus {
    outline: 2px solid #D6F08D;
    outline-offset: 2px;
}
.cookie-btn--decline:hover {
    background: #1e1e2e;
    color: #fff;
    border-color: #3e3e4e;
}
.cookie-btn--accept {
    background: #D6F08D;
    color: #0a0a0f;
    border-color: #D6F08D;
}
.cookie-btn--accept:hover {
    background: #e0f5a0;
    border-color: #e0f5a0;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .cookie-banner { font-size: 13px; line-height: 1.45; }
    .cookie-banner__body {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px;
        gap: 10px;
    }
    .cookie-banner__text { flex: 0 1 auto; }
    .cookie-banner__actions { justify-content: flex-end; gap: 8px; }
    .cookie-btn { padding: 8px 14px; font-size: 13px; }
}
