body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    box-sizing: border-box;
}
.container-custom {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
input[type="file"] {
    display: none;
}
.custom-file-upload {
    border: 2px dashed #ced4da;
    background-color: #e9ecef;
    padding: 1.5rem;
    border-radius: 0.75rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease-in-out;
    color: #495057;
    font-weight: 500;
}
.custom-file-upload:hover {
    border-color: #0d6efd;
    background-color: #e2f0ff;
    color: #0d6efd;
}
.message-box {
    background-color: #fff3cd;
    color: #664d03;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid #ffecb5;
    margin-top: 1rem;
    word-break: break-all;
}
.error-box {
    background-color: #f8d7da;
    color: #842029;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid #f5c2c7;
    margin-top: 1rem;
    word-break: break-all;
}
.download-link-custom {
    display: block;
    background-color: #198754;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out;
    margin-top: 1.5rem;
}
.download-link-custom:hover {
    background-color: #157347;
}
.raw-content-preview {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    font-family: monospace;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 200px;
    overflow-y: auto;
}
footer {
    margin-top: auto;
    width: 100%;
}

/* Spezifische Styles für index.html */
.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}
.logo-container img {
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.function-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    color: inherit;
}
.function-card:hover {
    background-color: #f1f3f5;
    border-color: #0d6efd;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
}
.function-card img {
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    object-fit: cover;
    flex-shrink: 0;
}
.function-card-content h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: #343a40;
}
.function-card-content p {
    margin-bottom: 0;
    color: #6c757d;
}

/* Spezifische Styles für add-columns.html (jetzt insert-columns.html) */
.new-column-entry {
    border: 1px solid #e9ecef;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    background-color: #f8f9fa;
}

/* Spezifische Styles für merge-csv.html */
.file-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #e9ecef;
}
.file-list-item:last-child {
    border-bottom: none;
}

/* Spezifische Styles für nutzungsbedingungen.html (und andere rechtliche Seiten) */
.container-custom h1, .container-custom h2 {
    color: #343a40;
    margin-bottom: 1rem;
}
.container-custom h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
}
.container-custom h2 {
    font-size: 1.75rem;
    font-weight: 600;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}
.container-custom p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #495057;
}
.container-custom ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: #495057;
}
.container-custom li {
    margin-bottom: 0.5rem;
}
.container-custom strong {
    font-weight: 600;
}
