/* calendar-starter-example.css - v1.0.4 */

.calendar-starter-example {
    box-sizing: border-box;
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: 420px;
    margin: 0;
    padding: 0 0 8px;
    overflow: hidden;
    background: #ffffff;
}

.calendar-starter-example__grid {
    box-sizing: border-box;
    display: grid;
    flex: 1 0 390px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: repeat(6, minmax(54px, 1fr));
    gap: 6px;
    width: 100%;
    min-width: 0;
    padding: 6px 3px;
    overflow: hidden;
    background: #ffffff;
    border-radius: 10px;
}

.calendar-starter-example__lesson {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: 0;
    align-items: center;
    justify-content: center;
    padding: 5px 4px;
    overflow: hidden;
    color: #111827;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.calendar-starter-example__subject {
    display: block;
    max-width: 100%;
}

.calendar-starter-example__lesson--blue { background: #60a5fa; }
.calendar-starter-example__lesson--green { background: #4ade80; }
.calendar-starter-example__lesson--mint { background: #86efac; }
.calendar-starter-example__lesson--cyan { background: #a5d8e8; }
.calendar-starter-example__lesson--pink { background: #f472b6; }
.calendar-starter-example__lesson--orange { background: #fdba74; }
.calendar-starter-example__lesson--yellow { background: #fde047; }
.calendar-starter-example__lesson--neutral { background: #e5e7eb; }

.calendar-starter-example__outside {
    box-sizing: border-box;
    display: flex;
    flex: 1 0 320px;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 32px;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.45;
    text-align: center;
}

@media (max-width: 600px) {
    .calendar-starter-example {
        min-height: 330px;
    }

    .calendar-starter-example__grid {
        flex: 0 0 auto;
        grid-template-rows: repeat(6, minmax(72px, auto));
        gap: 4px;
        padding: 4px 2px;
    }

    .calendar-starter-example__lesson {
        padding-inline: 2px;
        border-radius: 6px;
        font-size: 0.8rem;
    }
}
