/* Core CSS Tokens & Variables */
:root {
  /* Fonts */
  --font-heading: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* HSL Colors - Dark Mode Default */
  --hue: 228;
  --bg-app: hsl(var(--hue), 25%, 8%);
  --bg-card: hsla(var(--hue), 20%, 12%, 0.6);
  --bg-card-hover: hsla(var(--hue), 20%, 16%, 0.85);
  --bg-sidebar: hsla(var(--hue), 24%, 6%, 0.4);
  --bg-header: hsla(var(--hue), 24%, 6%, 0.5);
  --border-glass: hsla(var(--hue), 15%, 25%, 0.25);
  --border-glass-glow: hsla(var(--hue), 100%, 75%, 0.25);
  
  --text-main: hsl(var(--hue), 15%, 92%);
  --text-muted: hsl(var(--hue), 12%, 60%);
  --text-disabled: hsl(var(--hue), 12%, 40%);
  
  --primary: hsl(250, 85%, 65%);
  --primary-glow: hsla(250, 85%, 65%, 0.3);
  --primary-hover: hsl(250, 90%, 70%);
  
  --accent-blue: hsl(210, 100%, 50%);
  --accent-blue-bg: hsla(210, 100%, 50%, 0.15);
  --accent-green: hsl(142, 70%, 45%);
  --accent-green-bg: hsla(142, 70%, 45%, 0.15);
  --accent-orange: hsl(30, 90%, 50%);
  --accent-orange-bg: hsla(30, 90%, 50%, 0.15);
  --accent-red: hsl(355, 80%, 55%);
  --accent-red-bg: hsla(355, 80%, 55%, 0.15);

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 20px 2px var(--primary-glow);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  
  --scrollbar-width: 8px;
}

/* Light Mode Overrides */
[data-theme="light"] {
  --bg-app: hsl(var(--hue), 20%, 96%);
  --bg-card: hsla(var(--hue), 30%, 100%, 0.7);
  --bg-card-hover: hsla(var(--hue), 30%, 100%, 0.95);
  --bg-sidebar: hsla(var(--hue), 20%, 92%, 0.4);
  --bg-header: hsla(var(--hue), 20%, 92%, 0.5);
  --border-glass: hsla(var(--hue), 20%, 80%, 0.5);
  --border-glass-glow: hsla(250, 85%, 65%, 0.15);
  
  --text-main: hsl(var(--hue), 30%, 15%);
  --text-muted: hsl(var(--hue), 15%, 45%);
  --text-disabled: hsl(var(--hue), 10%, 65%);
  
  --primary: hsl(250, 75%, 55%);
  --primary-glow: hsla(250, 75%, 55%, 0.15);
  --primary-hover: hsl(250, 80%, 48%);
  
  --accent-blue-bg: hsla(210, 100%, 50%, 0.1);
  --accent-green-bg: hsla(142, 70%, 45%, 0.1);
  --accent-orange-bg: hsla(30, 90%, 50%, 0.1);
  --accent-red-bg: hsla(355, 80%, 55%, 0.1);
}

/* Basic Reset & Base Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-app);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-normal);
}

/* Ambient glow bubbles in background */
.ambient-glow {
  position: fixed;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  transition: opacity var(--transition-normal);
}
.glow-1 {
  top: -20%;
  left: -10%;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}
.glow-2 {
  bottom: -20%;
  right: -10%;
  background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
}
[data-theme="light"] .ambient-glow {
  opacity: 0.06;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: var(--scrollbar-width);
  height: var(--scrollbar-width);
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--border-glass);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-disabled);
}

