/* Gesamtes Seiten-Layout */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    margin: 0;
    padding: 20px;
    color: #333;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    font-size: 2.2em;
    margin-bottom: 10px;
    color: #2c3e50;
}

.erklärung {
    font-size: 1em;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Fehlermeldung / Statusnachricht */
.message {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1em;
    color: #e74c3c;
    min-height: 1.2em;
}

/* Eingabefeld und Button inline */
.input-container {
    text-align: center;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

input#pseudonymInput {
    padding: 12px 15px;
    font-size: 1em;
    width: 320px;
    max-width: 90%;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input#pseudonymInput:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
    outline: none;
}

button#submitBtn {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 1em;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

button#submitBtn:disabled {
    background-color: #a0cfee;
    cursor: not-allowed;
}

button#submitBtn:not(:disabled):hover {
    background-color: #2980b9;
}

/* Containere für die Schul-Karten */
.spalten-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

/* Einzelne Karten */
.spalte {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
    width: 280px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    position: relative;
}

.spalte:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.spalte.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.spalte.selected {
    border: 2px solid #3498db;
}

.spalte h2 {
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 8px;
    color: #34495e;
}

.spalte p {
    margin: 4px 0;
    color: #666;
    font-size: 0.95em;
}

/* Status (z.B. Voll Hinweis oder freie Plätze) */
.status {
    margin-top: 10px;
    font-size: 0.95em;
    color: #2c3e50;
}

/* Liste der zugeordneten Pseudonyme */
.assigned-list {
    margin-top: 10px;
}

.assigned-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 0;
    margin: 0;
}

.assigned-list li {
    background-color: #e1ecf7;
    color: #2c3e50;
    font-size: 0.9em;
    padding: 6px 10px;
    border-radius: 12px;
    list-style: none;
    transition: background-color 0.2s;
}

.assigned-list li:hover {
    background-color: #d0e6fb;
}