/* © 2026 Blothor — Todos los derechos reservados. */

/* ==========================================================================
   1. VARIABLES Y DISEÑO CORE
   ========================================================================== */
:root {
  --md-sys-color-background: #141210;
  --md-sys-color-surface: rgba(30, 26, 22, 0.45);
  --md-sys-color-on-surface: #EBE6DF;
  --md-sys-color-on-surface-variant: #B0A898;
  --md-sys-color-primary: #466B5C;
  --md-sys-color-on-primary: #FDFBF7;
  --md-sys-color-primary-container: #2C4A3E;
  --md-sys-color-secondary: #8A6E5C;
  --md-sys-color-tertiary: #C07850;
  --md-sys-color-danger: #A35C6A;
  
  /* Colores de blobs dinámicos por defecto */
  --blob-color-1: rgba(82, 145, 112, 0.5);
  --blob-color-2: rgba(165, 115, 75, 0.45);
  --blob-color-3: rgba(185, 148, 108, 0.35);
  --blob-color-4: rgba(90, 148, 118, 0.4);
  --blob-color-5: rgba(178, 142, 92, 0.38);
  
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 50px;
  
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-blur: 24px;
  --glass-saturate: 180%;
  --glass-card-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 8px 32px rgba(0, 0, 0, 0.35);
  
  --transition-fast: 0.2s cubic-bezier(0.2, 0, 0, 1);
  --transition-normal: 0.4s cubic-bezier(0.2, 0, 0, 1);
  --transition-slow: 0.8s cubic-bezier(0.2, 0, 0, 1);
  --transition-elastic: 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

[data-theme="warm"] {
  --md-sys-color-background: #FDFBF7;
  --md-sys-color-surface: rgba(245, 242, 235, 0.8);
  --md-sys-color-on-surface: #2B211B;
  --md-sys-color-on-surface-variant: #5A3A20;
  --md-sys-color-primary: #2C4A3E;
  --md-sys-color-primary-container: rgba(44, 74, 62, 0.15);
  --md-sys-color-secondary: #7A5230;
  --md-sys-color-tertiary: #C07850;
  --md-sys-color-danger: #A35C6A;
  
  /* Colores de blobs dinámicos cálidos */
  --blob-color-1: rgba(44, 74, 62, 0.45);
  --blob-color-2: rgba(122, 82, 48, 0.4);
  --blob-color-3: rgba(192, 120, 80, 0.35);
  --blob-color-4: rgba(44, 74, 62, 0.35);
  --blob-color-5: rgba(122, 82, 48, 0.3);
  
  --glass-border: 1px solid rgba(122, 82, 48, 0.18);
  --glass-card-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* Base resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: var(--md-sys-color-background);
  color: var(--md-sys-color-on-surface);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  transition: background var(--transition-normal);
}

/* ==========================================================================
   2. BLOBS AMBIENTALES Y GRILLA
   ========================================================================== */
.background-wrapper {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-blob {
  position: absolute;
  filter: blur(100px);
  will-change: transform;
  transition: background-color var(--transition-slow);
}

.bg-blob.small {
  filter: blur(80px);
}

[data-theme="warm"] .bg-blob {
  mix-blend-mode: multiply;
}

.blob-1 {
  width: 640px;
  height: 560px;
  top: -80px;
  left: -140px;
  border-radius: 44% 56% 63% 37%/48% 40% 60% 52%;
  background-color: var(--blob-color-1);
  animation: bloop-morph 22s ease-in-out infinite alternate, bloop-float 22s ease-in-out infinite alternate;
}

.blob-2 {
  width: 580px;
  height: 620px;
  bottom: -100px;
  right: -100px;
  border-radius: 58% 42% 38% 62%/52% 64% 36% 48%;
  background-color: var(--blob-color-2);
  animation: bloop-morph2 26s ease-in-out infinite alternate, bloop-float2 26s ease-in-out infinite alternate;
  animation-delay: -9s;
}

.blob-3 {
  width: 400px;
  height: 400px;
  top: 42%;
  left: 48%;
  transform: translate(-50%, -50%);
  border-radius: 67% 33% 54% 46%/48% 55% 45% 52%;
  background-color: var(--blob-color-3);
  animation: bloop-morph 18s ease-in-out infinite alternate, bloop-float3 18s ease-in-out infinite alternate;
  animation-delay: -5s;
}

.blob-4 {
  width: 260px;
  height: 240px;
  top: 55%;
  left: 3%;
  border-radius: 72% 28% 44% 56%/56% 68% 32% 44%;
  background-color: var(--blob-color-4);
  animation: bloop-morph2 14s ease-in-out infinite alternate, bloop-float 14s ease-in-out infinite alternate;
  animation-delay: -3s;
}

.blob-5 {
  width: 280px;
  height: 200px;
  top: 2%;
  right: 6%;
  border-radius: 38% 62% 55% 45%/60% 44% 56% 40%;
  background-color: var(--blob-color-5);
  animation: bloop-morph 20s ease-in-out infinite alternate, bloop-float2 20s ease-in-out infinite alternate;
  animation-delay: -12s;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
}

[data-theme="warm"] .grid-overlay {
  background-image: linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
}

/* Animations */
@keyframes bloop-morph {
  0% { border-radius: 44% 56% 63% 37% / 48% 40% 60% 52%; }
  33% { border-radius: 56% 44% 38% 62% / 58% 48% 52% 42%; }
  66% { border-radius: 38% 62% 52% 48% / 42% 62% 38% 58%; }
  100% { border-radius: 50% 50% 44% 56% / 55% 48% 52% 45%; }
}
@keyframes bloop-morph2 {
  0% { border-radius: 58% 42% 38% 62% / 52% 64% 36% 48%; }
  40% { border-radius: 44% 56% 62% 38% / 40% 52% 48% 60%; }
  80% { border-radius: 62% 38% 50% 50% / 60% 38% 62% 40%; }
  100% { border-radius: 48% 52% 42% 58% / 54% 44% 56% 46%; }
}
@keyframes bloop-float {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(28px, -24px) scale(1.05); }
}
@keyframes bloop-float2 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-24px, 20px) scale(1.06); }
}
@keyframes bloop-float3 {
  from { transform: translate(-50%, -50%) scale(1); }
  to { transform: translate(calc(-50% + 22px), calc(-50% + 28px)) scale(1.08); }
}

