/* Cookie Banner Styles - 2025 Finale: Solido, Responsivo, Revoke Icon Cookie Classico Left */
.cc-window {
    font-family: 'SF Pro Display', Arial, sans-serif !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
    padding: 12px !important;
    max-width: 320px !important;
    z-index: 10000 !important;
    background-color: #fafafa !important;
    color: #1d1d1f !important;
    position: fixed !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    opacity: 1 !important;
}

body.dark-mode .cc-window {
    background-color: #000000 !important;
    color: #f5f5f7 !important;
    box-shadow: 0 4px 15px rgba(255,255,255,0.15) !important;
}

.cc-message {
    font-size: 12px !important;
    color: inherit !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
    opacity: 1 !important;
}

.cc-link {
    color: #45b6fe !important;
    text-decoration: none !important;
    background: linear-gradient(90deg, #45b6fe, #d95bc5) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    opacity: 1 !important;
}

.cc-link:hover {
    text-decoration: underline !important;
}

.cc-compliance {
    display: flex !important;
    justify-content: space-evenly !important;
    gap: 8px !important;
}

.cc-btn {
    flex: 1 !important;
    border-radius: 20px !important;
    padding: 8px 14px !important;  /* Padding+ per size visibile */
    font-size: 14px !important;  /* Aumentato: Leggibile, coerente sito (nav 13px) */
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    min-width: 100px !important;  /* Min per no shrink */
    opacity: 1 !important;
}
.cc-allow {
    background: linear-gradient(90deg, #45b6fe, #d95bc5) !important;
    color: #fff !important;
    border: none !important;
}

.cc-allow:hover {
    opacity: 0.9 !important;
}

.cc-dismiss, .cc-deny {
    background: transparent !important;
    color: inherit !important;
    border: 1px solid #45b6fe !important;
}

.cc-dismiss:hover, .cc-deny:hover {
    background: #45b6fe !important;
    color: #fff !important;
}

.cc-revoke {
    background-color: #fafafa !important;
    border: 1px solid #45b6fe !important;
    border-radius: 50% !important;
    padding: 8px !important;
    font-size: 0 !important;
    position: fixed !important;
    bottom: 10px !important;
    left: 10px !important;
    cursor: pointer !important;
    z-index: 10000 !important;
    opacity: 0.7 !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}

body.dark-mode .cc-revoke {
    background-color: #000000 !important;
    box-shadow: 0 2px 5px rgba(255,255,255,0.1) !important;
}

.cc-revoke:hover {
    opacity: 1 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
}

.cc-revoke::before {
    content: '\f83a';  /* FA fa-cookie - Classico pieno/tondo con size+ per visibility */
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    font-size: 22px !important;
    background: linear-gradient(90deg, #45b6fe, #d95bc5) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

@media (max-width: 769px) {
    .cc-window {
        max-width: 90% !important;
        padding: 10px !important;
        bottom: 10px !important;
    }
    .cc-message {
        font-size: 11px !important;
    }
    .cc-btn {
        font-size: 13px !important;  /* Rid minima mobile, no 11px piccolo */
        padding: 6px 12px !important;
        min-width: 80px !important;
    }
    .cc-revoke {
        width: 35px !important;
        height: 35px !important;
        bottom: 5px !important;
        left: 5px !important;
    }
    .cc-revoke::before {
        font-size: 18px !important;
    }
}

/* Skip-Link Hidden */
.skip-link {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    z-index: -9999 !important;
}

.skip-link:focus {
    position: fixed !important;
    left: 10px !important;
    top: 10px !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    z-index: 11000 !important;
    background-color: #fafafa !important;
    color: #1d1d1f !important;
    padding: 8px 12px !important;
    border: 1px solid #45b6fe !important;
    border-radius: 5px !important;
    opacity: 1 !important;
}

body.dark-mode .skip-link:focus {
    background-color: #000000 !important;
    color: #f5f5f7 !important;
}