/* Helper Utilities */
.hidden { display: none !important; }
.relative { position: relative; }
.mr-2 { margin-right: 8px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.font-semibold { font-weight: 600; }
.text-sm { font-size: 0.85rem; }
.text-xs { font-size: 0.75rem; }
.text-muted { color: var(--text-muted); }
.text-underline { text-decoration: underline; }
.danger-text { color: var(--accent-red); }
.pointer { cursor: pointer; }
.bg-disabled { background-color: var(--text-disabled); opacity: 0.5; }
.block { display: block; }
.block-inline { display: inline-block; }
.flex { display: flex; }
.gap-2 { gap: 8px; }

/* Buttons & Controls */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  gap: 8px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, hsl(265, 80%, 60%) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, hsl(265, 85%, 65%) 100%);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--bg-card);
  border-color: var(--border-glass);
  color: var(--text-main);
}
.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-disabled);
}
.btn-sidebar-opt {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  width: 100%;
  justify-content: flex-start;
  padding: 8px 12px;
  font-weight: 500;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
}
.btn-sidebar-opt:hover {
  background: var(--bg-card);
  border-color: var(--text-disabled);
}
.btn-sidebar-opt.danger:hover {
  background: var(--accent-red-bg);
  border-color: var(--accent-red);
  color: var(--accent-red);
}
.btn-full { width: 100%; }
.btn-sm { padding: 6px 12px; font-size: 0.8rem; border-radius: var(--radius-sm); }
.text-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.text-btn:hover { color: var(--primary-hover); text-decoration: underline; }
.text-btn-small {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
}
.text-btn-small:hover { color: var(--primary); }

.icon-btn {
  background: transparent;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.icon-btn:hover {
  background: var(--bg-card);
  border-color: var(--text-disabled);
}
.icon-btn-small {
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.icon-btn-small:hover {
  background: var(--border-glass);
  color: var(--text-main);
}

/* Glassmorphism Panel base */
.glass-panel {
  background-color: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: border-color var(--transition-normal), background-color var(--transition-normal);
}
.border-glow:hover {
  border-color: var(--border-glass-glow);
}

/* Auth Screens */
.auth-wrapper {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsla(var(--hue), 25%, 5%, 0.85);
  backdrop-filter: blur(8px);
}
.auth-card {
  width: 100%;
  max-width: 440px;
  padding: 40px;
  animation: authPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes authPop {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.auth-header {
  text-align: center;
  margin-bottom: 30px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.logo-icon {
  color: var(--primary);
}
.logo-text {
  color: var(--text-main);
  letter-spacing: -0.5px;
}
.auth-header h2 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  margin-bottom: 6px;
}
.auth-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea,
.form-inline-wrap input {
  width: 100%;
  background: hsla(var(--hue), 20%, 6%, 0.3);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: all var(--transition-fast);
}
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .form-inline-wrap input {
  background: hsla(var(--hue), 20%, 96%, 0.6);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-inline-wrap input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-inline-wrap {
  display: flex;
  gap: 8px;
}
.form-inline-wrap input {
  flex: 1;
}

.auth-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 24px;
}
.checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 24px;
  cursor: pointer;
  user-select: none;
}
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 16px;
  width: 16px;
  background-color: var(--bg-app);
  border: 1px solid var(--border-glass);
  border-radius: 4px;
  transition: all var(--transition-fast);
}
.checkbox-container input:checked ~ .checkmark {
  background-color: var(--primary);
  border-color: var(--primary);
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}
.checkbox-container .checkmark:after {
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.forgot-link {
  color: var(--primary);
  text-decoration: none;
}
.forgot-link:hover {
  text-decoration: underline;
}
.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.auth-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}
.auth-footer a:hover {
  text-decoration: underline;
}

/* App Main Layout Structure */
.app-layout {
  display: flex;
  flex-direction: column;
  height: 100vh;
  z-index: 10;
  position: relative;
}

.app-header {
  height: 64px;
  border-radius: 0;
  border-top: none;
  border-left: none;
  border-right: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 100;
}
.header-left, .header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.divider {
  width: 1px;
  height: 24px;
  background-color: var(--border-glass);
}
.workspace-selector {
  position: relative;
}
.ws-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-body);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
}
.ws-btn:hover {
  background-color: var(--border-glass);
}
.chevron-icon {
  opacity: 0.7;
}

