/* 日历容器样式 */
.calendar-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

/* 日历头部 */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.calendar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
}

.calendar-title i {
    margin-right: 0.5rem;
    color: #3b82f6;
}

.calendar-nav {
    display: flex;
    gap: 0.5rem;
}

.calendar-nav button {
    padding: 0.5rem 1rem;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.calendar-nav button:hover:not(:disabled) {
    background-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

/* 事件列表容器 */
.events-list {
    width: 100%;
}

/* 事件项样式 */
.event-item {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.event-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* 移除旧的事件重要性颜色类 */
.event-important,
.event-medium,
.event-low {
    border-left: none;
    background: none;
}

/* 更新事件项样式 */
.events-list .p-4 {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.events-list .p-4:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* 调整分页按钮样式 */
#prevPage, #nextPage {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    background-color: #f3f4f6;
    color: #4b5563;
    transition: all 0.2s ease;
}

#prevPage:hover:not(:disabled), #nextPage:hover:not(:disabled) {
    background-color: #e5e7eb;
    color: #111827;
}

/* 调整分页信息样式 */
#paginationInfo {
    margin-top: 1rem;
    color: #6b7280;
    font-size: 0.75rem;
}

/* 分页信息 */
.pagination-info {
    text-align: center;
    margin-top: 1.5rem;
    color: #64748b;
    font-size: 0.875rem;
}

/* 分页按钮样式 */
#prevPage, #nextPage {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

#prevPage:disabled, #nextPage:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* 响应式调整 */
@media (max-width: 640px) {
    .calendar-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .event-item {
        padding: 0.75rem;
    }

    .pagination-info {
        font-size: 0.75rem;
    }
}