body {
    
    font-family: Arial, sans-serif;
}

#numberLock {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.number-input {
    width: 50px;
    height: 50px;
    margin: 0 10px;
    border: 2px solid #333;
    text-align: center;
    font-size: 24px;
    transition: border-color 0.3s ease-in-out;
}

#controls {
    margin-bottom: 20px;
}

#controls button {
    margin: 0 10px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    background-color: #0095DD;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

#controls button:hover {
    background-color: #007bb5;
}

#result {
    font-size: 20px;
    color: #333;
}

.number-input.wrong {
    animation: shake 0.3s;
    border-color: red;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

#availableNumbers {
    margin-top: 20px;
    font-size: 18px;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
