/*reset*/

html,
body {
    height: 100%;
    padding: 0;
    margin: 0;
    font-family: "Lucida Console", Helvetica, "Microsoft Yahei", "Hiragino Sans GB", sans-serif;
}



/*导航栏*/
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.noteHeader{
    width: 100%;
    height: 5px;
    text-align: center;
}
.headlan{
    display: inline-flex;
    width: 1420px;      /* 1300 = 900 + 200 + 200 chosenpage自动实现居中*/
    height: 52px;
    line-height: 52px;
    background-color: white;
    border-bottom: 1px solid #cfe4fb;

    transition: background-color 0.3s; /* 添加背景颜色过渡效果 */
    z-index: 3;     /*放着在第三版那里被双图层给挡住*/

}
.headlan.scrolled{
    background-color: rgba(194, 202, 245, 0.5); /* 滚动后的背景颜色 */
}
/*心理学科的名字*/
.subject{
    float: left;
    width: 200px;
    font-family: "Monotype Corsiva", serif;
    font-size: 23px;
    /*margin-left: 3%;*/
}

/*跳转的页面*/
.chosenpage{
    display: inline-block;
    width: 800px;
    justify-content: center;
}
.choose{
    /*盒子的大小为宽52px，高16px（39-12*2）*/
    display: inline-block;
    margin: 0 9px;
    width: 110px;
    height: 32px;  /*这个和line-height保持一致可以实现文本在其所在的最内层盒子的中心，直接撑起这个盒子的高度*/
    line-height: 32px;
    border-radius: 19px;

    text-decoration: none;
    /*text-align: center;*/
    color: #5b5b5c;
    font-size: 12px; /*小于盒子高度就好*/

}
.searchBox{
    display: inline-block;
    width: 200px;
}
.glass{
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0 12px;
    background-image: url("../img/Search.png");
    background-repeat: no-repeat;
    background-size: contain;
}
#searchTabel{
    display: inline-block;
    width: 132px;
    height: 26px;
    border-radius: 13px;
    border: 1px solid #a2b7e0;

    text-align: center;
    outline: none; /* 移除默认的点击时的外边框 */
    transition: border-color 0.3s;
}

/*特别效果区域*/
.choose:hover{
    background-color: #8683bb;  /*导航栏页面被靠近的颜色改变*/
}
#searchTabel:focus{
    border: 2px solid #3498db; /* 点击时的边框颜色 */
}




ul {
    padding: 0;
    margin: 0;
}

li {
    display: block;
    padding-left: 25px;
    line-height: 35px;
}

a {
    color: #000;
    text-decoration: none;
}

