﻿ 
.modal-container-body .modal-container * {
    font-size: 20px;
}



.body *,
*:before,
*:after {
    box-sizing: border-box;
}

/* Some basic CSS overrides */
.body {
    line-height: 1.5;
    min-height: 100vh;
    font-family: "Outfit", sans-serif;
    color: #2d232e;
    position: relative;
}

    .body .element {
        font: inherit;
    }

    .body a {
        color: inherit;
    }

    /* End basic CSS override */

    .body * {
        scrollbar-width: 0;
    }

        .body *::-webkit-scrollbar {
            background-color: transparent;
            width: 12px;
        }

        .body *::-webkit-scrollbar-thumb {
            border-radius: 99px;
            background-color: #ddd;
            border: 4px solid #fff;
        }

#modal {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(#000, 0.25);
}

.modal-container {
    max-height: 90vh;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 30px 0 rgba(#000, 0.25);
}

    .modal-container select {
        font-family: monospace;
    }

.modal-container-body .modal-container {
    overflow: visible;
}

.modal-container-header {
    padding: 16px 32px;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-container-title {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
    font-weight: 700;
    font-size: 1.125;
    svg

{
    width: 32px;
    height: 32px;
    color: #750550;
}

}

.modal-container-body {
    padding: 24px 32px 51px;
    overflow-y: auto;
}

.body .rtf {
    h1, h2, h3, h4, h5, h6

{
    font-weight: 700;
}

h1 {
    font-size: 1.5rem;
    line-height: 1.125;
}

h2 {
    font-size: 1.25rem;
    line-height: 1.25;
}

h3 {
    font-size: 1rem;
    line-height: 1.5;
}

& > * + * {
    margin-top: 1em;
}

& > * + :is(h1, h2, h3) {
    margin-top: 2em;
}

& > :is(h1, h2, h3) + * {
    margin-top: 0.75em;
}

ul,
ol {
    margin-left: 20px;
    list-style-position: inside;
}

ol {
    list-style: numeric;
}

ul {
    list-style: disc;
}

}

.modal-container-footer {
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-top: 1px solid #ddd;
    gap: 12px;
    position: relative;
    &:after

{
    content: "";
    display: block;
    position: absolute;
    top: -51px;
    left: 24px;
    right: 24px;
    height: 50px;
    flex-shrink: 0;
    background-image: linear-gradient(to top, rgba(#fff, 0.75), transparent);
    pointer-events: none;
}

}

.button {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    padding: 12px 20px;
    border-radius: 8px;
    background-color: transparent;
    border: 0;
    font-weight: 600;
    cursor: pointer;
    transition: 0.15s ease;
    &.is-ghost

{
    &:hover, &:focus

{
    background-color: #dfdad7;
}

}

&.is-primary {
    background-color: #750550;
    color: #fff;
    &:hover, &:focus

{
    background-color: #4a0433;
}

}
}

.icon-button {
    padding: 0;
    border: 0;
    background-color: transparent;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.15s ease;
    svg

{
    width: 24px;
    height: 24px;
}

&:hover,
&:focus {
    background-color: #dfdad7;
}

}

.modal-container-text {
    margin-bottom: 10px;
}


 