.custom-pgn-upload {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.upload-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.upload-container input[type="file"] {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.upload-button {
    padding: 8px 15px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.upload-button:hover {
    background: #005177;
}

.pgn-display {
    margin-top: 20px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 5px;
    white-space: pre-wrap;
    font-family: monospace;
}

/* Style for the chessboard that will be generated by RPB Chessboard */
.pgn-display .chessboard {
    margin: 20px auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* Analysis controls */
.analysis-controls {
    margin-top: 20px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 5px;
}

.analysis-button {
    padding: 8px 15px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.analysis-button:hover {
    background: #45a049;
}

.analysis-output {
    margin-top: 15px;
    padding: 10px;
    background: white;
    border-radius: 4px;
    font-family: monospace;
}

.analysis-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.analysis-info div {
    padding: 5px;
    background: #f8f8f8;
    border-radius: 3px;
}

.analysis-info div:nth-child(3) {
    grid-column: 1 / -1;
} 