/* Banner consenso cookie self-hosted (sostituisce iubenda) - 2026-07-05 */
#wm-cookie-banner {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    background: #1a1a2e;
    color: #f2f2f7;
    padding: 1.4rem 1.5rem;
    box-shadow: 0 -4px 25px rgba(0,0,0,0.25);
    font-size: 0.95rem;
}

#wm-cookie-banner.wm-visible {
    display: block;
}

#wm-cookie-banner .wm-cb-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}

#wm-cookie-banner p {
    margin: 0;
    line-height: 1.5;
    flex: 1 1 420px;
    color: #f2f2f7;
}

#wm-cookie-banner a {
    color: #b9a6ff;
    text-decoration: underline;
}

#wm-cookie-banner .wm-cb-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

#wm-cookie-banner button {
    cursor: pointer;
    border: none;
    border-radius: 10px;
    padding: 0.7rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
}

#wm-cookie-banner .wm-cb-reject {
    background: transparent;
    color: #f2f2f7;
    border: 1.5px solid #f2f2f7;
}

#wm-cookie-banner .wm-cb-accept {
    background: linear-gradient(135deg, #7b3fe4, #5b2fc7);
    color: #fff;
}

@media (max-width: 600px) {
    #wm-cookie-banner .wm-cb-inner {
        flex-direction: column;
        align-items: stretch;
    }
    #wm-cookie-banner .wm-cb-actions {
        justify-content: stretch;
    }
    #wm-cookie-banner .wm-cb-actions button {
        flex: 1;
    }
}
