body {
    background: #111827;
    color: #f3f4f6;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 40px;
}

.container {
    max-width: 1200px;
    margin: auto;
}

h1 {
    margin-bottom: 30px;
}

h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    color: #9ca3af;
    font-size: 1.2rem;
}

form {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

input {
    flex: 1;
    padding: 14px;
    border-radius: 10px;
    border: none;
    background: #1f2937;
    color: white;
    font-size: 16px;
}

button {
    padding: 14px 22px;
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: white;
    font-size: 16px;
    cursor: pointer;
    white-space: nowrap;
}

button:hover {
    background: #1d4ed8;
}

.error {
    background: #7f1d1d;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Tabellen & Mobile Optimierung */
.table-container {
    width: 100%;
    overflow-x: auto;
    background: #1f2937;
    border-radius: 12px;
}

table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}

th, td {
    padding: 12px;
    border-bottom: 1px solid #374151;
    text-align: left;
}

th {
    background: #111827;
}

.btn-download {
    background: #10b981;
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    transition: background 0.2s;
}

.btn-download:hover {
    background: #059669;
}

/* Desktop Only Klasse - Auf Mobile ausgeblendet */
.desktop-only {
    display: table-cell;
}

/* Mobile Only Klasse - Auf Desktop ausgeblendet */
.mobile-only {
    display: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body {
        padding: 20px 10px;
    }

    form {
        flex-direction: column;
    }

    button {
        width: 100%;
    }

    th, td {
        padding: 10px;
        font-size: 14px;
    }

    /* Auf Mobile Ansicht tauschen */
    .mobile-only {
        display: table-cell;
    }

    .desktop-only {
        display: none;
    }
}