:root {
    --primary-color: #2563eb;
    --background: #ececec;
    --text-color: #1e293b;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text-color);
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 800px; /* Größere Breite für Tabellen */
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
}

button {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

button:hover {
    opacity: 0.9;
}

.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 6px;
}

.alert.error {
    background: #fee2e2;
    color: #dc2626;
}

.alert.success {
    background: #dcfce7;
    color: #16a34a;
}

/* Füge diese Styles unter dem bestehenden CSS hinzu */

.result-table {
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-collapse: collapse;
    overflow: hidden;
    margin: 2rem 0;
}

.result-table thead {
    background-color: var(--primary-color);
    color: white;
}

.result-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 500;
}

.result-table td {
    padding: 1rem;
    border-top: 1px solid #e2e8f0;
}

.result-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.result-table tr:hover {
    background-color: #f1f5f9;
}

/* Responsive Tabelle für Mobile */
@media (max-width: 640px) {
    .result-table {
        display: block;
        overflow-x: auto;
    }
    
    .result-table th,
    .result-table td {
        min-width: 120px;
    }
}

/* Optional: Bewertungs-Sterne */
.rating-stars {
    color: #f59e0b;
    display: flex;
    gap: 2px;
}

/* Optional: Tags für Eigenschaften */
.restaurant-tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #e2e8f0;
    border-radius: 4px;
    font-size: 0.875rem;
    margin: 0.25rem 0.25rem 0 0;
}

/* Tabelle Styling */
.result-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 2rem 0;
}

.result-table th,
.result-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.result-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
}

.result-table tr:last-child td {
    border-bottom: none;
}

.result-table tr:hover {
    background-color: #f8fafc;
}

/* Bewertungssterne */
.rating-stars {
    color: #f59e0b;
    display: flex;
    gap: 2px;
}

/* Zurück-Button */
.back-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.back-link:hover {
    opacity: 0.9;
}

/* KI-Badge */
.ai-badge {
    font-size: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-left: 0.5rem;
}

/* Toggle-Button Anpassung */
.toggle-form {
    align-self: flex-start; /* Links ausrichten */
}

/* Action-Buttons */
.action-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

/* Mehrfachauswahl-Styling */
.multi-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: white;
}

.multi-select option {
    padding: 0.5rem;
}

.multi-select option:hover {
    background: #f1f5f9;
}