/* Header Dropdowns */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 240px;
  padding: 8px;
  z-index: 500;
  animation: dropdownFade 0.2s ease;
}
.dropdown-right {
  left: auto;
  right: 0;
}
@keyframes dropdownFade {
  0% { transform: translateY(4px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.dropdown-header {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 6px 10px;
  text-transform: uppercase;
}
.dropdown-list {
  max-height: 220px;
  overflow-y: auto;
}
.dropdown-item {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 8px 10px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dropdown-item:hover {
  background-color: var(--border-glass);
}
.dropdown-item.active {
  background-color: var(--primary-glow);
  color: var(--primary);
  font-weight: 600;
}
.dropdown-divider {
  height: 1px;
  background-color: var(--border-glass);
  margin: 6px 0;
}
.dropdown-action {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 8px 10px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dropdown-action:hover {
  background-color: var(--border-glass);
}
.dropdown-action.danger:hover {
  background-color: var(--accent-red-bg);
  color: var(--accent-red);
}

/* Global Search Input */
.search-bar {
  position: relative;
  width: 320px;
}
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.search-bar input {
  width: 100%;
  background: hsla(var(--hue), 20%, 6%, 0.3);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 8px 36px 8px 36px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: all var(--transition-fast);
}
[data-theme="light"] .search-bar input {
  background: hsla(var(--hue), 20%, 96%, 0.6);
}
.search-bar input:focus {
  border-color: var(--primary);
  width: 360px;
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
}
.search-clear:hover { color: var(--text-main); }

/* Badge Indicator notifications */
.badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--accent-red);
  color: #fff;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-app);
}

/* User Profile Image Top */
.avatar-small {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-glass);
}
.avatar-medium {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-glass);
}
.avatar-large {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  box-shadow: var(--shadow-glow);
}
.profile-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
}
.profile-info-summary {
  padding: 10px;
}

/* Body structure with sidebar and main content */
.app-body {
  display: flex;
  flex: 1;
  overflow: hidden;
  position: relative;
}

.app-sidebar {
  width: 240px;
  border-radius: 0;
  border-top: none;
  border-bottom: none;
  border-left: none;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 90;
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-item {
  width: 100%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.nav-item:hover {
  background-color: var(--border-glass);
  color: var(--text-main);
}
.nav-item.active {
  background-color: var(--primary-glow);
  color: var(--primary);
}
.nav-icon {
  opacity: 0.85;
}
.sidebar-divider {
  height: 1px;
  background-color: var(--border-glass);
}
.sidebar-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sidebar-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-disabled);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  padding: 0 10px;
}
.sidebar-boards-list {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-board-item {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 10px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-fast);
}
.sidebar-board-item:hover {
  background-color: var(--border-glass);
  color: var(--text-main);
}
.sidebar-board-item.active {
  color: var(--primary);
  background-color: var(--border-glass-glow);
  font-weight: 600;
}
.sidebar-board-item::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--text-disabled);
}
.sidebar-board-item.active::before {
  background-color: var(--primary);
}

/* Main Content Views Area */
.app-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  z-index: 10;
}

.content-view {
  animation: viewFadeIn 0.35s ease;
}
@keyframes viewFadeIn {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

.view-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 20px;
}
.view-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.view-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Dashboard View Styles */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.metric-card {
  padding: 20px;
}
.metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.metric-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}
.metric-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.metric-icon.accent-blue { color: var(--accent-blue); background-color: var(--accent-blue-bg); }
.metric-icon.accent-orange { color: var(--accent-orange); background-color: var(--accent-orange-bg); }
.metric-icon.accent-green { color: var(--accent-green); background-color: var(--accent-green-bg); }
.metric-icon.accent-red { color: var(--accent-red); background-color: var(--accent-red-bg); }

.metric-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.metric-trend {
  font-size: 0.75rem;
  font-weight: 500;
}

.dashboard-details {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 20px;
}
.chart-container, .activity-container {
  padding: 20px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.chart-header, .activity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.chart-header h3, .activity-header h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}
