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

.container {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    text-align: center;
}

h1 {
    color: #d9534f;
    margin-bottom: 1.5rem;
}

.form-container {
    margin-bottom: 2rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    text-align: left;
}

input[type="text"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.checkbox-group {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
}

.checkbox-group input {
    margin-right: 5px;
}

button {
    background-color: #d9534f;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

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

#warning-container {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 2px dashed #d9534f;
    border-radius: 5px;
    background: #f9f2f2;
    display: none; /* Initially hidden */
}

body[data-theme='dark'] {
    background-color: #222;
    color: #f4f4f9;
}

body[data-theme='dark'] .container {
    background: #333;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

body[data-theme='dark'] h1 {
    color: #ff6b6b;
}

body[data-theme='dark'] button {
    background-color: #ff6b6b;
}

body[data-theme='dark'] button:hover {
    background-color: #e05252;
}

body[data-theme='dark'] #warning-container {
    border: 2px dashed #ff6b6b;
    background: #444;
}

body[data-theme='dark'] #warning-output {
    color: #f4f4f9;
}

.toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.toolbar button {
    margin-left: 0.5rem;
    padding: 5px 10px;
    font-size: 0.9rem;
}

#warning-output {
    white-space: pre-wrap; /* Preserve formatting */
    font-size: 1.1rem;
    color: #333;
}
