*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: #f5f5f5;
}

.user_box {
    display: flex;
    align-items: center;
}

.xf_box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ECF1F3;
    margin-right: 20px;
    color: #188AAE;
    height: 40px;
    width: 100px;
    cursor: pointer;
    gap: 0 5px;
    border-radius: 40px;
    position: relative;
}

.not_num {
    position: absolute;
    top: 2px;
    left: 30px;
    background-color: #f56c6c;
    border-radius: 10px;
    color: #fff;
    font-size: 10px;
    height: 14px;
    line-height: 14px;
    padding: 0 4px;
    text-align: center;
    white-space: nowrap;
    border: 1px solid #fff;
}

.user_item {
    position: relative;
}

.user_sele {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.head_img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.user_sele b {
    width: 30px;
    height: 30px;
    background: url(/images/xl_img2.png) no-repeat center center;
    transition: transform 0.3s ease;
}

.open b {
    transform: rotate(180deg);
}

.user_list {
    position: absolute;
    width: 240px;
    padding: 20px 25px;
    z-index: 333333;
    background: #fff;
    box-shadow: 0 0 10px #ddd;
    right: 0;
    border-radius: 10px;
}

.user_list ul li {
    display: flex;
    padding: 12px 0;
    color: #333;
    cursor: pointer;
    align-items: center;
    font-size: 16px;
    gap: 0 10px;
}

.user_list ul li a {
    display: contents;
    color: #333;
}

.p_tit {
    font-size: 14px;
    color: #333;
}

.user_list ul {
    padding-top: 10px;
}

.user_list ul li img {
    width: 22px;
}

.btn_box button {
    background: #188AAE;
    width: 80px;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    outline: none;
    border: none;
    padding: 0;
    color: #fff;
    border-radius: 40px;
    cursor: pointer;
}

.btn_box button.reg_btn {
    background: #fff;
    color: #188AAE;
    border: 1px solid #188AAE;
}



.headercard_box {
    background: #fff;
}

.header_logo {
    width: 1200px;
    margin: 0 auto;
}

.header_item {
    display: flex;
    gap: 0 20px;
    padding: 10px 0;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    flex: 1;
}

.nav_all_box {
    padding-bottom: 10px;

}

.nav_all_box ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav_all_box ul li {
    margin-right: 6px;
}

.nav_all_box ul li a {
    color: #333;
    padding: 8px 0;
    font-size: 18px;
    display: block;
    border-bottom: 4px solid #fff;
}

.nav_all_box ul li a.curr {
    color: #0E7892;
    font-weight: bold;
    border-bottom: 4px solid #0E7892;
}


.add_wxgzh {
    margin-right: 20px;
    position: relative;
}

.add_wxgzh a {
    font-size: 16px;
    line-height: 40px;
    height: 40px;
    display: block;
    color: #333;
    background: url(/uploadimages/2019/4/26113145707.png) no-repeat left center;
    padding-left: 32px;
    cursor: pointer;
}

.add_wxgzh img {
    position: absolute;
    left: -10px;
    top: 40px;
    z-index: 333;
    display: none;
}

.add_wxgzh:hover img {
    display: block;
}

.unload {
    position: relative;
}

.unload label {
    background: url(../images/phone_icon.png) no-repeat left center;
    padding-left: 25px;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    display: block;
}

.unload img {
    position: absolute;
    left: -20px;
    top: 40px;
    z-index: 333;
    display: none;
}

.unload:hover img {
    display: block;
}




.main-container {
    padding: 20px 0;
    max-width: 1200px;
    min-height: 680px;
    margin: 0 auto;
}

.message-center-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.message-center-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #EBEEF5;
}

.message-center-title {
    font-size: 20px;
    font-weight: bold;
    color: #303133;
}

.all-read-btn {
    color: #409EFF;
    cursor: pointer;
    font-size: 14px;
}

.message-content {
    display: flex;
    gap: 20px;
}

.message-sidebar {
    width: 424px;
    border-right: 1px solid #EBEEF5;
    padding-right: 20px;
}