/* ==========================================================================
   3. APP CONTAINER Y ESTRUCTURA GENERAL
   ========================================================================== */
.app-container {
  position: relative;
  z-index: 1;
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}

/* Glass panel */
.glass-panel {
  background: var(--md-sys-color-surface);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: var(--glass-border);
  box-shadow: var(--glass-card-shadow);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: background var(--transition-normal), border var(--transition-normal), box-shadow var(--transition-normal);
}

/* Forms */
.form-panel {
  margin-bottom: 1.5rem;
}
.form-panel h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.task-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.input-group {
  width: 100%;
}

input, select, textarea {
  width: 100%;
  border: var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--md-sys-color-on-surface);
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(70, 107, 92, 0.5);
  box-shadow: 0 0 0 3px rgba(70, 107, 92, 0.15);
}

[data-theme="warm"] input,
[data-theme="warm"] select,
[data-theme="warm"] textarea {
  background: rgba(255, 255, 255, 0.65);
}

textarea {
  min-height: 90px;
  resize: vertical;
}

/* Buttons */
.btn-primary {
  border: 0;
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(70, 107, 92, 0.3);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-primary:hover {
  background: var(--md-sys-color-on-surface);
  color: var(--md-sys-color-background);
  box-shadow: 0 8px 25px rgba(70, 107, 92, 0.45);
  transform: translateY(-2px);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  border: var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--md-sys-color-on-surface);
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}
.btn-secondary:active {
  transform: translateY(0);
}

