/* General styles */
body {
    background-color: #f5f5f5;
}

/* Chess board customization */
.board-container {
    max-width: 600px;
    margin: 0 auto;
}

/* Move history panel */
.move-history {
    height: 300px;
    overflow-y: auto;
}

.move-history .card-body {
    padding: 0.5rem;
}

.move-history ul {
    list-style-type: none;
    padding-left: 0;
}

.move-history li {
    padding: 6px 10px;
    border-bottom: 1px solid #eee;
}

.move-history li:last-child {
    border-bottom: none;
}

/* Timer styles */
.turn-timer {
    height: 10px;
    background-color: #28a745;
    transition: width 1s linear;
}

.turn-timer.warning {
    background-color: #ffc107;
}

.turn-timer.danger {
    background-color: #dc3545;
}

/* Game status indicators */
.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.status-waiting {
    background-color: #ffc107;
}

.status-in-progress {
    background-color: #28a745;
}

.status-completed {
    background-color: #6c757d;
}

/* Move highlighting */
.move-white {
    background-color: rgba(255, 255, 0, 0.3);
}

.move-black {
    background-color: rgba(0, 0, 255, 0.3);
}

.move-conflict {
    background-color: rgba(255, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .board-container {
        max-width: 100%;
    }
    
    .move-history {
        height: 200px;
        margin-top: 20px;
    }
} 