/* Wrapper geral */
.stage-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Label da rodada */
.stage-round {
    text-align: center;
    margin: 8px 0;
}

.stage-round span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #999;
    background: #fff;
    padding: 2px 10px;
    border: 1px solid #e5e5e5;
}

/* Card do confronto */
.stage-match {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 18px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
}

/* Times */
.stage-team {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 180px;
}

.stage-team img {
    width: 28px;
    height: 28px;
    opacity: 0.5;
}

.stage-team--left {
    justify-content: flex-end;
    text-align: right;
}

.stage-team--right {
    justify-content: flex-start;
}

.team-name {
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

/* VS */
.stage-vs {
    font-weight: 700;
    color: #bbb;
}


.team-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    color: #1f2937; /* cinza escuro, mais elegante que preto puro */
    font-weight: 500;

    border-radius: .375rem;
    transition: 
        background-color .2s ease,
        color .2s ease,
        box-shadow .2s ease;
}


.team-link:hover {
    background-color: #f3f4f6; /* cinza bem leve */
    color: #111827;
    box-shadow: inset 0 0 0 1px #e5e7eb;
}


.team-name {
    white-space: nowrap;
}

.team-position {
    font-size: .75rem;
    color: #6b7280;
    min-width: 14px;
    text-align: right;
}

.team-name {
    position: relative;
}

.team-name::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width .2s ease;
}

.team-link:hover .team-name::after {
    width: 100%;
}



.match-card {
    padding: 0px;
    background: #fff;
    transition: 
        box-shadow .2s ease,
        transform .15s ease,
        border-color .2s ease;
}


.match-meta {
    font-size: .75rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 10px;
}

.match-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

.team {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .95rem;
    font-weight: 500;
    color: #111827;
}

.team:first-child {
    justify-content: flex-end;
    text-align: right;
}

.team-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.vs {
    font-size: 1.15rem;
    font-weight: 600;
    color: #111827;
    min-width: 70px;
    text-align: center;
}

.match-live {
    border-color: #ef4444;
}

.match-live .match-meta::before {
    content: "● AO VIVO";
    color: #ef4444;
    font-weight: 700;
    margin-right: 8px;
}


.match-link {
    display: block;
    text-decoration: none;
    color: inherit;
    
    transition: background-color .2s ease;
        border-bottom: 1px solid #dedede;
}




.match-link-grupo {
    display: block;
    text-decoration: none;
    color: inherit;
    
    transition: background-color .2s ease;
}

.match-link:hover {
    background-color: #f5f7fa;
}

.match-meta {
    font-size: .75rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: .4rem;
}