.figma-info-modal {
    align-items: center;
    justify-content: center;
}

.figma-info-modal.show {
    display: flex !important;
}

.figma-info-modal-dialog {
    margin: 20px auto;
    max-width: 738px;
    width: min(738px, calc(100vw - 24px));
}

.figma-info-modal .modal-content {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    height: 590px;
    max-height: calc(100vh - 40px);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.figma-info-modal .modal-header {
    align-items: center;
    background: #ffffff;
    border-bottom: 0;
    flex: 0 0 100px;
    justify-content: center;
    min-height: 100px;
    padding: 26px 56px 22px;
}

.figma-info-modal-title {
    align-items: center;
    display: inline-flex;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 42px;
    font-weight: 500;
    gap: 12px;
    line-height: 1.15;
    margin: 0;
    text-align: center;
}

.figma-info-modal-title img {
    display: block;
    height: 38px;
    object-fit: contain;
    width: 38px;
}

.figma-info-modal-title-teal {
    color: #1dad99;
}

.figma-info-modal-title-purple {
    color: #3e228f;
}

.figma-info-modal-icon-teal {
    filter: brightness(0) saturate(100%) invert(49%) sepia(80%) saturate(481%) hue-rotate(127deg) brightness(90%) contrast(88%);
}

.figma-info-modal-icon-purple {
    filter: brightness(0) saturate(100%) invert(17%) sepia(83%) saturate(2326%) hue-rotate(248deg) brightness(86%) contrast(95%);
}

.figma-info-modal-close {
    align-items: center;
    background: #d0d0d0;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    font-family: Arial, sans-serif;
    font-size: 22px;
    font-weight: 400;
    height: 20px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: absolute;
    right: 18px;
    top: 18px;
    width: 20px;
    z-index: 2;
}

.figma-info-modal-close:hover {
    background: #b8b8b8;
}

.figma-info-modal .modal-body {
    background: #f7f7f7;
    color: #1a1a1a;
    flex: 1 1 auto;
    font-family: "Helvetica Neue", Arial, sans-serif;
    overflow-y: auto;
    padding: 34px 42px 56px;
}

.figma-info-modal .modal-body p {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 18px;
    font-weight: 350;
    line-height: 1.55;
    margin: 0 0 28px;
}

.figma-info-modal .modal-body p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 767px) {
    .figma-info-modal-dialog {
        margin: 18px auto;
        width: calc(100vw - 24px);
    }

    .figma-info-modal .modal-content {
        height: min(590px, calc(100vh - 36px));
    }

    .figma-info-modal .modal-header {
        flex-basis: 82px;
        min-height: 82px;
        padding: 22px 42px 18px;
    }

    .figma-info-modal-title {
        font-size: 28px;
    }

    .figma-info-modal-title img {
        height: 28px;
        width: 28px;
    }

    .figma-info-modal .modal-body {
        padding: 24px 22px 46px;
    }

    .figma-info-modal .modal-body p {
        font-size: 15px;
        line-height: 1.55;
        margin-bottom: 22px;
    }
}
