/* Kontener osi czasu - zwiększona wysokość */
.timeline-container {
    position: relative;
    padding: 20px;
    border-radius: 10px;
    background: var(--card-bg-light);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease-in-out;
    overflow: hidden;
    height: 300px;  /* Zwiększona wysokość */
}

body.dark-mode .timeline-container {
    background: var(--card-bg-dark);
}

/* Główna oś czasu (pozioma) */
.timeline-axis {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: translateY(-50%);
}

/* Siatka pionowa - podział na dni/tygodnie/miesiące */
.timeline-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    z-index: 1;
}

.timeline-grid div {
    width: 2px;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

body.dark-mode .timeline-grid div {
    background: rgba(255, 255, 255, 0.2);
}

/* Punkty zdarzeń */
.event {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid white;
    cursor: pointer;
    transition: transform 0.2s;
}

body.dark-mode .event {
    border: 2px solid var(--card-bg-dark);
}

/* Efekt hover */
.event:hover {
    transform: scale(1.4);
}

/* Kolory wydarzeń */
.event.created { background: #28a745; }  /* Zielony */
.event.changed { background: #ff9800; }  /* Pomarańczowy */
.event.released { background: #dc3545; }  /* Czerwony */

/* Parabola - dynamiczne rysowanie */
.parabola-path {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.parabola-line {
    stroke: rgba(0, 0, 0, 0.2);
    stroke-width: 2;
    fill: none;
}

body.dark-mode .parabola-line {
    stroke: rgba(255, 255, 255, 0.3);
}
.legend-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 5px;
}