/* C-Ga: Calendar Style (Ver 2.1 - Dot Indicator Added) */
.ll-calendar-wrap {
    background: var(--ll-bg-card, #fff);
    border-radius: 16px;
    padding: 12px 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.ll-cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 5px;
}

.ll-cal-header-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: var(--ll-text-main, #333);
}

.ll-cal-toggle {
    font-size: 12px;
    padding: 5px 10px;
    border: 1px solid #eee;
    border-radius: 15px;
    background: #fff;
    cursor: pointer;
    color: #666;
}

.ll-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
    font-weight: 600;
}

.ll-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.ll-cal-cell {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 13px;
    color: var(--ll-text-main, #333);
    position: relative;
    cursor: pointer;
    background-color: transparent;
    transition: background-color 0.2s;
}

.ll-cal-cell:active {
    background-color: #f5f5f5;
}

.ll-cal-cell.empty {
    pointer-events: none;
}

/* 주간 보기 모드 */
.ll-calendar-wrap.mode-week .ll-cal-cell:not(.in-current-week) {
    display: none;
}
.ll-calendar-wrap.mode-week .ll-cal-cell.empty:not(.in-current-week) {
    display: none;
}

/* 오늘 날짜 강조 */
.ll-cal-cell.is-today {
    border: 2px solid var(--ll-color-primary, #4b7bec);
    font-weight: 700;
    color: var(--ll-color-primary, #4b7bec);
    background-color: #fff;
}

/* 데이터 상태별 색상 */
.ll-cal-cell.has-data {
    background-color: #f0f7ff;
}
.ll-cal-cell.score-good {
    background-color: #d1fae5;
    color: #065f46;
}
.ll-cal-cell.score-bad {
    background-color: #fee2e2;
    color: #991b1b;
}

/* [NEW] 일정 표시 점 (Dot) */
.day-dot {
    width: 5px;
    height: 5px;
    background-color: #ff4757; /* 잘 보이는 붉은색 */
    border-radius: 50%;
    position: absolute;
    bottom: 6px; /* 날짜 숫자 아래 위치 */
    left: 50%;
    transform: translateX(-50%);
}

/* 좁은 화면 대응 */
@media (max-width: 340px) {
    .ll-cal-cell {
        font-size: 12px;
        border-radius: 6px;
    }
}