.btn {
    width: 39px;
    padding: 6px 36px;
    cursor: pointer;
    background-color: #fcfafa;
    border: none;
    border-radius: 36px;

    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.btn:hover{
    color: white;
    background-color: rgba(199, 172, 222, 0.3);
    border: 1px solid #eee;
}

.btn1 {
    padding: 9px;
    cursor: pointer;
    background-color: #fcfafa;
    border: none;
    border-radius: 12px;

    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.btn1:hover{
    color: white;
    background-color: rgba(199, 172, 222, 0.3);
    border: 1px solid #eee;
}

/*头部*/

.header {
    position: absolute;
    top: 0;
    width: 100%;
    height: 55px;
    padding-left: 20px;
    line-height: 55px;
    background-color: #ab91be;
    border-bottom: none;
}

.title {
    font-size: 1.6em;
    line-height: 55px;
    color: white;
}

/*内容区大致布局*/

.content {
    height: 100%;
    padding-top: 55px;
}

.catalog,
.task {
    position: relative;
    z-index: 1;
    padding-bottom: 41px;
    border-right: 1px solid #ccc;
}

.catalog {
    float: left;
    width: 200px;
    height: 100%;
}

.task {
    float: left;
    width: 300px;
    height: 100%;
}

.detail {
    position: relative;
    height: 100%;
    padding-left: 500px;
}

/*左侧目录*/

.catalog .list {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.catalog .item {
    cursor: pointer;
    /*background-color: #eff;*/
    border-bottom: 1px solid #eee;
    border-radius: 18px;
    margin: 6px 2px;
    transition: background-color 0.3s;
}

.catalog .item.active,
.catalog .item:hover {
    background-color: #c8c8d9;
}

.add {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    height: 40px;
    line-height: 39px;
    text-align: center;
    border-top: 1px solid #ffffff;
    cursor: pointer;
    transition: border-top-color 0.3s;
}
.add:hover{
    border-top: 2px solid #c7acde;
}

.delete {
    color: #aaa;
    cursor: pointer;
    position: absolute;
    right: 10px;
    transition: transform 0.3s ease;
}
.delete:hover{
    transform: scale(1.8);
}

/*中间任务列表*/

.task .btn {
    position: relative;
    left: 60px;
}

.task .list {
    position: relative;
    height: 100%;
    overflow-y: auto;
}

.task .item {
    padding: 10px 25px;
    word-break: break-all;
    cursor: pointer;
    background-color: #fff;
    border-bottom: none;
    border-radius: 18px;
    margin: 5px 2px;
    transition: background-color 0.3s;
}

.task .item .date {
    font-size: 0.8em;
    color: rgba(0, 0, 0, 0.3);
}

.task .item.active,
.task .item:hover {
    background-color: #c8c8d9;
}

/*右侧笔记区域*/
.detail-box {
    height: 100%;
}

.detail-date.editing,
.detail-title.editing,
.edit-content.editing {
    border-left: 3px solid #aaa;
}

.detail-title {
    position: absolute;
    right: 0;
    left: 500px;
    height: 50px;
    padding: 8px 20px;
    line-height: 33px;
    background-color: #fbfbfb;
    border-bottom: 1px solid #ccc;

}

.detail-title .note-text {
    width: 100%;
    height: 100%;
}

.detail-title .btns {
    float: right;
}

.detail-date {
    position: absolute;
    top: 50px;
    right: 0;
    left: 500px;
    height: 40px;
    padding-left: 20px;
    font-size: 0.9em;
    line-height: 40px;
    color: #bbb;
    background-color: #fbfbfb;
    border-bottom: 1px solid #ccc;
}

.edit-content {
    height: 100%;
    padding: 110px 20px 20px;
    font-size: 1.1em;
    word-wrap: break-word;
    font-family: "Source Code Pro",Consolas,Menlo,Monaco,"Courier New",monospace
}

/* 模态框*/

.model {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    width: 300px;
    height: 100px;
    background-color: #fff;
    border: 1px solid #eef;
    transform: translate(-50%, -50%);
    box-shadow: 2px 2px 4px -1px rgba(0, 0, 0, 0.25);
}

.model-body {
    height: 100%;
    line-height: 100px;
    text-align: center;
}

.model input {
    width: 220px;
    height: 30px;
    padding-left: 8px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.model input:focus {
    border: 1px solid #aaa;
}

/* 标题栏登录字样 */
.loginBox{
    display: inline-block;
    margin-left: 16px;
    background-color: transparent;
    border: none;
    font: inherit;
    cursor: pointer;
}



/*AI*/
.AIBox{
    text-align: center;
    position: fixed;
    top: 12%;
    right: 26%;
    width: 48%;
    height: 81%;
    background-color: rgba(162, 183, 224, 0.49);
    opacity: 0;
    transition: opacity 0.5s ease; /* 过渡时间为0.5秒 */
    z-index: 3;
    border-radius: 3%;
}
.click2WakeAI{
    width: 100px;
    height: 100px;
    position: fixed;
    top: 39%;
    right: 9%;
    cursor: pointer;
    background-image: url("../img/小海豹.png");
    background-size: contain;
    background-repeat: no-repeat;
    text-align: center;
    z-index: 3;
}



.inputTitle{
    margin-left: -69%;
    font-size: 21px;
}
#chatData{
    width: 96%;
}
#send{
    width: 9%;
    margin-left: -87%;
    font-size: 21px;
    margin-top: 1%;
    margin-bottom: 1%;
}
#content{
    width: 93%;
    margin: 0 2%;
    height: 366px;
    background-color: white;
    padding: 1.5%;
}
#count{
    margin-left: 2%;
    text-align: left;
}