.btn-danger {
  background: var(--md-sys-color-danger);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-danger:hover {
  background: #c56375;
  transform: translateY(-1px);
}

.btn-group {
  display: flex;
  gap: 0.6rem;
}

/* ==========================================================================
   4. CABECERA (SITE-HEADER)
   ========================================================================== */
.site-header {
  position: static;
  z-index: 100;
  background: transparent;
  transition: background var(--transition-fast);
}

.header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

[data-theme="warm"] .header-inner {
  border-bottom: 1px solid rgba(122, 82, 48, 0.10);
}

[data-theme="warm"] .site-header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.logo-container {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, #ffffff 30%, var(--md-sys-color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="warm"] .logo-text {
  background: linear-gradient(135deg, #2B211B 30%, var(--md-sys-color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline-badge {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(70, 107, 92, 0.08);
  border: var(--glass-border);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--md-sys-color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

[data-theme="warm"] .tagline-badge {
  border-color: rgba(122, 82, 48, 0.18);
  color: #2C4A3E;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--md-sys-color-on-surface-variant);
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--md-sys-color-primary);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--md-sys-color-on-surface);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(70, 107, 92, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--md-sys-color-on-surface-variant);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--md-sys-color-on-surface);
}

[data-theme="warm"] .theme-toggle {
  border-color: rgba(122, 82, 48, 0.25);
  background: rgba(122, 82, 48, 0.07);
  color: #5A3A20;
}

/* ==========================================================================
   5. HERO Y BARRA DE USUARIO
   ========================================================================== */
.hero {
  padding: 3rem 0 1.5rem;
  animation: fadeIn var(--transition-normal);
}

.pretitle {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--md-sys-color-primary);
}

h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  margin: 0.5rem 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 em {
  color: var(--md-sys-color-secondary);
  font-style: normal;
  background: linear-gradient(120deg, var(--md-sys-color-secondary) 0%, var(--md-sys-color-tertiary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  max-width: 720px;
  color: var(--md-sys-color-on-surface-variant);
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* User bar */
#userBarSection {
  padding: 0.8rem 1.2rem;
  margin-bottom: 1.5rem;
  animation: slideDown var(--transition-fast) ease-out;
}

.user-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.user-bar-text-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logout-nav-btn {
  background: rgba(163, 92, 106, 0.1);
  color: var(--md-sys-color-danger);
  border: 1px solid rgba(163, 92, 106, 0.25);
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.logout-nav-btn:hover {
  background: var(--md-sys-color-danger);
  color: #fff;
  box-shadow: 0 4px 12px rgba(163, 92, 106, 0.3);
  transform: translateY(-1px);
}

/* ==========================================================================
   6. TABLERO DE TAREAS Y CREACIÓN
   ========================================================================== */
.dashboard-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.dashboard-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--md-sys-color-on-surface);
}

#openTaskCreatorBtn {
  margin-bottom: 0;
}

.task-form-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.input-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}

@media(max-width: 600px) {
  .input-row {
    grid-template-columns: 1fr;
  }
}

.action-row {
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   7. TABLERO TRABAJO (KANBAN / TRELLO STYLE)
   ========================================================================== */
.kanban-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.2rem;
  align-items: start;
  width: 100%;
  animation: fadeIn var(--transition-normal);
}

.kanban-column {
  background: rgba(30, 26, 22, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

[data-theme="warm"] .kanban-column {
  background: rgba(245, 242, 235, 0.45);
  border-color: rgba(122, 82, 48, 0.08);
}

.kanban-column.drag-over {
  background: rgba(70, 107, 92, 0.08);
  border-color: rgba(70, 107, 92, 0.4);
  box-shadow: inset 0 0 12px rgba(70, 107, 92, 0.1);
}

.kanban-column-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0 0.2rem;
}

.kanban-column-title {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--md-sys-color-on-surface);
}

