.container { display: flex; gap: 16px; min-height: calc(100vh - 200px); padding: 8px 32px 32px; overflow-x: auto; /* Enable horizontal scrolling */ scroll-behavior: smooth; width: 100%; } .column { flex: 0 0 280px; /* Fixed width columns for stability */ min-width: 280px; display: flex; flex-direction: column; background: var(--bg-hover); border-radius: var(--radius-lg); padding: 8px; /* Reduced from 12px */ min-height: 480px; border: 1px solid var(--border-subtle); transition: flex 0.3s ease; } .columnHeader { padding: 8px 8px 16px 8px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-subtle); margin-bottom: 16px; } .headerTitleGroup { display: flex; align-items: center; gap: 12px; } .columnIcon { font-size: 16px; } .columnTitle { font-size: 12px; font-weight: 800; color: var(--text-main); text-transform: uppercase; letter-spacing: 0.1em; } .count { font-size: 10px; font-weight: 800; color: var(--text-muted); background: white; padding: 2px 8px; border-radius: var(--radius-sm); border: 1px solid var(--border-subtle); } .columnContent { flex: 1; display: flex; flex-direction: column; gap: 12px; /* Reduced from 16px */ overflow-y: auto; padding: 2px; } .card { background: var(--bg-card); padding: 10px 12px; /* Reduced from 12px */ border-radius: var(--radius-md); border: 1px solid var(--border-subtle); position: relative; overflow: hidden; cursor: pointer; transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); flex-shrink: 0; /* CRITICAL: Prevent squashing when list is long */ min-height: min-content; } .card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 8px 16px rgba(30, 64, 175, 0.1); } .cardGlow { position: absolute; top: 0; left: 0; bottom: 0; width: 4px; } .cardHeader { display: flex; justify-content: space-between; margin-bottom: 6px; /* Reduced from 12px */ align-items: center; } .headerLeft { display: flex; align-items: center; gap: 8px; } .priorityBadge { font-size: 9px; font-weight: 800; padding: 1px 5px; /* Compact */ border-radius: 4px; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; } .id { font-size: 9px; font-weight: 800; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; background: var(--bg-hover); padding: 2px 6px; border-radius: 4px; } .aiBadge { font-size: 9px; font-weight: 800; color: var(--primary); background: rgba(30, 64, 175, 0.08); padding: 2px 6px; border-radius: 4px; } .title { font-size: 13px; /* Reduced from 14px */ font-weight: 700; color: var(--text-main); line-height: 1.4; margin-bottom: 8px; /* Reduced from 20px */ display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .cardFooter { display: flex; justify-content: space-between; align-items: center; } .customerInfo { display: flex; align-items: center; gap: 8px; } .sentiment { font-size: 12px; } .customerName { font-size: 12px; color: var(--text-muted); font-weight: 600; } .assignee { display: flex; align-items: center; } .avatar { width: 28px; height: 28px; border-radius: 8px; background: var(--bg-hover); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; border: 1px solid var(--border-subtle); } .emptyCol { padding: 40px 16px; text-align: center; font-size: 11px; color: var(--text-muted); font-style: italic; border: 1px dashed var(--border-subtle); border-radius: var(--radius-md); opacity: 0.8; } /* Custom Scrollbar Styles for the Board Container */ .container::-webkit-scrollbar { height: 10px; } .container::-webkit-scrollbar-track { background: var(--bg-hover); border-radius: 10px; } .container::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 10px; border: 2px solid var(--bg-hover); } .container::-webkit-scrollbar-thumb:hover { background: var(--primary); } .columnContent::-webkit-scrollbar { width: 4px; } .columnContent::-webkit-scrollbar-track { background: transparent; } .columnContent::-webkit-scrollbar-thumb { background: var(--border-subtle); border-radius: 10px; } /* Skeleton Loading */ .skeletonCard { background: var(--bg-card); padding: 10px 12px; border-radius: var(--radius-md); border: 1px solid var(--border-subtle); display: flex; flex-direction: column; gap: 12px; height: 100px; position: relative; overflow: hidden; } .skeletonPulse { background: linear-gradient( 90deg, var(--bg-hover) 25%, var(--border-subtle) 50%, var(--bg-hover) 75% ); background-size: 200% 100%; animation: pulse 1.5s infinite; border-radius: 4px; } .skeletonId { width: 60px; height: 12px; } .skeletonTitle { width: 90%; height: 20px; } .skeletonFooter { width: 100%; height: 16px; margin-top: auto; } @keyframes pulse { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }