/* Stile generale */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

/* Container principale */
.container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 800px;
    margin: 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
        width: 90%;
    }
}

/* Titoli */
h1, h2 {
    color: #4a90e2;
    text-align: center;
}

/* Input box */
input[type="text"], input[type="password"], input[type="email"], input[type="date"], textarea, select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Bottoni */
button {
    background-color: #4a90e2;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

button:hover {
    background-color: #357ab8;
}

/* Link */
a {
    color: #4a90e2;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Messaggi di errore e successo */
.message {
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    text-align: center;
}

.success {
    background-color: #dff0d8;
    color: #3c763d;
}

.error {
    background-color: #f2dede;
    color: #a94442;
}

/* Stile per i concorsi e pronostici */
.concorso, .pronostico {
    background-color: #e9ecef;
    border-radius: 5px;
    padding: 15px;
    margin: 10px 0;
}

.concorso h3, .pronostico h3 {
    margin-top: 0;
}

/* Stile per i temi */
.tema-stagioni {
    background-color: #ffebcd;
    color: #8b4513;
}

.tema-rock {
    background-color: #333;
    color: #fff;
}

.tema-folk {
    background-color: #f0e68c;
    color: #556b2f;
}

.tema-pop {
    background-color: #ff69b4;
    color: #000;
}

.tema-natura {
    background-color: #98fb98;
    color: #2e8b57;
}

.tema-metal {
    background-color: #708090;
    color: #fff;
}

.tema-futuristic {
    background-color: #00ced1;
    color: #000;
}

/* Stile per le icone e i tooltip */
.icon-button {
    background: #4a90e2;
    border: none;
    cursor: pointer;
    padding: 5px;
    margin: 0 5px;
    position: relative;
    color: white;
}

.actions {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 10px;
    justify-content: center;
}

.icon-button i {
    font-size: 20px;
}

@media (max-width: 768px) {
    table {
        width: 100%;
        font-size: 14px;
    }
    .icon-button i {
        font-size: 16px;
    }
}