body {
  font-family: 'Inter', sans-serif;
  background-color: #f3f4f6;
}
.view.hidden {
  display: none;
}
@keyframes fadeIn { 
  from { opacity: 0; transform: translateY(5px); } 
  to { opacity: 1; transform: translateY(0); } 
}
.fade-in {
  animation: fadeIn 0.4s ease-in-out;
}
.sidebar {
  background-color: #e5e7eb;
}
.main-content {
  background-color: #f9fafb;
}
.nav-link {
  display: flex;
  align-items: center;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  color: #374151;
  border-radius: 0.5rem;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.nav-link.active {
  background-color: #2563eb;
  color: #ffffff;
  font-weight: 600;
}
.nav-link:not(.active):hover {
  background-color: #d1d5db;
}
.card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  border-width: 1px;
  border-color: #e5e7eb;
}
.input-base {
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid #d1d5db;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  padding: 0.5rem 0.75rem;
}
.input-base:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px #3b82f6;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.label-base {
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.25rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border-width: 1px;
  border-color: transparent;
  background-color: #2563eb;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #ffffff;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}
.btn-primary:hover {
  background-color: #1d4ed8;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border-width: 1px;
  border-color: #d1d5db;
  background-color: #ffffff;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #374151;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}
.btn-secondary:hover {
  background-color: #f9fafb;
}
.notification-dot {
  width: 0.625rem;
  height: 0.625rem;
  background-color: #3b82f6;
  border-radius: 9999px;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: .5; }
}

/* Stili aggiuntivi per i blocchi di analisi dei set */
.set-video-block {
  transition: box-shadow 0.2s ease-in-out;
}

.set-video-block:hover {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* MODIFICA: Stile per la transizione della progress bar */
#upload-progress-bar {
  transition: width 0.3s ease-in-out;
}
/* ... stili esistenti ... */

/* Stili per la nuova sidebar con effetto glass */
.sidebar {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border-right-width: 1px;
  border-color: rgba(229, 231, 235, 0.6);
}

/* Stili per la timeline delle sessioni */
#session-timeline-container .flex-col.items-center::before {
  content: '';
  position: absolute;
  left: 1.45rem; /* Centra la linea con il pallino */
  top: 2rem;
  bottom: -0.5rem;
  width: 2px;
  background-color: #e5e7eb;
  z-index: -1;
}

#session-timeline-container > div:last-child .flex-col.items-center::before {
    display: none; /* Nasconde la linea dopo l'ultimo elemento */
}

/* Stile per card nella focus section */
#focus-container .card {
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
#focus-container .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Stile per helper 'line-clamp' */
.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}