/**
 * Zammad Kanban - Stylesheet
 * 
 * Modernes, minimalistisches Design mit:
 * - Dark/Light Theme Support
 * - Glasmorphism-Effekten
 * - Smooth Animations
 * - Drag & Drop Feedback
 */

/* ============================================
   CSS VARIABLEN / DESIGN TOKENS - DARK THEME
   ============================================ */
:root {
    /* Farbpalette - Dark */
    --color-bg-primary: #0f0f12;
    --color-bg-secondary: #16161a;
    --color-bg-tertiary: #1e1e24;
    --color-bg-elevated: #232329;
    --color-bg-hover: #2a2a32;
    
    --color-surface: rgba(255, 255, 255, 0.03);
    --color-surface-hover: rgba(255, 255, 255, 0.06);
    --color-surface-active: rgba(255, 255, 255, 0.08);
    
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-strong: rgba(255, 255, 255, 0.15);
    
    --color-text-primary: #ffffff;
    --color-text-secondary: #a1a1aa;
    --color-text-tertiary: #71717a;
    --color-text-muted: #52525b;
    
    /* Akzentfarben */
    --color-primary: #6366f1;
    --color-primary-hover: #818cf8;
    --color-primary-glow: rgba(99, 102, 241, 0.25);
    
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-info: #3b82f6;
    
    /* Kanban-Spalten Farben */
    --color-backlog: #6b7280;
    --color-todo: #3b82f6;
    --color-progress: #f59e0b;
    --color-review: #8b5cf6;
    --color-done: #10b981;
    
    /* Typografie */
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    
    /* Abstände */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    
    /* Radien */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    /* Schatten */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px var(--color-primary-glow);
    
    /* Transitionen */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
    
    /* Layout */
    --header-height: 64px;
    --sidebar-width: 280px;
    --kanban-column-width: 320px;
    --kanban-gap: 20px;
}

/* ============================================
   LIGHT THEME
   ============================================ */
[data-theme="light"] {
    --color-bg-primary: #f8fafc;
    --color-bg-secondary: #ffffff;
    --color-bg-tertiary: #f1f5f9;
    --color-bg-elevated: #ffffff;
    --color-bg-hover: #e2e8f0;
    
    --color-surface: rgba(0, 0, 0, 0.02);
    --color-surface-hover: rgba(0, 0, 0, 0.04);
    --color-surface-active: rgba(0, 0, 0, 0.06);
    
    --color-border: rgba(0, 0, 0, 0.08);
    --color-border-strong: rgba(0, 0, 0, 0.15);
    
    --color-text-primary: #0f172a;
    --color-text-secondary: #475569;
    --color-text-tertiary: #64748b;
    --color-text-muted: #94a3b8;
    
    --color-primary: #4f46e5;
    --color-primary-hover: #6366f1;
    --color-primary-glow: rgba(79, 70, 229, 0.2);
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ============================================
   RESET & BASIS
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.5;
    color: var(--color-text-primary);
    background: var(--color-bg-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

.hidden { display: none !important; }

/* ============================================
   LOGIN SCREEN
   ============================================ */
.login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
}

.login-container {
    width: 100%;
    max-width: 400px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-lg);
}

.login-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.logo { display: inline-flex; margin-bottom: var(--space-4); }
.login-header h1 { font-size: var(--text-2xl); font-weight: 600; margin-bottom: var(--space-2); }
.login-header p { color: var(--color-text-secondary); font-size: var(--text-sm); }
.login-form { display: flex; flex-direction: column; gap: var(--space-5); }

/* ============================================
   FORM ELEMENTE
   ============================================ */
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-group label { font-size: var(--text-sm); font-weight: 500; color: var(--color-text-secondary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }

.input-styled,
.select-styled,
.textarea-styled {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    transition: all var(--transition-fast);
}

.input-styled:focus,
.select-styled:focus,
.textarea-styled:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.input-styled::placeholder,
.textarea-styled::placeholder { color: var(--color-text-muted); }
.input-small { padding: var(--space-2) var(--space-3); width: 100px; }
.textarea-styled { min-height: 80px; resize: vertical; }

.select-styled {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    cursor: pointer;
    font-size: var(--text-sm);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

.error-message {
    padding: var(--space-3) var(--space-4);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-md);
    color: var(--color-error);
    font-size: var(--text-sm);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.btn-primary { background: var(--color-primary); color: white; }
.btn-primary:hover { background: var(--color-primary-hover); box-shadow: var(--shadow-glow); }

.btn-secondary {
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
}
.btn-secondary:hover { background: var(--color-bg-hover); border-color: var(--color-border-strong); }

.btn-ghost { color: var(--color-text-secondary); }
.btn-ghost:hover { background: var(--color-surface-hover); color: var(--color-text-primary); }

.btn-icon { padding: var(--space-2); }
.btn-sm { padding: var(--space-2) var(--space-3); font-size: var(--text-sm); }
.btn-full { width: 100%; }

.spinner { width: 20px; height: 20px; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   HEADER
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 var(--space-6);
    background: rgba(15, 15, 18, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.header-left, .header-right { display: flex; align-items: center; gap: var(--space-4); }
.logo-small { display: flex; }
.logo-small svg { width: 32px; height: 32px; }
.header h1 { font-size: var(--text-lg); font-weight: 600; }

.sprint-selector { margin-left: var(--space-4); }
.sprint-selector .select-styled {
    min-width: 180px;
    padding: var(--space-2) var(--space-3);
    padding-right: 36px;
    font-size: var(--text-sm);
}

.filter-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

#filter-toggle { position: relative; }

/* User Menu */
.user-menu { position: relative; }

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-primary), #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    font-weight: 600;
    color: white;
    transition: transform var(--transition-fast);
}

.user-avatar:hover { transform: scale(1.05); }

.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: dropdownIn 0.15s ease;
}

@keyframes dropdownIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-header { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-1); }
.dropdown-header span:first-child { font-weight: 500; }
.role-badge { font-size: var(--text-xs); color: var(--color-primary); font-weight: 500; }
.dropdown-divider { height: 1px; background: var(--color-border); }