.kanban-column-count {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--md-sys-color-on-surface-variant);
  border: var(--glass-border);
}

.kanban-column-cards {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}

/* Kanban Cards */
.kanban-card {
  cursor: grab;
  padding: 1.1rem;
  user-select: none;
  position: relative;
  transition: transform var(--transition-fast) cubic-bezier(0.2, 0, 0, 1),
              box-shadow var(--transition-fast),
              opacity var(--transition-fast);
}

.kanban-card:hover {
  transform: translateY(-3px);
  border-color: rgba(70, 107, 92, 0.3);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 12px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="warm"] .kanban-card:hover {
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6), 0 8px 24px rgba(0, 0, 0, 0.08);
}

.kanban-card.dragging {
  opacity: 0.4;
  cursor: grabbing;
}

.kanban-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.kanban-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--md-sys-color-on-surface);
}

.kanban-card-desc {
  font-size: 0.84rem;
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.5;
  margin: 0.4rem 0 0.8rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kanban-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="warm"] .kanban-card-footer {
  border-top-color: rgba(122, 82, 48, 0.08);
}

.kanban-card-stats {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.stat-pill {
  font-size: 0.72rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  color: var(--md-sys-color-on-surface-variant);
  border: var(--glass-border);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.stat-pill.success {
  background: rgba(70, 107, 92, 0.12);
  color: #55b28d;
  border-color: rgba(70, 107, 92, 0.25);
}

/* Overlapping Avatars */
.avatar-group {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}

.avatar-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--md-sys-color-background);
  background: var(--md-sys-color-primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -6px;
  cursor: default;
  transition: transform var(--transition-fast);
}

.avatar-circle:hover {
  transform: translateY(-2px) scale(1.1);
  z-index: 10;
}

/* Kanban Quick Actions */
.card-quick-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

/* ==========================================================================
   8. FICHA DE VIAJE ("¿VIAJAMOS?") — MAQUETA PREMIUM DE 7 MÓDULOS
   ========================================================================== */
.travel-sheet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1.2rem;
  width: 100%;
  margin-top: 1.2rem;
  animation: fadeIn var(--transition-normal);
}

/* Grid areas for asymmetric visual sheet layout resembling mockups */
.travel-box {
  background: var(--md-sys-color-surface);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.travel-box:hover {
  transform: translateY(-2px);
  border-color: rgba(192, 120, 80, 0.35);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 8px 24px rgba(0, 0, 0, 0.25);
}

.travel-box-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--md-sys-color-tertiary);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Circular Badges with numbers matching Image 1 mockup */
.box-num-badge {
  background: var(--md-sys-color-tertiary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(192, 120, 80, 0.4);
}

/* Asymmetric Positioning */
.box-destino { grid-column: span 2; grid-row: span 2; min-height: 400px; }
.box-transporte { grid-column: span 1; }
.box-alojamiento { grid-column: span 1; }
.box-fechas { grid-column: span 1; }
.box-presupuesto { grid-column: span 2; }
.box-checklist { grid-column: span 1; grid-row: span 2; min-height: 480px; }
.box-itinerario { grid-column: span 2; min-height: 240px; }

@media(max-width: 1024px) {
  .travel-sheet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .box-destino { grid-column: span 2; }
  .box-checklist { grid-column: span 2; }
  .box-presupuesto { grid-column: span 2; }
  .box-itinerario { grid-column: span 2; }
}

@media(max-width: 650px) {
  .travel-sheet-grid {
    grid-template-columns: 1fr;
  }
  .box-destino, .box-transporte, .box-alojamiento, .box-fechas, .box-presupuesto, .box-checklist, .box-itinerario {
    grid-column: span 1;
  }
}

/* Destino Map & Inputs */
.destino-map-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.map-search-bar {
  display: flex;
  gap: 0.5rem;
}

.map-container-el {
  flex: 1;
  min-height: 250px;
  border-radius: var(--radius-md);
  border: var(--glass-border);
  overflow: hidden;
  position: relative;
  background: #141210;
  z-index: 5;
}

/* Leaflet control overrides for dark mode style integration */
.leaflet-container {
  font-family: var(--font-body) !important;
}

/* Fallback Map SVG style */
.fallback-map-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.fallback-pin {
  animation: jump 1.2s ease-in-out infinite alternate;
}

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

/* Presupuesto dynamic layout */
.budget-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  height: 100%;
}

