.lesson {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    border: none;
    margin-bottom: 20px;
    border: 1px solid var(--color_blue);
}

.lesson thead tr {
    display: flex;
    flex-direction: column;
}

.lesson thead th {
    font-weight: bold;
    text-align: left;
    border: none;
    padding: 10px 15px;
    background: var(--color_blue);
    color: #fff;
    font-size: 14px;
}

.lesson tbody {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
}

.lesson tbody tr {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: max-content;
    border-left: 1px solid #ddd;
    background: #e8e8e8;
}

.lesson tbody td {
    text-align: left;
    padding: 10px 15px;
    font-size: 14px;
    vertical-align: top;
}

.lesson thead tr th:first-child{
    border-left: none;
}
.lesson tbody tr td:first-child {
    border-left: none;
    background: var(--color_blue);
    color: #fff;
}

.lesson thead tr th:last-child,
.lesson tbody tr td:last-child {
    border-right: none;
}

.lesson tbody tr td:nth-child(even) {
    background: #fff; 
}
.lesson thead tr th:nth-child(even) {
    background: rgba(0, 47, 109, 0.81);
}
