.limit-cards-wrapper {
    flex: 1 0 auto;
    padding-left: 16px;
    margin: 0;
    display: flex;
    gap: 15px;

    @media (max-width: 767px) {
        display: none;
    }
}

.limit-card {
    height: 60px;
    position: relative;
    cursor: pointer;
    color: var(--neutral-white);
    border-radius: 8px;
    background: var(--secondary-blue-transparent) url(/) no-repeat right 5px center;
    border-left: 4px solid var(--primary-perano);
}

.limit-card-fininvest {
    @media (max-width: 1280px) {
        display: none;
    }
}

.limit-card-transinvest {
    @media (max-width: 991px) {
        display: none;
    }
}

.limit-card-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 12px;
    width: 240px;
}

.limit-title {
    font-size: 13px;
    line-height: 1;
    font-weight: 400;
    overflow: hidden;
    white-space: wrap;
}

.limit-line {
    display: flex;
    width: 100%;
    align-items: baseline;
    gap: 4px;
    justify-content: flex-end;
}

.limit-value {
    width: 100%;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.2;
    white-space: nowrap;
    display: flex;
    align-items: baseline;
}

.limit-label {
    font-size: 12px;
    font-weight: 200;
    opacity: 0.8;
    white-space: nowrap;
}

.limit-source .limit-value {
    font-size: 13px;
}

.progress-linear {
    background-color: var(--secondary-blue-transparent);
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 4px;
}

.progress-linear__background {
    background-color: rgba(255, 255, 255, 0.2);
    color: rgb(0, 0, 0);
    caret-color: rgb(0, 0, 0);
    position: absolute;
}

.progress-linear__determinate {
    background:rgba(255, 255, 255, 0.8);
    height: 100%;
    position: absolute;
}

.limit-progress {
    grid-area: progress;
    margin-top: 2px;
    top: 0;
    height: 4px;
}

.all-limits-card {
    height: 60px;
    cursor: pointer;
    color: var(--neutral-white);
    background: #375790 url('../image/t_arrow_down.svg') no-repeat right 5px top 22px;
    text-transform: none;
    font-weight: 400;
    text-align: left;
    font-size: .8rem;
    padding: 0 12px;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px -1px rgba(163, 186, 228, .2),0 4px 5px 0 rgba(163, 186, 228, .14),0 1px 10px 0 rgba(163, 186, 228, .12);
    border-left: 4px solid var(--primary-perano);
    overflow: hidden;

    @media (max-width: 680px) {
        min-width: 120px;
        height: 40px;
        background: #375790 url('../image/t_arrow_down.svg') no-repeat right 5px top 11px;
        margin-top: 10px;
    }
}

.all-limits-card-title {
    padding-right: 10px;
    height: 60px;
    display: flex;
    align-items: center;

    @media (max-width: 680px) {
        height: 40px;
    }
}

.all-limits-card-info {
    /*display: none;*/
    opacity: 0;
    height: 0;
    transform: translateY(-10px);
    transition: transform 0.4s ease-in-out 0.1s, opacity 0.3s ease-in-out 0.1s;
}

.all-limits-card:hover .all-limits-card-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 10px;
    opacity: 1;
    height: auto;
    transform: translateY(0);

    @media (max-width: 468px) {
        gap: 8px;
    }
}

.all-limits-card:hover {
    height: auto;
    min-height: 60px;
    background-size: 16px;

    @media (max-width: 680px) {
        min-height: 40px;
    }
}

.limit-source {
    font-weight: 500;
    height: 40px;
    transition: height 0.3s ease-in-out;
}

.all-limits-card-limits {
    @media (max-width: 680px) {
        display: none;
    }
}

.limit-source-icon {
    display: inline-block;
    background: url('../image/link.svg') no-repeat right center;
    padding-right: 24px;
    text-decoration: none;
    color: var(--neutral-white);
}