/* Custom styles to enhance the UI - Farben an index.html angepasst */
body {
    font-family: 'Inter', sans-serif;
    /* Angepasst an index.html bg-gray-50 */
    background-color: #F9FAFB; 
}
.dashboard-card {
    background-color: white;
    /* Angepasst an index.html border-gray-200 */
    border: 1px solid #e5e7eb; 
    border-radius: 0.75rem; /* rounded-xl */
    /* Konsistenter Schatten */
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    transition: box-shadow 0.3s ease;
}
.task-item {
    transition: background-color 0.2s ease-in-out;
}
.task-item:hover {
    /* Angepasst an helleres Grau */
   background-color: #f9fafb; /* gray-50 */
}
.form-input {
    /* Angepasst an index.html border-gray-300 */
    border-color: #d1d5db; 
    transition: all 0.2s ease;
}
.form-input:focus {
    outline: none;
    /* Fokusfarbe auf Emerald (emerald-500) geändert */
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    border-color: #10b981;
}
.btn-primary {
    /* Hauptfarbe auf Emerald (emerald-500) geändert */
    background-color: #10b981; 
    color: white;
    font-weight: 600;
    border-radius: 0.5rem; /* rounded-lg */
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    /* Schatten von index.html angepasst */
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.3);
}
.btn-primary:hover {
    /* Hover-Farbe auf Emerald (emerald-600) geändert */
    background-color: #059669;
    box-shadow: 0 2px 8px 0 rgba(16, 185, 129, 0.2);
}

/* Versteckt Elemente bis zum Laden */
#app-container, #auth-modal {
    display: none;
}
#loading-indicator {
    display: flex;
}
#ai-summary-modal {
    display: none;
}
.collapsible-content {
    max-height: 1000px;
    transition: max-height 0.5s ease-in-out, visibility 0.5s ease-in-out, margin 0.5s ease-in-out;
    overflow: hidden;
    visibility: visible;
}
.is-collapsed .collapsible-content {
    max-height: 0;
    visibility: hidden;
    margin-top: 0 !important;
}
.toggle-icon {
    transition: transform 0.3s ease;
}
.is-collapsed .toggle-icon {
    transform: rotate(-90deg);
}

/* Responsive Anpassungen */
@media (max-width: 640px) {
    main.container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .grid-cols-1.md\:grid-cols-2 {
        grid-template-columns: 1fr;
    }
}

