/* Markdown Styling Fixes */
.prose-content pre {
    background: #18181b;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    margin: 0.5rem 0;
    overflow-x: auto;
}
.prose-content code {
    font-family: monospace;
    color: #818cf8;
}
.prose-content img {
    border-radius: 0.5rem;
    max-height: 200px;
    object-fit: cover;
}

:root {
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-highlight: rgba(255, 255, 255, 0.1);
}

body {
    background-color: #000000; /* Erzwingt tiefstes Schwarz */
    color: #e5e5e5;
    overflow: hidden; /* Prevent body scroll, handle inside containers */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: theme('colors.dark.600');
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: theme('colors.brand.500');
}

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}
.glass-panel {
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

/* Hover & Active Effects */
.hover-glow:hover {
    box-shadow: 0 0 15px theme('colors.brand.500');
    border-color: theme('colors.brand.500');
    transition: all 0.3s ease;
}
.nav-item.active {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.15) 0%, transparent 100%);
    border-left: 3px solid theme('colors.brand.500');
    color: white;
}

/* Drag & Drop Styles */
.task-card {
    cursor: grab;
    transition: transform 0.2s, box-shadow 0.2s;
}
.task-card:active {
    cursor: grabbing;
}
.task-card.dragging {
    opacity: 0.5;
    transform: scale(0.95);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.5);
    border-color: theme('colors.brand.500');
}
.kanban-column.drag-over {
    background: rgba(99, 102, 241, 0.05);
    border: 1px dashed theme('colors.brand.500');
}

/* Neon Text */
.text-neon {
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* Progress Bar Animation */
.progress-fill {
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Toast Notifications */
#toast-container {
    z-index: 9999;
}
.toast {
    animation: slideInRight 0.3s ease-out forwards, fadeOut 0.3s ease-in forwards 3s;
}
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; transform: translateY(-10px); }
}