@charset "utf-8";

.calendar-month-panel, .calendar-week-panel {
    min-height: 0;
}

.calendar-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
}

.calendar-month-panel .calendar-header .title {
    letter-spacing: 2px;
    text-align: center;
}

.btn-mv {
    padding: 0;
}

.btn-mv:hover {
    border-color: #245da9;
}

.btn-mv:active {
    padding-top: 1px;
    background: #b8d2f0;
    box-shadow: inset 1px 1px 0 #789dcb;
}

.calendar-header .btn-mv:first-child::after,
.calendar-header .btn-mv:last-child::after {
    color: #173a6a;
    font-size: 10px;
}

.week-days {
    margin: 0 0 3px;
}

.calendar-month-panel .week-days div {
    border-right: 1px solid #9cbce5;
    letter-spacing: 0.4px;
}

.days-grid {
    margin-top: 0;
}

.calendar-month-panel .day {
    min-width: 0;
    cursor: pointer;
    transition: none;
}

.calendar-month-panel .day:hover {
    z-index: 1;
    border-color: #3976c8;
}

.calendar-month-panel .day.empty {
    border: 1px solid transparent !important;
    background: transparent !important;
    opacity: 1;
}

.calendar-month-panel .day.empty::after {
    content: none;
}

.calendar-month-panel .day.selected {
    border: 1px solid #235fae !important;
}

.date-num {
    margin: 0;
    font-family: "Mona10", "Mona12", "Pretendard Variable", "Pretendard", sans-serif;
    font-size: 10px;
    line-height: 1;
}

.calendar-month-panel .event-list {
    display: flex;
    min-width: 0;
    margin-top: 3px;
    gap: 2px;
    overflow: hidden;
}

.calendar-month-panel .mobile-indicators {
    display: none;
}

.calendar-month-panel .evt {
    min-width: 0;
    position: relative;
    padding: 3px 5px 3px 13px;
    border-radius: 5px;
    font-size: 10px;
    line-height: 1.3;
    color: var(--retro-text);
    box-shadow: 1px 1px 0 rgba(89, 61, 142, 0.12);
}

.calendar-month-panel .evt::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    width: 5px;
    height: 5px;
    margin-top: -3px;
    border: 1px solid currentColor;
    border-radius: 50%;
}

.calendar-month-panel .day-stickers {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 3px;
    min-width: 0;
    max-height: 48px;
    overflow: hidden;
    margin-top: 4px;
}

.calendar-month-panel .day-sticker {
    display: inline-block;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    padding: 2px 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    background: var(--retro-blue);
    color: #fffaff;
    font-family: "Mona10", "Mona12", "Pretendard Variable", "Pretendard", sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.12);
}

.day-sticker.type-1 {
    background: #b39ddb;
}
.day-sticker.type-2 {
    background: #80cbc4;
}
.day-sticker.type-3 {
    background: #ef9a9a;
}
.day-sticker.type-4 {
    background: #ffe082;
    color: #6b5900;
}
.day-sticker.type-5 {
    background: #b0bec5;
}
.day-sticker.type-6 {
    background: #90caf9;
}
.day-sticker.type-7 {
    background: #a5d6a7;
}
.day-sticker.type-8 {
    background: #f48fb1;
}
.day-sticker.type-9 {
    background: #ffcc80;
    color: #6b4a1f;
}
.day-sticker.type-10 {
    background: #ef5350;
}

.day-sticker-more {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 3;
    width: 26px;
    height: 26px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 3px 4px;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    background: var(--retro-blue);
    color: #fffaff;
    font-family: "Mona10", "Mona12", "Pretendard Variable", "Pretendard", sans-serif;
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 768px) {
    .calendar-month-panel .day-stickers {
    display: none;
}

    .calendar-month-panel .mobile-indicators {
    display: flex;
}
}

.calendar-month-panel #calendar-event-list {
    min-height: 64px;
    border-left: 3px solid #3976c8;
}

.list-item {
    min-height: 25px;
    border-bottom: 1px dotted #a8c3e4;
}

@media (max-width: 768px) {

.calendar-header {
    margin-bottom: 8px;
}

    .calendar-month-panel .calendar-header .title {
    min-width: 96px;
    font-size: 16px;
}

.is-mobile-view .day {
    min-height: 45px;
    padding: 4px;
}

    .calendar-month-panel .week-days div {
    padding: 5px 1px;
    font-size: 10px;
}

    .calendar-month-panel #calendar-event-list {
    min-height: 56px;
    margin-top: 8px;
    padding: 10px;
}
}