.budget-rows {
  max-height: 200px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.budget-row-el {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 0.5rem;
  align-items: center;
}

.budget-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
}

[data-theme="warm"] .budget-footer {
  border-top-color: rgba(122, 82, 48, 0.15);
}

.budget-total-box {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--md-sys-color-tertiary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.budget-creator-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.4rem;
  border-radius: var(--radius-sm);
}

/* Checklist packing layout with nice backpack and indicators */
.packing-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  height: 100%;
}

.packing-backpack-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(192, 120, 80, 0.08);
  padding: 0.6rem;
  border-radius: var(--radius-md);
  margin-bottom: 0.4rem;
}

.packing-backpack-svg {
  width: 32px;
  height: 32px;
  color: var(--md-sys-color-tertiary);
}

.packing-list-items {
  max-height: 250px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.packing-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.packing-item-checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.86rem;
}

.packing-item-checkbox input {
  display: none;
}

.custom-circle-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--md-sys-color-on-surface-variant);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.packing-item-checkbox input:checked + .custom-circle-check {
  background: var(--md-sys-color-primary);
  border-color: var(--md-sys-color-primary);
}

.custom-circle-check::after {
  content: "✓";
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  display: none;
}

.packing-item-checkbox input:checked + .custom-circle-check::after {
  display: block;
}

.packing-item-checkbox input:checked ~ span {
  text-decoration: line-through;
  color: var(--md-sys-color-on-surface-variant);
}

.packing-creator-group {
  display: flex;
  gap: 0.4rem;
  margin-top: auto;
}

/* ==========================================================================
   9. MODAL DETALLE DE TAREA E INTERACCIONES
   ========================================================================== */
.task-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn var(--transition-fast);
}

.task-detail-dialog {
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: scaleUp var(--transition-fast) cubic-bezier(0.175, 0.885, 0.32, 1.2);
}

.dialog-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: var(--glass-border);
  color: var(--md-sys-color-on-surface);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 10;
  transition: all var(--transition-fast);
}

.dialog-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.05);
}

.task-detail-header-wrap {
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comments-and-assignees-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media(max-width: 650px) {
  .comments-and-assignees-grid {
    grid-template-columns: 1fr;
  }
}

.detail-sub-section {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.detail-section-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--md-sys-color-secondary);
}

/* Comment Box */
.comment-box-scroller {
  max-height: 250px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.comment-bubble {
  background: rgba(255, 255, 255, 0.02);
  border: var(--glass-border);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  position: relative;
}

.comment-author-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--md-sys-color-primary);
}

.comment-text-content {
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--md-sys-color-on-surface);
}

/* Multi-select Assignees list */
.assignees-selector-box {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 200px;
  overflow-y: auto;
  padding: 0.2rem;
}

.assignee-checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.86rem;
  transition: all var(--transition-fast);
}

.assignee-checkbox-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Custom checkmark dot */
.assignee-dot-check {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--md-sys-color-on-surface-variant);
  transition: all var(--transition-fast);
}

.assignee-checkbox-row input {
  display: none;
}

.assignee-checkbox-row input:checked + .assignee-dot-check {
  background: var(--md-sys-color-primary);
  border-color: var(--md-sys-color-primary);
  transform: scale(1.15);
}

/* ==========================================================================
   10. FOOTER & UTILIDADES
   ========================================================================== */
