/* =============================================
   COOKIE BANNER — digilexplus.it
   ============================================= */

#cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99998;
    background: #0F2340;
    border-top: 2px solid #2A71D0;
    padding: 16px 32px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
    font-family: 'Source Sans Pro', sans-serif;
}

#cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

#cookie-banner-text {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    flex: 1;
    min-width: 260px;
}

#cookie-banner-text a {
    color: #3ECFCF;
    text-decoration: underline;
}

#cookie-banner-text a:hover {
    color: #ffffff;
}

#cookie-banner-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

#cookie-btn-accept {
    background: #2A71D0;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.2s;
    white-space: nowrap;
}

#cookie-btn-accept:hover {
    background: #1a5ab8;
}

#cookie-btn-close {
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    color: rgba(255,255,255,0.6);
    padding: 10px 16px;
    font-size: 1.3rem;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

#cookie-btn-close:hover {
    border-color: rgba(255,255,255,0.7);
    color: rgba(255,255,255,0.9);
}

@media (max-width: 600px) {
    #cookie-banner {
        padding: 16px 20px;
    }
    #cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    #cookie-banner-actions {
        width: 100%;
        justify-content: flex-end;
    }
}
