@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;
    color: var(--font);
}

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

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

.logo {
    height: 2rem;
    width: auto;
}


.widget-container {
    height: 100%;
    padding: 2rem 1rem;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.match-card {
    height: 106px;
    border-radius: 16px;
    position: relative;
}

.past-match {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.14), 0 0 2px 0 rgba(0, 0, 0, 0.12);
}

.past-match .match-background {
    width: 100%;
    height: 106px;
    border-radius: 16px;
    background: var(--surface-muted);
    position: absolute;
    left: 0;
    top: 0;
}

.upcoming-match {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
}

.upcoming-match .match-background {
    width: 100%;
    height: 106px;
    border-radius: 16px;
    background: var(--accent-background-primary-50);
    position: absolute;
    left: 0;
    top: 0;
}

.match-content {
    width: 100%;
    height: 72px;
    position: absolute;
    left: 0;
    top: 34px;
}

.match-content-inner {
    width: 100%;
    height: 72px;
    border-radius: 16px;
    background: var(--surface);
    position: relative;
}

.match-status {
    color: var(--font-600);
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    position: absolute;
    left: 16px;
    top: 27px;
    width: 15px;
    height: 18px;
}

.match-time {
    color: var(--font-600);
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    position: absolute;
    left: 6px;
    top: 27px;
    width: 34px;
    height: 18px;
}

.separator-left {
    width: 1px;
    height: 56px;
    background: #B3B3B3;
    position: absolute;
    left: 47px;
    top: 8px;
}

.separator-right {
    width: 1px;
    height: 56px;
    background: #B3B3B3;
    position: absolute;
    right: 47px;
    top: 8px;
}

.teams-section {
    width: 186px;
    height: 56px;
    position: absolute;
    left: 55px;
    top: 8px;
}

.team-row {
    display: flex;
    align-items: center;
    position: absolute;
    left: 0;
    width: 186px;
    height: 24px;
}

.team-row:first-child {
    top: 0;
}

.team-row:last-child {
    top: 32px;
}

.team-logo {
    display: flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 8px;
}

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

.team-name {
    color: var(--font);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.score-top {
    color: var(--font);
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    position: absolute;
    right: 18px;
    top: 8px;
    width: 11px;
    height: 24px;
}

.score-bottom {
    color: var(--font);
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    position: absolute;
    right: 18px;
    top: 40px;
    width: 11px;
    height: 24px;
}

.league-name {
    color: #666;
    text-align: right;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    position: absolute;
    right: 12px;
    top: 8px;
    width: 128px;
    height: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match-date {
    color: #666;
    text-align: left;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    position: absolute;
    left: 12px;
    top: 8px;
    width: 61px;
    height: 18px;
    white-space: nowrap;
}



