.typeo-stats {
    direction: rtl;
    text-align: right
}

.typeo-hero {
    border-radius: 18px;
    border: 1px solid #dbdbdb;
    padding: 24px;
    margin-bottom: 22px;
    /* box-shadow:0 12px 32px rgba(16,45,75,.14); */
}

.typeo-hero h2 {
    color: #22262a;
    margin: 0 0 8px;
    font-weight: 800;
    text-align: center;
}

.typeo-hero p {
    color: rgb(126 126 126);
    margin: 0;
    text-align: center;
    font-size: 16px;
}

.typeo-stat-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 12px;
    margin-top: 20px
}

.typeo-stat {
    border: 1px solid rgb(120 120 120 / 20%);
    border-radius: 13px;
    padding: 14px;
    min-width: 0
}

.typeo-stat strong {
    display: block;
    font-size: 25px;
    line-height: 1.5;
    color: #42c4ff;
}

.typeo-stat span {
    font-size: 15px;
    color: rgb(9 9 9 / 78%);
}

.typeo-block-title {
    font-size: 22px;
    font-weight: 800;
    margin: 26px 0 20px;
    color: #20384c
}

.typeo-block-note {
    font-size: 16px;
    color: #7b8995;
    margin: 0 0 20px;
}

.typeo-lang-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
    margin: 0 0 16px
}

.typeo-lang-card,.typeo-activity-card {
    background: #fff;
    border: 1px solid #b7b7b7;
    border-radius: 16px;
    padding: 20px;
    /* box-shadow:0 5px 20px rgba(25,55,80,.045); */
}

.typeo-lang-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 15px;
    color: #20384c
}

.typeo-metrics {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px
}

.typeo-metric small {
    display: block;
    color: #7b8995;
    font-size: 14px;
    margin-bottom: 3px
}

.typeo-metric b {
    font-size: 25px;
    color: #000000;
}

.typeo-metric em {
    font-style: normal;
    font-size: 12px;
    color: #7b8995;
    margin-right: 3px
}

.typeo-empty {
    font-size: 12px;
    color: #8996a1;
    margin-top: 12px
}

.typeo-progress {
    height: 8px;
    background: #edf2f6;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 7px
}

.typeo-progress i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #54ddff, #42c4ff);
    border-radius: 20px
}

.typeo-activity-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px
}

.typeo-activity-head h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    color: #20384c
}

.typeo-activity-head span {
    font-size: 15px;
    color: #606468;
}

.typeo-activity-grid {
    display: grid;
    grid-template-columns: repeat(15,minmax(0,1fr));
    gap: 5px
}

.typeo-day {
    height: 14px;
    border-radius: 4px;
    background: #edf1f4;
    position: relative
}

.typeo-day.level1,i.level1 {
    background: #fff06e !important;
}

.typeo-day.level2,i.level2  {
    background: #ffce3b!important;
}

.typeo-day.level3,i.level3  {
    background: #9fe1ff!important;
}

.typeo-day.level4,i.level4 {
    background: #42c4ff!important;
}

.typeo-activity-legend {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-end;
    margin-top: 10px;
    color: #8996a1;
    font-size: 11px
}

.typeo-activity-legend i {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: #edf1f4;
    display: inline-block
}

.typeo-next {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f2f9fd;
    border: 1px solid #dceff8;
    color: #31536a
}

@media(max-width: 767px) {
    .typeo-stat-grid {
        grid-template-columns:repeat(2,minmax(0,1fr))
    }

    .typeo-lang-grid {
        grid-template-columns: 1fr
    }

    .typeo-hero {
        padding: 19px
    }

    .typeo-stat strong {
        font-size: 22px
    }

    .typeo-activity-grid {
        gap: 3px
    }

    .typeo-day {
        height: 11px
    }



}

.modal-footer .btn {
    background-color: #efefef;
    color: black;
}

    .card.userInfo {
    font-size: 16px!important;
}
