/* styles.css */

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

canvas {
    border: 1px solid #000;
    margin-bottom: 20px;
}

.prompt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    display: flex;
    justify-content: center;
    align-items: center;
}

.prompt-box {
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.prompt-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.prompt-message {
    font-size: 1em;
    margin-bottom: 20px;
}

.prompt-input {
    width: 80%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.prompt-buttons {
    display: flex;
    justify-content: space-around;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}

.btn-confirm {
    background-color: #28a745;
    color: #fff;
}

.btn-cancel {
    background-color: #dc3545;
    color: #fff;
}

.btn-confirm:hover {
    background-color: #218838;
}

.btn-cancel:hover {
    background-color: #c82333;
}