.dropdown-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.dropdown-item:hover { background: var(--color-surface-hover); color: var(--color-text-primary); }

/* ============================================
   FILTER PANEL
   ============================================ */
.filter-panel {
    position: fixed;
    top: var(--header-height);
    right: 0;
    width: var(--sidebar-width);
    height: calc(100vh - var(--header-height));
    background: var(--color-bg-secondary);
    border-left: 1px solid var(--color-border);
    z-index: 90;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    overflow-y: auto;
}

.filter-panel:not(.hidden) { transform: translateX(0); }
.filter-content { padding: var(--space-6); }

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-6);
}

.filter-header h3 { font-size: var(--text-lg); font-weight: 600; }
.filter-body { display: flex; flex-direction: column; gap: var(--space-5); }

.filter-footer {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border);
}

.saved-filters {
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border);
}

.saved-filters h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-3);
}

.saved-filters-list { display: flex; flex-direction: column; gap: var(--space-2); }

.saved-filter-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-2) var(--space-3);
    background: var(--color-surface);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.saved-filter-item:hover { background: var(--color-surface-hover); }
.saved-filter-item span { font-size: var(--text-sm); }
.saved-filter-item button { padding: var(--space-1); color: var(--color-text-muted); opacity: 0; transition: opacity var(--transition-fast); }
.saved-filter-item:hover button { opacity: 1; }
.saved-filter-item button:hover { color: var(--color-error); }

/* ============================================
   KANBAN BOARD
   ============================================ */
.kanban-container { padding: var(--space-6); overflow-x: auto; }

.kanban-board {
    display: flex;
    gap: var(--kanban-gap);
    min-height: calc(100vh - var(--header-height) - 48px);
}

.kanban-column {
    flex-shrink: 0;
    width: var(--kanban-column-width);
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.kanban-column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4);
    border-bottom: 1px solid var(--color-border);
}

.column-header-left { display: flex; align-items: center; gap: var(--space-3); }
.column-indicator { width: 4px; height: 24px; border-radius: 2px; }
.column-indicator.backlog { background: var(--color-backlog); }
.column-indicator.todo { background: var(--color-todo); }
.column-indicator.in_progress { background: var(--color-progress); }
.column-indicator.review { background: var(--color-review); }
.column-indicator.done { background: var(--color-done); }

.column-title { font-size: var(--text-base); font-weight: 600; }

.column-count {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 var(--space-2);
    background: var(--color-surface-hover);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
}

.kanban-column-content {
    flex: 1;
    padding: var(--space-3);
    overflow-y: auto;
    min-height: 200px;
}

.kanban-column.drag-over { background: var(--color-surface-active); border-color: var(--color-primary); }
.kanban-column.drag-over .kanban-column-content {
    outline: 2px dashed var(--color-primary);
    outline-offset: -8px;
    border-radius: var(--radius-md);
}

/* ============================================
   TICKET CARDS
   ============================================ */
.ticket-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    margin-bottom: var(--space-3);
    cursor: grab;
    transition: all var(--transition-fast);
}

.ticket-card:hover {
    border-color: var(--color-border-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.ticket-card:active { cursor: grabbing; }
.ticket-card.dragging { opacity: 0.5; transform: rotate(3deg); }

.ticket-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: var(--space-3);
}

.ticket-number { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-text-muted); }

