.arcticmodal-overlay,
.arcticmodal-container {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
}

.arcticmodal-container {
    overflow: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-collapse: collapse;
    display: flex;
    justify-content: center;
}

*:first-child + html .arcticmodal-container {
    height: 100%
}

.arcticmodal-container_i {
    margin-top: auto;
    margin-bottom: auto;
}

.arcticmodal-container_i2 {
    margin: 0;
    border: 0;
    vertical-align: middle;
}

.arcticmodal-error {
    padding: 20px;
    border-radius: 10px;
    color: #fff;
}

.arcticmodal-loading {
    width: 80px;
    height: 80px;
    border-radius: 10px;
}

.arcticmodal-close, .arcticmodal-close:hover {
    position: absolute;
    top: -10px;
    right: -10px;
    background-image: url('../images/buttons/modal-close-button.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 45px;
    width: 45px;
}

.arcticmodal-close:hover {
    background-image: url('../images/buttons/modal-close-button-hover.webp');
}

.box-modal, .box-modal-no-padding, .box-modal-no-width-constraints, .box-modal-glow {
    position: relative;
    background: radial-gradient(circle at center, rgb(49, 52, 61) 0%, rgba(22, 25, 32) 100%);
    border-left: 1px solid #2e393d;
    border-right: 1px solid #2e393d;

    min-width: 15vw;
    max-width: 420px;
    color: #281a0d;
    box-shadow: 0 0 0 2px rgb(43, 43, 43);
    border-radius: 6px;
    user-select: none;
}

.box-modal-glow {
    border: none;
    background-image: url(../images/window/border-glow.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 40px;
    box-shadow: none;
    min-width: auto;
    max-width: fit-content;
}

@media (max-width: 360px) {
    .box-modal-glow {
        padding: 32px;
    }
}