/* Reset und Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 10px;
    color: #333;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

h1 {
    text-align: center;
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.8em;
    word-break: break-word;
}

h2 {
    color: #764ba2;
    margin-bottom: 15px;
    font-size: 1.3em;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px 0;
    width: 100%;
}

.btn-large {
    padding: 16px 24px;
    font-size: 16px;
    width: 100%;
    margin: 8px 0;
}

.btn-small {
    padding: 8px 12px;
    font-size: 13px;
    width: auto;
    min-width: 80px;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:disabled {
    background: #b0b8f0;
    cursor: not-allowed;
    transform: none;
    opacity: 0.6;
}

.btn-primary:hover:not(:disabled) {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

.btn-info {
    background: #3498db;
    color: white;
}

.btn-info:hover {
    background: #2980b9;
}

.btn-success {
    background: #2ecc71;
    color: white;
}

.btn-success:hover {
    background: #27ae60;
}

.btn-danger {
    background: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
}

/* Menu */
.menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Button Group */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}
.info {
    text-align: center;
    color: #7f8c8d;
    margin: 15px 0;
    font-size: 14px;
}

/* Player Selection */
.player-selection {
    margin: 20px 0;
}

.player-checkbox {
    display: block;
    padding: 15px;
    margin: 10px 0;
    background: #f8f9fa;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.player-checkbox:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.player-checkbox input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.player-checkbox input[type="checkbox"]:checked + span {
    font-weight: bold;
    color: #667eea;
}

/* Game Header */
.game-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    align-items: stretch;
}

.game-header h1 {
    margin: 0;
    font-size: 1.5em;
}

