.cookie-bar {
    position: fixed;
    top: unset;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    background-color: var(--color-medium-green);
    color: var(--color-white);
}

.cookie-bar:not(.open) {
    display: none;
}

.cookie-bar-container,
.cookie-bar-advanced-container-content {
    padding: 24px 48px;
    display: flex;
    gap: 50px;
}

.cookie-bar-title {
    white-space: nowrap;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.75rem;
}

.cookie-bar-content {
    display: flex;
    gap: 50px;
}

.cookie-bar-content p {
    opacity: 0.8;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.25rem;
    text-align: justify;
}

.cookie-bar-content a {
    color: var(--color-white);
    text-decoration: underline;
}

.cookie-bar-group {
    align-items: flex-start;
    display: flex;
    column-gap: 16px;
    flex-direction: column;
    white-space: nowrap;
}

.cookie-bar-group.horizontal {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-top: 5px;
}

.cookie-bar-group .reject,
.cookie-bar-group .advanced {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.25rem;
}

.cookie-bar-group .accept {
    padding: 9px 20px;
    width: 100%;
}

.cookie-bar-advanced-container {
    padding: 0 48px;
    background-color: var(--color-dark-green);
    height: 0;
    overflow: hidden;
    transition: 0.2s;
}

.cookie-bar-advanced-container-content {
    align-items: center;
    padding: 24px 0;
}

.cookie-bar-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-bar label.form-control {
    color: var(--color-white);
}

@media (max-width: 1000px) {
    .cookie-bar-group {
        width: 100%;
        row-gap: 16px;
    }

    .cookie-bar-container,
    .cookie-bar-advanced-container-content {
        flex-direction: column;
        gap: 20px;
    }

    .cookie-bar-content {
        flex-direction: column;
    }
}

@media (max-width: 400px) {
    .cookie-bar-group .reject,
    .cookie-bar-group .advanced {
        font-size: 0.75rem;
    }
}
