/* Estilos claros estilo HubSpot para CRM X Once */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --hubspot-orange: #0cc0df;
  --hubspot-orange-hover: #0aaecb;
  --hubspot-navy: #2d3e50;
  --hubspot-bg: #f5f8fa;
  --hubspot-text: #33475b;
  --hubspot-muted: #516f90;
  --hubspot-border: #cbd6e2;
}

body {
  font-family: var(--font-sans);
  background-color: var(--hubspot-bg);
  color: var(--hubspot-text);
}

/* Scrollbars modernos estilo HubSpot */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #edf2f7;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* SortableJS drag & drop styles para tema claro */
.sortable-ghost {
  opacity: 0.4;
  background-color: #ecfeff !important;
  border: 2px dashed #0cc0df !important;
}

.sortable-chosen {
  cursor: grabbing;
}

.sortable-drag {
  opacity: 0.95;
  transform: rotate(1.5deg) scale(1.02);
  box-shadow: 0 15px 30px -5px rgba(45, 62, 80, 0.25), 0 5px 15px -3px rgba(45, 62, 80, 0.15);
}

/* Paneles y tarjetas estilo HubSpot */
.hubspot-panel {
  background: #ffffff;
  border: 1px solid #e5e9ed;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.hubspot-card {
  background: #ffffff;
  border: 1px solid #cbd6e2;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
}

.hubspot-card:hover {
  border-color: #0cc0df;
  box-shadow: 0 4px 12px -2px rgba(12, 192, 223, 0.18);
}

/* Botón de acción principal */
.btn-hubspot {
  background-color: #0cc0df;
  color: #ffffff;
  font-weight: 600;
  transition: all 0.15s ease-in-out;
}

.btn-hubspot:hover {
  background-color: #0aaecb;
  box-shadow: 0 4px 10px rgba(12, 192, 223, 0.35);
}

.btn-hubspot-outline {
  background-color: #ffffff;
  border: 1px solid #cbd6e2;
  color: #33475b;
  font-weight: 600;
  transition: all 0.15s ease-in-out;
}

.btn-hubspot-outline:hover {
  background-color: #f5f8fa;
  border-color: #94a3b8;
  color: #1e293b;
}

/* Sidebar lateral */
.sidebar-btn {
  position: relative;
  transition: all 0.15s ease-in-out;
}

.sidebar-btn.active {
  color: #0cc0df !important;
  background-color: rgba(255, 255, 255, 0.08);
}

.sidebar-btn.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3.5px;
  background-color: #0cc0df;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

/* Estilos de la página de Inicio estilo HubSpot */
.home-heading {
  font-family: 'Georgia', 'Cambria', serif;
}

/* ========================================== */
/* TARJETA DE ACTIVIDADES (REPLICA HUBSPOT)   */
/* ========================================== */
.timeline-stream-container {
  position: relative;
  padding-left: 2.25rem;
}

.timeline-vertical-line {
  position: absolute;
  left: 1rem;
  top: 1rem;
  bottom: 1.25rem;
  width: 2px;
  background-color: #cbd6e2;
}

.timeline-item-wrapper {
  position: relative;
  margin-bottom: 1rem;
}

.timeline-item-wrapper:last-child {
  margin-bottom: 0.25rem;
}

.timeline-node-icon {
  position: absolute;
  left: -2.25rem;
  top: 0.75rem;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background-color: #ffffff;
  border: 1px solid #cbd6e2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #516f90;
  z-index: 10;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
}

.timeline-card-box {
  background-color: #ffffff;
  border: 1px solid #cbd6e2;
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.02);
  transition: all 0.15s ease-in-out;
}

.timeline-card-box:hover {
  border-color: #94a3b8;
  box-shadow: 0 2px 5px -1px rgba(0, 0, 0, 0.05);
}

.timeline-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.timeline-card-divider {
  border-top: 1px solid #f1f5f9;
  margin: 0.625rem 0;
}

.timeline-end-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  border: 2px solid #cbd6e2;
  background-color: #ffffff;
  position: absolute;
  left: -1.65rem;
  bottom: -0.25rem;
  z-index: 10;
}


