/* Map card and grid styles */
.maps-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
    padding: 0 20px;
    width: 100%;
}

/* Date group container */
.date-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 790px; /* map card width (750px) + padding + margin */
    max-width: calc(50% - 20px); /* Allow 2 columns with gap */
    flex: 1;
    align-items: center;
    background-color: lightgray;
}

.map-card {
    background-color: #222;
    height: 450px;
    color: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    width: 750px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.map-content {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

/* Map left column */
.map-left {
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.map-title {
    font-size: 2.0rem;
    width: 250px;
    overflow: hidden;
    margin: 0;
}

.map-thumbnail-container {
    width: 250px;
    height: 150px;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}

.map-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 8px 8px;
}

/* Map right column */
.map-right {
    flex: 1;
    min-width: 200px;
}

/* Map stats styles */
.map-small-stats {
    margin-top: 10px;
}

.map-advantage {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.map-advantage-label {
    font-weight: bold;
}

.advantage-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.advantage-percentage {
    font-weight: bold;
}

.geekscore-info {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.1rem;
}

.geekscore-label {
    font-weight: bold;
}

.metascore-box {
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 2.0rem;
}

/* Scoreboard styles */
.scoreboard {
    width: 750px;
}

.scoreboard-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin-top: 10px;
    background-color: #333;
    color: white;
    font-size: 18px;
}

.scoreboard-table th,
.scoreboard-table td {
    text-align: center;
    vertical-align: middle;
    padding: 2px;
    border: none;
}

.team-info-header {
    font-weight: bold;
    font-size: 20px;
}

.round-circle {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: gray;
}

/* Match date header */
.match-date-header {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background-color: #AA0000;
    color: #fff;
    margin-bottom: 5px;
    text-align: center;
    padding: 2px 0;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 5px;
    flex-basis: 100%;
    padding: 10px;
}

/* Performance table specific styles */
.performance-container {
    background-color: #222;
    margin-top: 1px;
    height: 350px;
    overflow-y: scroll;
    scrollbar-width: none;
    border-radius: 8px;
}

/* Team header styles */
.team-header {
    background-color: #333;
    color: white;
    font-weight: bold;
    font-size: 12px;
    padding: 4px 8px;
    text-align: center;
    margin: 2px 0;
    border-radius: 4px;
}

.performance-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    margin-top: 2px;
    margin-bottom: 8px;
    font-size: 11px;
    background-color: #222;
    color: white;
}

.performance-table th {
    background-color: #333 !important;
    color: white;
    font-weight: bold;
    padding: 4px 6px;
    text-align: center;
    font-size: 11px;
}

.performance-table td {
    padding: 3px 6px;
    text-align: center;
    color: white;
    font-size: 11px;
}

.performance-table tr {
    background-color: #222;
    height: 24px;
    white-space: nowrap;
}

.performance-table td:first-child {
    text-align: left;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Tier colors in performance table */
.performance-table tr.tier-master {
    background: var(--tier-master-color);
}

.performance-table tr.tier-gold {
    background: var(--tier-gold-color);
}

.performance-table tr.tier-silver {
    background: var(--tier-silver-color);
}

.performance-table tr.tier-bronze {
    background: var(--tier-bronze-color);
}

/* Add hover effect to make text more readable */
.performance-table tr:hover {
    filter: brightness(1.1);
}

/* Smaller performance icons */
.performance-icon img {
    width: 14px !important;
    height: 14px !important;
    margin-left: 1px !important;
}


/* Summary statement */
#summary-statement {
    padding: 12px 16px;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    color: grey;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
} 