body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #e0ffe0 0%, #a0cfa0 50%, #e0ffe0 100%);
    margin: 0;
    padding: 20px;
}

.container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(0, 128, 0, 0.2);
    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.1),
        0 0 30px rgba(0, 128, 0, 0.1);
    text-align: center;
    max-width: 600px;
    width: 100%;
    box-sizing: border-box;
}

h1 {
    color: #004d00;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

h2 {
    color: #006400;
    margin-top: 25px;
    margin-bottom: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 100, 0, 0.2);
    padding-bottom: 5px;
}

h3 {
    color: #008000;
    margin-top: 15px;
    margin-bottom: 5px;
    text-align: left;
    font-size: 1.1em;
}

label {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: bold;
    text-align: left;
    color: #333;
}

input[type="text"],
select {
    width: calc(100% - 22px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #b0c4b0;
    border-radius: 8px;
    font-size: 16px;
    background-color: #f0fff0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

input[type="text"]:focus,
select:focus {
    border-color: #00a000;
    box-shadow: 0 0 5px rgba(0, 160, 0, 0.5);
    outline: none;
    background-color: #ffffff;
}

input[type="checkbox"] {
     margin-right: 5px;
     vertical-align: middle;
}

label[for="mixLanguagesCheckbox"] {
    display: inline-block;
    margin-top: 0;
    font-weight: normal;
    vertical-align: middle;
}

button {
    padding: 12px 25px;
    font-size: 17px;
    color: #fff;
    background: linear-gradient(180deg, #00cc00 0%, #008000 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease;
    margin-top: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

button:hover {
    background: linear-gradient(180deg, #00e600 0%, #009900 100%);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

button:active {
    background: linear-gradient(180deg, #009900 0%, #00e600 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(2px);
}

button:disabled {
    background: linear-gradient(180deg, #cccccc 0%, #aaaaaa 100%);
    cursor: not-allowed;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transform: none;
    text-shadow: none;
}

.output {
    font-size: 0.95em;
    color: #333;
    min-height: 1.5em;
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #e0ffe0;
    border-radius: 8px;
    background-color: #f0fff0;
    text-align: left;
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.6;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.output h3 {
    color: #006400;
    margin-top: 10px;
    margin-bottom: 8px;
    font-size: 1em;
}

.output ul {
    list-style: disc inside;
    padding-left: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.output li {
    margin-bottom: 6px;
}

.output strong {
    color: #004d00;
}

p {
    color: #666;
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

#statusMessage {
    color: #008000;
    font-size: 0.9em;
    min-height: 1.2em;
    margin-top: 10px;
    text-align: center;
}

#newLanguageInputs input[type="text"],
#newLanguageInputs select {
    width: calc(100% - 22px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #b0c4b0;
    border-radius: 8px;
    font-size: 16px;
    background-color: #f0fff0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

#newLanguageInputs input[type="text"]:focus,
#newLanguageInputs select:focus {
    border-color: #00a000;
    box-shadow: 0 0 5px rgba(0, 160, 0, 0.5);
    outline: none;
    background-color: #ffffff;
}

#newLanguageInputs input[type="checkbox"] {
     margin-right: 5px;
     vertical-align: middle;
}

#newLanguageInputs label[for="mixLanguagesCheckbox"] {
    display: inline-block;
    margin-top: 0;
    font-weight: normal;
    vertical-align: middle;
}