.cookies.cookies-left {
    left: 20px;
    bottom: 20px;

    height: auto;
    max-width: 360px;

    border-radius: 8px;

    box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
}

.cookies.cookies-left .cookies-warning-footer {
    flex-direction: column;
    gap: 8px;

    text-align: center;
}

.cookies-warning-footer .cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 80%;
}

.cookies.cookies-left .cookies-warning-footer .cookie-buttons button {
    width: 100%;
    max-width: initial;
}

.cookies-warning-footer .cookie-buttons .cookie-files-settings-button {
    background-color: transparent;
    color: #000;
    border: none;

    text-decoration: underline;
    font-weight: 550;
}

.cookies-warning-footer .cookie-buttons .cookie-files-settings-button:hover,
.cookies-warning-footer .cookie-buttons .cookie-files-settings-button:focus {
    text-decoration-thickness: 2px;
}

.fullscreen-cookies-modal {
    display: flex;
    justify-content: center;
    align-items: center;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999;

    width: 100vw;
    height: 100vh;

    background-color: #000c;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.fullscreen-cookies-modal.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease;
}

.fullscreen-cookies-modal .banner {
    display: flex;
    flex-direction: column;
    gap: 16px;

    width: clamp(300px, 40vw, 500px);
    max-height: 80vh;

    box-sizing: border-box;
    padding: 24px;

    background-color: #fff;
    border-radius: 8px;
}

.fullscreen-cookies-modal .text-wrapper {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.fullscreen-cookies-modal .text-wrapper p {
    margin: 0;
}

.fullscreen-cookies-modal .buttons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.fullscreen-cookies-modal .buttons-wrapper button {
    width: 100%;
    padding-block: 12px;

    background-color: #c00;
    color: #fff;
    border: 1px solid #c00;

    text-transform: uppercase;
    font-weight: bold;
}

.fullscreen-cookies-modal .buttons-wrapper button:hover,
.fullscreen-cookies-modal .buttons-wrapper button:focus {
    outline: 2px solid #c00;
}

.fullscreen-cookies-modal .buttons-wrapper button:active {
    outline: none;
    background-color: #c00c;
}

.fullscreen-cookies-modal .buttons-wrapper .deny-consent-button {
    background-color: transparent;
    color: #c00;
}

.fullscreen-cookies-modal .buttons-wrapper .deny-consent-button:hover,
.fullscreen-cookies-modal .buttons-wrapper .deny-consent-button:focus {
    background-color: #c00;
    color: #fff;
}

@media (max-width: 768px) {
    .cookies.cookies-left {
        top: auto;
    }
}

@media (max-width: 425px) {
    .cookies.cookies-left {
        left: 12px;
        right: 12px;

        max-width: calc(100% - 24px);
        padding: 12px;

        border-radius: 8px;
    }

    .fullscreen-cookies-modal .banner {
        width: calc(100% - 24px);
        padding: 16px;
    }
}
