/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Professional, No Gradients */
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    
    --border-color: #e2e8f0;
    --border-color-hover: #cbd5e1;
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* App Container */
.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.app-header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-bottom: 3px solid #3b82f6;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header-left h1 {
    font-size: 20px;
    font-weight: 600;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-left h1 i {
    color: #3b82f6;
}

.header-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.header-group {
    display: flex;
    gap: 4px;
    align-items: center;
    position: relative;
    padding: 4px;
    border-radius: 10px;
    transition: var(--transition);
}

.header-group:hover {
    background: rgba(59, 130, 246, 0.1);
}

.btn-icon.group-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 10px;
    width: auto;
}

.group-chevron {
    font-size: 10px;
    transition: var(--transition);
    color: #64748b;
}

.header-group:hover .group-chevron {
    color: #93c5fd;
    transform: rotate(180deg);
}

.header-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #1e293b;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease-out;
    z-index: 1000;
    overflow: hidden;
}

.header-group:hover .header-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 12px 16px;
    color: #cbd5e1;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(148, 163, 184, 0.05);
}

.dropdown-item:first-child {
    border-radius: 12px 12px 0 0;
}

.dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.dropdown-item:hover {
    background: rgba(59, 130, 246, 0.15);
    color: #f1f5f9;
}

.dropdown-item i {
    width: 18px;
    text-align: center;
    color: #3b82f6;
    font-size: 14px;
}

.dropdown-item span {
    flex: 1;
}

.header-divider {
    width: 1px;
    height: 24px;
    background: rgba(148, 163, 184, 0.2);
    margin: 0 4px;
}

/* Buttons */
.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.05);
    color: #93c5fd;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 15px;
}

.btn-icon:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    color: #bfdbfe;
    transform: translateY(-2px);
}

