body {
    background-color: #f5f6fa;
}

#calendar {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-color {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.15s, transform 0.15s;
}

.btn-color:hover {
    transform: scale(1.15);
}

.btn-color.selected {
    border-color: #212529;
}

.fc-button {
    text-transform: capitalize !important;
}

.fc-toolbar-title {
    font-size: 1.2rem !important;
}

@media (max-width: 768px) {
    .fc-toolbar {
        flex-direction: column;
        gap: 0.5rem;
    }

    .fc-toolbar-title {
        font-size: 1rem !important;
    }

    .fc .fc-button {
        font-size: 0.8rem;
        padding: 0.3em 0.5em;
    }

    .fc-timegrid-col-frame {
        min-width: 0;
    }

    .fc-daygrid-day-number {
        font-size: 0.85rem;
    }

    .fc-timegrid-slot-label-cushion {
        font-size: 0.7rem;
    }

    .fc-event-title {
        font-size: 0.75rem;
    }

    #calendar {
        padding: 0.5rem;
    }
}

.navbar-brand {
    cursor: default;
}

.fc-daygrid-day-number {
    float: none !important;
    text-align: center;
    display: block;
    width: 100%;
}

.fc-daygrid-day-top {
    justify-content: center !important;
}

.fc-col-header-cell-cushion:has(.fc-hd-wd) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 3px 1px;
    line-height: 1.2;
}

.fc-hd-wd {
    font-size: 0.65rem;
    line-height: 1.1;
    white-space: nowrap;
    display: block;
}

.fc-hd-d {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.1;
    white-space: nowrap;
    display: block;
}

#app-loading {
    height: 60vh;
}

#app-loading .spinner-border {
    width: 3rem;
    height: 3rem;
}

#event-list {
    max-width: 1200px;
    margin: 0 auto;
}

.event-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

#event-list .list-group-item {
    border-left: none;
    border-right: none;
}
