* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Standard Chrome und andere */

    font-family: Arial, sans-serif;
    font-size: 16px;
}

body {
    background-color: #f4f4f4;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
    display: block;
    margin: 0 auto 20px;
    max-width: 600px;
    height: auto;
    pointer-events: none;
}

.title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="time"],
textarea,
select {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 5px;
    height: 37px;

    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}
input::placeholder,
textarea::placeholder {
    color: grey;
}
textarea { height: auto; resize: none; }

.button-container {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    margin-bottom: -20px;
}
.submit-button, .clear-button {
    flex: 1;
    margin: 5px;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    height: 37px;
    color: white;
    font-size: 16px;
    cursor: pointer;
}
.submit-button { background-color: #4CAF50; }
.submit-button:hover { background-color: #45a049; }
.clear-button { background-color: #A9A9A9; }
.clear-button:hover { background-color: #9E9E9E; }

.flash-messages .alert {
    padding: 10px;
    background-color: #e7f3e7;
    color: #2e7d32;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
}

.inline-fields {
    display: flex;
    align-items: center;
    gap: 10px;
}

.inline-fields .input-label {
    padding-left: 1em;
    flex: 0 1 calc((100% - 20px) / 3);
    max-width: calc((100% - 20px) / 3);
    align-items: center;
}

.inline-fields .onethird {
    flex: 0 1 calc((100% - 20px) / 3);
    max-width: calc((100% - 20px) / 3);
}

.inline-fields .twothird {
    flex: 0 1 calc((100% - 20px) / 3 * 2 + 10px);
    max-width: calc((100% - 20px) / 3 * 2 + 10px);
}

.inline-fields .quarter {
    flex: 0 1 calc((100% - 20px) / 4);
    max-width: calc((100% - 20px) / 4);
}

.inline-fields .fivetwelfths {
    flex: 0 1 calc((100% - 20px) / 12 * 5);
    max-width: calc((100% - 20px) / 12 * 5);
}

.center {
    margin: auto;
}
