#alphaCookieNotice {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 99999;
    padding: 40px;
    box-sizing: border-box;
    transition-property: opacity, transform;
	border-top: 1px solid #6E6E6E !important;
}
#alphaCookieNotice.display-bottom { bottom: 0; transform: translateY(100%); }
#alphaCookieNotice.display-top { top: 0; transform: translateY(-100%); }
#alphaCookieNotice.animation-fade { opacity: 0; transform: translateY(0) !important; }
#alphaCookieNotice.ready { opacity: 1; transform: translateY(0); }

/* --- THIS IS THE CORRECTED LAYOUT CODE --- */
.alpha-cookie-container {
    /* No flexbox here. Items will stack naturally. */
    width: 100%;
    margin: 0 auto;
    text-align: left; /* Aligns all content to the left */
}

.alpha-cookie-content {
    /* No special styling needed for this element anymore */
}

#alphaCookieNotice h4, #alphaCookieNotice p {
    margin: 0;
    padding: 0;
}

#alphaCookieNotice p {
    padding: 16px 0px;
    opacity: 0.9;
    line-height: 166%;
}

.alpha-cookie-buttons {
    display: flex; /* Flexbox is ONLY for the buttons themselves */
    gap: 16px;
    
}

.alpha-cookie-buttons button {
    padding: 4px 16px;
    border-radius: 99px;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

/* This media query makes the buttons responsive ONLY on mobile */
@media (max-width: 480px) {
    .alpha-cookie-buttons {
        flex-direction: column; /* Stack buttons vertically on very small screens */
        width: 100%;
    }
    .alpha-cookie-buttons button {
        text-align: center; /* Center text in vertically stacked buttons */
    }
}



#alphaCookieSettingsPanel {
    display: none;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
#alphaCookieSettingsPanel h5 {
    margin: 0 0 10px;
    font-size: 15px;
}
#alphaCookieSettingsPanel ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#alphaCookieSettingsPanel li {
    display: flex;
    align-items: flex-start;
}
#alphaCookieSettingsPanel input[type="checkbox"] {
    margin-top: 3px;
    margin-right: 8px;
}
#alphaCookieSettingsPanel label {
    cursor: pointer;
    flex-grow: 1;
}
#alphaCookieSettingsPanel label strong {
    font-weight: 600;
}
#alphaCookieSettingsPanel label small {
    display: block;
    opacity: 0.7;
    font-weight: 400;
    margin-top: 3px;
}