.team-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--gray-light);
    border-radius: var(--size-small);
    padding: 8px 12px;
    border-left: 8px solid var(--dark);
}

.team-bar > .team-bar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.team-bar.home {
    border-left: 8px solid var(--home);
}
.team-bar.away {
    border-left: 8px solid var(--away);
}
.team-bar.header {
    border-left: none;
    background: var(--dark);
    color: var(--white);
}
.team-bar > .left-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.team-bar .detail-info {
    display: flex;
    align-items: center;
    gap: var(--size-normal);
}

.team-bar .detail-info .logo-wrapper {
    aspect-ratio: 1;
    height: 50px;
    border-radius: 50%;
    background-color: var(--dark);
    padding: var(--size-small);
}
.team-bar .detail-info .logo-wrapper > img {
    height: 100%;
}
.team-bar .detail-info .info-content {
    display: flex;
    flex-direction: column;
    gap: var(--size-normal);
}
.team-bar .detail-info .info-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--size-small);
}
.team-bar .detail-info .info-content-wrapper .name {
    color: var(--black);
}

.team-bar .detail-info > .info-item {
    display: flex;
    gap: var(--size-small);
    align-items: center;
}
.team-bar .detail-info.right {
    justify-content: center;
}
.team-bar .detail-info.right img {
    height: 50px;
}
.team-bar.header .detail-info.right {
    display: none;
}
.team-bar .detail-info.right > .info-item.shirt {
    position: relative;
    display: flex;
    gap: var(--size-small);
    justify-content: center;
    align-items: center;
}
.team-bar .detail-info.right > .info-item.shirt > h4 {
    position: absolute;
    color: var(--white);
}
.team-bar.header .detail-info.right > .info-item.shirt > h4 {
    position: absolute;
    color: var(--black);
}
.team-bar .detail-info.right > .info-item.pos {
    justify-content: center;
}
.team-bar h4.pos {
    text-align: center;
    opacity: 0.5;
}

.left-info > .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ccc;
}

.left-info > .number {
    display: inline-block;
    width: var(--size-avg);
    /* font-weight: 600; */
}

@media (max-width: 768px) {
    .team-bar .detail-info.right {
        flex-direction: column;
    }
    .team-bar .detail-info .info-content-wrapper {
        flex-direction: column;
        align-items: start;
    }
}