/* Lunar Calendar Extension Styles */

/* ===== Calendar Grid Modifications ===== */

/* Make calendar cells taller to fit two lines */
.lunar-calendar .calendar-weekday,
.lunar-calendar .calendar-weekend {
    height: 3.2em;
    width: 3.2em;
}


/* Day with events - fix background for two-line layout */
.lunar-calendar .calendar-day-with-events {
    background-size: cover;
}

/* Lunar day overlay label */
.lunar-calendar .lunar-day {
    background-color: transparent !important;
    font-size: 0.64em;
}

/* Today's lunar date */
.lunar-calendar .lunar-day.calendar-today {
    font-weight: bold;
}

/* ===== Rest/Work Badge on Calendar Grid ===== */
.lunar-badge {
    font-size: 0.6em;
    font-weight: bold;
}

.lunar-badge-rest {
    color: #4caf50;
}

.lunar-badge-work {
    color: #ff5722;
}

/* ===== Lunar Info Section in Calendar Popup ===== */
.lunar-info-box {
    padding: 8px 8px;
    margin: 4px 0;
    min-height: 4.5em;
}

.lunar-detail-date {
    font-size: 1.1em;
    font-weight: bold;
    color: #eeeeee;
}

.lunar-detail-ganzhi {
    font-size: 0.95em;
    color: #cccccc;
}

.lunar-detail-festival {
    font-size: 0.95em;
    color: #cccccc;
}

/* Message view container */
.message-view {
    margin-bottom: 4px;
}