/* Score Form */
.score-form {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.score-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.score-input-group {
    display: flex;
    flex-direction: column;
}

.score-input-group label {
    font-weight: 600;
    color: #764ba2;
    margin-bottom: 5px;
    font-size: 14px;
}

.score-input-group input {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
}

.score-input-group input:focus {
    outline: none;
    border-color: #667eea;
}

.score-input-group input:read-only {
    background-color: #e9ecef;
    cursor: not-allowed;
}

/* Input with Button Layout */
.input-with-button {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-with-button .score-input {
    width: 100%;
}

.btn-won {
    padding: 10px 14px;
    border: 2px solid #2ecc71;
    border-radius: 8px;
    background: white;
    color: #2ecc71;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: 100%;
}

.btn-won:hover:not(:disabled) {
    background: #2ecc71;
    color: white;
}

.btn-won.active {
    background: #2ecc71;
    color: white;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

.btn-won:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: #95a5a6;
    color: #95a5a6;
}

/* Edit Round Button */
.btn-edit-round {
    padding: 6px 10px;
    border: none;
    border-radius: 5px;
    background: #3498db;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit-round:hover {
    background: #2980b9;
    transform: scale(1.1);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 15px;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
    color: #667eea;
}

.modal-cancel {
    margin-top: 10px;
}

/* Past Games List */
.past-games-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
}

.past-game-card {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.past-game-date {
    min-width: auto;
    padding-right: 0;
    padding-bottom: 10px;
    border-right: none;
    border-bottom: 2px solid #ddd;
    margin-bottom: 10px;
}

.date-main {
    font-size: 18px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 3px;
}

.date-weekday {
    font-size: 13px;
    color: #7f8c8d;
}

.past-game-info {
    flex: 1;
    padding: 0;
}

.past-game-players {
    font-size: 14px;
    color: #333;
}

.past-game-arrow {
    display: none;
}

/* Info Banner */
.info-banner {
    background: #d1ecf1;
    border: 2px solid #0c5460;
    border-radius: 10px;
    padding: 12px;
    margin: 15px 0;
    text-align: center;
    color: #0c5460;
    font-size: 14px;
}

/* Alert Messages */
.alert {
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
}

.alert-error {
    background: #f8d7da;
    border: 2px solid #f5c6cb;
    color: #721c24;
}

.alert-success {
    background: #d4edda;
    border: 2px solid #c3e6cb;
    color: #155724;
}

.alert-warning {
    background: #fff3cd;
    border: 2px solid #ffc107;
    color: #856404;
}

.alert-info {
    background: #d1ecf1;
    border: 2px solid #bee5eb;
    color: #0c5460;
}

/* Score Display Container */
.score-display {
    margin: 20px 0;
}

/* Total Card (Sticky auf Mobile) */
.total-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    position: sticky;
    top: 10px;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.total-header {
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    margin-bottom: 12px;
}

.total-players {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.total-player-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    border-radius: 8px;
}

.player-info-total {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.player-name-total {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.player-wins-total {
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    font-weight: 500;
}

.player-score-total {
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.player-score-total .placement-badge {
    margin-left: 6px;
    background: rgba(255, 255, 255, 0.3);
}

/* Mobile: Runden als Cards */
.rounds-cards-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.round-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.round-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 2px solid #ddd;
}

.round-number {
    font-weight: bold;
    color: #667eea;
    font-size: 15px;
}

.round-players {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.round-player-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: white;
    border-radius: 8px;
}

.round-player-item.winner {
    background: #d4edda;
    border: 2px solid #28a745;
}

.round-player-item .player-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.round-player-item.winner .player-name {
    color: #155724;
}

.round-player-item .player-score {
    font-weight: bold;
    font-size: 14px;
    color: #764ba2;
}

.round-player-item.winner .player-score {
    color: #155724;
}

/* Desktop: Tabelle verbergen auf Mobile */
.score-table-container {
    display: none;
}

/* Info Text */
.info {
    text-align: center;
    color: #7f8c8d;
    margin: 12px 0;
    font-size: 13px;
}

/* Player Selection */
.player-selection {
    margin: 15px 0;
}

.player-checkbox {
    display: block;
    padding: 12px;
    margin: 8px 0;
    background: #f8f9fa;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
}

.player-checkbox input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.player-checkbox input[type="checkbox"]:checked + span {
    font-weight: bold;
    color: #667eea;
}
.score-table-container {
    margin: 20px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.score-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 13px;
}

.score-table th,
.score-table td {
    padding: 8px 4px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    min-width: 45px;
}

.score-table th {
    background: #667eea;
    color: white;
    font-weight: 600;
    position: sticky;
    top: 0;
    font-size: 12px;
    white-space: nowrap;
}

.score-table tbody tr:hover {
    background: #f8f9fa;
}

.score-table td.winner {
    background: #d4edda;
    color: #155724;
    font-weight: bold;
    font-size: 16px;
}

.total-row {
    background: #764ba2 !important;
    color: white !important;
    font-weight: bold;
    font-size: 14px;
}

.total-row td {
    border-bottom: none;
    position: relative;
    padding: 10px 4px;
}

/* Placement Badge */
.placement-badge {
    display: inline-block;
    margin-left: 4px;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
}

.placement-badge.place-1 {
    background: #f39c12;
    color: white;
}

.placement-badge.place-2 {
    background: #95a5a6;
    color: white;
}

.placement-badge.place-3 {
    background: #cd7f32;
    color: white;
}

.placement-badge.place-4,
.placement-badge.place-5,
.placement-badge.place-6,
.placement-badge.place-7 {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Game Actions */
.game-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
}

.game-actions form {
    width: 100%;
}

.game-actions button {
    width: 100%;
}

/* Button Group */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

/* Results */
.results {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.result-card {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 12px;
    background: #f8f9fa;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.result-card.place-1,
.result-card.place-2,
.result-card.place-3 {
    background: #f8f9fa;
    color: inherit;
}

.place-badge {
    font-size: 28px;
    font-weight: bold;
    margin-right: 12px;
    min-width: 45px;
    text-align: center;
}

.player-name {
    font-size: 18px;
    font-weight: 600;
    flex: 1;
}

.player-score {
    font-size: 16px;
    font-weight: bold;
}

/* Statistics */
.stats-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.stat-card {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-title {
    color: #764ba2;
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.section-title:first-of-type {
    margin-top: 10px;
}

.stat-card h2 {
    text-align: center;
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.2em;
    min-height: auto;
    display: block;
}

.stat-card h3 {
    text-align: center;
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.1em;
    min-height: auto;
    display: block;
}

.stat-players-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-player-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: white;
    border-radius: 8px;
}

.stat-player-row.best-value {
    background: linear-gradient(135deg, #f8e45c 0%, #f39c12 100%);
    color: white;
    font-weight: bold;
}

.player-name-stat {
    font-size: 14px;
    font-weight: 600;
}

.player-value-stat {
    font-size: 16px;
    font-weight: bold;
    color: #764ba2;
}

/* Gesamtranking */
.ranking-section {
    margin-bottom: 30px;
}

.ranking-explanation {
    text-align: center;
    font-size: 12px;
    color: #7f8c8d;
    margin-bottom: 15px;
    line-height: 1.5;
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ranking-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.ranking-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ranking-item.rank-1 {
    background: linear-gradient(135deg, #f8e45c 0%, #f39c12 100%);
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.ranking-item.rank-2 {
    background: linear-gradient(135deg, #e8e8e8 0%, #c0c0c0 100%);
}

.ranking-item.rank-3 {
    background: linear-gradient(135deg, #f4d4a0 0%, #cd7f32 100%);
}

.rank-badge {
    font-size: 24px;
    min-width: 45px;
    text-align: center;
    font-weight: bold;
}

.rank-player-name {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    margin-left: 15px;
}

.rank-score {
    font-size: 20px;
    font-weight: bold;
    color: #667eea;
    min-width: 60px;
    text-align: right;
}

.ranking-item.rank-1 .rank-score {
    color: white;
}

.stat-player-row.best-value .player-value-stat {
    color: white;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
}

.stat-label {
    font-size: 12px;
    color: #7f8c8d;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #764ba2;
}

.stat-value.highlight {
    color: #2ecc71;
}

/* Responsive Design - Tablet (ab 768px) */
@media (min-width: 768px) {
    body {
        padding: 20px;
    }

    .container {
        padding: 25px;
        border-radius: 20px;
    }

    h1 {
        font-size: 2.2em;
        margin-bottom: 25px;
    }

    h2 {
        font-size: 1.5em;
        margin-bottom: 20px;
    }

    .btn {
        width: auto;
        margin: 5px;
    }

    .btn-large {
        width: 100%;
        font-size: 18px;
        padding: 18px 36px;
    }

    .score-form {
        padding: 20px;
    }

    .score-inputs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .input-with-button {
        flex-direction: row;
        align-items: center;
    }

    .input-with-button .score-input {
        flex: 1;
    }

    .btn-won {
        width: auto;
        padding: 12px 16px;
        font-size: 14px;
    }

    .game-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 25px;
    }

    .game-header h1 {
        font-size: 2em;
    }

    /* Tablet: Cards verstecken, Tabelle anzeigen */
    .rounds-cards-mobile {
        display: none;
    }

    .total-card {
        display: none;
    }

    .score-table-container {
        display: block;
        margin: 20px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .score-table {
        font-size: 14px;
    }

    .score-table th,
    .score-table td {
        padding: 10px 8px;
        min-width: 60px;
    }

    .total-row {
        font-size: 16px;
    }

    .placement-badge {
        font-size: 11px;
        padding: 2px 7px;
        margin-left: 6px;
    }

    .game-actions {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .game-actions form,
    .game-actions button {
        width: auto;
    }

    .result-card {
        padding: 18px;
    }

    .place-badge {
        font-size: 32px;
        min-width: 55px;
        margin-right: 15px;
    }

    .player-name {
        font-size: 22px;
    }

    .player-score {
        font-size: 18px;
    }

    .stats-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .stat-card {
        padding: 18px;
    }

    .stat-card h2 {
        font-size: 1.25em;
    }

    .stat-player-row {
        padding: 11px 14px;
    }

    .player-name-stat {
        font-size: 15px;
    }

    .player-value-stat {
        font-size: 17px;
    }

    .past-games-list {
        gap: 15px;
    }

    .past-game-card {
        flex-direction: row;
        align-items: center;
        padding: 18px;
    }

    .past-game-date {
        min-width: 140px;
        padding-right: 18px;
        padding-bottom: 0;
        border-right: 2px solid #ddd;
        border-bottom: none;
        margin-bottom: 0;
    }

    .date-main {
        font-size: 19px;
    }

    .date-weekday {
        font-size: 13px;
    }

    .past-game-info {
        padding: 0 18px;
    }

    .past-game-players {
        font-size: 15px;
    }

    .past-game-arrow {
        display: block;
        font-size: 22px;
        color: #667eea;
        font-weight: bold;
    }

    .modal-content {
        padding: 25px;
        margin: 5% auto;
    }

    .modal-close {
        font-size: 30px;
        top: 12px;
        right: 18px;
    }

    .info-banner {
        padding: 15px;
        font-size: 15px;
    }

    .player-checkbox {
        padding: 14px;
        font-size: 17px;
    }

    .info {
        font-size: 14px;
    }
}

/* Desktop (ab 1024px) */
@media (min-width: 1024px) {
    .container {
        padding: 30px;
    }

    h1 {
        font-size: 2.5em;
        margin-bottom: 30px;
    }

    .score-inputs {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-card h2 {
        font-size: 1.3em;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .past-game-card {
        padding: 20px;
    }

    .past-game-date {
        min-width: 150px;
        padding-right: 20px;
    }

    .date-main {
        font-size: 20px;
    }

    .past-game-info {
        padding: 0 20px;
    }

    .past-game-players {
        font-size: 16px;
    }

    .past-game-arrow {
        font-size: 24px;
    }

    .player-checkbox {
        padding: 15px;
        font-size: 18px;
    }
}

/* Warning Box */
.warning-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.warning-box h2 {
    color: #856404;
    margin-bottom: 15px;
}

.warning-box p {
    color: #856404;
    line-height: 1.6;
    margin-bottom: 10px;
}

.warning-box ul {
    color: #856404;
    margin-left: 20px;
    margin-bottom: 10px;
}

.warning-box strong {
    color: #e74c3c;
}

/* Dealer Banner */
.dealer-banner {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-align: center;
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

/* Seating Order (new_game step 2) */
.seating-list {
    margin: 10px 0;
}

.seating-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 8px 0;
    font-size: 18px;
}

.seating-name {
    font-weight: 500;
}

.seating-buttons {
    display: flex;
    gap: 10px;
}

.btn-move {
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    width: 52px;
    height: 52px;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-move:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.dealer-radios .player-checkbox {
    display: inline-block;
    margin-right: 8px;
}

.player-checkbox input[type="radio"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.player-checkbox input[type="radio"]:checked + span {
    font-weight: bold;
    color: #667eea;
}

/* Special Actions (Joker / Handrommee) */
.special-actions {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 12px 16px;
    margin: 12px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.special-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
}

.special-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.hand-rommee-select {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.hand-rommee-select select {
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    background: white;
}

/* Badges in Rundentabelle */
.badge-joker {
    font-size: 13px;
    margin-left: 4px;
    cursor: default;
}

.badge-handrommee {
    display: inline-block;
    background: #f39c12;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
    white-space: nowrap;
}

/* Sparkline */
.sparkline {
    flex-shrink: 0;
    border-radius: 3px;
}

/* Delete Game Section */
.delete-game-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px dashed #e0e0e0;
    text-align: center;
}

.btn-delete-game {
    background: transparent;
    color: #999;
    border: 1px solid #ddd;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-delete-game:hover {
    background: #c0392b;
    color: white;
    border-color: #c0392b;
}
