* {
    box-sizing: border-box;
}

body {
    font-family: 'Trebuchet MS', sans-serif;
    background: #121212;
    color: #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2em;
}

h1 {
    color: #ff5252;
    margin-bottom: 0.5em;
}

.container {
    background: #1f1f1f;
    padding: 2em;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

input, select, button {
    width: 100%;
    padding: 0.7em;
    margin: 0.4em 0;
    border: none;
    border-radius: 5px;
    font-size: 1em;
}

button {
    background-color: #ff5252;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background-color: #ff7878;
}

label.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-top: 0.5em;
    font-size: 0.95em;
}

input[type="checkbox"] {
    width: auto;
}

.hidden {
    display: none;
}

.word-display {
    font-size: 1.6em;
    margin: 1em 0;
    background: #333;
    padding: 1em;
    border-radius: 10px;
    white-space: pre-line;
    /* Viktigt! Gör så \n blir radbrytning */
}

.highlight {
    color: #ffca28;
}