/**
 * Style dla grafiku zajęć
 */

.jksystem-grafik-container {
    margin: 20px 0;
    overflow-x: auto;
}

.grafik-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.grafik-table thead {
    background: #2c3e50;
    color: white;
}

.grafik-table th {
    padding: 15px;
    text-align: center;
    font-weight: bold;
    text-transform: capitalize;
    border: 1px solid #34495e;
}

.grafik-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.grafik-table tbody tr:last-child {
    border-bottom: none;
}

.grafik-table td {
    padding: 0;
    border: 1px solid #e0e0e0;
    vertical-align: top;
    min-width: 120px;
    height: 80px;
}

.grafik-table td:empty {
    background: #f9f9f9;
}

.grafik-cell {
    padding: 10px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: opacity 0.2s;
    cursor: pointer;
}

.grafik-cell:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.grafik-cell-content {
    width: 100%;
}

.grafik-time {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
}

.grafik-name {
    font-size: 13px;
    margin-bottom: 3px;
    line-height: 1.3;
}

.grafik-instructor {
    font-size: 11px;
    opacity: 0.9;
    font-style: italic;
}

/* Kolory komórek */
.grafik-cell[data-kolor="#3498db"] {
    background-color: #3498db !important; /* niebieski - kursy */
    color: white;
}

.grafik-cell[data-kolor="#e74c3c"] {
    background-color: #e74c3c !important; /* czerwony - średnio zaawansowana */
    color: white;
}

.grafik-cell[data-kolor="#2c3e50"] {
    background-color: #2c3e50 !important; /* czarny - normalne */
    color: white;
}

.grafik-cell[data-kolor="#27ae60"] {
    background-color: #27ae60 !important; /* zielony */
    color: white;
}

.grafik-cell[data-kolor="#f39c12"] {
    background-color: #f39c12 !important; /* pomarańczowy */
    color: white;
}

/* Responsywność */
@media (max-width: 768px) {
    .grafik-table {
        font-size: 12px;
    }
    
    .grafik-table th,
    .grafik-table td {
        padding: 8px 4px;
        min-width: 80px;
    }
    
    .grafik-time {
        font-size: 12px;
    }
    
    .grafik-name {
        font-size: 11px;
    }
    
    .grafik-instructor {
        font-size: 10px;
    }
}








