*, *:before, *:after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --color-bg-calendar: #1b1e22;
    --color-cell: #e3e3e3;
    --color-cell-disabled: #424649;
}

.root {
    min-height: 100vh;
    padding: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.horarios,
.calendar {
    background-color: rgba(0,0,0,0.8);
    border-radius: 3px;
    width: 100%;
    max-width: 300px;
    font-family: sans-serif;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.horarios {
    background-color: rgb(51, 53, 50, 0.5);
}

.horario__header,
.calendar__header {
    color: white;
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    margin-bottom: 30px;
    padding:15px 20px;
    background-color: #A70D0D;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.horario__header {
    justify-content: center;
}

.horario__horario,
.calendar__body {
    padding:10px;
}

.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: #ffffff;
    background-color: #F8889A;
    border-radius: 50%;
    border: 2px solid #F8889A;
    box-shadow: 0 0 0 2px var(--color-bg-calendar) inset;
}

.grid__cell--disabled {
    color: var(--color-cell-disabled);
    cursor: not-allowed;
}

.horario__body.horario__body {
    padding:15px 0 !important;
}

.horario__disponibles {
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.horario__body div {
    padding: 5px 0;
}

.horario__body div label {
    color:#ffffff !important;
    font-size:18px;
    margin-left:10px;
}