/* style.css */

/* Grundlegende Body- und Typografie-Stile */
body {
    font-family: 'Inter', sans-serif;
    background-color: #111827; /* bg-gray-900 */
    color: #e2e8f0; /* text-gray-200 */
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
}

/* Verlaufsstile für Hintergründe */
.hero-gradient {
    background: radial-gradient(ellipse at top, rgba(79, 70, 229, 0.2), transparent 70%),
                linear-gradient(to bottom, #111827, #1f2937);
}

.section-gradient {
     background: radial-gradient(ellipse at bottom, rgba(79, 70, 229, 0.15), transparent 70%);
}

.main-gradient-bg {
    background: radial-gradient(ellipse at top, rgba(79, 70, 229, 0.2), transparent 70%);
}

.form-gradient-bg {
    background: radial-gradient(ellipse at center, rgba(79, 70, 229, 0.1), transparent 70%), #1f2937;
}

.form-container-bg {
    background: radial-gradient(ellipse at center, rgba(79, 70, 229, 0.1), transparent 70%), #1f2937;
}

/* --- KORRIGIERTER BEREICH START --- */

/* Allgemeine Stile für alle Karten */
.feature-card, .event-card, .changelog-entry, .task-card, .suggestion-card, .application-card, .tracker-reg-card {
    border-radius: 0.75rem; /* Etwas größere Rundung */
    padding: 1.5rem;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Spezifische Hintergrund- und Randfarben für Standardkarten (Change Log, Events etc.) */
.feature-card, .event-card, .changelog-entry, .suggestion-card, .application-card, .tracker-reg-card {
    background-color: #1f2937; /* Dunkelgrau (bg-gray-800) */
    border: 1px solid #374151; /* Sichtbarerer Rand (border-gray-700) */
}

/* Spezifische Hintergrund- und Randfarben für Aufgabenkarten */
.task-card {
    background-color: #27272a; /* Anthrazit-Hintergrund */
    border: 1px solid #3f3f46; /* Randfarbe (Zinc 700) */
    border-top: 4px solid transparent; /* Platzhalter für Prioritätsfarbe */
    cursor: pointer;
}

/* Hover-Effekte */
.feature-card:hover, .event-card:hover, .changelog-entry:hover, .suggestion-card:hover, .application-card:hover, .tracker-reg-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.1), 0 4px 6px -2px rgba(79, 70, 229, 0.05);
    border-color: #4f46e5;
}

.task-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    background-color: #3f3f46;
}

/* --- KORRIGIERTER BEREICH ENDE --- */


/* Stile für Formular-Eingabefelder */
.input-with-icon {
    display: flex;
    align-items: center;
    background-color: #1f2937;
    border: 1px solid #374151;
    border-radius: 0.375rem;
    padding-left: 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-with-icon:focus-within {
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.5);
}

.input-with-icon input,
.input-with-icon textarea {
    flex-grow: 1;
    background: none;
    border: none;
    padding: 0.75rem 0.75rem;
    color: #e2e8f0;
    font-size: 0.875rem;
    outline: none;
}

.input-with-icon input::placeholder,
.input-with-icon textarea::placeholder {
    color: #9ca3af;
}

.input-with-icon .icon {
    color: #9ca3af;
    margin-right: 0.5rem;
}

/* Stile für Live-Validierung von Eingabefeldern */
.valid-input {
    border-color: #10b981; /* green-500 */
}

.invalid-input {
    border-color: #ef4444; /* red-500 */
}

/* Lade-Spinner */
.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #6366f1;
    width: 40px;
    height: 40px;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Benachrichtigungs-Banner */
#notification-banner {
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

/* Modal-Stile */
.modal-backdrop {
    background-color: rgba(0,0,0,0.6);
    transition: opacity 0.3s ease;
}

.modal-content {
    transition: transform 0.3s ease;
}
