﻿:root {
    --color-bg-calendar: rgba(43, 120, 64, 0.8);
    --color-cell: #e3e3e3;
    --color-cell-disabled: #0c2d35;
}

.calendar {
    padding: 20px 10px;
    background-color: rgba(43, 120, 64, 0.8);
    border-radius: 10px;
    width: 100%;
    max-width: 300px;
    font-family: sans-serif;
}

.calendar__header {
    color: white;
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-cell-disabled);
}

.calendar .control {
    color: white;
    font-weight: bold;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0 5px;
}

.grid__header, .grid__body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.grid__header {
    color: white;
    margin-bottom: 20px;
}

.grid__body {
    grid-auto-rows: 40px;
    color: var(--color-cell);
}

.grid__cell {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid__cell--gd {
    cursor: pointer;
}

.grid__cell--selected {
    color: var(--color-bg-calendar);
    background-color: white;
    border-radius: 10px;
    border: 2px solid white;
}

.grid__cell--disabled {
    color: var(--color-cell-disabled);
}

.bg-blue {
    color: white;
    background-color: rgb(48, 48, 155);
    border-radius: 10px;
}

.bg-yellow {
    color: black;
    background-color: rgb(217, 233, 76);
    border-radius: 10px;
}

.bg-green {
    color: white;
    background-color: rgb(69, 202, 75);
    border-radius: 10px;
}

.squares-color {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 0px;
    margin: 0px;
}