body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 400px;
    text-align: center;
}

h1 {
    margin-bottom: 20px;
}

textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: none;
}

.options {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
}

button {
    padding: 10px 15px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

#convertButton {
    background-color: #28a745;
    font-weight: bold;
    margin-bottom: 20px;
}

#convertButton:hover {
    background-color: #218838;
}

.output {
    margin-top: 15px;
}

.output textarea {
    margin-bottom: 10px;
}

.output button {
    width: 100%;
    margin-bottom: 10px; /* Aggiunto spazio tra i pulsanti */
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

.dark-mode .container {
    background: #1e1e1e;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.dark-mode textarea {
    background-color: #333;
    color: #ffffff;
    border: 1px solid #555;
}

.dark-mode button {
    background-color: #1e90ff;
}

.dark-mode button:hover {
    background-color: #007bff;
}

.dark-mode #convertButton {
    background-color: #28a745;
}

.dark-mode #convertButton:hover {
    background-color: #218838;
}
