/**
 * Silktide Consent Manager — Brand Overrides
 *
 * Themes the Silktide banner to match our dark/purple brand identity.
 * Uses the CSS custom properties documented in the Silktide README.
 * All Silktide classes/IDs use the `stcm-` prefix.
 */

#stcm-wrapper {
    --fontFamily: 'Inter', system-ui, -apple-system, sans-serif;
    --primaryColor: #7c3aed;
    --backgroundColor: #0f111af7;
    --textColor: #e5e7eb;
    --boxShadow: 0 -4px 24px rgba(124, 58, 237, 0.15);
    --backdropBackgroundColor: rgba(0, 0, 0, 0.6);
    --backdropBackgroundBlur: 12px;
    --iconColor: #a855f7;
    --iconBackgroundColor: #1a1d2e;
}

/* Ensure the banner sits above our z-index stack */
#stcm-wrapper * {
    z-index: 50;
}

/* Style links inside the banner to match our purple accent */
#stcm-wrapper a {
    color: #a855f7;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#stcm-wrapper a:hover {
    color: #c084fc;
}

/* Smaller minimised cookie icon */
#stcm-icon {
    width: 40px;
    height: 40px;
}

#stcm-icon svg {
    width: 20px;
    height: 20px;
}

/* Hide the "Get this consent manager for free" credit link */
#stcm-wrapper [class*="credit"],
#stcm-wrapper a[href*="silktide.com"] {
    display: none !important;
}