.chart-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svg-chart {
  width: 100%;
  max-width: 360px;
  height: 100%;
  max-height: 200px;
}
.chart-legend {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
  font-size: 0.75rem;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend-color {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

/* Activity stream logs in Dashboard */
.activity-timeline {
  flex: 1;
  overflow-y: auto;
  max-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.activity-log-item {
  display: flex;
  gap: 10px;
  font-size: 0.8rem;
  line-height: 1.4;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-glass);
}
.activity-log-item:last-child { border-bottom: none; }
.activity-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.activity-meta {
  display: flex;
  flex-direction: column;
}
.activity-time {
  font-size: 0.7rem;
  color: var(--text-disabled);
  margin-top: 2px;
}

/* Kanban Board View Styling */
.board-breadcrumbs {
  margin-bottom: 4px;
}
.board-actions {
  display: flex;
  gap: 8px;
}
.dropdown-trigger-relative {
  position: relative;
}

/* Kanban Columns & Scroll Setup */
.kanban-scroller {
  margin-top: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
  height: calc(100vh - 170px);
}
.kanban-grid {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
  width: max-content;
}

/* Column Styling */
.kanban-column {
  width: 280px;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 14px;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}
.kanban-column.drag-over {
  border-color: var(--primary);
  background-color: var(--primary-glow);
}
.column-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  cursor: grab;
}
.column-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.column-title-input {
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  outline: none;
  border-bottom: 1.5px solid transparent;
  width: 80%;
}
.column-title-input:focus {
  border-color: var(--primary);
}
.column-count {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--border-glass);
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.cards-container {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 2px;
  min-height: 100px;
}

/* Card item styling */
.kanban-card {
  background: var(--bg-app);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  cursor: grab;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}
.card-cover {
  width: 100%;
  height: 130px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-glass);
}
.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}
.kanban-card:hover .card-cover img {
  transform: scale(1.05);
}
.card-details-wrap {
  padding: 12px 14px 14px 14px;
}
.kanban-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-glass-glow);
  background-color: var(--bg-card-hover);
  box-shadow: var(--shadow-sm);
}
.kanban-card.dragging {
  opacity: 0.4;
  border: 2px dashed var(--primary);
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}
.card-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  color: #fff;
}
.card-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}

.card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.card-meta-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.meta-badge.overdue {
  color: var(--accent-red);
  background-color: var(--accent-red-bg);
  padding: 2px 6px;
  border-radius: 4px;
}
.meta-badge.completed-due {
  color: var(--accent-green);
  background-color: var(--accent-green-bg);
  padding: 2px 6px;
  border-radius: 4px;
}
.card-assignees {
  display: flex;
  flex-direction: row-reverse;
}
.card-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--bg-app);
  margin-left: -6px;
}

/* Inline Card and Column Addition controls */
.column-add-btn, .card-add-btn {
  width: 100%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: 1.5px dashed var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.column-add-btn:hover, .card-add-btn:hover {
  border-color: var(--primary);
  color: var(--text-main);
  background-color: var(--border-glass-glow);
}
.column-add-btn {
  width: 280px;
  height: 52px;
  flex-shrink: 0;
}

.card-composer, .column-composer {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 10px;
}
.card-composer textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  resize: none;
  font-family: var(--font-body);
  color: var(--text-main);
  font-size: 0.9rem;
}
.composer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 8px;
}

/* Filter panel block dropdown inside board */
.filter-panel {
  position: absolute;
  top: 76px;
  right: 24px;
  width: 320px;
  padding: 16px;
  z-index: 250;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: dropdownFade 0.2s ease;
}
.filter-group-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.filter-options-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filter-chip {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  border: 1px solid var(--border-glass);
  cursor: pointer;
  background-color: transparent;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}
.filter-chip:hover {
  border-color: var(--text-disabled);
  color: var(--text-main);
}
.filter-chip.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.filter-footer {
  text-align: right;
  border-top: 1px solid var(--border-glass);
  padding-top: 10px;
}

/* Calendar View Layout */
.calendar-grid-wrap {
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 170px);
}
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-glass);
}
.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(5, 1fr);
  flex: 1;
}
.calendar-day-cell {
  border-right: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}
.calendar-day-cell:nth-child(7n) { border-right: none; }
.calendar-day-cell.other-month { opacity: 0.3; }
.day-num {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  align-self: flex-end;
}
.calendar-day-cell.today .day-num {
  color: #fff;
  background-color: var(--primary);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}
.calendar-cell-cards {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.calendar-card-badge {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  max-width: 100%;
}
.calendar-card-badge:hover {
  border-color: var(--primary);
}

/* Reports view */
.reports-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.report-section {
  padding: 20px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.report-grid-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.table-responsive {
  width: 100%;
  overflow-x: auto;
}
.report-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}
.report-table th, .report-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-glass);
}
.report-table th {
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}
.report-table tr:hover td {
  background-color: hsla(var(--hue), 20%, 14%, 0.2);
}

