/* TriviYolo Custom Styles */

/* Loading spinner customization */
.loading-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Game-specific styles */
.game-card {
    transition: transform 0.2s ease-in-out;
    border: 1px solid #dee2e6;
}

.game-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Player status indicators */
.player-status {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-connected { background-color: #28a745; }
.status-disconnected { background-color: #dc3545; }
.status-reconnecting { background-color: #ffc107; }

/* Authentication styles */
.auth-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .game-card {
        margin-bottom: 1rem;
    }
    
    .auth-container {
        padding: 1rem;
    }
}

/* Toast notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
}

/* Game lobby styles */
.lobby-container {
    max-width: 800px;
    margin: 0 auto;
}

.player-list {
    max-height: 300px;
    overflow-y: auto;
}

/* Question display styles */
.question-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.answer-option {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.answer-option:hover {
    border-color: #007bff;
    background-color: #f8f9fa;
}

.answer-option.selected {
    border-color: #28a745;
    background-color: #d4edda;
}

.answer-option.correct {
    border-color: #28a745;
    background-color: #d4edda;
}

.answer-option.incorrect {
    border-color: #dc3545;
    background-color: #f8d7da;
}
