/*
Theme Name: Mobilainer Board
Theme URI: https://floralwhite-deer-627707.hostingersite.com
Author: Ponos Team
Author URI: https://floralwhite-deer-627707.hostingersite.com
Description: World-class Task Management and CRM platform with glass-morphism design
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: ponos-board
*/

/* ============================================================
   CSS VARIABLES — SKINS
   ============================================================ */
:root {
  --font-main: 'Inter', sans-serif;
  --font-display: 'Poppins', sans-serif;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow: 0 8px 32px rgba(0,0,0,0.18);
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.10);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --glass-border: 1px solid rgba(255,255,255,0.18);
  --glass-blur: blur(18px);
}

[data-skin="bright"], :root {
  --bg-primary: #0A1128;
  --bg-secondary: #131C33;
  --bg-card: rgba(255,255,255,0.06);
  --bg-modal: rgba(10,17,40,0.92);
  --bg-sidebar: rgba(255,255,255,0.04);
  --bg-header: rgba(10,17,40,0.85);
  --glass-bg: rgba(255,255,255,0.05);
  --color-primary: #E3A21A;
  --color-secondary: #F5C542;
  --color-accent: #1F3F8F;
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;
  --color-info: #3B82F6;
  --text-primary: #F8FAFC;
  --text-secondary: #B0BEC5;
  --text-muted: #78909C;
  --text-inverse: #0A1128;
  --border-color: rgba(227,162,26,0.15);
  --gradient-hero: linear-gradient(135deg, #1F3F8F 0%, #0A1128 50%, #E3A21A 100%);
  --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  --gradient-btn: linear-gradient(135deg, #E3A21A, #F5C542);
  --scrollbar-thumb: #E3A21A;
}

/* DARK SKIN */
[data-skin="dark"] {
  --bg-primary: #0f0f1a;
  --bg-secondary: #1a1a2e;
  --bg-card: rgba(255,255,255,0.05);
  --bg-modal: rgba(15,15,26,0.92);
  --bg-sidebar: rgba(255,255,255,0.04);
  --bg-header: rgba(15,15,26,0.85);
  --glass-bg: rgba(255,255,255,0.06);
  --color-primary: #818cf8;
  --color-secondary: #c084fc;
  --color-accent: #f472b6;
  --color-success: #34d399;
  --color-warning: #fbbf24;
  --color-danger: #f87171;
  --color-info: #38bdf8;
  --text-primary: #4a044e;
  --text-secondary: #6d28d9;
  --text-muted: #6b7280;
  --text-inverse: #0f0f1a;
  --border-color: rgba(129,140,248,0.15);
  --gradient-hero: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
  --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  --gradient-btn: linear-gradient(135deg, #818cf8, #c084fc);
  --scrollbar-thumb: #818cf8;
}

/* RAINBOW SKIN */
[data-skin="rainbow"] {
  --bg-primary: #fdf4ff;
  --bg-secondary: #fce7f3;
  --bg-card: rgba(255,255,255,0.50);
  --bg-modal: rgba(255,250,255,0.88);
  --bg-sidebar: rgba(255,255,255,0.40);
  --bg-header: rgba(255,255,255,0.75);
  --glass-bg: rgba(255,255,255,0.30);
  --color-primary: #ec4899;
  --color-secondary: #8b5cf6;
  --color-accent: #f59e0b;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-info: #06b6d4;
  --text-primary: #4a044e;
  --text-secondary: #6d28d9;
  --text-muted: #9ca3af;
  --text-inverse: #ffffff;
  --border-color: rgba(236,72,153,0.18);
  --gradient-hero: linear-gradient(135deg, #f093fb 0%, #f5576c 25%, #4facfe 50%, #43e97b 75%, #fa709a 100%);
  --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.65), rgba(255,200,255,0.20));
  --gradient-btn: linear-gradient(135deg, #ec4899, #8b5cf6, #06b6d4);
  --scrollbar-thumb: #ec4899;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  transition: background 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 99px; }

a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { opacity: 0.8; }

img { max-width: 100%; height: auto; }

/* ============================================================
   GLASS UTILITY
   ============================================================ */
.glass {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.glass-sm {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: var(--glass-border);
  border-radius: var(--radius-sm);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 4px 18px rgba(91,106,247,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(91,106,247,0.45);
  color: #fff;
  opacity: 1;
}

.btn-ghost {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: var(--glass-border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: var(--bg-card);
  transform: translateY(-2px);
  color: var(--text-primary);
  opacity: 1;
}

.btn-danger {
  background: linear-gradient(135deg, #f87171, #ef4444);
  color: #fff;
}
.btn-danger:hover { transform: translateY(-2px); opacity: 0.9; color: #fff; }

.btn-success {
  background: linear-gradient(135deg, #34d399, #10b981);
  color: #fff;
}

.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-icon { padding: 8px; width: 36px; height: 36px; justify-content: center; border-radius: 50%; }

/* ============================================================
   HEADER
   ============================================================ */
#ponos-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.header-nav a {
  padding: 8px 16px;
  border-radius: 99px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.header-nav a:hover, .header-nav a.active {
  background: var(--glass-bg);
  color: var(--color-primary);
  opacity: 1;
}

.header-actions { display: flex; align-items: center; gap: 10px; }

/* Skin Switcher */
.skin-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 99px;
  padding: 4px;
}

.skin-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.skin-btn[data-skin="bright"] { background: linear-gradient(135deg, #667eea, #f472b6); }
.skin-btn[data-skin="dark"] { background: linear-gradient(135deg, #1e1b4b, #818cf8); }
.skin-btn[data-skin="rainbow"] { background: linear-gradient(135deg, #f093fb, #f5576c, #4facfe, #43e97b); }
.skin-btn.active, .skin-btn:hover { border-color: var(--color-primary); transform: scale(1.15); }

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-primary);
  font-size: 1.4rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
#ponos-footer {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border-top: var(--glass-border);
  padding: 28px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: auto;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.12;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}
.hero-orb-1 { width: 500px; height: 500px; background: var(--color-primary); top: -100px; left: -100px; }
.hero-orb-2 { width: 400px; height: 400px; background: var(--color-accent); bottom: -80px; right: -80px; animation-delay: -4s; }
.hero-orb-3 { width: 300px; height: 300px; background: var(--color-secondary); top: 50%; left: 50%; transform: translate(-50%,-50%); animation-delay: -2s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  animation: fadeInDown 0.6s ease;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.3s both;
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.features-section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 48px;
  font-size: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-btn);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
  display: block;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ============================================================
   SUGGESTION BOX
   ============================================================ */
.suggestion-section {
  padding: 60px 24px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.suggestion-box {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}

.suggestion-box textarea {
  width: 100%;
  min-height: 120px;
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: var(--radius);
  padding: 16px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.95rem;
  resize: vertical;
  transition: var(--transition);
  margin-bottom: 16px;
}

.suggestion-box textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(91,106,247,0.15);
}

/* ============================================================
   LOGIN GATE
   ============================================================ */
.login-gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}

.login-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow);
  animation: fadeInUp 0.5s ease;
}

.login-card .logo-wrap {
  text-align: center;
  margin-bottom: 32px;
}

.login-card .logo-wrap img { height: 56px; }

.login-card h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.login-card p {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 0.9rem;
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(91,106,247,0.12);
  background: var(--bg-card);
}

.form-control::placeholder { color: var(--text-muted); }

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-error {
  color: var(--color-danger);
  font-size: 0.82rem;
  margin-top: 6px;
  display: none;
}

.form-error.show { display: block; }

.form-success {
  color: var(--color-success);
  font-size: 0.85rem;
  text-align: center;
  margin-top: 10px;
  display: none;
}
.form-success.show { display: block; }

/* ============================================================
   MEMBER SELECTOR (Layer 2 login)
   ============================================================ */
.member-selector {
  animation: fadeInUp 0.5s ease;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.member-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  background: var(--glass-bg);
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.member-chip:hover {
  border-color: var(--color-primary);
  background: var(--bg-card);
  transform: translateY(-3px);
}

.member-chip.selected {
  border-color: var(--color-primary);
  background: var(--bg-card);
  color: var(--color-primary);
}

.member-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

/* Member colors */
.avatar-spartaco { background: linear-gradient(135deg, #f59e0b, #d97706); }
.avatar-bello    { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.avatar-agi      { background: linear-gradient(135deg, #10b981, #047857); }
.avatar-kristina { background: linear-gradient(135deg, #ec4899, #be185d); }
.avatar-agii     { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.avatar-paolo    { background: linear-gradient(135deg, #f97316, #c2410c); }
.avatar-newbie   { background: linear-gradient(135deg, #06b6d4, #0e7490); }
.avatar-default  { background: linear-gradient(135deg, #6b7280, #374151); }

/* ============================================================
   BOARD LAYOUT
   ============================================================ */
.board-wrapper {
  display: flex;
  min-height: calc(100vh - 68px);
}

/* Sidebar */
.board-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--bg-sidebar);
  backdrop-filter: var(--glass-blur);
  border-right: var(--glass-border);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  overflow-y: auto;
}

.sidebar-section { margin-bottom: 8px; }

.sidebar-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
  padding: 0 8px;
}

.sidebar-member-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--glass-bg);
  border-radius: var(--radius);
  border: var(--glass-border);
}

.sidebar-member-info .member-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.sidebar-member-info .member-role {
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.stat-card {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat-card.overdue .stat-number { color: var(--color-danger); }
.stat-card.done .stat-number { color: var(--color-success); }

/* Sidebar nav links */
.sidebar-nav { list-style: none; display: flex; flex-direction: column; gap: 4px; }

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
}

.sidebar-nav a:hover, .sidebar-nav a.active {
  background: var(--glass-bg);
  color: var(--color-primary);
  opacity: 1;
}

.sidebar-nav .nav-icon { font-size: 1.1rem; width: 22px; text-align: center; }

/* ============================================================
   KANBAN BOARD
   ============================================================ */
.board-main {
  flex: 1;
  padding: 28px 20px;
  overflow-x: auto;
  min-width: 0;
}

.board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.board-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.board-title span {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 600;
}

.board-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Columns */
.kanban-columns {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-height: 400px;
  padding-bottom: 20px;
}

.kanban-col {
  flex: 0 0 280px;
  width: 280px;
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 200px);
}

.col-header {
  padding: 16px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--glass-border);
  flex-shrink: 0;
}

.col-title-wrap { display: flex; align-items: center; gap: 8px; }

.col-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.col-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.col-count {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 99px;
  padding: 2px 9px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.col-add-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: var(--glass-border);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.col-add-btn:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* Column colors */
.col-todo .col-dot      { background: #94a3b8; }
.col-doing .col-dot     { background: #3b82f6; }
.col-review .col-dot    { background: #f59e0b; }
.col-waiting .col-dot   { background: #8b5cf6; }
.col-blocked .col-dot   { background: #ef4444; }
.col-done .col-dot      { background: #10b981; }

.col-tasks {
  padding: 12px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 60px;
}

/* Drag over state */
.col-tasks.drag-over {
  background: rgba(91,106,247,0.08);
  border-radius: var(--radius);
}

/* ============================================================
   TASK CARDS
   ============================================================ */
.task-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: var(--glass-border);
  border-radius: var(--radius);
  padding: 14px;
  cursor: grab;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.task-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  border-radius: 3px 0 0 3px;
}

.task-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.task-card.sortable-ghost {
  opacity: 0.4;
  background: var(--color-primary);
}

.task-card.sortable-drag {
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  transform: rotate(2deg);
  cursor: grabbing;
}

/* Priority colors */
.priority-low::before    { background: #10b981; }
.priority-medium::before { background: #f59e0b; }
.priority-high::before   { background: #f97316; }
.priority-urgent::before { background: #ef4444; }

.task-priority-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.badge-low      { background: rgba(16,185,129,0.15); color: #10b981; }
.badge-medium   { background: rgba(245,158,11,0.15); color: #f59e0b; }
.badge-high     { background: rgba(249,115,22,0.15); color: #f97316; }
.badge-urgent   { background: rgba(239,68,68,0.18); color: #ef4444; }

.task-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.4;
}

.task-excerpt {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.task-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.task-due {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--glass-bg);
  padding: 2px 8px;
  border-radius: 99px;
}

.task-due.overdue { color: var(--color-danger); background: rgba(248,113,113,0.1); }
.task-due.today   { color: var(--color-warning); background: rgba(251,191,36,0.1); }

/* Task card assignees */
.task-assignees {
  display: flex;
  gap: -4px;
  margin-bottom: 10px;
}

.task-assignees .member-avatar {
  width: 24px;
  height: 24px;
  font-size: 0.65rem;
  border: 2px solid var(--bg-card);
  margin-right: -4px;
}

/* Progress indicators */
.task-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.task-progress-item {
  display: flex;
  align-items: center;
  gap: 3px;
}

.task-checklist-bar {
  width: 100%;
  height: 3px;
  background: var(--glass-bg);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 10px;
}

.task-checklist-fill {
  height: 100%;
  background: var(--gradient-btn);
  border-radius: 99px;
  transition: width 0.4s ease;
}

.task-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: var(--glass-border);
}

.task-card-actions {
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: var(--transition);
}

.task-card:hover .task-card-actions { opacity: 1; }

.task-action-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: var(--glass-border);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: var(--transition);
}
.task-action-btn:hover { background: var(--color-primary); color: #fff; }

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-modal);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(0,0,0,0.25);
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
  transform: scale(0.92) translateY(20px);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 24px 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: var(--glass-border);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.modal-close:hover { background: var(--color-danger); color: #fff; }

.modal-body { padding: 0 28px 28px; }

.modal-footer {
  padding: 16px 28px 24px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  border-top: var(--glass-border);
}

/* ============================================================
   CHECKLIST
   ============================================================ */
.checklist-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }

.checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--glass-bg);
  border-radius: var(--radius-sm);
  border: var(--glass-border);
}

.checklist-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--color-primary);
}

.checklist-item .item-text {
  flex: 1;
  font-size: 0.88rem;
  color: var(--text-primary);
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-main);
}

.checklist-item .item-text.checked {
  text-decoration: line-through;
  color: var(--text-muted);
}

.checklist-item .remove-item {
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 2px;
  border-radius: 4px;
  transition: var(--transition);
}
.checklist-item .remove-item:hover { color: var(--color-danger); }

/* ============================================================
   LINKS LIST
   ============================================================ */
.links-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }

.link-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--glass-bg);
  border-radius: var(--radius-sm);
  border: var(--glass-border);
}

.link-item input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-family: var(--font-main);
}

/* ============================================================
   FILE ATTACHMENTS
   ============================================================ */
.file-drop-zone {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 10px;
}

.file-drop-zone:hover, .file-drop-zone.dragover {
  border-color: var(--color-primary);
  background: rgba(91,106,247,0.05);
}

.file-list { display: flex; flex-direction: column; gap: 6px; }

.file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--glass-bg);
  border-radius: var(--radius-sm);
  border: var(--glass-border);
  font-size: 0.83rem;
}

.file-item .file-name { flex: 1; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item .file-size { color: var(--text-muted); font-size: 0.75rem; }

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }

.comment-item {
  display: flex;
  gap: 12px;
}

.comment-bubble {
  flex: 1;
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  padding: 12px;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.comment-author { font-size: 0.82rem; font-weight: 700; color: var(--text-primary); }
.comment-time   { font-size: 0.75rem; color: var(--text-muted); }

.comment-text { font-size: 0.87rem; color: var(--text-secondary); line-height: 1.5; }

.comment-input-wrap {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.comment-input-wrap textarea {
  flex: 1;
  min-height: 70px;
  resize: none;
}

/* ============================================================
   SPARTACO DASHBOARD
   ============================================================ */
.master-dashboard {
  padding: 28px;
  max-width: 1400px;
  margin: 0 auto;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.dashboard-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dashboard-subtitle { color: var(--text-secondary); font-size: 0.95rem; margin-top: 4px; }

/* Team overview grid */
.team-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.member-summary-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.member-summary-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px;
  height: 80px;
  border-radius: 0 var(--radius-lg) 0 80px;
  opacity: 0.1;
  transition: var(--transition);
}

.member-summary-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.member-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.member-card-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.member-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.member-stat {
  text-align: center;
  padding: 10px 6px;
  background: var(--glass-bg);
  border-radius: var(--radius-sm);
}

.member-stat-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
}

.member-stat-lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Password panel */
.password-panel {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 28px;
}

.password-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.password-table th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 8px 12px;
  border-bottom: var(--glass-border);
}

.password-table td {
  padding: 10px 12px;
  font-size: 0.88rem;
  color: var(--text-primary);
  border-bottom: var(--glass-border);
}

.password-table tr:last-child td { border-bottom: none; }

.password-value {
  font-family: monospace;
  background: var(--glass-bg);
  padding: 3px 10px;
  border-radius: 6px;
  color: var(--color-primary);
  font-weight: 700;
}

/* ============================================================
   DAILY NOTES
   ============================================================ */
.daily-notes-section {
  margin-top: 36px;
  padding-top: 28px;
  border-top: var(--glass-border);
}

.daily-notes-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.day-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.day-tab {
  padding: 8px 18px;
  border-radius: 99px;
  background: var(--glass-bg);
  border: var(--glass-border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.day-tab:hover { border-color: var(--color-primary); color: var(--color-primary); }
.day-tab.active { background: var(--gradient-btn); color: #fff; border-color: transparent; }
.day-tab.has-note { position: relative; }
.day-tab.has-note::after {
  content: '';
  position: absolute;
  top: 4px; right: 4px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-success);
}

.daily-note-panel {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.note-date-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.note-date-row label { font-weight: 600; font-size: 0.88rem; color: var(--text-secondary); }

.note-textarea {
  width: 100%;
  min-height: 160px;
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: var(--radius);
  padding: 16px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.95rem;
  line-height: 1.7;
  resize: vertical;
  transition: var(--transition);
}

.note-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(91,106,247,0.1);
}

.note-textarea:read-only {
  opacity: 0.7;
  cursor: default;
  background: var(--bg-secondary);
}

.note-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
}

.note-status-past    { background: rgba(156,163,175,0.15); color: var(--text-muted); }
.note-status-today   { background: rgba(16,185,129,0.15);  color: var(--color-success); }
.note-status-future  { background: rgba(91,106,247,0.12);  color: var(--color-primary); }

/* ============================================================
   CRM STYLES
   ============================================================ */
.crm-wrapper {
  padding: 32px 28px;
  max-width: 1400px;
  margin: 0 auto;
}

.crm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.crm-nav-tabs {
  display: flex;
  gap: 4px;
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: var(--radius);
  padding: 4px;
  flex-wrap: wrap;
}

.crm-tab {
  padding: 8px 18px;
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  transition: var(--transition);
}

.crm-tab.active { background: var(--gradient-btn); color: #fff; }
.crm-tab:hover:not(.active) { background: var(--bg-card); color: var(--text-primary); }

/* Contacts table */
.crm-table-wrap {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

.crm-table {
  width: 100%;
  border-collapse: collapse;
}

.crm-table th {
  text-align: left;
  padding: 14px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--glass-bg);
  border-bottom: var(--glass-border);
  white-space: nowrap;
}

.crm-table td {
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--text-primary);
  border-bottom: var(--glass-border);
}

.crm-table tr:last-child td { border-bottom: none; }
.crm-table tr:hover td { background: var(--glass-bg); }

/* Pipeline */
.pipeline-columns {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
}

.pipeline-col {
  flex: 0 0 240px;
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.pipeline-col-header {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.deal-card {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 10px;
  cursor: grab;
  transition: var(--transition);
}

.deal-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.deal-value { font-weight: 700; color: var(--color-success); font-size: 0.95rem; }
.deal-company { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--bg-modal);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 260px;
  max-width: 360px;
  animation: slideInRight 0.3s ease;
  pointer-events: all;
}

.toast-success { border-left: 4px solid var(--color-success); }
.toast-error   { border-left: 4px solid var(--color-danger); }
.toast-info    { border-left: 4px solid var(--color-info); }
.toast-warning { border-left: 4px solid var(--color-warning); }

.toast-msg { font-size: 0.88rem; color: var(--text-primary); flex: 1; }

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   FLOATING ACTION BUTTON (mobile)
   ============================================================ */
.fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-btn);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(91,106,247,0.4);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 500;
  transition: var(--transition);
}

.fab:hover { transform: scale(1.1) rotate(90deg); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

.animate-in { animation: fadeInUp 0.5s ease both; }

/* Stagger children */
.stagger > * { animation: fadeInUp 0.5s ease both; }
.stagger > *:nth-child(1) { animation-delay: 0.05s; }
.stagger > *:nth-child(2) { animation-delay: 0.10s; }
.stagger > *:nth-child(3) { animation-delay: 0.15s; }
.stagger > *:nth-child(4) { animation-delay: 0.20s; }
.stagger > *:nth-child(5) { animation-delay: 0.25s; }
.stagger > *:nth-child(6) { animation-delay: 0.30s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .board-sidebar { width: 220px; }
  .kanban-col { flex: 0 0 250px; width: 250px; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--bg-header);
    backdrop-filter: var(--glass-blur);
    border-bottom: var(--glass-border);
    padding: 16px;
    gap: 4px;
    z-index: 999;
  }
  .mobile-menu-toggle { display: flex; }
  .board-sidebar { display: none; }
  .board-sidebar.open {
    display: flex;
    position: fixed;
    top: 68px; left: 0; bottom: 0;
    z-index: 900;
    width: 260px;
  }
  .kanban-col { flex: 0 0 85vw; width: 85vw; }
  .fab { display: flex; }
  .modal { max-width: 100%; margin: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .modal-overlay { align-items: flex-end; padding: 0; }
  .team-overview-grid { grid-template-columns: 1fr; }
  .master-dashboard { padding: 16px; }
  .crm-wrapper { padding: 16px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .login-card { padding: 28px 20px; }
  .suggestion-box { padding: 28px 20px; }
  .board-main { padding: 16px 10px; }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.d-none     { display: none !important; }
.d-flex     { display: flex !important; }
.d-grid     { display: grid !important; }
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.text-primary-color { color: var(--color-primary); }
.text-success { color: var(--color-success); }
.text-danger  { color: var(--color-danger); }
.text-warning { color: var(--color-warning); }
.mt-1  { margin-top: 8px; }
.mt-2  { margin-top: 16px; }
.mt-3  { margin-top: 24px; }
.mb-1  { margin-bottom: 8px; }
.mb-2  { margin-bottom: 16px; }
.mb-3  { margin-bottom: 24px; }
.p-1   { padding: 8px; }
.p-2   { padding: 16px; }
.p-3   { padding: 24px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.w-full { width: 100%; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.rounded { border-radius: var(--radius); }
.rounded-full { border-radius: 99px; }

/* ============================================================
   PRODUCT MEDIA & DROP ZONE
   ============================================================ */
.file-drop-zone {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 10px;
}

.file-drop-zone:hover, .file-drop-zone.dragover {
  border-color: var(--color-primary);
  background: rgba(91,106,247,0.05);
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--glass-bg);
  border-radius: var(--radius-sm);
  border: var(--glass-border);
  font-size: 0.83rem;
}

.file-item .file-name {
  flex: 1;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-item .file-size {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.file-download {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--color-primary);
  transition: var(--transition);
}
.file-download:hover {
  transform: scale(1.1);
}

/* Product table responsive */
@media (max-width: 768px) {
  .crm-table th, .crm-table td {
    white-space: normal;
    word-break: break-word;
  }
}

/* Papp Vittoria avatar image */
.avatar-papp-vittoria {
  background-image: url('https://floralwhite-deer-627707.hostingersite.com/wp-content/uploads/2026/05/unnamed-scaled-e1778159462152.jpg');
  background-size: cover;
  background-position: center;
  color: transparent !important;
  font-size: 0 !important;
  text-indent: -9999px;
  overflow: hidden;
}

/* ============================================================
   NOTIFICATION BELL & DROPDOWN (NEW)
   ============================================================ */
#notification-bell {
  position: relative;
  cursor: pointer;
  margin-right: 12px;
  user-select: none;
}
#notification-bell:hover span:first-child {
  transform: scale(1.15);
  transition: transform 0.2s;
}
#notification-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--color-danger);
  color: #fff;
  border-radius: 99px;
  padding: 2px 6px;
  font-size: 0.7rem;
  font-weight: 700;
  display: none;
  line-height: 1;
  min-width: 18px;
  text-align: center;
}
#notification-dropdown {
  position: absolute;
  top: 60px;
  right: 20px;
  background: var(--bg-modal);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius);
  padding: 12px;
  min-width: 300px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 1100;
  box-shadow: var(--shadow);
  display: none;
}
#notification-dropdown > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
#notification-dropdown .btn-ghost.btn-sm {
  font-size: 0.7rem;
  padding: 4px 10px;
}
#notification-list > div {
  padding: 8px;
  border-bottom: var(--glass-border);
  font-size: 0.82rem;
}
#notification-list > div:last-child {
  border-bottom: none;
}

/* ============================================================
   PONOS ADDITIONS – Reszponzív tábla, hover, pipeline, notification
   ============================================================ */

/* 6 oszlop egy képernyőre — wrap, mobilon scroll */
.kanban-columns {
    flex-wrap: wrap;
    overflow-x: visible;
}
.kanban-col {
    flex: 0 0 calc(16.66% - 14px);
    min-width: 180px;
    max-width: none;
}
@media (max-width: 1200px) {
    .kanban-col { flex: 0 0 calc(33.33% - 12px); }
}
@media (max-width: 768px) {
    .kanban-columns { flex-wrap: nowrap; overflow-x: auto; }
    .kanban-col { flex: 0 0 85vw; min-width: 85vw; max-width: 85vw; }
}

/* Pipeline oszlopok egy képernyőre */
.pipeline-columns {
    flex-wrap: nowrap;
    gap: 12px;
}
.pipeline-col {
    flex: 1 1 0;
    min-width: 140px;
}

/* Hover nagyítás a feladatkártyákon */
.task-card-hoverable {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.task-card-hoverable:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    z-index: 10;
    position: relative;
}

/* Értesítési lista kattinthatóság */
#notification-list > div[data-link] {
    cursor: pointer;
}
#notification-list > div[data-link]:hover {
    background: var(--glass-bg);
}

/* ---- PIACPOINT HOMEPAGE FIX ---- */
.hero-title {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  color: #CBD5E1 !important;
}
.hero-badge {
  color: var(--gold-light) !important;
  background: rgba(227,162,26,0.15) !important;
}
.section-title {
  color: #F8FAFC !important;
}
.section-subtitle {
  color: #94A3B8 !important;
}
.feature-card h3 {
  color: #F8FAFC !important;
}
.feature-card p {
  color: #94A3B8 !important;
}
.suggestion-box h2 {
  color: #F8FAFC !important;
}
.suggestion-box p {
  color: #94A3B8 !important;
}

/* ---- DARK DROPDOWN FIX ---- */
select.form-control {
  background-color: #1B2838 !important;
  color: #FFFFFF !important;
}
select.form-control option {
  background-color: #1B2838 !important;
  color: #FFFFFF !important;
}