.message-category-item {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid #EBEEF5;
    background: #fff;
}

.message-category-item:hover {
    background: #F5F7FA;
}

.message-category-item.active {
    background: #F5F7FA;
    border-color: #EBEEF5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    position: relative;
}

.category-icon.red {
    background: #FEE;
    color: #F56C6C;
}

.category-icon.orange {
    background: #FFF4E6;
    color: #E6A23C;
}

.category-icon.green {
    background: #F0F9FF;
    color: #67C23A;
}

.category-icon.blue {
    background: #ECF5FF;
    color: #409EFF;
}

.category-icon.light-blue {
    background: #F0F9FF;
    color: #50BFFF;
}

.icon-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: #F56C6C;
    border-radius: 50%;
    border: 2px solid #fff;
}

.category-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.category-title {
    font-size: 16px;
    font-weight: bold;
    color: #303133;
    margin-bottom: 5px;
}

.category-desc {
    font-size: 12px;
    color: #909399;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    margin-top: 5px;
}

.service-result-tag {
    margin-right: 6px;
    transform: translateY(-1px);
}

.category-status {
    margin-top: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.category-status-inline {
    display: inline;
}

.category-desc-with-status {
    font-size: 12px;
    color: #909399;
    line-height: 1.5;
    margin-top: 5px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.message-detail-pane {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.detail-title {
    font-size: 18px;
    font-weight: bold;
    color: #303133;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #EBEEF5;
    flex-shrink: 0;
}

.message-list-container {
    height: 460px;
    overflow: auto;
    padding-left: 5px;
}

.message-item {
    padding: 0;
    margin-bottom: 15px;
    position: relative;

}

.message-date {
    text-align: center;
    padding: 15px 0;
    background: transparent;
    color: #909399;
    font-size: 14px;
    border: none;
}

.message-item-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0 15px;
}

.message-item-header {
    display: flex;
    align-items: flex-start;
    padding-bottom: 15px;
    margin-bottom: 15px;
    position: relative;
    border-bottom: 1px solid #eee;
}

.message-title-text {
    font-size: 16px;
    color: #303133;
    line-height: 1.4;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap:0 10px;

}

.message-content-text {
    font-size: 16px;
    color: #188AAE;
    line-height: 1.4;
    margin-bottom: 10px;
}

.message-content-text2 {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
    margin-bottom: 10px;
}
.message-content-text3 {
    font-size: 14px;
    color: #28B87C;
    line-height: 1.6;
    margin-bottom: 10px;
}


.message-content-wrapper {
    flex: 1;
    padding: 20px;
    background: #F8F9FA;
    border: 1px solid #EBEEF5;
    border-radius: 10px;
    position: relative;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.message-content-wrapper:hover {
    box-shadow: none;
}

.not_box {
    position: absolute;
    right: 0;
    top: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF4343;
}


.message-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #909399;
    font-size: 14px;
}

.message-footer-left {
    display: flex;
    align-items: center;
    gap: 5px;
}

.message-footer-right {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.message-actions {
    color: #909399;
    transition: opacity 0.3s;
}

.message-actions .el-icon-more {
    font-size: 18px;
}

.custom-popover {
    min-width: auto !important;
    width: auto !important;
}

.popover-content {
    padding: 0;
    white-space: nowrap;
}

.popover-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    cursor: pointer;
    color: #F56C6C;
    transition: background-color 0.3s;
}

.popover-item:hover {
    background-color: #F5F7FA;
}

.popover-item i {
    font-size: 12px;
}

.popover-item span {
    font-size: 12px;
}

.message-item-badge {
    position: absolute;
    top: 15px;
    right: 45px;
    width: 8px;
    height: 8px;
    background: #F56C6C;
    border-radius: 50%;
    z-index: 3;
}

.empty_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px 0;
    padding: 140px 0;
}

.empty_box img {}

.empty_box p {
    font-size: 14px;
    color: #666;
}
