/* Custom styles for RPS Tournament */
.card {
    margin-bottom: 1rem;
}

.badge {
    font-size: 0.8em;
}

.list-group-item {
    border: none;
    padding: 0.5rem 0;
}

.table td, .table th {
    vertical-align: middle;
}

.tournament-status {
    font-size: 1.2rem;
    font-weight: bold;
}

.round-info {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.player-count {
    color: #6c757d;
}

.auto-refresh-notice {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;
}

/* Grid view specific styles */
.grid-table {
    font-size: 0.85rem;
}

.grid-table td {
    min-width: 120px;
}

.grid-table .player-name {
    min-width: 150px;
    font-weight: bold;
}

.grid-cell-answer {
    background-color: #f8f9fa;
    font-style: italic;
    color: #495057;
    padding: 2px 4px;
    border-radius: 3px;
    max-width: 120px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.grid-cell-content {
    line-height: 1.3;
}

.grid-cell-content > div {
    margin-bottom: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .grid-table {
        font-size: 0.75rem;
    }
    
    .grid-table td {
        min-width: 80px;
        padding: 0.25rem;
    }
}

/* Status indicators */
.status-pending {
    color: #ffc107;
}

.status-inprogress {
    color: #0d6efd;
}

.status-completed {
    color: #198754;
}