body {
    font-family: serif;
}

table.calendar {
    border-collapse: separate;
    border-spacing: 10px;
    margin: auto;
}

/* Caption – zaļais virsraksts */
caption {
    caption-side: top;
    background: green;
    color: white;
    font-size: 36px;
    font-weight: bold;
    padding: 25px;
    margin-bottom: 10px;
    text-align: center;
}

caption span {
    font-style: italic;
}

/* Kolonnu platumi */
col.week-col {
    background: #1e90ff;
}

col.workday {
    background: white;
}

col.saturday,
col.sunday {
    background: yellow;
}

/* Tabulas šūnas */
th, td {
    border: 1px solid black;
    padding: 10px;
    min-width: 80px;
    height: 40px;
    text-align: left;
    vertical-align: top;
}

/* Nedēļas kolonna */
.week-title {
    background: #1e90ff;
    color: pink;
    font-size: 20px;
}

.week {
    background: #00ff00;
    color: magenta;
    font-weight: bold;
    text-align: center;
}

/* Nedēļas dienu virsraksti */
thead th {
    text-align: center;
    font-size: 18px;
}

thead th:nth-child(odd) {
    background: blue;
    color: white;
}

thead th:nth-child(even) {
    background: green;
    color: white;
}
