@import url('./shared/tokens.css');
@import url('./shared/base.css');
@import url('./shared/components.css');
@import url('./shared/utilities.css');

html {
    margin: 0;
    padding: 0;
    background: transparent;
}

body {
    padding: 0;
    margin: 0;
    font-family: Poppins, -apple-system, Roboto, Helvetica, sans-serif;
    background: transparent;
}

/* tokens provided by shared/tokens.css */

.last-match-container {
    border-radius: 1rem;
    background: var(--surface);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-items: flex-start;
}

.logo-header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--accent-background-primary-50);
    height: 3rem;
}

.logo-header img {
    height: 2rem;
    width: auto;
}

.match-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-evenly;
    margin: 2rem 1rem;
}

.team-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: flex-start;
}

.match-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: flex-start;
    padding-top: 0.5rem;
}

.team-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: flex-start;
}

.team-left img, .team-right img {
    width: 4rem;
    height: 4rem;
    aspect-ratio: 1/1;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.team-name {
    color: var(--font-font, var(--font));
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Poppins-Medium', 'Poppins', sans-serif;
}

.score {
    color: var(--font-font);
    font-size: 1.375rem;
    font-weight: 500;
    font-family: 'Poppins-Medium', 'Poppins', sans-serif;
}

.status {
    color: var(--font-600);
    font-size: 1rem;
    font-weight: 400;
    font-family: 'Poppins-Regular', 'Poppins', sans-serif;
}


.events-container {
    height: auto;
    border-radius: 0.5rem;
    border: 0.5px solid var(--font-300);
    position: relative;
    margin: 1rem;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    box-sizing: border-box;
}

.events-left, .events-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-sizing: border-box;
}

.divider {
    margin: -0.25rem 0.5rem;
    width: 0;
    border-left: 0.5px dashed var(--font-300);
}

.event {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.player-name {
    color: var(--font-600);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 18px;
}

.time {
    color: var(--font-300);
    font-size: 0.875rem;
    font-weight: 400;
    text-align: right;
}

.events-left .time {
    text-align: right;
}

.events-right .time {
    text-align: left;
}

.events-left .player-name {
    text-align: left;
}

.events-right .player-name {
    text-align: right;
}

.no-match {
    padding: 2rem;
    text-align: center;
    opacity: 0.8;
}

