/* STORY-046: cookie banner LGPD */
.enc-consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    background: #1a1a2e;
    color: #fff;
    padding: 16px 20px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
}

.enc-consent-banner__content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.enc-consent-banner__text {
    margin: 0;
    flex: 1 1 320px;
}

.enc-consent-banner__link {
    color: #ffd700;
    text-decoration: underline;
    margin-left: 4px;
}

.enc-consent-banner__link:hover {
    color: #fff;
}

.enc-consent-banner__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.enc-consent-banner__btn {
    padding: 10px 18px;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s, border-color 0.15s;
    min-height: 44px; /* WCAG touch target */
}

.enc-consent-banner__btn--primary {
    background: #6a5acd;
    color: #fff;
}

.enc-consent-banner__btn--primary:hover {
    background: #5a4abf;
}

.enc-consent-banner__btn--secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.enc-consent-banner__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.7);
}

.enc-consent-banner__customize {
    max-width: 1200px;
    margin: 16px auto 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.enc-consent-banner__option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.enc-consent-banner__option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

@media (max-width: 640px) {
    .enc-consent-banner__content {
        flex-direction: column;
        align-items: stretch;
    }
    .enc-consent-banner__actions {
        justify-content: stretch;
    }
    .enc-consent-banner__actions .enc-consent-banner__btn {
        flex: 1 1 auto;
    }
}
