/* Allgemeine Stile */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
}


.names .co-working {
    color: red; /* Beispiel: Rot */
    font-weight: bold; /* Optional: Fett darstellen */
}



header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #333;
    color: white;
}

header input[type="date"] {
    background-color: #fff;
    border: none;
    padding: 5px;
    font-size: 1em;
}

header a {
    color: #fff;
    text-decoration: none;
    font-size: 1em;
}

h1 {
    margin: 0;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* Tabellen */
.table-container {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-bottom: 20px;
}

.table {
    border-collapse: collapse;
    width: 45%;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.table table {
    width: 100%;
    border-spacing: 0;
}

.table table tr {
    border-bottom: 1px solid #ddd;
}

.table table tr:last-child {
    border-bottom: none;
}

.table table td {
    padding: 10px;
    text-align: left;
}

.table .droppable {
    min-height: 40px;
    border: 1px dashed #ccc;
    background-color: #f9f9f9;
}

.table .droppable:hover {
    background-color: #e9e9e9;
}

/* Drag & Drop Elemente */
.draggable {
    display: inline-block;
    margin: 5px;
    padding: 8px 12px;
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
    cursor: grab;
    user-select: none;
}

.draggable:active {
    cursor: grabbing;
}

/* Formulare */
form {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    margin: 10px auto;
}

form h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5em;
}

form input, form select, form button {
    display: block;
    width: calc(100% - 20px);
    margin: 10px 0;
    padding: 10px;
    font-size: 1em;
}

form button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

form button:hover {
    background-color: #0056b3;
}

.error {
    color: red;
    font-size: 0.9em;
}


/* Login-Container */
.login-container {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Titel und Formularelemente */
.login-container h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.login-container h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: #333;
}

.login-container form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-container input {
    margin-bottom: 1rem;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
}

.login-container input:focus {
    outline: none;
    border-color: #3498db;
}

.login-container button {
    padding: 0.8rem;
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.login-container button:hover {
    background: #2ecc71;
}

.error {
    color: red;
    font-size: 0.9em;
}

/* Responsive Anpassungen */
@media (max-width: 500px) {
    .login-container {
        padding: 1rem;
    }

    .login-container h1 {
        font-size: 1.5rem;
    }
}



header h1 {
    margin: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

table th {
    background-color: #f4f4f4;
}

table td a {
    margin-right: 10px;
}

form label {
    display: block;
    margin: 10px 0 5px;
}

form input, form select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

form button:hover {
    background-color: #0056b3;
}