.btn-icon:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 11px 22px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--border-color-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn-danger {
    background: var(--danger-color);
    color: white;
    border: none;
    padding: 11px 22px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-danger:active {
    transform: translateY(0);
}

/* Kanban Board */
.kanban-container {
    flex: 1;
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.kanban-column {
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 16px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.column-header h2 {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.column-header h2 i {
    font-size: 10px;
}

.card-count {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.cards-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
    min-height: 150px;
    padding: 8px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative;
}

.cards-container.drag-over {
    background: rgba(37, 99, 235, 0.08);
    border: 2px dashed #3b82f6;
    box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.15);
}

.cards-container.drag-over::before {
    content: 'Buraya Bırak';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #3b82f6;
    font-size: 16px;
    font-weight: 600;
    opacity: 0.5;
    pointer-events: none;
}

.cards-container:empty.drag-over::before {
    opacity: 1;
}

/* Kanban Card Refactored */
.kanban-card {
    background: var(--bg-card);
    border: 1px solid #e2e8f0; /* Daha belirgin kenarlık */
    border-radius: 16px;
    padding: 20px;
    cursor: grab;
    transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* Daha güçlü gölge */
    position: relative;
    user-select: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kanban-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: var(--primary-color); /* Hover'da daha belirgin renk */
}

.kanban-card:active {
    cursor: grabbing;
    transform: scale(0.99);
}

.kanban-card.dragging {
    opacity: 0.5;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: rotate(2deg) scale(1.02);
    z-index: 100;
}

/* Kart Header */
.card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.card-title {
    font-size: 16px; /* Başlık boyutunu artırdım */
    font-weight: 700; /* Kalınlığı artırdım */
    color: #1e293b; /* Daha koyu, yüksek kontrastlı renk */
    line-height: 1.4;
    flex: 1;
}

/* Priority Indicator (Badge Style) */
.card-priority {
    display: none; /* Eski nokta stilini gizle */
}

/* Priority Border Refined */
.priority-border-low {
    border-left: 4px solid var(--success-color) !important;
}

.priority-border-medium {
    border-left: 4px solid var(--warning-color) !important;
}

.priority-border-high {
    border-left: 4px solid var(--danger-color) !important;
}

.card-description {
    font-size: 14px; /* Açıklama metnini büyüttüm */
    color: #475569; /* Daha koyu gri */
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Daha fazla satır gösterimi */
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* Tags Refined */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
}

.card-tag {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Dates Refined */
.card-dates {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 4px 0;
}

.card-date-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    background: var(--bg-tertiary);
    padding: 4px 8px;
    border-radius: 6px;
}

.card-date-item.overdue {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.card-date-item i {
    font-size: 12px;
    opacity: 0.8;
}

/* Progress Bar Refined */
.card-progress {
    margin: 0;
    padding: 0;
}

.card-progress-bar {
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 6px;
}

.card-progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.card-progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Footer Refined */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
}

body.dark-mode .card-footer {
    border-top-color: rgba(51, 65, 85, 0.6);
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.card-meta-item:hover {
    color: var(--text-primary);
}

.card-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #4f46e5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    border: 2px solid var(--bg-card);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtask-badge {
    background: var(--bg-tertiary);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
}

.subtask-badge.completed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

/* Add Card Button */
.add-card-btn {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.add-card-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease-out;
}

.modal-small .modal-content {
    max-width: 450px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.card-title-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    outline: none;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-title-input:focus {
    border-bottom-color: var(--primary-color);
}

.card-title-input::placeholder {
    color: var(--text-muted);
    font-weight: 500;
}

.modal-body {
    padding: 24px;
}

.modal-section {
    margin-bottom: 24px;
}

.modal-section:last-child {
    margin-bottom: 0;
}

.modal-section label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.modal-section label i {
    color: var(--text-secondary);
    font-size: 13px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.modal-section textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-primary);
    resize: vertical;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.modal-section textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.modal-section textarea:hover:not(:focus) {
    border-color: var(--border-color-hover);
}

.modal-section textarea::placeholder {
    color: var(--text-muted);
}

.modal-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.modal-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.modal-field label i {
    color: var(--text-secondary);
    font-size: 12px;
}

.modal-field select,
.modal-field input[type="date"],
.modal-field input[type="datetime-local"],
.modal-field input[type="text"],
.modal-field input[type="number"] {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.modal-field select:focus,
.modal-field input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.modal-field select:hover:not(:focus),
.modal-field input:hover:not(:focus) {
    border-color: var(--border-color-hover);
}

/* Reminder Controls */
.reminder-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.reminder-controls input {
    flex: 1;
}

.reminders-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reminder-item {
    background: var(--bg-tertiary);
    padding: 12px 14px;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    transition: var(--transition);
}

.reminder-item:hover {
    border-color: var(--border-color);
    background: var(--bg-secondary);
}

.reminder-item-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.reminder-item-left i {
    color: var(--warning-color);
}

.remove-reminder {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.remove-reminder:hover {
    background: var(--bg-secondary);
    color: var(--danger-color);
}

/* Subtasks */
.subtask-progress {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.subtask-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.subtask-input-group input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.subtask-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.subtask-input-group input:hover:not(:focus) {
    border-color: var(--border-color-hover);
}

.subtasks-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.subtask-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    transition: var(--transition);
}

.subtask-item:hover {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

.subtask-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.subtask-item label {
    flex: 1;
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    margin: 0;
}

.subtask-item.completed label {
    text-decoration: line-through;
    color: var(--text-secondary);
}

.remove-subtask {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.remove-subtask:hover {
    background: var(--bg-tertiary);
    color: var(--danger-color);
}

/* Tags */
.tag-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.tag-input-group input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.tag-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.tag-input-group input:hover:not(:focus) {
    border-color: var(--border-color-hover);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.tag-item:hover {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

.remove-tag {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.remove-tag:hover {
    background: var(--danger-color);
    color: white;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Info Text */
.info-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    margin-top: 12px;
}

.info-text i {
    color: var(--primary-color);
    margin-top: 2px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .kanban-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .kanban-column:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .app-header {
        padding: 12px 16px;
    }
    
    .header-left h1 {
        font-size: 18px;
    }
    
    .kanban-container {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 16px;
    }
    
    .kanban-column {
        min-height: auto;
    }
    
    .modal-row {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        max-height: 100vh;
        border-radius: 0;
    }
    
    .modal {
        padding: 0;
    }
    
    .reminder-controls {
        flex-direction: column;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color-hover);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Header Center - Search Bar */
.header-center {
    flex: 1;
    max-width: 600px;
    margin: 0 20px;
}

.search-bar {
    position: relative;
    width: 100%;
}

.search-bar i.fa-search {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 14px;
    pointer-events: none;
}

.search-bar input {
    width: 100%;
    padding: 11px 40px 11px 40px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.search-bar input:hover:not(:focus) {
    border-color: var(--border-color-hover);
}

.search-bar .clear-search {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.search-bar .clear-search:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* Filter Panel */
.filter-panel {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.filter-panel.active {
    max-height: 300px;
}

.filter-content {
    padding: 20px 24px;
    display: flex;
    gap: 24px;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
}

.filter-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.filter-options {
    display: flex;
    gap: 12px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 400;
    margin: 0;
}

.filter-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.filter-group select {
    width: 100%;
    padding: 9px 14px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.filter-group select:hover:not(:focus) {
    border-color: var(--border-color-hover);
}

/* Dashboard Panel */
.dashboard-panel {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: var(--bg-primary);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-out;
    z-index: 999;
    overflow-y: auto;
}

.dashboard-panel.active {
    right: 0;
}

.dashboard-content {
    padding: 24px;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.dashboard-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-secondary);
    padding: 18px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 14px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-info {
    flex: 1;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.dashboard-charts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chart-card {
    background: var(--bg-secondary);
    padding: 22px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.chart-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-sm);
}

.chart-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.chart-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chart-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chart-bar-label {
    width: 100px;
    font-size: 13px;
    color: var(--text-secondary);
}

.chart-bar-track {
    flex: 1;
    height: 24px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.chart-bar-fill {
    height: 100%;
    border-radius: 12px;
    transition: width 0.5s ease-out;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
}

.chart-bar-value {
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.priority-distribution {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.priority-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.priority-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-primary);
}

.priority-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.priority-count {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
}

.toast {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    animation: slideInRight 0.3s ease-out;
    min-width: 300px;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.removing {
    animation: slideOutRight 0.3s ease-out forwards;
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.toast.error .toast-icon {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.toast.info .toast-icon {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.toast.warning .toast-icon {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.toast-message {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    flex-shrink: 0;
}

.toast-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* Keyboard Shortcuts */
.shortcuts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shortcut-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    transition: var(--transition);
}

.shortcut-item:hover {
    border-color: var(--border-color);
    background: var(--bg-secondary);
}

.shortcut-keys {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.shortcut-keys kbd {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    padding: 5px 10px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: 0 3px 0 var(--border-color);
}

.shortcut-desc {
    font-size: 14px;
    color: var(--text-primary);
}

/* Loading States */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    text-align: center;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-spinner p {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Empty States */
.empty-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
}

.empty-state.active {
    display: flex;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.empty-state p {
    font-size: 14px;
    font-weight: 500;
}

/* Card Animations */
.kanban-card {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Highlight animation for filtered cards */
.kanban-card.highlight {
    animation: highlight 0.6s ease-out;
}

/* Dark Mode */
body.dark-mode {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    
    --bg-primary: #1e293b;
    --bg-secondary: #0f172a;
    --bg-tertiary: #334155;
    --bg-card: #1e293b;
    
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --border-color: #334155;
    --border-color-hover: #475569;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

/* Color Labels */
.color-labels {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.color-label-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    border: 3px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.color-label-btn[data-color="red"] {
    background: #ef4444;
}

.color-label-btn[data-color="orange"] {
    background: #f97316;
}

.color-label-btn[data-color="yellow"] {
    background: #eab308;
}

.color-label-btn[data-color="green"] {
    background: #10b981;
}

.color-label-btn[data-color="blue"] {
    background: #3b82f6;
}

.color-label-btn[data-color="purple"] {
    background: #a855f7;
}

.color-label-btn[data-color="none"] {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-label-btn:hover {
    transform: scale(1.15);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.color-label-btn.active {
    border-color: var(--primary-color);
    border-width: 4px;
    box-shadow: var(--shadow-lg);
}

.color-label-btn.active::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

.kanban-card.has-color-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.kanban-card.color-red::before { background: #ef4444; }
.kanban-card.color-orange::before { background: #f97316; }
.kanban-card.color-yellow::before { background: #eab308; }
.kanban-card.color-green::before { background: #10b981; }
.kanban-card.color-blue::before { background: #3b82f6; }
.kanban-card.color-purple::before { background: #a855f7; }

/* Comments */
.comment-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.comment-input-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-primary);
    resize: vertical;
    min-height: 60px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.comment-input-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.comment-input-group textarea:hover:not(:focus) {
    border-color: var(--border-color-hover);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 300px;
    overflow-y: auto;
}

.comment-item {
    background: var(--bg-tertiary);
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.comment-item:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-sm);
}

.comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.comment-author {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.comment-time {
    font-size: 12px;
    color: var(--text-secondary);
}

.comment-text {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.5;
    white-space: pre-wrap;
}

.comment-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.comment-action-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.comment-action-btn:hover {
    background: var(--bg-secondary);
    color: var(--danger-color);
}

/* Time Tracking */
.time-tracking {
    background: var(--bg-tertiary);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.time-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.time-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
}

.time-total {
    font-size: 13px;
    color: var(--text-secondary);
}

.time-controls {
    display: flex;
    gap: 8px;
}

.time-controls .btn-secondary {
    flex: 1;
}

/* Archive Modal */
.archived-cards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 500px;
    overflow-y: auto;
}

.archived-card-item {
    background: var(--bg-tertiary);
    padding: 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.archived-card-item:hover {
    background: var(--bg-secondary);
}

.archived-card-info {
    flex: 1;
}

.archived-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.archived-card-meta {
    font-size: 12px;
    color: var(--text-secondary);
}

.archived-card-actions {
    display: flex;
    gap: 8px;
}

/* Export/Import Modal */
.export-section,
.import-section {
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.export-section:last-child,
.import-section:last-child {
    margin-bottom: 0;
}

.export-section h4,
.import-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.export-section p,
.import-section p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.export-section button,
.import-section button {
    width: 100%;
}

/* Context Menu */
.context-menu {
    position: fixed;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    min-width: 180px;
    z-index: 10001;
    display: none;
}

.context-menu.active {
    display: block;
}

.context-menu-item {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.context-menu-item:hover {
    background: var(--bg-tertiary);
}

.context-menu-item i {
    width: 16px;
    text-align: center;
    color: var(--text-secondary);
}

.context-menu-item-danger {
    color: var(--danger-color);
}

.context-menu-item-danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

.context-menu-divider {
    height: 1px;
    background: var(--border-color);
    margin: 4px 0;
}

/* Modal Footer Left */
.modal-footer-left {
    display: flex;
    gap: 8px;
}

/* Sort Controls */
.column-header-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-dropdown {
    position: relative;
}

.sort-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 4px 8px;
    font-size: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.sort-btn:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.sort-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 6px;
    min-width: 160px;
    z-index: 100;
    display: none;
}

.sort-menu.active {
    display: block;
}

.sort-menu-item {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-menu-item:hover {
    background: var(--bg-tertiary);
}

.sort-menu-item.active {
    background: var(--bg-tertiary);
    color: var(--primary-color);
}

.sort-menu-item i {
    width: 14px;
    text-align: center;
}

@keyframes highlight {
    0%, 100% {
        box-shadow: var(--shadow-sm);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
    }
}

/* Hide cards that don't match filter */
.kanban-card.filtered-out {
    display: none;
}

/* Responsive Updates for New Features */
@media (max-width: 768px) {
    .header-center {
        display: none;
    }
    
    .dashboard-panel {
        width: 100%;
        right: -100%;
    }
    
    .filter-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-panel.active {
        max-height: 500px;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .toast-container {
        right: 12px;
        left: 12px;
        max-width: none;
    }
    
    .toast {
        min-width: auto;
    }
}

/* Bulk Actions Bar */
.bulk-actions-bar {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 24px;
    display: none;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

.bulk-actions-bar.active {
    display: flex;
}

.bulk-info {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.bulk-info span {
    color: var(--primary-color);
}

.bulk-actions {
    display: flex;
    gap: 8px;
}

.bulk-actions .btn-secondary,
.bulk-actions .btn-danger {
    padding: 8px 16px;
    font-size: 13px;
}

/* Card Selection Mode */
.kanban-card.selectable {
    cursor: pointer;
    position: relative;
}

.kanban-card.selectable::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-primary);
    transition: var(--transition);
}

.kanban-card.selected::before {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.kanban-card.selected::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 11px;
    left: 12px;
    color: white;
    font-size: 12px;
}

.kanban-card.selected {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* Story Points */
.story-points-selector {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.story-point-btn {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    border: 3px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.story-point-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.story-point-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-lg);
}

.story-points-badge {
    background: var(--primary-color);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

/* Dependencies */
.dependencies-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.dependencies-controls select {
    flex: 1;
}

.dependencies-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dependency-item {
    background: var(--bg-tertiary);
    padding: 10px 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dependency-card-title {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.remove-dependency {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.remove-dependency:hover {
    background: var(--bg-secondary);
    color: var(--danger-color);
}

/* Recurring Task */
.recurring-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.recurring-controls select {
    flex: 1;
}

.recurring-info {
    background: var(--bg-tertiary);
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-secondary);
    display: none;
}

.recurring-info.active {
    display: block;
}

.recurring-badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Activity Log */
.activity-log-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
}

.activity-log-item {
    background: var(--bg-tertiary);
    padding: 10px 12px;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary-color);
    font-size: 13px;
    color: var(--text-secondary);
}

.activity-log-time {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Templates */
.templates-header {
    margin-bottom: 16px;
}

.templates-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.template-item {
    background: var(--bg-tertiary);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.template-item:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
}

.template-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.template-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.template-actions {
    display: flex;
    gap: 8px;
}

.template-actions .btn-secondary {
    flex: 1;
    padding: 6px 12px;
    font-size: 12px;
}

/* Calendar View */
.modal-large .modal-content {
    max-width: 900px;
}

.calendar-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.calendar-controls h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 150px;
    text-align: center;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day-header {
    padding: 12px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
}

.calendar-day {
    min-height: 100px;
    padding: 8px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.calendar-day:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
}

.calendar-day.other-month {
    opacity: 0.3;
}

.calendar-day.today {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.calendar-day-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.calendar-day-cards {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.calendar-mini-card {
    background: var(--primary-color);
    color: white;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calendar-mini-card.priority-high {
    background: var(--danger-color);
}

.calendar-mini-card.priority-low {
    background: var(--success-color);
}

/* Sprint Management */
.sprint-header {
    margin-bottom: 20px;
}

.current-sprint {
    background: var(--bg-tertiary);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 2px solid var(--primary-color);
    margin-bottom: 20px;
}

.sprint-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.sprint-dates {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.sprint-progress {
    margin-bottom: 12px;
}

.sprint-progress-bar {
    height: 24px;
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.sprint-progress-fill {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.5s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

.sprint-stats {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-secondary);
}

.sprint-stat {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sprint-stat strong {
    color: var(--text-primary);
}

.sprints-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sprint-item {
    background: var(--bg-tertiary);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.sprint-item:hover {
    background: var(--bg-secondary);
    border-color: var(--border-color-hover);
}

.sprint-item.completed {
    opacity: 0.7;
}

.sprint-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.sprint-status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.sprint-status-badge.active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.sprint-status-badge.completed {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.sprint-status-badge.planned {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

/* Responsive Updates */
@media (max-width: 768px) {
    .bulk-actions-bar {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .bulk-actions {
        flex-wrap: wrap;
    }
    
    .story-points-selector {
        justify-content: center;
    }
    
    .calendar-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 4px;
    }
    
    .calendar-day {
        min-height: 80px;
        padding: 4px;
    }
    
    .calendar-day-number {
        font-size: 12px;
    }
    
    .templates-list {
        grid-template-columns: 1fr;
    }
}

/* NEW FEATURES STYLES */

/* Pomodoro Timer Overlay */
.pomodoro-overlay {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: none;
}

.pomodoro-overlay.active {
    display: block;
}

.pomodoro-panel {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-xl);
    width: 320px;
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.pomodoro-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.pomodoro-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pomodoro-display {
    text-align: center;
    margin-bottom: 20px;
}

.pomodoro-time {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    margin-bottom: 8px;
}

.pomodoro-phase {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.pomodoro-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.pomodoro-controls .btn-primary,
.pomodoro-controls .btn-secondary {
    flex: 1;
    padding: 10px 16px;
    font-size: 13px;
}

.pomodoro-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
}

.pomodoro-stat {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.pomodoro-stat i {
    color: var(--warning-color);
}

.pomodoro-stat strong {
    color: var(--text-primary);
    font-size: 16px;
}

.pomodoro-settings h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.pomodoro-setting {
    margin-bottom: 12px;
}

.pomodoro-setting:last-child {
    margin-bottom: 0;
}

.pomodoro-setting label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.pomodoro-setting input {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-primary);
}

/* Attachments */
.attachment-controls {
    margin-bottom: 12px;
}

.attachments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.attachment-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.attachment-item:hover {
    background: var(--bg-secondary);
    border-color: var(--border-color-hover);
}

.attachment-thumbnail {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.attachment-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-secondary);
}

.attachment-info {
    flex: 1;
}

.attachment-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.attachment-size {
    font-size: 12px;
    color: var(--text-secondary);
}

.attachment-actions {
    display: flex;
    gap: 4px;
}

/* Custom Fields */
.custom-fields-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-field {
    display: flex;
    flex-direction: column;
}

.custom-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.custom-field input,
.custom-field select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: var(--transition);
}

.custom-field input:focus,
.custom-field select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.custom-fields-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-field-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.custom-field-item:hover {
    background: var(--bg-secondary);
    border-color: var(--border-color-hover);
}

.custom-field-info {
    flex: 1;
}

.custom-field-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.custom-field-type {
    font-size: 12px;
    color: var(--text-secondary);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 400 !important;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

/* Automation Rules */
.automation-rules-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.automation-rule-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.automation-rule-item:hover {
    background: var(--bg-secondary);
    border-color: var(--border-color-hover);
}

.automation-rule-info {
    flex: 1;
}

.automation-rule-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.automation-rule-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

.automation-rule-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.toggle-switch input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: var(--transition);
    border-radius: 13px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

/* WIP Limits */
.wip-limits-config {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.wip-limit-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.wip-limit-item label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.wip-limit-item input {
    width: 100px;
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    text-align: center;
}

.kanban-column.wip-limit-exceeded {
    border: 2px solid var(--danger-color);
    background: rgba(239, 68, 68, 0.05);
}

.kanban-column.wip-limit-exceeded .column-header {
    border-bottom-color: var(--danger-color);
}

.kanban-column.wip-limit-exceeded .card-count {
    background: var(--danger-color);
    color: white;
}

/* Gantt Chart */
.modal-fullscreen .modal-content {
    max-width: 95vw;
    max-height: 95vh;
}

.gantt-chart {
    min-height: 500px;
    overflow-x: auto;
}

.gantt-container {
    min-width: 800px;
}

.gantt-timeline {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 16px;
    padding-bottom: 8px;
}

.gantt-day {
    min-width: 100px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 8px;
}

.gantt-tasks {
    position: relative;
}

.gantt-task {
    position: absolute;
    margin-bottom: 8px;
}

.gantt-task-bar {
    height: 32px;
    border-radius: var(--radius-sm);
    padding: 0 12px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.gantt-task-bar.priority-high {
    background: var(--danger-color);
    color: white;
}

.gantt-task-bar.priority-medium {
    background: var(--warning-color);
    color: white;
}

.gantt-task-bar.priority-low {
    background: var(--success-color);
    color: white;
}

.gantt-task-title {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Advanced Statistics */
.stats-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.stats-tab {
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.stats-tab:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.stats-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.stats-content {
    position: relative;
}

.stat-panel {
    display: none;
}

.stat-panel.active {
    display: block;
}

.cycle-time-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.metric-card {
    background: var(--bg-tertiary);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: center;
}

.metric-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.metric-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.chart-placeholder {
    padding: 60px 20px;
    text-align: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 14px;
}

/* Card Preview Tooltip */
.card-preview-tooltip {
    position: fixed;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-xl);
    z-index: 10002;
    max-width: 350px;
    display: none;
    pointer-events: none;
}

.preview-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.preview-header h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.preview-status {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.preview-body p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.preview-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.preview-meta-item {
    font-size: 12px;
    color: var(--text-secondary);
}

.preview-progress {
    font-size: 12px;
    color: var(--text-secondary);
}

.preview-progress-bar {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

.preview-progress-fill {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

/* Export Board Modal */
.export-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.export-option-btn {
    padding: 40px 20px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.export-option-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.export-option-btn i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: block;
}

.export-option-btn span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
}

/* Notification Banner */
.notification-banner {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-primary);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    box-shadow: var(--shadow-xl);
    z-index: 998;
    display: flex;
    align-items: center;
    gap: 20px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.notification-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-primary);
}

.notification-banner-content i {
    font-size: 20px;
    color: var(--primary-color);
}

.notification-banner-actions {
    display: flex;
    gap: 8px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* Automation Header */
.automation-header {
    margin-bottom: 20px;
}

/* Active Work Banner */
.active-work-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-bottom: 3px solid #3b82f6;
    border-left: 5px solid #3b82f6;
    padding: 24px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
}

.active-work-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #3b82f6, #2563eb);
}

.active-work-content {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.active-work-icon {
    width: 48px;
    height: 48px;
    background: #3b82f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    flex-shrink: 0;
}

.active-work-info {
    flex: 1;
}

.active-work-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #94a3b8;
    margin-bottom: 8px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.active-work-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #475569, transparent);
}

.active-work-title {
    font-size: 22px;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 12px;
    line-height: 1.4;
}

.active-work-description {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 16px;
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.active-work-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.active-work-meta span {
    font-size: 13px;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(59, 130, 246, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.active-work-meta span i {
    font-size: 12px;
    color: #3b82f6;
}

.active-work-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.active-work-detail-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.active-work-detail-label {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.active-work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.active-work-tag {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.active-work-subtasks {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.active-work-subtask {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #cbd5e1;
}

.active-work-subtask.completed {
    color: #64748b;
    text-decoration: line-through;
}

.active-work-subtask i {
    font-size: 11px;
    color: #3b82f6;
}

.active-work-subtask.completed i {
    color: #10b981;
}

.active-work-actions {
    display: flex;
    gap: 8px;
}

.active-work-actions .btn-secondary {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

.active-work-actions .btn-secondary:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    color: #bfdbfe;
}

.active-work-progress {
    position: relative;
    z-index: 1;
}

.active-work-progress-bar {
    height: 6px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.active-work-progress-fill {
    height: 100%;
    background: #3b82f6;
    border-radius: 3px;
    transition: width 0.5s ease-out;
}

.active-work-progress-text {
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
}

/* Active Work Card Highlight */
.kanban-card.active-work {
    border: 2px solid #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2), 0 8px 24px rgba(59, 130, 246, 0.15);
    background: #eff6ff; /* Hafif mavi arka plan */
}

.kanban-card.active-work::after {
    content: 'AKTİF İŞ';
    position: absolute;
    top: -10px; /* Kartın üstüne çıkardım */
    right: 20px;
    background: #3b82f6;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.4);
    z-index: 10;
}

/* Responsive Updates for New Features */
@media (max-width: 768px) {
    .pomodoro-panel {
        width: calc(100vw - 40px);
        right: 20px;
        left: 20px;
    }
    
    .export-options {
        grid-template-columns: 1fr;
    }
    
    .cycle-time-metrics {
        grid-template-columns: 1fr;
    }
    
    .notification-banner {
        left: 20px;
        right: 20px;
        transform: none;
        flex-direction: column;
        align-items: stretch;
    }
    
    .notification-banner-actions {
        width: 100%;
    }
    
    .notification-banner-actions button {
        flex: 1;
    }
    
    .active-work-banner {
        padding: 16px;
    }
    
    .active-work-content {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .active-work-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
        align-self: center;
    }
    
    .active-work-info {
        text-align: center;
    }
    
    .active-work-meta {
        justify-content: center;
    }
    
    .active-work-actions {
        justify-content: center;
    }
    
    .active-work-title {
        font-size: 18px;
    }
}