body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #f0f0f0;
}

.container {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}


.container-experience {
    flex: 1;
    padding: 1rem;
    background-color: #121212;
}

header {
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #1e1e1e;
    border-radius: 12px;
    /* overflow: hidden; */
    /* box-shadow: 0 0 10px rgba(0,0,0,0.6); */
}

thead {
    background-color: #272727;
}

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

th {
    color: #ffffffcc;
    font-weight: 400;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #333;
}




th a, td a{
    text-decoration: none;
    color: #ffffffcc;
}

tbody tr {
    border-bottom: 1px solid #2a2a2a;
    transition: background 0.3s;
}

tbody tr:hover {
    background-color: #2a2a2a;
}

td {
    color: #e0e0e0;
}

td:first-child {
    font-weight: bold;
    color: #ff9800;
}

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

.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination button {
    background-color: #444;
    color: #fff;
    border: none;
    padding: 8px 12px;
    margin: 0 4px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.2s;
}

.pagination button:hover {
    background-color: #666;
}


.table-scroll {
    max-height: 600px; /* ou o valor que você quiser */
    overflow-y: auto;
    border-radius: 12px;
}

/* barra de scroll estilizada (opcional) */
.table-scroll::-webkit-scrollbar, .monthly-table-wrapper::-webkit-scrollbar{
    width: 8px;
}
.table-scroll::-webkit-scrollbar-thumb, .monthly-table-wrapper::-webkit-scrollbar-thumb{
    background-color: #444;
    border-radius: 8px;
}

.top-statitics {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    /*width: 225px;*/
    height: auto;
    border-radius: 8px;
    background-color: #1e1e1e;
    padding: 2rem 0.5rem;
    white-space: nowrap;
}

.top-statitics h1{
    font-size: 1.5rem;
}


th:nth-child(1), td:nth-child(1) { /* Coluna # */
    width: 40px;
}
th:nth-child(2), td:nth-child(2) { /* Coluna Name */
    width: 200px;
}
th:nth-child(3), td:nth-child(3) { /* Coluna Level */
    width: 150px;
}

.container-experience header {
    display: flex;
    gap: 0.8rem;
    padding: 0.5rem;
    background-color: #1e1e1e;
    border-radius: 12px 12px 0 0;
    margin-bottom: 2px;
    align-items: center;
    flex-wrap: wrap;
}

.container-experience header input {
    flex: 1;
    min-width: 200px;
    padding: 0.5rem 1rem;
    background-color: #252525;
    border: 1px solid #333;
    border-radius: 8px;
    color: #f0f0f0;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.container-experience header input:focus {
    outline: none;
    border-color: #ff9800;
    box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.2);
}

.container-experience header button {
    padding: 0.7rem 1.2rem;
    background-color: #252525;
    border: 1px solid #333;
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.container-experience header button:hover {
    background-color: #2a2a2a;
    color: #ff9800;
    border-color: #ff9800;
}

.container-experience header button:active,
.container-experience header button.active {
    background-color: #ff9800;
    color: #121212;
    border-color: #ff9800;
    font-weight: 500;
}

.monthly-wrapper th:nth-child(2), .monthly-wrapper td:nth-child(2) { /* Coluna Name */
    width: 100px;
}

.monthly-table-wrapper{
    max-height: 300px;
    overflow-y: auto;
}

@media screen and (max-width: 768px){
    .container-experience{
        margin-top: 5rem;
        white-space: nowrap;
        padding: 1rem 0;
    }

    .top-statitics{
        display: none;
    }

    .container-experience header{
        margin-bottom: 20px;
    }

    #search_player {
    flex: 1 1 100%;
    } 
}