footer {
  padding: 3rem 0.5rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

[data-theme="warm"] footer {
  border-top-color: rgba(122, 82, 48, 0.08);
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #ffffff 30%, var(--md-sys-color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="warm"] .footer-logo-text {
  background: linear-gradient(135deg, #2B211B 30%, var(--md-sys-color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-copy {
  font-size: 0.76rem;
  color: var(--md-sys-color-on-surface-variant);
  margin-top: 0.3rem;
}

/* Utility badges */
.badge {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(70, 107, 92, 0.15);
  color: var(--md-sys-color-primary);
  border: 1px solid rgba(70, 107, 92, 0.25);
  display: inline-flex;
  align-items: center;
}

.badge.priority-alta {
  background: rgba(163, 92, 106, 0.15);
  color: #c06376;
  border-color: rgba(163, 92, 106, 0.25);
}

.badge.priority-media {
  background: rgba(192, 120, 80, 0.15);
  color: #c9825b;
  border-color: rgba(192, 120, 80, 0.25);
}

.badge.priority-baja {
  background: rgba(91, 127, 166, 0.15);
  color: #6d9bc5;
  border-color: rgba(91, 127, 166, 0.25);
}

/* Keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

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

.hidden {
  display: none !important;
}

/* ==========================================================================
   11. SECCIÓN COMER (SITIOS Y RESEÑAS)
   ========================================================================== */
.comer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  grid-gap: 1.2rem;
  width: 100%;
  margin-top: 1rem;
}

.restaurant-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 !important; /* overrule glass panel default padding */
  border-radius: var(--radius-lg);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.restaurant-card:hover {
  transform: translateY(-3px);
  border-color: rgba(192, 120, 80, 0.3);
}

.restaurant-card-img-wrap {
  width: 100%;
  height: 150px;
  background: #1e1a16;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="warm"] .restaurant-card-img-wrap {
  border-bottom-color: rgba(122, 82, 48, 0.08);
}

.restaurant-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.restaurant-card:hover .restaurant-card-img {
  transform: scale(1.05);
}

.restaurant-card-content {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.restaurant-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.restaurant-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--md-sys-color-on-surface);
}

.restaurant-cuisine {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(192, 120, 80, 0.08);
  color: var(--md-sys-color-tertiary);
  border: 1px solid rgba(192, 120, 80, 0.25);
  display: inline-block;
  align-self: flex-start;
}

.restaurant-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.2rem;
}

.restaurant-rating {
  display: flex;
  gap: 0.15rem;
}

.restaurant-notes {
  font-size: 0.84rem;
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.5;
  margin: 0.4rem 0;
  flex: 1;
}

.restaurant-address {
  font-size: 0.76rem;
  color: var(--md-sys-color-primary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(70, 107, 92, 0.05);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(70, 107, 92, 0.1);
}

.restaurant-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="warm"] .restaurant-card-footer {
  border-top-color: rgba(122, 82, 48, 0.08);
}

/* ==========================================================================
   12. 8º MÓDULO VIAJES — TAREAS PENDIENTES DEL VIAJE
   ========================================================================== */
.box-itinerario-todos {
  grid-column: span 2;
  min-height: 240px;
}

@media(max-width: 1024px) {
  .box-itinerario-todos {
    grid-column: span 2;
  }
}

@media(max-width: 650px) {
  .box-itinerario-todos {
    grid-column: span 1;
  }
}

/* Rich images parsed from URLs */
.rich-img-wrapper img {
  max-width: 100%;
  transition: transform var(--transition-fast);
}

.rich-img-wrapper img:hover {
  transform: scale(1.02);
}

/* ==========================================================================
   13. CROMATISMO DE BLOBS DINÁMICOS POR TIPO DE TAREA
   ========================================================================== */
