/* calendar.css - 日历插件样式 */
.calendar-plugin-container {
    position: relative;
    display: inline-block;
}
.calendar-plugin-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #f0f2f5;
    border: 1px solid #d1d9e6;
    border-radius: 8px;
    font-size: 14px;
    color: #1f2a3e;
    cursor: pointer;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    transition: background 0.2s;
}
.calendar-plugin-trigger:hover {
    background-color: #e6e9f0;
}
.calendar-plugin-popup {
    position: absolute;
    z-index: 9999;
    background: #ffffff;
    border: 1px solid #c5c5c5;
    width: 230px;
    font-family: system-ui, sans-serif;
    opacity: 0;
    display: none;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s;
    pointer-events: none;
}
.calendar-plugin-popup.open {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.calendar-plugin-inner {
    padding: 4px 10px 2px 10px;
    position: relative;
}
.calendar-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 13px;
}
.calendar-nav-header .date-num {
    padding-top: 6px;
    color: #1f93d5;
}
.calendar-nav-header .date-text {
    padding-top: 6px;
}
.year-month-area {
    font-size: 18px;
    font-weight: 560;
    color: #1e2f3e;
    background: #f8fafc;
    padding: 4px 12px;
    border-radius: 24px;
}
.nav-group {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    padding: 4px 8px;
}
.nav-icon-btn {
    background: transparent;
    border: none;
    font-size: 12px;
    cursor: pointer;
    /* width: 28px; */
    border-radius: 20px;
}
.lashen {
    transform: scaleY(1.8);
}
.nav-icon-btn.today {
    font-size: 14px;
    width: auto;
    background: #1f93d5;
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 3px 14px;
}
/* .nav-icon-btn:hover {
    background: #e2e8f0;
} */
 .flex {
    display: flex;
    align-items: center;
    gap: 20px;
 }
.action-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}
.action-btn {
    flex: 1;
    background: #FFFFF5;
    border: none;
    padding: 3px 30px;
    cursor: pointer;
    color: #626262;
    position: absolute;
    bottom: 40px;
    right: 14px
}
.action-btn:hover {
    background: #e2e8f0;
}
.week-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 4px;
    font-size: 14px;
    color: #fff;
    background-color: #1f93d5;
    line-height: 28px;
}
.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 6px;
}
.day-cell {
    text-align: center;
    padding: 4px 0;
    font-size: 14px;
    cursor: pointer;
    /* border-radius: 24px; */
    color: #4b5563;
}
.day-cell:hover {
    background: #eef2ff;
}
.day-cell.other-month {
    color: #b9c8e8;
}
.day-cell.selected {
    background: #1f93d5;
    color: white;
}
.footer-tip {
    font-size: 10px;
    color: #9aaebe;
    text-align: center;
    border-top: 1px solid #ecf3fa;
    padding-top: 8px;
}
/* .calendar-plugin-popup::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-left: 1px solid #c5c5c5;
    border-top: 1px solid #c5c5c5;
    transform: rotate(45deg);
    top: -6px;
    left: 20px;
} */
.popup-arrow-bottom::before {
    top: auto;
    bottom: -6px;
    transform: rotate(225deg);
}