#consent-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh; 
    overflow-y: hidden; 
    background-color: rgba(255, 255, 255, 1.0); 
    color: #000; 
    opacity: 0; 
    visibility: hidden; 
    pointer-events: none;
    transition: opacity 0.5s ease-in-out, visibility 0.5s; 
    display: flex; 
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    padding-top: 2vh; 
    padding-bottom: 2vh; 
    box-sizing: border-box; 
    z-index: 9999; 
    border-top: 5px solid #000; 
    will-change: transform, opacity; 
}

#consent-banner.is-visible {
    opacity: 1; 
    visibility: visible; 
    pointer-events: auto; 
}

#consent-content-wrapper {
    width: 100%;
    max-width: 600px; 
    max-height: 95vh; 
    overflow-y: auto; 
    padding: 10px 15px; 
    box-sizing: border-box;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

#consent-content-wrapper p { 
    max-width: 600px;
    margin: 10px 0; 
    font-size: 18px;
    text-align: center;
}

#consent-content-wrapper button { 
    border: 2px solid; 
    padding: 12px 25px;
    margin: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    text-transform: uppercase;
}

#accept-ads {
    background-color: #000;
    color: #FFF;
    border-color: #000;
}

#accept-ads:hover {
    background-color: #333;
    border-color: #333;
}

#refuse-ads {
    background-color: transparent;
    color: #000;
    border-color: #000;
}

#refuse-ads:hover {
    background-color: #F0F0F0;
    color: #000;
}

.hidden-info {
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.4s ease-in-out; 
    padding: 0 15px; 
    max-width: 600px;
    text-align: left;
    margin-top: 15px;
}

.info-link {
    color: #000;
    text-decoration: underline;
    margin-top: 15px;
    font-size: 14px;
    cursor: pointer;
}

#detailed-info-container.open {
    max-height: 400px; 
    padding-bottom: 20px;
    overflow-y: auto; 
    padding-top: 10px; 
}

#detailed-info-container h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

#detailed-info-container ul {
    list-style: disc inside;
    padding-left: 0;
    font-size: 14px;
}
#detailed-info-container li {
    margin-bottom: 5px;
}

#noscript-warning {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; 
    background-color: rgba(255, 255, 255, 1.0); 
    color: #000; 
    display: flex; 
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    padding: 20px 15px; 
    z-index: 10000; 
    text-align: center;
}

#noscript-warning h1 {
    font-size: 24px;
    margin-bottom: 20px;
}
#noscript-warning p {
    max-width: 600px;
    font-size: 16px;
    margin: 10px 0;
}