.custom-modal,
.overlay {
    display: none;
}
.custom-modal.active {
    position: absolute;
    left: 50%;
    top: 48px;
    -webkit-transform: translate(-50%);
    -moz-transform: translate(-50%);
    -ms-transform: translate(-50%);
    -o-transform: translate(-50%);
    transform: translate(-50%);
    height: fit-content;
    display: flex;
    flex-direction: column;
    max-width: 475px;
    background-color: #ffffff;
    margin: 0 auto;
    color: #151948;
    /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08); */
    padding: 48px 54px;
    border-radius: 32px;
    z-index: 200;
    font-family: "Manrope", sans-serif;
    box-sizing: border-box;
    border: 4px solid #d9dbf7;
}
.custom-modal.form-modal.form-container {
    display: none;
    max-width: unset;
}
.custom-modal.form-modal.form-container.active {
    display: flex;
}
.custom-modal.confirm {
    width: 342px;
    padding: 22px 16px;
    border-radius: 24px;
}
.custom-modal.modal-propose {
    border-width: 10px;
    max-width: 510px;
    width: 100%;
    padding: 48px 38px;
    top: 18px;
}
.custom-modal.confirm .custom-modal-title {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 20px;
}
.custom-modal.confirm .button {
    height: 43px;
    border-radius: 12px;
    font-weight: 500;
}
.overlay.active,
.overlay.transparent {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    opacity: 0.5;
    backdrop-filter: blur(10px);
    z-index: 100;
}
.overlay.transparent {
    backdrop-filter: none;
    background-color: transparent;
}
.overlay.white {
    opacity: 1;
}
.custom-modal-text {
    color: #8087e6;
    margin: 28px auto;
    text-align: center;
    padding: 0 28px;
    font-size: 14px;
}

.custom-modal-text.black {
    color: #0a0a0a;
}
.custom-modal-title {
    font-size: 18px;
    font-weight: 500;
    color: #424242;
    margin: 0 auto 28px;
    text-align: center;
}
.bigfont {
    font-size: 16px;
    color: #151948;
}
.modal-form-check {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
}
.modal-form-check-input {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.12);
    box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.12);
    width: 20%;
    max-width: 18px;
    height: 18px;
}
.modal-form-check-input:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.22);
    box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.22);
}
.modal-form-check-label {
    margin-bottom: 0;
}
.modal-form-label {
    font-size: 14px;
    color: #787878;
    margin-left: 28px;
}
.modal-text-small {
    font-size: 10px;
}
.modal-button {
    width: 100%;
    border-radius: 16px;
    color: #ffffff;
    background-color: #2e3be3;
    border: none;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.12));
    padding: 12px;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    text-wrap: nowrap;
    margin: 28px auto;
    transition: 0.2s;
}
.modal-button.light {
    background-color: #ffffff;
    color: #151948;
}
.modal-button.light:hover {
    background-color: #f9f9f9;
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.12));
}
.modal-button.light:active {
    background-color: #f0f0f0;
}
.mx-0 {
    margin-left: 0;
    margin-right: 0;
}
