
.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-100);
    opacity: 0.6;
    z-index: 1000;
}

.modal {
    font-family: "Proxima-Nova", sans-serif;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    display: flex;
    width: 503px;
    padding: 32px;
    flex-direction: column;
    gap: 24px;
    background-color: var(--white);
    border-radius: 16px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-block;
    height: 16px;
    width: 16px;
    background: url("../../../assets/icons/close_grey.svg") no-repeat center center / cover;
}

.block-scroll {
    overflow: hidden;
}

.modal-title {
    color: var(--dark-100);
    font-size: 20px;
    font-weight: 700;
}

.investor-type-inner-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-wrap: wrap;
}

.investor-type-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1 1 calc(33% - 16px);
    color: var(--dark-100);
    font-size: 16px;
    line-height: 140%;
    padding: 16px;
    background-color: var(--white);
    border-radius: 8px;
    border: 1px solid var(--dark-10);
}

.investor-type-item-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.investor-type-item-description {
    color: var(--dark-60);
    font-size: 14px;
    line-height: normal;
}

.text {
    flex: 1 1 100%;
}

.right-arrow {
    flex: 0 0 16px;
    display: inline-block;
    width: 16px;
    height: 16px;
    transform: scale(1.5);
    background: url("../../../assets/icons/arrow_small_right_grey.svg") center / contain no-repeat;
}

.divider {
    width: 100%;
    height: 1px;
    background: var(--dark-10);
}

.modal-text {
    color: var(--dark-60);
    font-size: 14px;
}

.accordion {
    display: flex;
    flex-direction: column;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
}

.expand-arrow, .expanded-arrow {
    flex: 0 0 24px;
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url("../../../assets/icons/arrow_left_green.svg") center / contain no-repeat;
    transition: all 0.1s ease-in-out;
}

.expand-arrow {
    transform: rotate(-90deg);
}

.expanded-arrow {
    transform: rotate(90deg);
}

.accordion-title {
    font-size: 16px;
    color: var(--dark-100);
    font-weight: 700;
    line-height: 140%;
}

.accordion-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-text p:first-child {
    margin-top: 16px;
}

@media screen and (max-width: 590px) {
    .modal {
        width: 343px;
        padding: 16px;
        gap: 8px;
    }

    .investor-type-inner-wrapper, .investor-type-item, .investor-type-item-header, .accordion-header, .accordion-text {
        gap: 8px;
    }

    .accordion-text p:first-child {
        margin-top: 8px;
    }
}