body {
    font-family: 'Roboto', sans-serif;
    background-color: #FAFAFA;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #3F51B5;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
}

header h1 {
    margin: 0;
    font-size: 2em;
    font-size: 24px;
    margin-bottom: 20px;
    color: #faf6f6;
    text-align: center;
        
}

nav {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    margin: 0 5px;
    background-color: #3F51B5;
    border-radius: 2px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #303F9F;
}

main {
    padding: 20px;
}

h2 {
    color: #212121;
}

.notifications, .exercises, .scenarios, .chat, .video-calls, .forums, .reports {
    background-color: #fff;
    padding: 15px;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
    margin-bottom: 20px;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin: 5px 0;
}

#chat-window {
    border: 1px solid #ddd;
    padding: 10px;
    height: 450px;
    overflow-y: scroll;
}

#chat-input {
    width: 80%;
    padding: 10px;
    margin-right: 10px;
}

#send-button {
    padding: 10px 20px;
    background-color: #3F51B5;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

#send-button:hover {
    background-color: #303F9F;
}

footer {
    text-align: center;
    padding: 10px 0;
    background-color: #3F51B5;
    color: #fff;
    position: sticky;
    bottom: 0;
    width: 100%;
    margin-top: auto;
}

/* style.css */
#edit-inject-form {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: start;
}

#edit-inject-form input[type="text"],
#edit-inject-form select {
    margin-bottom: 10px;
    border-radius: 2px;
    border: none;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
}

#edit-inject-form textarea {
    height: 100px;
    width: 100%;
    margin-bottom: 10px;
    border-radius: 2px;
    border: none;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
}

@keyframes fadeout {
    from {opacity: 1;}
    to {opacity: 0;}
}
.toast {
    color: white;
    background-color: red;
    padding: 10px;
    margin-bottom: 10px;
    animation-name: fadeout;
    animation-duration: 4s;
    animation-delay: 4s;
    animation-fill-mode: forwards;
}

.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1200px;
    margin: 50px auto; /* Adjusted margin to space out from top */
}

label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    color: #555;
}
/* Titel */
textarea,
input[type="text"] {
    width: 100% !important; /* Erzwingt die volle Breite */
    max-width: 100%; /* Verhindert Überlauf */
    box-sizing: border-box; /* Sorgt dafür, dass Padding und Border in der Breite enthalten sind */
    background-color: #d2cee9;
    font-weight: bold;
}
input[type="text"]:read-only {
    background-color: #e4e4f1;
    width: 100% !important; /* Erzwingt die volle Breite */
    max-width: 100%; /* Verhindert Überlauf */
    box-sizing: border-box; /* Sorgt dafür, dass Padding und Border in der Breite enthalten sind */    
}

textarea {
    resize: vertical;
    min-height: 80px;
    background-color: #4CAF50;
}


input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}
input[type="submit"]:hover {
    background-color: #45a049;
}

/* Container */
#edit-inject-form {
    display: flex;
    flex-direction: column;
    align-items: start;
    overflow: auto;
    height: 80vh;
    width: 60vw;
    margin: auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(190, 40, 40, 0.1);
    
}
#edit-inject-form label {
    font-weight: bold;
    margin-top: 10px;
}
/* Textfelder */
#edit-inject-form input, #edit-inject-form textarea, #edit-inject-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.form-control {
    width: 100%;
}

#edit-inject-form button {
    padding: 10px 20px;
    margin-top: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
}
#edit-inject-form button:hover {
    background-color: #0056b3;
}

/* Neue CSS-Regeln für die Tabelle */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
    font-weight: bold;
}

td input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    border: none;
    background-color: #f9f9f9;
    padding: 8px;
    font-size: 14px;
}

td a {
    color: #1a0dab;
    text-decoration: underline;
}
