:root {
    --bg-color: #121212;
    --primary-color: #ff7518; /* Arancione zucca */
    --secondary-color: #8a0303; /* Rosso sangue */
    --accent-color: #800080; /* Viola */
    --text-color: #e0e0e0;
    --box-bg: #1e1e1e;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
    margin: 0;
    padding: 20px;
}

h1, h2 {
    color: var(--primary-color);
    text-shadow: 2px 2px var(--secondary-color);
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--box-bg);
    padding: 30px;
    border-radius: 10px;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
}

input, select, button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
    background-color: #333;
    color: white;
    font-size: 16px;
    box-sizing: border-box;
}

button {
    background-color: var(--primary-color);
    color: black;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Modale successo scansione */
#success-modal {
    display: none;
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--box-bg);
    border: 3px solid #28a745;
    padding: 40px;
    border-radius: 15px;
    z-index: 1000;
    box-shadow: 0 0 30px #28a745;
}

.tick { font-size: 80px; margin: 0; padding: 0; }
.guest-info { font-size: 24px; margin-top: 10px; }
.paid { color: #28a745; font-weight: bold; }
.to-pay { color: var(--secondary-color); font-weight: bold; }

table { width: 100%; border-collapse: collapse; margin-top: 20px; }
th, td { border: 1px solid var(--accent-color); padding: 10px; text-align: left; }
th { background-color: var(--accent-color); color: white; }

#qrcode { margin: 20px auto; display: flex; justify-content: center; background: white; padding: 10px; border-radius: 5px; width: fit-content; }