/**
 * Merze Analytics — consent banner styles.
 *
 * Fixed-bottom slide-up banner. Matches Flatsome typography (system fallbacks
 * are safe — Flatsome forces its own body font on top). Kept intentionally
 * minimal so it doesn't fight the theme.
 */

#merze-consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    background: #1f2937;
    color: #f3f4f6;
    padding: 16px 20px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 300ms ease, opacity 300ms ease;
    font-size: 14px;
    line-height: 1.5;
}

#merze-consent-banner.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.merze-consent-text {
    margin: 0;
    flex: 1 1 300px;
    color: #f3f4f6;
}

.merze-consent-link {
    color: #93c5fd;
    text-decoration: underline;
}

.merze-consent-link:hover,
.merze-consent-link:focus {
    color: #dbeafe;
}

.merze-consent-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.merze-consent-btn {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid transparent;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    border-radius: 4px;
    cursor: pointer;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
    font-family: inherit;
}

.merze-consent-btn-accept {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
}

.merze-consent-btn-accept:hover,
.merze-consent-btn-accept:focus {
    background: #059669;
    border-color: #059669;
}

.merze-consent-btn-reject {
    background: transparent;
    color: #f3f4f6;
    border-color: #6b7280;
}

.merze-consent-btn-reject:hover,
.merze-consent-btn-reject:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #9ca3af;
    color: #ffffff;
}

/* Mobile: stack text above buttons, buttons full-width */
@media (max-width: 480px) {
    #merze-consent-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 14px 16px;
    }
    .merze-consent-actions {
        justify-content: stretch;
    }
    .merze-consent-btn {
        flex: 1 1 auto;
    }
}
