/* Grundlayout & Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #f5f5f5;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: #4a90e2;
    color: white;
    padding: 1rem;
    text-align: center;
}

/* Tabs Navigation */
.tabs {
    display: flex;
    justify-content: space-around;
    background: #fff;
    border-bottom: 1px solid #ddd;
}

.tab-button {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.tab-button.active {
    border-bottom: 3px solid #4a90e2;
    color: #4a90e2;
}

.tab-button:hover {
    background: #f0f0f0;
}

/* Tab Inhalte */
main {
    flex: 1;
    padding: 1rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Datei-Upload */
input[type="file"] {
    margin-bottom: 1rem;
}

.file-info {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Collapsible */
.collapse {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.collapse input.search {
    width: 100%;
    padding: 0.5rem;
    border: none;
    border-bottom: 1px solid #ddd;
    outline: none;
}

.format-list {
    max-height: 200px;
    overflow-y: auto;
    list-style: none;
}

.format-list li {
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.format-list li:hover {
    background: #f0f0f0;
}

/* Responsive */
@media (max-width: 600px) {
    .tabs {
        flex-direction: column;
    }
}
