/* AC Cookie Notice - Stili */

.pcn-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    animation: pcn-slide-up 0.4s ease-out;
}

@keyframes pcn-slide-up {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.pcn-container {
    max-width: 100%;
    margin: 0 auto 0 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    padding-right: 40px;
}

.pcn-content {
    flex: 1;
    min-width: 250px;
}

.pcn-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.pcn-policy-link {
    color: inherit;
    text-decoration: underline;
    margin-left: 5px;
    font-weight: 600;
}

.pcn-policy-link:hover {
    opacity: 0.8;
}

.pcn-actions {
    flex-shrink: 0;
}

.pcn-button {
    padding: 10px 30px;
    margin-right: 40px;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.pcn-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.pcn-button:active {
    transform: translateY(0);
}

/* Pulsante X per chiudere */
.pcn-close {
    position: absolute;
    top: 0px;
    right: 10px;
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 8px 8px 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.pcn-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.pcn-close:active {
    transform: scale(0.95);
}

.pcn-close svg {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .pcn-notice {
        padding: 15px;
    }

    .pcn-container {
        flex-direction: column;
        text-align: center;
        margin: 0 auto;
    }

    .pcn-text {
        font-size: 13px;
    }

    .pcn-button {
        width: 100%;
        margin-right: 0;
    }

    .pcn-close {
        top: 8px;
        right: 8px;
        padding: 8px;
    }
}
