.jsp-consent[hidden],
.jsp-consent-modal[hidden] {
    display: none !important;
}

.jsp-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;

    padding: 10px 18px;

    color: #fff;
    background: #303a46;

    box-shadow: 0 -2px 10px rgba(0, 0, 0, .2);

    font-family: inherit;
    font-size: 14px;
}

.jsp-consent__inner {
    width: 100%;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.jsp-consent__text {
    margin: 0;
    line-height: 1.4;
}

.jsp-consent__actions {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 10px;
}

.jsp-consent button,
.jsp-consent a {
    min-height: 36px;
    padding: 8px 14px;

    border: 0;
    border-radius: 4px;

    font: inherit;
    cursor: pointer;
}

.jsp-consent button {
    color: #fff;
    background: #078da5;
}

.jsp-consent button[data-consent-action="reject"] {
    background: #bf1d23;
}

.jsp-consent button[data-consent-action="settings"] {
    background: #994300;
}

.jsp-consent a {
    display: inline-flex;
    align-items: center;

    color: #fff;
    background: #078da5;
    text-decoration: none;
}

@media (max-width: 900px) {
    .jsp-consent__inner {
        display: block;
    }

    .jsp-consent__text {
        margin-bottom: 10px;
    }
}

.jsp-consent-modal {
    position: fixed;
    inset: 0;
    z-index: 100001;
}

.jsp-consent-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .72);
}

.jsp-consent-modal__dialog {
    position: relative;
    width: min(92%, 760px);
    max-height: 85vh;
    overflow: auto;
    margin: 7vh auto 0;
    padding: 28px;
    color: #111;
    background: #fff;
    border-radius: 6px;
}

.jsp-consent-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
}

.jsp-consent-modal__category {
    margin: 20px 0;
    padding: 16px;
    background: #f3f3f3;
}

.jsp-consent-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.jsp-consent-settings {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 99999;
    border: 0;
    border-radius: 4px;
    padding: 9px 13px;
    cursor: pointer;
}

.jsp-consent-modal__dialog {
    font-family: inherit;
}

.jsp-consent-modal__close {
    width: 38px;
    height: 38px;
    padding: 0;

    border: 0;
    background: transparent;

    color: #777;
    font-size: 30px;
    line-height: 38px;

    cursor: pointer;
}

.jsp-consent-modal__close:hover,
.jsp-consent-modal__close:focus {
    color: #111;
}

.jsp-consent-modal__actions button {
    min-height: 40px;
    padding: 9px 18px;

    border: 0;
    border-radius: 4px;

    color: #fff;
    background: #078da5;

    font: inherit;
    cursor: pointer;
}

.jsp-consent-modal__actions button[data-consent-action="reject"] {
    background: #bf1d23;
}

.jsp-consent-modal__actions button:hover,
.jsp-consent-modal__actions button:focus {
    filter: brightness(.92);
}

.jsp-consent-modal a {
    color: #078da5;
}

.jsp-consent-modal__category input {
    margin-right: 7px;
}

.jsp-consent-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 4px;
}

.jsp-consent-message--error {
    color: #8d1616;
    background: #fdeaea;
}