/* frontend/styles.css */

body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f4f4f9;
    color: #333;
}
.container {
    max-width: 800px;
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
h1, h2 {
    color: #4CAF50;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}
.input-group {
    margin-bottom: 15px;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
input[type="text"], input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}
button:hover {
    background-color: #45a049;
}
.output-section {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fafafa;
}
#loading {
    color: #FF9800;
    font-weight: bold;
    display: none;
    /* Pulsing Animation */
    animation: simple-pulse 1s infinite alternate; 
}
@keyframes simple-pulse {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}
#stockfish-output, #gemini-output {
    white-space: pre-wrap;
    word-break: break-word;
    padding: 10px;
    background-color: #e8eaf6;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
}
#gemini-output {
    background-color: #fce4ec;
}
/* Style for the Lichess iframe */
#lichess-board-container {
    display: none;
    margin-bottom: 20px;
}
#lichess-board {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