/* Settings View Layout */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 24px;
}
.settings-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.settings-sec-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}
.profile-edit-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}
.avatar-edit-options {
  display: flex;
  flex-direction: column;
}
.workspace-members-management {
  display: flex;
  flex-direction: column;
}
.members-list-container {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.member-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  background: hsla(var(--hue), 20%, 8%, 0.2);
}
.member-details-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Modal Overlay Framework styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalOverlayFade 0.2s ease;
}
@keyframes modalOverlayFade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* Card details modal */
.modal-card-container {
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
  animation: modalSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalSlideUp {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.modal-close-btn:hover {
  background-color: var(--border-glass);
  color: var(--text-main);
}

.card-detail-layout {
  display: grid;
  grid-template-columns: 3fr 1.2fr;
  gap: 30px;
}
.card-detail-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.detail-header-wrap {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.detail-sec-icon {
  margin-top: 4px;
}
.detail-title-block {
  flex: 1;
}
.editable-title {
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-main);
  outline: none;
  width: 100%;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.editable-title:focus {
  border-color: var(--primary);
}

.detail-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-left: 36px;
}
.detail-badge-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.detail-badge-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}
.detail-badge-val-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.label-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  color: #fff;
}
.date-badge {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--border-glass);
}
.member-avatar-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-glass);
}

.detail-section {
  margin-left: 36px;
}
.detail-sec-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.detail-sec-header h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
}

.desc-display {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: hsla(var(--hue), 20%, 6%, 0.2);
  min-height: 60px;
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
}
.desc-display.placeholder {
  color: var(--text-disabled);
}
.desc-display:hover {
  background: hsla(var(--hue), 20%, 6%, 0.35);
}

/* Checklist components */
.checklist-container {
  margin-bottom: 20px;
}
.checklist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.checklist-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}
.checklist-progress-bar-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.progress-percent {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  width: 32px;
  text-align: right;
}
.progress-bar-bg {
  flex: 1;
  height: 6px;
  background: var(--border-glass);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: var(--accent-green);
  width: 0%;
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}
.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}
.checklist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.checklist-item:hover {
  background: hsla(var(--hue), 20%, 6%, 0.15);
}
.checklist-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.checklist-item-text {
  flex: 1;
}
.checklist-item.checked .checklist-item-text {
  text-decoration: line-through;
  color: var(--text-disabled);
}

.checklist-add-composer {
  margin-left: 26px;
}

/* Attachments list style */
.attachments-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}
.attachment-card {
  display: flex;
  gap: 12px;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 8px;
  background: hsla(var(--hue), 20%, 6%, 0.2);
}
.attachment-preview {
  width: 60px;
  height: 60px;
  background-color: var(--border-glass);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--text-muted);
  overflow: hidden;
  flex-shrink: 0;
}
.attachment-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.attachment-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
}
.attachment-name {
  font-weight: 600;
  font-size: 0.85rem;
  overflow: hidden;
  text-white-space: nowrap;
  text-overflow: ellipsis;
}
.attachment-meta-row {
  display: flex;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Comments layout inside modal */
.comment-input-box {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.comment-editor-wrap {
  flex: 1;
}
.comment-editor-wrap textarea {
  width: 100%;
  background: hsla(var(--hue), 20%, 6%, 0.2);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 10px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  min-height: 60px;
  resize: vertical;
}
.comment-editor-wrap textarea:focus {
  border-color: var(--primary);
}

.mention-textarea-container {
  position: relative;
}
.mentions-dropdown {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 0;
  width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 160px;
  overflow-y: auto;
  z-index: 600;
}
.mention-user-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: background-color var(--transition-fast);
}
.mention-user-row:hover, .mention-user-row.selected {
  background-color: var(--primary-glow);
}

.activity-feed-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}
.comment-item {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
}
.comment-bubble-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.comment-user-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.comment-bubble {
  background: hsla(var(--hue), 20%, 6%, 0.2);
  border: 1px solid var(--border-glass);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  line-height: 1.4;
  word-break: break-word;
}
.comment-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
  font-size: 0.75rem;
}
.mention-highlight {
  color: var(--primary);
  font-weight: 600;
  background-color: var(--primary-glow);
  padding: 0 4px;
  border-radius: 3px;
}

