*{
    padding: 0;
    margin: 0;
}
.body .center{
    height: 100%;
    margin-top: 30px;
    padding: 20px;
    display: flex;
    justify-content: center;
}
.body .center .center-box{
    width: 80vw;
    max-width: 80vw;/* 设置宽度为自适应 */
    display: flex;
    flex-direction: column;
    background-color: hsl(0, 0%, 100%);
    padding: 20px;
    border: 1px solid rgb(252, 247, 247);
}
.body .center .center-box .overflowy{
    margin-top: 15px;
    max-height: 60vh;
    overflow-y: auto;
    /* background-color: #f0d3d3; */
}
/* 去除滑动条 */
/* .body .center .center-box .overflowy::-webkit-scrollbar{
  display: none;
} */
.body .center .center-box .company{
    margin-top: 15px;
    width: 235px;
    border-radius: 15px 15px 15px 15px;
    background-color: #eff1f1;
    padding: 10px 0px 10px 20px;
    border: none;
    text-align: left;
}
.body .center .center-box .company:hover{
    cursor: pointer;
    background-color: #dddfdf;
}
.body .center .center-box .diary{
    margin-top: 15px;
    border: 1px solid rgb(238, 230, 230);
    margin-bottom: 15px;
    border-radius: 15px 15px 15px 15px;
    padding: 10px;
    background-color: #fff;
}
.body .center .center-box .diary:hover{
    cursor: pointer;
    background-color: #f8fafa;
    /* border: 1px solid rgb(241, 149, 28); */
}
.body .center .center-box .diary .time{
    font-size: 15px;
    color: rgb(187, 187, 186);
}
.body .center .center-box .diary .content{
    display: -webkit-box;
    margin-top: 10px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* 最多显示两行，多余的部分用...代替 */
    overflow: hidden; /* 隐藏超出的部分 */
    word-break: break-all;
    text-indent: 2em;  /* 首行缩进2各字符 */
}
.body .center .center-box div a{
    color: rgb(204, 203, 203);
    text-decoration: none;
}
.body .center .center-box div a:hover{
    color: red;
}


/* window 查看详情弹窗, .searchwindow 搜索日志弹窗    公共样式部分*/
.window, .searchwindow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}
.window .center, 
.searchwindow .center{
    width: 80%;
    max-height: 80vh;
    border-radius: 15px 15px 15px 15px;
    background-color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.window button:hover,
.searchwindow button:hover{
    color: red;
    cursor: pointer;
}
.window .head,
.searchwindow .head{
    text-align: center;
}
.window .head button,
.searchwindow .head button
{
    width: 30px;
    height: 30px;
    float: right;
    background-color: #fff;
    border: none;
}
/* window 查看详情弹窗, .searchwindow 搜索日志弹窗    公共样式部分 end*/

.window .body span{
    color: rgb(204, 203, 203);
    margin-right: 10px;
}
.window .body button{
    border: none;
    background-color: #fff;
}
.window .body button:hover .icon{
    fill: red;
    cursor: pointer;
}
.window .center .content{
    margin-top: 10px;
    overflow-y: auto;
}
/* .window .center .content{
    text-indent: 2em;  首行缩进2各字符
} */
.window .center .content .windowcontent{
    white-space: pre-wrap; /* \n → 自动换行；同时正常自动折行 */
  /* pre：不会自动折行；pre‑wrap：二者兼顾，业务首选 */
}
/* 搜索盒子 */
.searchwindow .inputbox{
    width: 99%;
    display: flex;
    border: 1px solid rgb(238, 230, 230);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}
.searchwindow .inputbox > input{
    flex: 8.5;
    height: 30px;
    border: none;
    padding-left: 15px;
    min-width: 0; /* flex输入框必备，防止压缩 */
}
.searchwindow .inputbox .btnbox{
    flex: 1;
    display: flex;
    /* background-color: #eee5bc; */
    flex-shrink: 0; /* 右侧区域整体不被压缩 */
}
.searchwindow .inputbox .btnbox .dateinp {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    min-width: 36px; /* 最小保护，手机不会挤没 */
}
.searchwindow .inputbox .btnbox button{
    flex: 1.5;
    background-color: #fff;
    border: none;
    min-width: 36px;
    cursor: pointer;
}

.searchwindow .head button:hover{
    color: red;
    cursor: pointer;
}
.searchwindow .SearchResults{
    height: 50vh;
    overflow-y: auto;
}
.searchwindow .SearchResults .SearchResultsBox{
    max-height: 50vh;
}
.searchwindow .SearchResultsList{
    margin-top: 15px;
    border: 1px solid rgb(238, 230, 230);
    margin-bottom: 15px;
    border-radius: 15px 15px 15px 15px;
    padding: 10px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    white-space: pre-wrap; /* \n → 自动换行；同时正常自动折行 */
}
.searchwindow .SearchResultsList .time{
    font-size: 15px;
    color: rgb(187, 187, 186);
}
.searchwindow .searchwindowfoot {
  height: 10%;
}
.searchwindow .searchwindowfoot span {
  font-size: 15px;
  color: #cdcece;
  margin-right: 10px;
}
 /* 页脚 */
.indexfoot {
  /* background-color: white; */
  font-size: 15px;
  color: #cac9c9;
  text-align: center;
}
.indexfoot p{
  font-size: 15px;
  line-height: 60px;
}