.priority-badge {
    font-size: var(--text-xs);
    font-weight: 500;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.priority-badge.low { background: rgba(107, 114, 128, 0.2); color: #9ca3af; }
.priority-badge.normal { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.priority-badge.high { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.priority-badge.urgent { background: rgba(239, 68, 68, 0.2); color: #f87171; }

.ticket-card .ticket-title {
    font-size: var(--text-sm);
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: var(--space-3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ticket-card-footer { display: flex; align-items: center; justify-content: space-between; }
.ticket-owner { display: flex; align-items: center; gap: var(--space-2); }

.avatar-small {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-primary), #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    color: white;
}

.owner-name { font-size: var(--text-xs); color: var(--color-text-secondary); }

.ticket-estimate {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

.ticket-estimate svg { width: 14px; height: 14px; }
.estimate-warning { color: var(--color-warning); }
.estimate-over { color: var(--color-error); }

/* ============================================
   MODALS
   ============================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: modalIn 0.2s ease;
}

.modal-content.modal-small { max-width: 400px; }
.modal-content.sprint-manager { max-width: 640px; }

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) var(--space-6);
    border-bottom: 1px solid var(--color-border);
}

.modal-header h2 { font-size: var(--text-lg); font-weight: 600; }
.modal-close { color: var(--color-text-secondary); }
.modal-close:hover { color: var(--color-text-primary); }

.modal-body { padding: var(--space-6); overflow-y: auto; max-height: calc(90vh - 140px); }

/* Ticket Detail */
.ticket-header-info { display: flex; align-items: center; gap: var(--space-3); }
.ticket-detail .ticket-number { font-size: var(--text-sm); color: var(--color-text-secondary); }
.ticket-detail .ticket-title { font-size: var(--text-xl); font-weight: 600; margin-bottom: var(--space-4); }

.ticket-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--color-surface);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-5);
}

.meta-item { display: flex; flex-direction: column; gap: var(--space-1); }
.meta-label { font-size: var(--text-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.meta-value { font-size: var(--text-sm); color: var(--color-text-secondary); }

.ticket-section { margin-bottom: var(--space-5); }
.ticket-section > label { display: block; font-size: var(--text-sm); font-weight: 500; color: var(--color-text-secondary); margin-bottom: var(--space-2); }

.owner-display {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--color-surface);
    border-radius: var(--radius-md);
}

.owner-display .btn { margin-left: auto; }

/* Estimate Section */
.estimate-section { padding: var(--space-4); background: var(--color-surface); border-radius: var(--radius-md); }
.estimate-inputs { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-3); }
.estimate-group { display: flex; flex-direction: column; gap: var(--space-1); }
.estimate-label { font-size: var(--text-xs); color: var(--color-text-muted); }

.estimate-diff { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: var(--space-2); font-size: var(--text-sm); font-weight: 500; }
.estimate-diff.positive { color: var(--color-success); }
.estimate-diff.negative { color: var(--color-error); }

.estimate-section .textarea-styled { margin-bottom: var(--space-3); }

/* Sprint Modal */
.sprint-form { padding-bottom: var(--space-6); }
.sprint-form h3 { font-size: var(--text-base); font-weight: 600; margin-bottom: var(--space-4); }
.divider { height: 1px; background: var(--color-border); margin: var(--space-6) 0; }
.sprint-list h3 { font-size: var(--text-base); font-weight: 600; margin-bottom: var(--space-4); }
.sprints-container { display: flex; flex-direction: column; gap: var(--space-3); }

.sprint-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.sprint-item:hover { border-color: var(--color-border-strong); }
.sprint-info { flex: 1; }
.sprint-name { font-weight: 500; margin-bottom: var(--space-1); }
.sprint-dates { font-size: var(--text-xs); color: var(--color-text-muted); }

.sprint-status { font-size: var(--text-xs); font-weight: 500; padding: 4px 10px; border-radius: var(--radius-full); margin-right: var(--space-3); }
.sprint-status.planned { background: rgba(107, 114, 128, 0.2); color: #9ca3af; }
.sprint-status.active { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.sprint-status.completed { background: rgba(99, 102, 241, 0.2); color: #818cf8; }

.sprint-actions { display: flex; gap: var(--space-2); }

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container { position: fixed; bottom: var(--space-6); right: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); z-index: 300; }

.toast {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.3s ease;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}

.toast.success { border-left: 3px solid var(--color-success); }
.toast.error { border-left: 3px solid var(--color-error); }
.toast.info { border-left: 3px solid var(--color-info); }

.toast-icon { width: 20px; height: 20px; }
.toast.success .toast-icon { color: var(--color-success); }
.toast.error .toast-icon { color: var(--color-error); }
.toast.info .toast-icon { color: var(--color-info); }

.toast-message { font-size: var(--text-sm); }
.toast-close { padding: var(--space-1); color: var(--color-text-muted); margin-left: var(--space-2); }
.toast-close:hover { color: var(--color-text-primary); }

/* Empty State */
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--space-8); text-align: center; color: var(--color-text-muted); }
.empty-state svg { width: 48px; height: 48px; margin-bottom: var(--space-4); opacity: 0.5; }
.empty-state p { font-size: var(--text-sm); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    :root { --kanban-column-width: 280px; --header-height: 56px; }
    .header { padding: 0 var(--space-4); }
    .header h1 { display: none; }
    .sprint-selector .select-styled { min-width: 140px; }
    .kanban-container { padding: var(--space-4); }
    .filter-panel { width: 100%; }
    .modal-content { margin: var(--space-4); max-height: calc(100vh - 32px); }
    .ticket-meta { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}