.usp-popup[hidden] {
    display: none;
}

.usp-popup {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.usp-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 65%);
}

.usp-popup__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 42rem);
    max-height: calc(100vh - 2.5rem);
    overflow-y: auto;
    padding: 2rem;
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 1rem 3rem rgb(0 0 0 / 30%);
}

.usp-popup__title {
    margin: 0 2.5rem 1rem 0;
}

.usp-popup__content > :last-child {
    margin-bottom: 0;
}

.usp-popup__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.usp-popup__button {
    margin-top: 1.5rem;
    padding: 0.65rem 1.25rem;
    border: 0;
    border-radius: 0.25rem;
    background: #212529;
    color: #fff;
    cursor: pointer;
}

.usp-popup__button:hover,
.usp-popup__button:focus {
    background: #000;
}

body.usp-popup-is-open {
    overflow: hidden;
}