/* 新闻动态 */
.news {
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
}

.news-item {
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #edf2f7;
}

.news-item:last-child {
    border-bottom: none;
}

.news-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.news-left img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.news-content {
    font-size: 14px;
    color: #2c4a6e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-date {
    font-size: 12px;
    color: #8aa0b0;
    flex-shrink: 0;
    margin-left: 12px;
}

.news-item:hover {
    background-color: #f8fafc;
}

.news-item:hover .news-left img {
    transform: translateX(3px);
    transition: transform 0.2s;
}

/* 箭头动画效果 */
.news-item:hover .news-title img {
    transform: translateX(3px);
    transition: transform 0.2s;
}

/* 科室模块 */
.department {
    margin: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.department-item {
    background: #fff;
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.dep-titl {
    font-size: 18px;
    font-weight: 700;
    color: #1b6b8f;
    border-left: 5px solid #1b8cbb;
    padding-left: 12px;
    margin-bottom: 14px;
}

.dep-rooms {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dep-rooms a {
    background: #f1f9ff;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 14px;
    color: #1c6f9c;
    text-decoration: none;
    font-weight: 500;
}

.dep-rooms a:active {
    background: #e2f0fe;
}

/* 医师团队模块样式 - 列表式，无卡片背景 */
.doctor {
    margin: 0 auto;
}

.doc-header {
    background: #1180CF;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.doc-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.doc-left img {
    width: 50px;
    height: auto;
}

.doc-left div {
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.doc-left em {
    font-style: normal;
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
    margin-left: 6px;
}

.btn-more {
    background: white;
    color: #1180CF;
    padding: 6px 20px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.btn-more:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.btn-more:active {
    transform: scale(0.96);
}

/* 科室选项卡样式 - 横线分隔，无背景 */
.doc-dep {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 20px;
}

.doc-dep div {
    padding: 8px 5px;
    font-size: 15px;
    font-weight: 500;
    color: #5a6e7c;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
    border-radius: 0;
    position: relative;
}

.doc-dep div.active {
    color: #2c7da0;
}

.doc-dep div.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #2c7da0;
}

.doc-dep div:hover {
    color: #2c7da0;
}

/* 医生列表 - 列表式，无卡片背景，横线分隔 */
.doc-list {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

/* 医生条目 - 列表样式，无背景无阴影 */
.doctor-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #edf2f7;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}

.doctor-item:hover {
    background-color: #fafcff;
}

.doctor-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.doctor-info {
    flex: 1;
    min-width: 0;
}

.doctor-name-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.doctor-name {
    font-size: 18px;
    font-weight: 700;
    color: #1e2f3c;
}

.doctor-title {
    font-size: 13px;
    color: #fff;
    background-color: #2473ef;
    padding: 4px 8px;
    border-radius: 4px;
}

.doctor-dept {
    font-size: 13px;
    color: #2c7da0;
    margin-bottom: 10px;
}

.doctor-brief {
    font-size: 14px;
    line-height: 1.5;
    color: #5a6e7c;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
    font-size: 15px;
}

/* 评估表样式 */
.form1 {
    background: #F7F7F7;
    padding: 30px 24px;
    font-family: system-ui, -apple-system, sans-serif;
}

.titlecw {
    text-align: center;
    margin-bottom: 8px;
}

.titlecw>div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #334989;
}

.titlecw>div img {
    width: 20%;
    object-fit: cover;
}

.titlecw samp {
    font-size: 13px;
    color: #8aa0b0;
    font-style: normal;
    display: block;
    margin-top: 6px;
}

.jiange {
    height: 1px;
    background: #e0e5ec;
    margin: 20px 0;
}

.nr_n1 {
    margin-bottom: 24px;
}

.nr_n1>p {
    font-size: 16px;
    font-weight: 600;
    color: #2c4a6e;
    margin-bottom: 12px;
}

.nr_n1_dx p {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin: 0;
}

.nr_n1_dx label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #4a627a;
    cursor: pointer;
}

.nr_n1_dx input {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

.nr_n1_dx a {
    text-decoration: none;
    color: #4a627a;
}

.nr_n2 {
    background: transparent;
    margin-bottom: 20px;
}

.nr_n2_d1 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 16px;
}

.nr_n2_d1 .msgbox,
.nr_n2_d1 .msgbox2,
.nr_n2_d1 .msgbox1 {
    flex: 1;
    min-width: 140px;
}

.nr_n2_d1 label,
.nr_n2_d3 label {
    font-size: 14px;
    font-weight: 500;
    color: #2c4a6e;
    width: 50px;
    display: inline-block;
}

.nr_n2_d1 input,
.nr_n2_d3 input {
    border: 1px solid #d0d7de;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    width: calc(100% - 60px);
    background: white;
}

.nr_n2_d3 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.nr_n2_d3 .msgbox2,
.nr_n2_d3 .msgbox1 {
    flex: 1;
    min-width: 140px;
}

.nr_n2_d3 .msgbox2 input {
    width: auto;
    margin-left: 8px;
}

.nr_n2_d3 .msgbox2 a {
    margin-right: 16px;
    font-size: 14px;
}

.nr_n2_d4 {
    margin: 20px 0;
}

.nr_n2_d4>p {
    font-size: 14px;
    font-weight: 500;
    color: #2c4a6e;
    margin-bottom: 8px;
}

.nr_n2_d4 textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    background: white;
    box-sizing: border-box;
    font-family: inherit;
}

.anniu1 {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 24px 0 16px;
}

.act-submit {
    background: #1180CF;
    color: white;
    border: none;
    padding: 10px 32px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.act-submit:hover {
    background: #0e6db3;
}

.act-submit1 {
    background: #e8edf2;
    color: #5a6e7c;
    border: none;
    padding: 10px 32px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}

.act-submit1:hover {
    background: #dce3ea;
}

.wxts {
    background: transparent;
    padding: 12px 0;
    text-align: center;
    font-size: 13px;
    color: #8aa0b0;
    border-top: 1px solid #e0e5ec;
}

.wxts strong {
    color: #1180CF;
    font-weight: 600;
}




/* 底部固定 tab栏 */
.footswt {
    max-width: 640px;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 8px 0 12px;
    height: 70px;
}

.footswt ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footswt li {
    flex: 1;
    text-align: center;
}

.footswt a {
    position: relative;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #666;
}

.footswt a i {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footswt a img {
    width: 33px;
    height: 33px;
    display: block;
}

.footswt a i.mc {
    position: absolute;
    top: -62px;
    display: flex;
    flex-direction: column;
}

.footswt a i.mc img {
    width: 68px;
    height: 68px;
    margin-bottom: 5px;
}

.footswt a span {
    font-size: 11px;
    color: #5f7f9c;
}

#danwrap {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    width: 130px;
    z-index: 1100;
}

#danwrap p {
    margin: 0;
    padding: 8px 12px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

#danwrap p:last-child {
    border-bottom: none;
}

#danwrap a {
    font-size: 13px;
    color: #1b6f9e;
    text-decoration: none;
}

.clear {
    clear: both;
}

#danwrap {
    background: white;
    position: absolute;
    bottom: 58px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    padding: 12px 16px;
    width: 160px;
    z-index: 1200;
}

#danwrap p {
    padding: 6px 0;
    border-bottom: 1px solid #eff3f6;
}

#danwrap p a {
    font-size: 13px;
    color: #1f618d;
}

.cl {
    clear: both;
}

button,
input,
textarea {
    outline: none;
}