/* ===== Body & Global ===== */
body {
    background: #2f2f2f;
    color: #eaeaea;
    font-family: Arial, sans-serif;
    margin: 20px;
}

/* ===== Layout ===== */
.flex-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.left-column {
    flex: 2;
}

.right-column {
    flex: 1;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #555;
    padding-left: 10px;
}

#champions-table-container {
    overflow-y: auto;
    max-height: 100%;
}

#champions-pagination {
    margin-top: 5px;
    text-align: center;
    flex-shrink: 0;
}

/* ===== Buttons ===== */
button {
    background: #444;
    color: #fff;
    border: none;
    padding: 5px 10px;
    margin: 2px;
    cursor: pointer;
}

button:hover {
    background: #555;
}

/* ===== Tables ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
    background-color: #3a3a3a;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

th, td {
    padding: 8px 10px;
    text-align: center;
}

th {
    background-color: #444;
    color: #fff;
    border-bottom: 2px solid #555;
}

tr:nth-child(even) {
    background-color: #383838;
}

tr:hover {
    background-color: #505050;
}

/* ===== Champion row highlight ===== */
tr.champion {
    background-color: #1a8cff !important;
    color: #fff;
}

/* ===== Team Flags ===== */
.team-name {
    font-weight: bold;
    display: flex;
    align-items: center;
}

.flag {
    display: inline-flex;
    width:24px;
    height:16px;
    margin-right: 6px;
}

.stripe {
    flex:1;
    height: 100%;
}

