/* Container principale fissato in basso */
#gp-cookie-banner.gp-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
    z-index: 10001; /* Sopra search overlay (10000) */
    padding: 20px;
    font-family: inherit; /* Eredita font del tema */
    display: none; /* Nascosto di default */
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

/* Classe per mostrare il banner via JS - specificity aumentata */
#gp-cookie-banner.gp-cookie-banner.is-visible {
    display: block;
    transform: translateY(0);
}

.gp-cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Contenuto testuale */
.gp-cookie-content {
    flex: 1;
}

.gp-cookie-title {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #003d7a; /* Colore brand */
    font-weight: 600;
}

#gp-cookie-banner p {
    margin: 0;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}

#gp-cookie-banner a {
    color: #003d7a;
    text-decoration: underline;
}

/* Pulsanti */
.gp-cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.gp-btn {
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

/* Bottone Accetta */
.gp-btn-primary {
    background-color: #003d7a;
    color: #ffffff;
}

.gp-btn-primary:hover {
    background-color: #0056b3;
}

/* Bottone Rifiuta */
.gp-btn-outline {
    background-color: transparent;
    border-color: #003d7a;
    color: #003d7a;
}

.gp-btn-outline:hover {
    background-color: #f0f0f0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .gp-cookie-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .gp-cookie-actions {
        width: 100%;
        justify-content: flex-end;
    }
}