/*
 * WSERS1 – Standard-Stylesheet für alle Übungsdateien
 * Du darfst diese Datei gerne anpassen oder erweitern.
 */
body {
    font-family: "Segoe UI", Arial, sans-serif;
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
    line-height: 1.5;
    color: #1f2328;
    background: #fafbfc;
}

h1 {
    color: #1f4e79;
    border-bottom: 2px solid #9cc3e6;
    padding-bottom: .3rem;
}

h2 {
    color: #2e75b6;
}

table {
    border-collapse: collapse;
    margin: 1rem 0;
    background: #fff;
}

th, td {
    border: 1px solid #c8d3df;
    padding: .4rem .7rem;
    text-align: left;
}

th {
    background: #1f4e79;
    color: #fff;
}

tr:nth-child(even) td {
    background: #f2f6fa;
}

form {
    background: #fff;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    padding: 1rem 1.2rem;
    max-width: 520px;
}

input, select, textarea, button {
    font: inherit;
    padding: .35rem .5rem;
}

button, input[type="submit"] {
    background: #1f4e79;
    color: #fff;
    border: 0;
    border-radius: 4px;
    padding: .45rem 1.1rem;
    cursor: pointer;
}

button:hover, input[type="submit"]:hover {
    background: #2e75b6;
}

a {
    color: #2e75b6;
}

.box {
    background: #fff;
    border: 1px solid #d0d7de;
    border-left: 4px solid #2e75b6;
    padding: .6rem 1rem;
    margin: 1rem 0;
}

.error {
    color: #c0392b;
    font-weight: 600;
}

.success {
    color: #1e8449;
    font-weight: 600;
}

code, pre {
    font-family: Consolas, "Courier New", monospace;
    background: #f2f2f2;
    padding: .1rem .3rem;
}
