body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.camera-section {
    height: 50%;
    position: relative;
}

.scan-overlay {
    pointer-events: none;
}

.list-section {
    flex: 1;
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.status-bar {
    padding: 8px;
    background: #fef08a; /* Sanftes Gelb */
    color: #333;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list li {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb; /* Feine Linie */
    font-size: 16px;
    color: #333;
}

.list li:last-child {
    border-bottom: none;
}

.list li .actions {
    display: flex;
    gap: 8px;
}

.list li .actions button {
    padding: 4px 8px;
    font-size: 12px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.list li .actions button:hover {
    background: #e5e7eb;
}

.scan-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: #10b981; /* Grün */
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    z-index: 10;
}

.scan-btn:hover {
    background: #059669;
}

.scan-btn:active {
    transform: translateX(-50%) scale(0.95);
}

.clear-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 8px 16px;
    background: #ef4444; /* Rot */
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background 0.2s;
}

.clear-btn:hover {
    background: #dc2626;
}