/* pbs.css - pbs.php 专有样式 */

.container {
    max-width: 1200px;
    margin: 90px auto 0 auto;
    padding: 20px 20px 0px 20px;
}
.containers {
    max-width: 1200px;
    margin:  0 auto;
    padding: 20px;
}

.calendar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.calendar-arrow {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: rgba(63, 63, 63, 0.4);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.calendar-item {
    flex: 0 0 auto;
    min-width: 60px;
    width: 60px;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    background-color: #fff;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border-right: rgba(108, 124, 161, 0.18) solid 1px;
}

.calendar-item.selected,
.calendar-item.today {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
    transform: scale(1.1);
}

.calendar-item.selected {
    background-color: #007bff;
    color: #fff;
    transform: scale(1.1);
    font-weight: bold;
    border: none;
}
.calendar-item.today {
    background-color: #ee6100; /* 固定颜色 */
    color: #fff;
    transform: scale(1.1);
    font-weight: bolder;
    border: none;
}
.calendar-item span {
    display: block;
    font-size: 12px;
    color: #333;
}

.calendar-item.selected span { color: #fff; border-radius: 5px; }

.calendar-item.today {
    background-color: #ee6100;
}

.calendar-item.today span {
    color: #fff;
}

/* pbs.css - 修改后版本 */

/* 日历部分：去掉滚动条 */
.calendar-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
    gap: 5px;
    scroll-behavior: smooth;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

.calendar-container::-webkit-scrollbar {
    display: none; /* 隐藏滚动条 */
}
.calendar-container {
    -ms-overflow-style: none; /* IE 隐藏滚动条 */
}

/* pbs.css - 修改后 */

/* 固定科室列宽度 */
.table.table-bordered {
    width: 100%;
}

.table.table-bordered .tclassname {
    width: 24%;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    font-size: 16px;
    line-height: 30px;
    white-space: nowrap; /* 防止科室名称换行 */
    width: 100px !important;
    white-space: nowrap; /* 禁止换行 */
    overflow: hidden;    /* 超出隐藏 */
    text-overflow: ellipsis; /* 添加省略号 */
}
.table.table-bordered .uclassname {min-width: 200px;    max-width: 100%;}


.calendar-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

