/* ------------------------ */
/*       Auswahl beide      */
/* ------------------------ */
form {
    display: block;
    width: 100%;
}

.scoreselect {
    display: flex;
    justify-content: space-between; /* Schiebt Box 1 nach links, Box 2 nach rechts */
    align-items: center;
    width: 100%;           /* Nutzt die volle Breite des Formulars */
    box-sizing: border-box; /* Verhindert, dass Padding das Layout sprengt */
}

.scoreselect select {
    font-size: 0.7rem;
    padding: 8px 1.8rem 8px 0.3rem;
    cursor: pointer;
    border: 2px solid #007BFF;
    border-radius: 10px;
    background-color: #ffffff;
    outline: none;
}


/* ------------------------ */
/*     beide Ausgabearten   */
/* ------------------------ */

/* Box um die Scoretabelle */
.tablebox {
    margin: 5px;
}

/* ------------------------ */
/* Scoretabelle formatieren */
/* ------------------------ */

/* Tabelle Grundform */
table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    margin: auto;
}

.scoretable td {
    padding: 2px 5px 2px 3px;
    font-family: 'Roboto Condensed';
    font-size: 0.95rem;
    overflow: hidden;
}

.score-headline {
    color: green;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Spalten formatieren */
.score-rank {
    width: 0.8rem;
    text-align: right;
}

.score-user {
    width: 2rem;
    text-align: left;    
}

.score-date {
    width: 2rem;
    text-align: center;
}

.score-score {
    width: 2.1rem;
    text-align: right;    
}

/* ------------------------------------ */

#grscorecol {
    border-collapse:collapse;
    border-spacing:0;
    display: flex;
    flex-direction: row;
    margin-bottom: 6px;
    font-family: 'Roboto Condensed';
    font-size: 1rem;
    overflow: hidden;
  }

.score-headline {
    color: green;
    font-weight: bold;
    font-size: 1.1rem;
}

.headline {
    color: green;
    padding: 8px 0px 5px 0px;
    width: 100%;
    font-weight:bold;
    display: flex;
    flex-direction: row;
    text-align: center;
}

.idx-number {
    width: 2rem;
    text-align: right;
    padding-right: 1rem;
}

.idx-date {
    width: 6rem;
    text-align: left;
}

.idx-playtime {
    width: 4rem;
    text-align: right;
    padding-right: 1rem;
}

.idx-score {
    width: 4rem;
    text-align: right;
    padding-right: 1rem;
}

.idx-level {
    width: 4rem;
    text-align: right;
    padding-right: 1rem;
}

/* CSS für den PHP-Abschnitt der Scoretabellen */

.scoreplace {
    width: 1rem;
    text-align: right;
}

.username {
    width: 6rem;
    max-width: 6rem;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.clicks {
    width: 3rem;
    text-align: right;
}

.datescore {
    width: 4rem;
    text-align: right;
}

/* Tabellenausrichtung */
.tableheadline {
    font-weight: bold;
}