body {
    font-family: 'Helvetica', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #333;
}

/* 导航栏基础样式 */
.custom-navbar {
    height: 60px;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: 1px solid #dee2e6 !important;  /* 深蓝色 */
}

.brand-logo {
    margin-left: 20px !important;
    padding-left: 0 !important;
}

.navbar a.nav-link {
    font-size: 0.9rem;
    color: #333333; /* 深灰色文字 */
  }

.navbar a.nav-link:hover {
  color: #2780e3; 
  border-bottom: 2px solid #2780e3; 
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.2); /* 灰色发光 */
}

/* 确保折叠菜单不会在桌面端显示 */
@media (min-width: 992px) {
    .collapse-horizontal {
        display: none !important;
        visibility: hidden !important;
    }
}

/* 手机端菜单动画样式 */
.mobile-menu-collapse {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 1000;
    overflow: hidden;
    transition: all 0.3s ease-out;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-menu-collapse.show {
    max-height: 300px; /* 足够容纳内容的高度 */
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-items {
    background-color: #ffffff; /* 白色背景 */
    border-radius: 0 0 8px 8px;
    padding: 8px 0;
}

.mobile-menu-items .nav-link {
    color: #333333 !important; /* 深色文字 */
    transition: all 0.2s ease;
    margin: 2px 8px;
    border-radius: 4px;
}

.mobile-menu-items .nav-link:hover {
    background-color: #f5f5f5; /* 悬停背景色 */
}

.mobile-menu-items .nav-link i {
    width: 20px;
    text-align: center;
    margin-right: 12px;
    color: #3c90d9; /* 图标颜色 */
}

@media (prefers-color-scheme: dark) {
    .mobile-menu-items {
        background-color: #2d3748;
    }
    .mobile-menu-items .nav-link {
        color: #f7fafc !important;
    }
    .mobile-menu-items .nav-link:hover {
        background-color: #4a5568;
    }
}

.active-black, .active-black i {
    color: black !important;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card {
    border: none;
    border-radius: 8px;
    /*padding: 16px;*/
    margin-bottom: 16px;
    box-sizing: border-box; /* 包含边框和内边距在宽度内 */
}

/* assets/custom.css */
.card-title:hover {
    font-size: 1.5rem;
    text-align: left;
    text-decoration: underline !important; /* 鼠标悬停时显示下划线 */
    text-decoration-thickness: 1px !important;
    text-decoration-color: #333542 !important;
    text-underline-offset: 2px;
}

.card-title {
    margin-bottom: 0.8rem; /* 默认状态下的间距 */
}

.card-header {
    font-size: 1.25rem;
    font-weight: bold;
}

.card-text {
    text-align: left;
    line-height: 1.2;
    font-size: 0.8rem;
}

.calendar-wrapper {
    border-top: 5px solid #fac863; /* 颜色条 */
}

#calendar {
    margin-bottom: 30px; /* 为日历组件添加底部边距 */
    /*height:800px;*/
    border: 15px solid #fff; /* 添加边框
    border-radius: 8px; /* 圆角边框 */
    background-color: #fff; /* 背景颜色 */
}


/* 固定单元格高度 */
.fc-daygrid-day-frame {
    height: 130px !important;
    min-height: 80px !important;
}

.fc-daygrid-day-events {
    height: calc(100% - 20px) !important; /* 100% - 顶部日期高度 */
    margin-bottom: 0 !important;
}

.fc-daygrid-event-harness {
    height: 20px !important; /* 固定每个事件高度 */
    margin: 1px 0 !important;
}

/* 仅针对日历内的链接 */
.fc a {
    color: black !important;
    text-decoration: none !important;
}

.fc-daygrid-more-link {
    margin-top: 5px !important;
    font-size: 13px;
    cursor: pointer;
}

#create-schedule-btn:hover {
    background-color: #1a252f !important;
}
