/* ===== COOKIE BANNER CSS ===== */
/* Stili per il Cookie Banner - v1.0 */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(33, 37, 41, 0.95));
    color: white;
    padding: 20px 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner .container {
    position: relative;
}

.cookie-banner p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.cookie-banner .btn {
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.cookie-banner .btn-accept {
    background: linear-gradient(45deg, #28a745, #20c997);
    border: none;
    color: white;
}

.cookie-banner .btn-accept:hover {
    background: linear-gradient(45deg, #218838, #1ea085);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
    color: white;
}

.cookie-banner .btn-privacy {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    display: inline-block;
}

.cookie-banner .btn-privacy:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.cookie-icon {
    font-size: 1.2rem;
    color: #ffc107;
    margin-right: 10px;
    animation: cookieBounce 2s infinite;
}

@keyframes cookieBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Toast di conferma */
.cookie-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    animation: slideInToast 0.3s ease;
}

@keyframes slideInToast {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 15px 0;
    }
    
    .cookie-banner p {
        font-size: 0.9rem;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .cookie-banner .btn {
        display: block;
        width: 90%;
        margin: 8px auto;
        text-align: center;
    }
    
    .cookie-banner .row > div:last-child {
        text-align: center !important;
    }
    
    .cookie-icon {
        display: block;
        text-align: center;
        margin: 0 0 10px 0;
    }
}

@media (max-width: 576px) {
    .cookie-banner {
        padding: 12px 0;
    }
    
    .cookie-banner p {
        font-size: 0.85rem;
        padding: 0 10px;
    }
    
    .cookie-banner .btn {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
}