body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f9f9f9;
    color: #333;
}

header {
    position: relative;
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header h1 {
    margin: 0;
    font-size: 24px;
    display: inline-block;
}

#uni-logo {
    position: absolute;
    right: 20px;
    top: 20px;
    height: 50px; /* Skalierung des Logos, z. B. 50px hoch */
    width: auto;
}

.content {
    padding: 20px;
}

.search-container {
    margin-bottom: 20px;
}

.search-container label {
    font-weight: bold;
    margin-right: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    font-size: 14px;
}

th {
    background-color: #f4f4f4;
    cursor: pointer;
    text-align: left;
}

.highlight-asc {
    background-color: #d4edda;
}

.highlight-desc {
    background-color: #f8d7da;
}

input {
    padding: 5px;
    width: 250px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#overlay, #edit-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    z-index: 1000;
}

#overlay-content, #edit-overlay-content {
    background: #333;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: none;
    margin: 20px;
}

#close-overlay, #cancel-edit, #send-update {
    cursor: pointer;
}

#cancel-edit, #send-update {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 6px 12px;
    margin-top: 10px;
    margin-right: 10px;
    border-radius: 4px;
    cursor: pointer;
}

#cancel-edit {
    background: #ccc;
    color: #333;
}

#new-module-button, #export-button {
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

#new-module-button:hover, #export-button:hover {
    background-color: #0056b3;
}

#export-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

#export-overlay-content {
    background: #333;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    margin: 20px;
    text-align: center;
}

#export-overlay-content button {
    margin: 10px;
    padding: 10px 20px;
    cursor: pointer;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
}

#export-overlay-content button:hover {
    background: #0056b3;
}
