* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: #f0f2f5;
    color: #1a1a2e;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 800px;
    width: 100%;
    padding: 40px 20px;
}

header {
    text-align: center;
    margin-bottom: 48px;
}

h1 {
    font-size: 2.5rem;
    color: #1a1a2e;
    font-weight: 700;
}

.subtitle {
    color: #6b7280;
    font-size: 1.1rem;
    margin-top: 8px;
}

.cards {
    display: grid;
    gap: 24px;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.card h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.card p {
    color: #6b7280;
    margin-bottom: 16px;
}

.card-link {
    color: #2563eb;
    font-weight: 500;
}

/* Upload & Büro Seiten */
.page-title {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.page-title h1 {
    font-size: 2rem;
}

.back-link {
    display: inline-block;
    color: #2563eb;
    text-decoration: none;
    margin-bottom: 24px;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

/* Upload Form */
.upload-zone {
    border: 2px dashed #d1d5db;
    border-radius: 16px;
    padding: 60px 20px;
    text-align: center;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
}

.upload-zone:hover,
.upload-zone.drag-over {
    border-color: #2563eb;
    background: #f0f7ff;
}

.upload-zone .icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.upload-zone p {
    color: #6b7280;
    margin-bottom: 8px;
}

.upload-zone .hint {
    font-size: 0.875rem;
    color: #9ca3af;
}

.file-input {
    display: none;
}

/* Progress */
.progress-container {
    display: none;
    margin-top: 24px;
}

.progress-bar-bg {
    width: 100%;
    height: 24px;
    background: #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    border-radius: 12px;
    transition: width 0.3s;
}

.progress-text {
    text-align: center;
    margin-top: 12px;
    font-weight: 500;
    color: #374151;
}

.status-msg {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    display: none;
    font-weight: 500;
}

.status-msg.success {
    display: block;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.status-msg.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Büro Portal */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 640px) {
    .two-columns {
        grid-template-columns: 1fr;
    }
}

.column {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.column h2 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.file-list {
    list-style: none;
}

.file-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-list li:last-child {
    border-bottom: none;
}

.file-list a {
    color: #2563eb;
    text-decoration: none;
}

.file-list a:hover {
    text-decoration: underline;
}

.empty-msg {
    color: #9ca3af;
    text-align: center;
    padding: 24px;
    font-style: italic;
}

.status-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.done {
    background: #d1fae5;
    color: #065f46;
}

footer {
    text-align: center;
    margin-top: 48px;
    color: #9ca3af;
    font-size: 0.875rem;
}