/* Modal sidebar options on card details */
.card-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sidebar-options-group {
  display: flex;
  flex-direction: column;
}
.sidebar-options-group .group-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: block;
}

/* Color picker grid for new Labels creation */
.color-picker-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin: 10px 0;
}
.color-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition-fast);
}
.color-dot.select {
  border-color: #fff;
}
.dropdown-pane-inner {
  padding: 10px;
}
.input-sm {
  padding: 6px 8px !important;
  font-size: 0.8rem !important;
}

/* Create Board/Workspace Dialogs */
.modal-dialog-container {
  width: 100%;
  max-width: 400px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalSlideUp 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-dialog-container h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
}
.modal-actions-row {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

/* Top bar notifications slidedown panel */
.notifications-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  padding: 12px;
  z-index: 500;
  max-height: 400px;
  overflow-y: auto;
  animation: dropdownFade 0.2s ease;
}
.notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 8px;
  margin-bottom: 8px;
}
.notif-header h3 {
  font-size: 0.95rem;
  font-family: var(--font-heading);
}
.notif-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.notif-item {
  padding: 8px 10px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  line-height: 1.4;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.notif-item:hover {
  background-color: var(--border-glass);
}
.notif-item.unread {
  background-color: var(--primary-glow);
  border-color: hsla(250, 85%, 65%, 0.2);
}
.notif-time {
  font-size: 0.7rem;
  color: var(--text-disabled);
  margin-top: 4px;
}

/* Profile updates & inputs */
.form-inline-wrap {
  display: flex;
  gap: 8px;
}

/* CSS Print Styles for PDF Export */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .app-header, .app-sidebar, .ambient-glow, .btn, .icon-btn, .text-btn, .sidebar-section, .modal-overlay, #modal-overlay {
    display: none !important;
  }
  .app-layout {
    display: block !important;
    height: auto !important;
  }
  .app-body {
    display: block !important;
  }
  .app-content {
    padding: 0 !important;
    overflow: visible !important;
  }
  .content-view {
    display: none !important;
  }
  #view-reports {
    display: block !important;
  }
  .report-table th, .report-table td {
    border-bottom: 1px solid #cccccc !important;
    color: #000000 !important;
  }
  .report-table tr:hover td {
    background-color: transparent !important;
  }
  .report-section {
    border: 1px solid #cccccc !important;
    border-radius: 0 !important;
    margin-bottom: 20px !important;
    page-break-inside: avoid !important;
  }
  .report-grid-half {
    display: block !important;
  }
}

/* Mobile Responsiveness Rules */
@media (max-width: 900px) {
  .app-sidebar {
    width: 60px;
    padding: 15px 5px;
  }
  .nav-item {
    padding: 10px;
    justify-content: center;
    gap: 0;
  }
  .nav-item .nav-icon {
    margin-right: 0;
  }
  .nav-item {
    font-size: 0; /* Hide text */
  }
  .sidebar-section, .sidebar-divider {
    display: none !important;
  }
  .dashboard-details {
    grid-template-columns: 1fr;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .report-grid-half {
    grid-template-columns: 1fr;
  }
  .search-bar {
    width: 200px;
  }
  .search-bar input:focus {
    width: 220px;
  }
  .btn-text {
    display: none;
  }
  .btn-icon-only-responsive {
    padding: 8px;
    border-radius: var(--radius-md);
  }
}

@media (max-width: 600px) {
  .app-header {
    flex-wrap: wrap;
    height: auto;
    padding: 10px;
    gap: 10px;
  }
  .header-left, .header-right, .header-center {
    width: 100%;
    justify-content: space-between;
  }
  .search-bar {
    width: 100%;
  }
  .search-bar input:focus {
    width: 100%;
  }
  .app-body {
    flex-direction: column-reverse;
  }
  .app-sidebar {
    width: 100%;
    height: 60px;
    flex-direction: row;
    justify-content: space-around;
    padding: 5px;
  }
  .sidebar-nav {
    flex-direction: row;
    width: 100%;
    justify-content: space-around;
  }
  .nav-item {
    height: 100%;
  }
  .kanban-scroller {
    height: calc(100vh - 230px);
  }
  .card-detail-layout {
    grid-template-columns: 1fr;
  }
  .modal-card-container {
    padding: 15px;
  }
}
