﻿.rmd-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(235,236,241,0.9);
    z-index: 9999997;
    overflow: auto;
    font-family: var(--primary-font-family);
    pointer-events: none;
    visibility: hidden;
    text-align: left;
}

.rmd-modal-visible {
    pointer-events: auto;
    visibility: visible;
}

@media (max-width: 640px) {
    .rmd-modal {
        background: rgba(235,236,241,1);
    }
}

.rmd-modal-wrap {
    max-width: 500px;
    margin: 0 auto;
}

@media (min-width: 861px) {
    .rmd-modal-wrap {
        margin-top: 20vh;
    }
}

.rmd-modal-content {
    max-width: 500px;
    position: relative;
    margin: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: rgba(50,50,93,0.25) 0px 1px 10px 0px;
    overflow: hidden;
}

.js-rmd-modal-close-button {
    position: absolute;
    display: block;
    top: 12px;
    right: 8px;
    cursor: pointer;
}

.rmd-modal-body {
    position: relative;
}

.rmd-modal-header,
.rmd-modal-footer {
    position: relative;
    padding: 1rem;
    min-height: 4rem;
}

.rmd-modal-header-content,
.rmd-modal-footer-content {
    position: relative;
}

.rmd-modal-body-content {
    position: relative;
    padding: 1rem;
}

    .rmd-modal-body-content:before,
    .rmd-modal-footer:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1px;
        border-top: 1px solid #eeeef1;
    }

.btn-modal-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 360px;
    margin: 0;
    padding: 10px 16px;
    color: #fff;
    background: #5db420;
    border: 0;
    border-radius: 8px;
    text-align: center;
    line-height: 1.5;
    font-size: 16px;
    font-family: var(--primary-font-family);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.rmd-modal-title {
    position: absolute;
    top: 0.375rem;
    left: 0;
    pointer-events: none;
    font-family: var(--primary-font-family);
    font-size: 1.125rem;
    font-weight: 600;
    color: #222;
}

.rmd-modal-body-title {
    display: block;
    font-family: var(--primary-font-family);
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin: 16px auto 0;
    text-align: center;
}

    .rmd-modal-body-title span {
        display: block;
        margin: 0 0 12px;
    }

.rmd-modal-body-txt {
    margin-bottom: 16px;
    text-align: center;
    font-size: 14px;
}

    .rmd-modal-body-txt p {
        margin: 0 0 16px;
        font-size: 14px;
    }

    .rmd-modal-body-txt ul {
        text-align: left;
        margin-left: 16px;
    }

    .rmd-modal-body-txt li {
        list-style: disc;
        line-height: 1.3;
        padding: 4px 0;
    }

    .rmd-modal-body-txt li::marker {
        color: #5db420;
    }

    .rmd-modal-body-message {
        margin: 16px 0;
        text-align: center;
        font-family: var(--primary-font-family);
        font-weight: 500;
        color: #333;
    }

    .rmd-modal-body-message p {
        margin: 0 0 8px;
        font-size: 14px;
    }

@media (min-width: 641px) {
    .rmd-modal-body-message {
        margin: 32px 0;
    }

        .rmd-modal-body-message p {
            margin: 0 0 16px;
            font-size: 16px;
        }
}

.rmd-modal-body-form {
    margin-bottom: 16px;
}

.rmd-modal textarea {
    min-height: 100px;
    min-width: 100%;
    max-width: 436px;
    margin: 32px 0;
    padding: 16px;
    background: #fbfbfb;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    line-height: 1.4;
}

.rmd-modal .cta-btn:hover {
    text-decoration: none;
}

.rmd-modal .cta-btn {
    margin-top: 24px;
    padding: 12px 24px;
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
}

@media (min-width: 861px) {
    .rmd-modal .cta-btn:hover {
        background: #2e95df;
    }
}

.svg-icon-modal {
    display: block;
    margin: 0 auto 8px;
    width: 24px;
    fill: #333;
}

.rmd-modal .icon-file-lines {
    fill: #17b;
}

.rmd-modal .icon-success {
    fill: #5db420;
}

.rmd-modal .icon-error {
    fill: #f04124;
}

.vip-title {
    margin: -16px 0 8px;
    font-size: 16px;
}

@media (min-width: 861px) {
    .rmd-modal-body-title .vip-title {
        font-size: 18px;
    }
}

.vip-title span {
    margin: 0 0 4px;
}

.vip-txt {
    text-align: left;
    background: #f5efe7;
    padding: 16px;
    border-radius: 16px;
}

@media (min-width: 476px) {
    .vip-txt {
        padding: 16px 50px;
    }
}

.vip-benefits-title {
    margin-bottom: 16px;
    font-family: var(--primary-font-family);
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

.vip-logo {
    width: 60px;
    margin: 8px 0;
}

.svg-icon-modal svg {
    width: 32px;
    height: auto;
}

@media (min-width: 641px) {
    .vip-logo {
        margin: 20px 0 8px;
    }

    .svg-icon-modal {
        width: 40px;
    }

        .svg-icon-modal svg {
            width: 40px;
        }
}
