body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 90vh;
    overflow: hidden;
    width: 90%;
    max-width: 600px;
}
h1 {
    margin-bottom: 20px;
}
.form-row {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.form-row input {
    width: 60px;
    height: 60px;
    font-size: 30px;
    text-align: center;
    margin: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.form-row input.green {
    background-color: #28a745;
    color: #fff;
}
.form-row input.yellow {
    background-color: #ffc107;
    color: #fff;
}
.buttons {
    margin-top: 20px;
}
.buttons button,
.buttons a {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 20px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    margin: 5px;
}
.buttons button:hover,
.buttons a:hover {
    background-color: #0056b3;
}
.result-container {
    margin-top: 20px;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}
.result h2 {
    margin-bottom: 10px;
}
.result ol {
    padding-left: 20px;
    text-align: left;
}

/* Responsive styles */
@media (max-width: 600px) {
    .form-row input {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .buttons button,
    .buttons a {
        padding: 10px 20px;
        font-size: 16px;
    }
    .result-container {
        max-height: 150px;
    }
}