body.theme-trabajo {
  --blob-color-1: rgba(82, 145, 112, 0.45);
  --blob-color-2: rgba(70, 107, 92, 0.25);
  --blob-color-3: rgba(90, 148, 118, 0.2);
  --blob-color-4: rgba(70, 107, 92, 0.25);
  --blob-color-5: rgba(82, 145, 112, 0.2);
}

[data-theme="warm"] body.theme-trabajo {
  --blob-color-1: rgba(44, 74, 62, 0.4);
  --blob-color-2: rgba(122, 82, 48, 0.25);
  --blob-color-3: rgba(44, 74, 62, 0.25);
  --blob-color-4: rgba(122, 82, 48, 0.2);
  --blob-color-5: rgba(44, 74, 62, 0.2);
}

body.theme-viaje {
  --blob-color-1: rgba(192, 120, 80, 0.45);
  --blob-color-2: rgba(138, 110, 92, 0.35);
  --blob-color-3: rgba(165, 115, 75, 0.35);
  --blob-color-4: rgba(91, 127, 166, 0.35); /* azul cielo */
  --blob-color-5: rgba(192, 120, 80, 0.3);
}

[data-theme="warm"] body.theme-viaje {
  --blob-color-1: rgba(192, 120, 80, 0.4);
  --blob-color-2: rgba(138, 110, 92, 0.3);
  --blob-color-3: rgba(122, 82, 48, 0.3);
  --blob-color-4: rgba(91, 127, 166, 0.3);
  --blob-color-5: rgba(192, 120, 80, 0.25);
}

body.theme-comida {
  --blob-color-1: rgba(163, 92, 106, 0.45); /* rojo tomate */
  --blob-color-2: rgba(192, 120, 80, 0.45); /* ámbar */
  --blob-color-3: rgba(178, 142, 92, 0.35); /* oro */
  --blob-color-4: rgba(163, 92, 106, 0.3);
  --blob-color-5: rgba(192, 120, 80, 0.3);
}

[data-theme="warm"] body.theme-comida {
  --blob-color-1: rgba(163, 92, 106, 0.35);
  --blob-color-2: rgba(192, 120, 80, 0.35);
  --blob-color-3: rgba(122, 82, 48, 0.3);
  --blob-color-4: rgba(163, 92, 106, 0.25);
  --blob-color-5: rgba(192, 120, 80, 0.25);
}

body.theme-home {
  --blob-color-1: rgba(91, 127, 166, 0.4); /* azul suave */
  --blob-color-2: rgba(185, 148, 108, 0.35); /* arena */
  --blob-color-3: rgba(82, 145, 112, 0.35); /* verde suave */
  --blob-color-4: rgba(91, 127, 166, 0.3);
  --blob-color-5: rgba(178, 142, 92, 0.3);
}

[data-theme="warm"] body.theme-home {
  --blob-color-1: rgba(91, 127, 166, 0.3);
  --blob-color-2: rgba(122, 82, 48, 0.3);
  --blob-color-3: rgba(44, 74, 62, 0.3);
  --blob-color-4: rgba(91, 127, 166, 0.25);
  --blob-color-5: rgba(122, 82, 48, 0.25);
}

/* ==========================================================================
   14. PANALES HOME DASHBOARD (DE UN VISTAZO)
   ========================================================================== */
.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  grid-gap: 1.5rem;
  width: 100%;
  margin-top: 1rem;
  animation: fadeIn var(--transition-normal);
}

.home-widget {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.6rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.home-widget:hover {
  transform: translateY(-2px);
  border-color: rgba(70, 107, 92, 0.3);
}

.home-widget-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--md-sys-color-on-surface);
}

.progress-track-wrapper {
  margin: 1.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.progress-track-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
  border: var(--glass-border);
}

[data-theme="warm"] .progress-track-bar {
  background: rgba(0, 0, 0, 0.04);
}

.progress-track-fill {
  height: 100%;
  background: var(--md-sys-color-primary);
  border-radius: var(--radius-pill);
  transition: width var(--transition-normal) ease-out;
  box-shadow: 0 0 10px rgba(70, 107, 92, 0.4);
}

