:root {
    font-family: Bahnschrift, Calibri, "Segoe UI", Arial, sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

html,
body {
    margin: 0;
    padding: 0;
    min-width: 100%;
    min-height: 100%;
    background: #000;
}

body {
    color: #fff;
    font-family: Bahnschrift, Calibri, "Segoe UI", Arial, sans-serif;
}

#root {
    min-height: 100vh;
}

#app {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    margin: 30px;
    font-size: 16px;
}

.lobby-container {
    width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.lobby-table {
    width: 100;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    gap: 30px;
    padding: 10px 15px;
    margin-bottom: 6px;
  
    border-radius: 6px;
    max-width: 700px;
}

.lobby-table span:first-child {
    width: 140px;
    font-weight: bold;
}

.lobby-table-number {
    width: 140px;
    min-width: 140px;
}

.lobby-players {
    width: 70px;
    min-width: 70px;
}

.lobby-pot {
    width: 90px;
    min-width: 90px;
    text-align: right;
}

.lobby-stage {
    width: 130px;
    min-width: 130px;
}

.lobby-table button {
    margin-left: 8px;
}

.lobby-table button:first-of-type {
    margin-left: auto;
}

.lobby-language-row {
    justify-content: flex-end;
}

/* Gesamtes Poker-Layout */

.table-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
}

.table-layout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    min-width: 1000px;
}

.table-info {
    width: 320px;
    padding-top: 20px;
}

.turn-display {
    color: #ffd700;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}

.action-history {
    margin-top: 10px;
}

.action-history-line {
    font-size: 14px;
    line-height: 1.4;
}

/* Pokertisch */

.poker-table {
    position: relative;

    width: 790px;
    height: 700px;
    flex: 0 0 700px;

    background: #123d2b;

    border: 12px solid #3b2415;
    border-radius: 50%;

    box-sizing: border-box;

    box-shadow:
        0 0 0 3px #111,
        0 15px 40px rgba(0, 0, 0, 0.8);

    overflow: visible;
}

/* Gemeinschaftskarten */

.community-cards {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    display: flex;
    gap: 8px;

    z-index: 10;
}

/* Spieler */

.player-seat {
    color: #fff;
    font-family: Bahnschrift, Calibri, "Segoe UI", Arial, sans-serif;
}

/* Informationen rechts vom Tisch */

.table-info {
    width: 280px;
    color: #fff;

    font-family: Bahnschrift, Calibri, "Segoe UI", Arial, sans-serif;

    text-align: left;
}

/* Aktiver Spieler */

.current-player {
    color: #ffd700;
    font-size: 22px;
    font-weight: bold;

    margin-bottom: 20px;
}

/* Letzte Aktion */

.last-action {
    color: #ffd700;

    font-family: Consolas, "Courier New", monospace;
    font-size: 18px;

    margin-bottom: 20px;
}

/* Pot */

.pot-display {
    color: #ffd700;
    font-weight: bold;
}

/* Gewinner */

.winner-display {
    color: #ffe600;

    font-size: 22px;
    font-weight: bold;

    margin-top: 30px;
}

/* Gewinnerkarten */

.winner-cards {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

/* Buttons */

.action-buttons,
.hand-complete-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
    width: 790px;
}

.left-frame {
    width: 60px;
    height: 650px;
    flex-shrink: 0;
}

button {
    font-family: Bahnschrift, Calibri, "Segoe UI", Arial, sans-serif;

    font-size: 11px;

    color: #fff;
    background: #222;

    border: 1px solid #777;
    border-radius: 5px;

    padding: 8px 18px;

    cursor: pointer;
}

button:hover {
    background: #444;
}
