#kalendarz-roku {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin: 0 auto;
    background-color: transparent;
}

/* Nawigacja - poprzedni/następny miesiąc */
.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
}

.navigation a {
    text-decoration: none;
    font-weight: bold;
    color: #333;
    padding: 8px 15px;
    border: 2px solid #333;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.navigation a:hover {
    background-color: #333;
    color: #fff;
}

/* Wiersz z dniami tygodnia */
.row {
    display: flex;
    gap: 10px;
}

.cell {
    flex: 1;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ddd;
    border: 1px solid #bbb;
    border-radius: 5px;
    font-size: 14px;
    position: relative;
}

/* Kolor dni tygodnia */
.cell:nth-child(1), .cell:nth-child(7) {
    background-color: #f1f1f1;
    font-weight: bold;
    color: #333;
}

/* Dni z bieżącego miesiąca */
.active span{
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    border: 0 solid #666;
    align-items: center;
    justify-content:center;
    padding: 4px;
    border-radius: 4px;
    width: 15px; 
    height:15px;
    color: white;
    background-color: brown;

}
.cell.active {
    background-color: #87cefa;
    color: #fff;
}

/* Dni z poprzedniego/następnego miesiąca */
.cell-n {
    background-color: #f0f0f0;
    color: #bbb;
}

/* Wyszarzanie poniedziałków i niedziele z innych miesięcy */
.cell-n:nth-child(1), .cell-n:nth-child(7) {
    font-weight: normal;
    color: #bbb;
}

/* Podświetlenie niedzieli */
.cell:nth-child(7) {
    background-color: #ffe0e0; /* Delikatny czerwony */
}

/* Efekt podświetlania dnia */
.cell:hover {
    background-color: #ff6347;
    cursor: pointer;
    color: white;
}

/* Tooltip */
.cell .span-tooltip {
    display: none;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px;
    border-radius: 5px;
    font-size: 12px;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    width: 200px;
    z-index: 1000;
    height: auto;
    flex-direction: column;
    gap:20px
}

.cell:hover .span-tooltip {
    display: flex
}