/* ==========================================================================
   15. MICRO-ILUSTRACIONES Y AUTOCOMPLETADO
   ========================================================================== */
/* Sugerencias de autocompletado en el buscador */
.autocomplete-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--md-sys-color-surface);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: var(--glass-border);
  box-shadow: var(--glass-card-shadow);
  border-radius: var(--radius-md);
  margin-top: 0.3rem;
  max-height: 160px;
  overflow-y: auto;
  padding: 0.3rem 0;
  list-style: none;
  animation: slideDown var(--transition-fast) ease-out;
}

.autocomplete-suggestion-item {
  padding: 0.6rem 0.9rem;
  font-size: 0.82rem;
  color: var(--md-sys-color-on-surface);
  cursor: pointer;
  transition: background var(--transition-fast);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.autocomplete-suggestion-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="warm"] .autocomplete-suggestion-item:hover {
  background: rgba(0, 0, 0, 0.03);
}

/* SVG Empty States morphing animations */
@keyframes paper-plane-flight {
  0% { transform: translate(-10px, 10px) rotate(0deg); }
  30% { transform: translate(15px, -15px) rotate(5deg); }
  60% { transform: translate(-5px, -25px) rotate(-5deg); }
  100% { transform: translate(-10px, 10px) rotate(0deg); }
}

@keyframes float-up-down {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

/* ==========================================================================
   16. MEJORAS DRAG & DROP Y FÍSICA ELÁSTICA
   ========================================================================== */
.kanban-card.dragging {
  opacity: 0.35;
  transform: scale(0.96) rotate(-1deg);
  border: 1px dashed var(--md-sys-color-primary);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@keyframes drop-bounce {
  0% { transform: scale(0.96); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.kanban-card.just-dropped {
  animation: drop-bounce var(--transition-elastic);
}

/* ==========================================================================
   17. MULTI-CHINCHETAS Y MAPA INTERACTIVO DE VIAJES
   ========================================================================== */
.custom-map-marker {
  transition: transform var(--transition-fast) ease-out;
}

.custom-map-marker:hover div {
  transform: translate(-8px, -12px) scale(1.18) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45) !important;
}

/* Integrar popups nativos de Leaflet en el tema oscuro/vidrio */
.leaflet-popup-content-wrapper {
  background: var(--md-sys-color-surface) !important;
  border: var(--glass-border) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-md) !important;
  box-shadow: var(--glass-card-shadow) !important;
}

.leaflet-popup-tip {
  background: var(--md-sys-color-surface) !important;
  border: var(--glass-border) !important;
}

[data-theme="warm"] .leaflet-popup-content-wrapper {
  background: var(--glass-bg) !important;
  color: var(--md-sys-color-on-surface) !important;
}

.custom-map-popup input,
.custom-map-popup select {
  font-family: var(--font-body);
}

.custom-map-popup input:focus,
.custom-map-popup select:focus {
  outline: none;
  border-color: var(--md-sys-color-primary) !important;
  box-shadow: 0 0 0 2px rgba(192, 120, 80, 0.2);
}

/* Panel de chinchetas guardadas */
.saved-pins-container {
  animation: fadeIn var(--transition-normal);
}

.saved-pins-scroll::-webkit-scrollbar {
  width: 4px;
}

.saved-pins-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.saved-pins-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
}

[data-theme="warm"] .saved-pins-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.08);
}

.saved-pin-row {
  transition: all 0.2s ease-in-out;
}

.saved-pin-row:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  transform: translateX(4px);
}

[data-theme="warm"] .saved-pin-row {
  background: rgba(0, 0, 0, 0.02) !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
}

[data-theme="warm"] .saved-pin-row:hover {
  background: rgba(0, 0, 0, 0.05) !important;
}

.saved-pin-row div:hover .saved-pin-name {
  color: var(--md-sys-color-tertiary) !important;
}

