/* Override Silktide CSS variables to match lola branding */
#silktide-wrapper {
    --primaryColor: #E53E2E !important;
    --backgroundColor: #242424 !important;
    --textColor: #F5F5F5 !important;
    --fontFamily: 'Oxanium', system-ui, sans-serif !important;
    --cookieIconColor: #E53E2E !important;
    --cookieIconBackgroundColor: #FFFFFF !important;
    --focus: none !important;
}



/* Banner styling */
#silktide-banner {
    max-width: calc(100% - 32px) !important;
    width: 420px !important;
    font-size: 14px !important;
    padding: 20px 24px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

#silktide-banner p {
    font-size: 14px !important;
    line-height: 1.5 !important;
    font-family: 'Jost', system-ui, sans-serif !important;
    margin-bottom: 12px !important;
}

#silktide-banner a {
    color: #E53E2E !important;
}

/* Hide Silktide credit logo */
#silktide-banner a.silktide-logo {
    display: none !important;
}

/* Actions layout */
#silktide-banner .actions {
    margin-top: 16px !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}

#silktide-banner .actions-row {
    gap: 10px !important;
    flex-wrap: wrap !important;
}

/* Reset base button styles */
#silktide-wrapper #silktide-banner .st-button {
    font-size: 12px !important;
    line-height: 1.2 !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    font-family: 'Oxanium', system-ui, sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Accept button - solid red, prominent */
#silktide-wrapper #silktide-banner .st-button.st-button--primary {
    background: #E53E2E !important;
    border: none !important;
    color: white !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
}

#silktide-wrapper #silktide-banner .st-button.st-button--primary:hover {
    opacity: 0.9 !important;
    background: #E53E2E !important;
    color: white !important;
}

/* Reject button - outlined, understated */
#silktide-wrapper #silktide-banner .st-button.st-button--secondary {
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    color: rgba(255,255,255,0.6) !important;
    font-size: 11px !important;
    padding: 8px 14px !important;
}

#silktide-wrapper #silktide-banner .st-button.st-button--secondary:hover {
    background: transparent !important;
    border-color: rgba(255,255,255,0.4) !important;
    color: rgba(255,255,255,0.8) !important;
}


/* Focus ring removal */
#silktide-wrapper #silktide-banner button:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Preferences link */
#silktide-banner .preferences {
    color: var(--textColor) !important;
    font-size: 11px !important;
    opacity: 0.5;
    padding: 8px 0 !important;
}

/* Modal (preferences panel) */
#silktide-modal {
    border-radius: 8px !important;
}

#silktide-modal .modal-close {
    background: var(--backgroundColor) !important;
    color: var(--textColor) !important;
}

#silktide-modal .modal-close svg {
    fill: var(--textColor) !important;
}

/* Toggle switch - solid red for checked state */
#silktide-modal .switch input:checked + .switch__pill {
    background: #E53E2E !important;
}

/* Hide the default floating cookie icon on desktop - we use sidebar button */
#silktide-cookie-icon {
    display: none !important;
}

/* Show Silktide's own cookie icon on mobile as floating button */
@media (max-width: 768px) {
    #silktide-cookie-icon {
        display: flex !important;
        width: 40px !important;
        height: 40px !important;
        background-color: #E53E2E !important;
        box-shadow: 0 2px 8px rgba(229, 62, 46, 0.3) !important;
    }
    #silktide-cookie-icon svg {
        fill: white !important;
        width: 20px !important;
        height: 20px !important;
    }
}


/* Custom cookie button styling - desktop sidebar */
.cookie-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E53E2E, #2DB84B);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(229, 62, 46, 0.3);
    transition: all 0.2s ease;
}

/* Mobile header cookie button - subtle red */
.cookie-btn-mobile {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #E53E2E;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-btn-mobile:hover {
    opacity: 0.9;
}

.cookie-btn-mobile svg {
    width: 18px;
    height: 18px;
    fill: white;
    stroke: none;
}

.cookie-btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.cookie-btn svg {
    width: 18px;
    height: 18px;
    fill: white;
    stroke: none;
}
