/* Fikua Lab — Cookie Consent Banner */

#fikua-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 0 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    pointer-events: none;
}

#fikua-consent.consent-visible {
    transform: translateY(0);
    pointer-events: auto;
}

.consent-inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    background: var(--bg, #ffffff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 12px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

[data-theme="dark"] .consent-inner {
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
}

.consent-text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text, #3A3A3C);
    margin: 0;
}

.consent-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.consent-btn {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: background 0.15s, color 0.15s;
}

.consent-btn--reject {
    background: transparent;
    color: var(--text-muted, #6B7280);
    border: 1px solid var(--border, #e5e7eb);
}

.consent-btn--reject:hover {
    background: var(--bg-alt, #f8f9fa);
    color: var(--text, #3A3A3C);
}

.consent-btn--accept {
    background: var(--accent, #2A9D8F);
    color: #ffffff;
}

.consent-btn--accept:hover {
    filter: brightness(0.9);
}

@media (max-width: 480px) {
    .consent-actions {
        flex-direction: column;
    }
    .consent-btn {
        width: 100%;
        text-align: center;
    }
}
