/*通用*/
@font-face {
    font-family: "mianhuatang";
    src: url("../font/yaermianhuatang-webfont.woff2");
}
*{margin:0px; padding:0px; font-weight:normal;}
html{height:100%}
body{color: #1e1e1e;font-family:"mianhuatang"; height:100%; font-size:.1rem;background:#fff;}
a{text-decoration:none;  text-shadow:none;font-weight:normal; color: #1e1e1e}
ul{list-style:none;}
textarea,input,button{outline:none;-webkit-appearance:none;font-family:"mianhuatang";}
.clear{ clear:both; overflow:hidden; height:0px;}
.dk{ width:100%; max-width:750px; min-width:320px; margin:0 auto;height:100%; background-size:100%; background-repeat:no-repeat; background-attachment:fixed;}
img{ border:0; display: block;}
input[type="button"],input[type="checkbox"],input[type="radio"], input[type="submit"], input[type="reset"],select {-webkit-appearance: none;outline:none; border:none;font-family:mianhuatang;}

html {font-size: 625%; /*100 ÷ 16 × 100% = 625%*/}
/*出的各分辨率媒体查询换算：*/
@media screen and (min-width:360px) and (max-width:374px) and (orientation:portrait){html{font-size:703%;}}
@media screen and (min-width:375px) and (max-width:383px) and (orientation:portrait){html{font-size:732.4%;}}
@media screen and (min-width:384px) and (max-width:399px) and (orientation:portrait){html{font-size:750%; }}
@media screen and (min-width:400px) and (max-width:413px) and (orientation:portrait){html{font-size:781.25%;}}
@media screen and (min-width:414px) and (max-width:431px) and (orientation:portrait){html{font-size:808.6%;}}
@media screen and (min-width:432px) and (max-width:479px) and (orientation:portrait){html {font-size:843.75%;}}
@-webkit-keyframes rotation{
from {-webkit-transform: rotate(0deg);}
to {-webkit-transform: rotate(360deg);}
}
@-webkit-keyframes scale-three2{
0% {transform:scale(1);opacity:.8;}
100% {transform:scale(1.3);opacity:0;}
}
.Huans{-webkit-box-sizing: border-box;box-sizing: border-box;}
.flex{display:-webkit-box;display: -ms-flexbox;display:flex;flex-wrap:wrap;align-items:flex-start;}
.flexC{display:-webkit-box;display: -ms-flexbox;display:flex;align-items:center; flex-wrap:wrap;}
.fl-bet{-webkit-box-pack: justify;-ms-flex-pack: justify;justify-content:space-between;}
.fl-cen{-webkit-box-pack: center;-ms-flex-pack: center;justify-content:center;}
.fl-end{-webkit-box-pack:right;-ms-flex-pack:right;justify-content:flex-end;}

.IndCon{ position: relative; width:100%;}

@-webkit-keyframes play{0% {-webkit-transform:rotate(0deg);}100% {-webkit-transform:rotate(360deg);}}
@-moz-keyframes play{0% {-moz-transform:rotate(0deg);}100%{ -moz-transform:rotate(360deg);}}
@keyframes play{0%{transform:rotate(0deg);}100% {transform:rotate(360deg);}}
@-webkit-keyframes play1{0% {-webkit-transform:rotate(0deg);}100% {-webkit-transform:rotate(-360deg);}}
/*height: calc(100% - 10px);
display:flex;justify-content:space-between;align-items:center; flex-wrap:wrap;align-content:center
|flex-start|flex-end|center|space-between|space-around

overflow: hidden;text-overflow:ellipsis;white-space: nowrap;
display:-webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden;

left:0;top:50%;transform: translate(0,-50%);

transition:0.5s;
.IndEnvT:before,.IndEnvT:after{display:block;content:'';position: absolute;}
*/
/***********3************/
.creDk{width:100%;padding:0.15rem 4% 0.7rem;}
.creDN{ margin-bottom:0.12rem;}
.creDN h3{ font-size:0.14rem; line-height:0.32rem; margin-bottom:0.02rem;}
.creDB{background:#f6f6f6;border:0.01rem solid #e5e5e5;width:100%; height:0.44rem;border-radius:0.06rem;position: relative}
.creDB .creDI,#demo_select_dummy{border:none;background:none;width:100%;line-height:0.4rem;height:0.4rem;padding:0 4%; font-size:0.13rem;color:#5d5d5d;}
#demo_select_dummy{}
.creSel{border:none;background:none;width:100%;line-height:0.4rem;height:0.4rem;padding:0 4%; font-size:0.13rem;color:#5d5d5d;}

.creDL{width:100%;}
.crelab{color:#5d5d5d;width:100%; padding:0.03rem 0; height:0.21rem;}
.crelab p{line-height:0.18rem;font-size:0.13rem; margin-left:0.1rem;width:100%; flex:1}
.crelab input[type="radio"]{-webkit-appearance:none;width:0.17rem;height:0.17rem;vertical-align:middle;display:block;outline:none;background:#e5e5e5; border-radius:50%;}
.crelab input[type="radio"]:checked{ background:#FFF;border:0.05rem solid #9f70fd;}

.creDBj{position:absolute;right:4%;top:50%;transform: translate(0,-50%);width:0.1rem;}
.creDBj a{width:0;height:0;border-style:solid; display:block; margin:0.01rem 0;}
.creDBj-up{border-width:0 0.06rem 0.07rem 0.06rem;border-color:transparent transparent #9f70fd transparent;}
.creDBj-down{border-width:0.07rem 0.06rem 0 0.06rem;border-color:#9f70fd transparent transparent transparent;}

/***********4************/
.fouImg{width:0.4rem;height:0.4rem;border-radius: 50%;overflow: hidden;}
.fouImg img{width:100%;display: block;}
.fouDk{padding:0.25rem 12% 0.15rem;}
.fouDn{padding:0 0.02rem 0.02rem;width:46%;border-radius:0.17rem; margin-bottom:0.15rem}
.fouDn h3{width:100%;text-align: center;color: #FFF; font-size:0.14rem;line-height:0.3rem}
.fouDz{background:#FFF;width:100%;text-align: center;border-radius:0.16rem;padding:0.02rem 0 0.1rem;font-size:0.14rem;line-height:0.21rem;}
.fouDz img{height:0.7rem; display: block; margin:0 auto;}
.fouDz span{width:100%; display: block;}
.fouDz p{}
.fouFt{width: 100%;padding:0.3rem 0 0.2rem;}
.fouFtD{width: 100%; margin-bottom:0.2rem;}
.fouFtD a{color:#1d1d1d;display: block; font-size:0.13rem;line-height:0.2rem;font-family:"mianhuatang"; font-weight:500;}
/***********5************/
.title{width:100%;padding: 0.18rem 4% 0.1rem;}
.titH{height:0.43rem;}
.titH h3{color:#8c52ff; font-size:0.22rem; line-height: 0.28rem;}
.titP{}
.titRet{height:0.2rem;}
.titRet img{width:0.2rem; display: block; margin-right:0.08rem;}
.titRet p{ line-height:0.2rem;height:0.2rem;  font-size:0.16rem;}
.edit{}
.edit img{width:0.18rem; display: block; margin-right:0.07rem;}
.edit p{line-height:0.2rem;height:0.2rem;  font-size:0.16rem}
.fivDk{width:100%;padding:0.15rem 4% 0.75rem;}
.fivH{ font-size:0.16rem; line-height:0.26rem;text-align: center;}
.fivDL{padding:0.1rem 0 0.02rem;}
.fivDa{padding:0 4%;border:0.01rem solid #e5e5e5;border-radius:0.08rem;width:100%; margin-bottom:0.1rem;background:#FFF;min-height:60px;}
.fivDa h3{width:34%;text-align: right; font-size:0.135rem;}
.fivDaF{width:36%;}
.fivDaF img{width:0.16rem;display: block; margin-right:0.1rem;}
.fivDaF p{ font-size:0.125rem;line-height:0.2rem;width:100%; flex:1;}
.fivFt{height:0.65rem;padding-bottom:0.05rem;background:#FFF;width:100%;bottom:0;left:50%;transform: translate(-50%,0);position: fixed}
.fivBut{color:#ffe060;text-align: center;border:none;width:70%;height:0.4rem;line-height:0.4rem;border-radius:0.2rem; font-size:0.16rem;}
.Butsty{background:#8c52ff;box-shadow:0 4px 0 #6d24ff;}
.color1{color:#8c52ff;}
/*弹出*/
.TcB{ background:rgba(0,0,0,0.5); width:100%; height:100%; position:fixed; top:0; left:0; z-index:999; display:none;}
.TcN{position:fixed; z-index:1000;display:none;background:#FFF;left:50%;top:10%;transform: translate(-50%,0);}
.Tclose1{width:0.14rem; height:0.14rem; background-size:100%; background-image: url("../images/icon/close.png"); background-position: center;background-repeat:no-repeat ; position: absolute;top:0.12rem; right:0.12rem; display: block;}
.TcFiv{width:80%; top:17%; border-radius:0.04rem;border-radius:0.08rem;padding:0.18rem 5% 0.2rem;}
.TcFivT{width:100%; line-height:0.3rem;font-size:0.2rem;text-align: center;}
.TcFivF{padding:0.1rem 0 0.05rem;width: 100%;}
.TcFivD{ margin-bottom:0.08rem;}
.TcFivD h3{color:#303030; font-size:0.15rem;line-height:0.32rem;width: 100%;}
.TcFivI{height:0.38rem; line-height:0.38rem; color:#5d5d5d; font-size:0.14rem; border: none;background:#eee;width:100%;border-radius:0.07rem;padding:0 0.12rem;}
/***********6************/
.sexDk{padding:0.15rem 4% 0.6rem;width:100%;font-family:"mianhuatang";}
.sexDL{width:100%; margin-bottom:0.2rem;}
.sexDI{width:0.43rem;}
.sexDImg{border-radius:50%;overflow: hidden;width:100%; height:0.43rem;}
.sexDImg img{width:100%;display: block;}
.sexDIp{text-align:center;color:#474747;font-size:0.1rem;line-height:0.18rem;}
.sexDN{width:100%; flex:1}
.sexDN p{color:#FFF;background:#866fe4;padding:0.12rem 0.14rem;border-radius:0.12rem;line-height:0.18rem;font-size:0.13rem;font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;}
/* Default styles for assistant messages */
.sexDN:not(.fl-end) p { 
    color: #FFF;
    background: #866fe4;
  }
  
  /* Styles for user messages */
  .sexDN.fl-end p { 
    color: #866fe4;
    background: #FFF;
    border:1px solid;
  }
.sexDd .sexDN{margin-left:0.11rem;}
.sexDd .sexDN p{border-top-left-radius:0.04rem;}
.sexDw .sexDN{margin-right:0.11rem;}
.sexDw .sexDN p{border-top-right-radius:0.04rem;}
.sexFt{height:0.56rem;padding:0 4%;background:#FFF;width:100%;bottom:0;left:50%;transform: translate(-50%,0);position: fixed;}
.sexFtI{height:0.34rem; line-height:0.34rem;font-size:0.125rem; border: none;background:#f2f3f5;width:100%;flex:1; border-radius:0.17rem;padding:0 0.15rem; margin-right:0.07rem;}
.sexSend{color:#ffe060;text-align: center;border:none;width:22%;height:0.34rem;line-height:0.34rem;border-radius:0.17rem; font-size:0.125rem;background:#8c52ff; font-weight:500;}
/***********7************/
.Loading{background:#FFF; width:100%; height:100%; position:fixed; top:0; z-index:1000;right:0px;}
.LoadingN{align-content:center;width:100%; height:100%;}
.LoadingI{width:0.7rem; height:0.7rem; position: relative; z-index:2;border-radius:50%;border:0.01rem solid #8c52ff;}
.LoadingI img{width:0.56rem; display: block;border-radius:50%;}
.LoadingI i{left:0;top:0;width: 100%; height:100%;border-radius:50%;position: absolute;z-index:-1;display: block;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-animation:play 2s linear infinite;-moz-animation:play 2s linear infinite;animation:play 2s linear infinite}
.LoadingI i:before{display:block;content:'';position: absolute;background:#8c52ff;width:0.06rem;height:0.06rem;border-radius:50%;top:-0.04rem;left:50%;transform: translate(-50%,0);}
.LoadingP{width:100%;text-align: center; font-size:0.17rem;line-height:0.25rem; margin-top: 0.1rem;}
.zyqlog{width:100%;padding:0.55rem 4% 0.4rem;}
.zyqlog img{display: block;width:0.84rem; margin:0 auto 0.12rem;}
.zyqlog h3{font-size:0.2rem; line-height:0.22rem;text-align: center;width:100%;}
.zyqzhs{width:100%;padding:0 4% 0.2rem;height:1rem;align-content:flex-end; font-size:0.125rem;line-height:0.17rem;text-align: center;}
.zyqzhs p{width: 100%;}
.zyqLn{width:100%;padding:0 4% 0.2rem;}
#errorMessage, #errorMessage2 {color: red; display: none; text-align: center;margin-top:0px;margin-bottom: 25px;}
.zyqLD{width:78%;margin:0 auto 0.2rem;background:#eee;height:0.44rem;border-radius:0.22rem;padding:0 0.16rem;}
.zyqInp{background:none;border:none;width:100%; height:0.42rem;flex:1;font-size:0.135rem;text-align: center;}
.LogFoz{display:block;color:#1e1e1e;font-size:0.13rem;background:none; border:none;text-align: right; font-weight:500;line-height:0.2rem;}
.zyqBut{background:#8c52ff;border:none;text-align: center;width:78%;margin:0 auto;display: block;height:0.44rem;border-radius:0.22rem;color:#ffe060;font-size:0.135rem;font-weight:500;}
.zyqlab{color:#1e1e1e;font-size:0.115rem;width:100%; padding:0.1rem 0 0; height:0.18rem;}
.zyqlab p{line-height:0.16rem; margin-left:0.06rem;font-family:"mianhuatang"; font-weight:500;}
.zyqlab input[type="checkbox"]{-webkit-appearance:none;width:0.14rem;height:0.14rem;vertical-align:middle;display:block;outline:none;background-position: center; background-repeat: no-repeat; background-size:100%; background-color:#FFF; border-radius:50%; border:0.01rem solid #8c52ff;}
.zyqlab input[type="checkbox"]:checked{background-image:url(../images/icon/check.png); background-color:#8c52ff;font-size:0.12rem;}
.zyqft{font-family:"mianhuatang";padding:0.18rem 0 0.05rem;text-align: center;width:100%; line-height: 0.15rem;}
.zyqft a{color:#8c52ff;}
/***********8************/
.eitTit{width:100%;padding: 0.23rem 4% 0.1rem;}
.eitTitH{ line-height:0.35rem; font-size:0.21rem; margin-bottom:0.03rem;}
.eitTitH p{color:#fbc22d;}
.eitTitP{ font-size:0.145rem; line-height:0.22rem;}
.eitDk{width:100%;padding:0.05rem 4% 0.1rem;}
.eitDk li{position: relative; margin-bottom: 0.3rem;}
.eitDk li:before{display:block;content:'';position: absolute;width:0.12rem;height:100%;background-image: url("../images/pic/dian.png");background-repeat: repeat-y;background-position: center;background-size:0.02rem;top:0.3rem;left:0;}
.eitDH{ line-height:0.3rem; font-size:0.17rem; margin-bottom:0.04rem;}
.eitDr{width:94%; margin-left: 6%;background:#FFF;border-radius:0.12rem;padding:0.14rem 5% 0.01rem;box-shadow:0 2px 10px rgba(0,0,0,0.1);}
.eitDr:before,.eitDr:after{display:block;content:'';position: absolute;background:#FFF;border-radius:50%;width:0.06rem; height:0.06rem;left:0}
.eitDr:before{border:0.03rem solid #8c52ff;top:0.3rem;}
.eitDr:after{border:0.03rem solid #ffd060;bottom:-0.3rem;}
.eitDk li:last-child:before,.eitDk li:last-child .eitDr:before,.eitDk li:last-child .eitDr:after{display:none;}
.eitDn{padding:0.02rem;width:47.5%;border-radius:0.17rem; margin-bottom:0.15rem}
.eitDn h3{width:100%;text-align: center;color: #FFF; font-size:0.125rem;line-height:0.24rem}
.eitDz{background:#FFF;width:100%;text-align: center;border-radius:0.16rem;padding:0.14rem 0 0;height:1.06rem; font-size:0.13rem;line-height:0.21rem;}
.eitDz img{width:0.32rem; display: block; margin:0 auto 0.02rem;}
.eitDz span{width:100%; display: block;}
.eitDz p{ margin-top:0.04rem;}
.eit-purple{background:#8c52ff;}
.eit-purple  span{color:#8c52ff}
.eit-purple  p{color:#8c52ff}
.eit-yellow{background:#fbc22e;}
.eit-yellow  span{color:#ffd060}
.eit-yellow  p{color:#fbc22e}
.eit-grey{background:#b5b5b5;}
.eit-grey span{color:#777}
/*
display:flex;justify-content:space-between;align-items:center; flex-wrap:wrap;align-content:center
|flex-start|flex-end|center|space-between|space-around

overflow: hidden;text-overflow:ellipsis;white-space: nowrap;
display:-webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden;

left:0;top:50%;transform: translate(0,-50%);

transition:0.5s;
.IndEnvT:before,.IndEnvT:after{display:block;content:'';position: absolute;}
*/


/* Snack Bar Container */
#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -140px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1001;
    left: 50%;
    bottom: 40px;
    font-size: 17px;
    transition: visibility 0s, opacity 0.5s ease-in-out;
    border-radius: 30px;
}

/* Show the snack bar */
#snackbar.show {
    visibility: visible;
    opacity: 1;
}

/* Hide the snack bar */
#snackbar.hide {
    opacity: 0;
    transition: visibility 0s 0.5s, opacity 0.5s ease-in-out;
}


.menu {
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    display: none;
    z-index: 1000;
    border-radius: 20px;
}
.menu-item {
    padding: 5px 10px;
    cursor: pointer;
}
.menu-item:hover {
    background-color: #f0f0f0;
}

#languageSelect {
    width: 100%; /* Adjust as needed */
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    font-size: 16px; /* Adjust as needed */
    appearance: none; /* Remove default browser styling */
    -webkit-appearance: none; /* For Safari and Chrome */
    -moz-appearance: none; /* For Firefox */
    background-color: #fff; /* Set background color */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M10 3a1 1 0 01.707.293l3 3a1 1 0 01-1.414 1.414L10 5.414 7.707 7.707a1 1 0 01-1.414-1.414l3-3A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E"); /* Add a dropdown arrow */
    background-repeat: no-repeat;
    background-position: right 8px center; /* Position the dropdown arrow */
    background-size: 1.2em auto; /* Adjust size as needed */

}

/* Hover Effect */
#languageSelect:hover {
    border-color: #999; /* Change border color on hover */
}

/* Focus Effect */
#languageSelect:focus {
    outline: none; /* Remove default outline on focus */
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25); /* Add a blue glow on focus */
}


/* Styling for the title buttons */
.paragraph-title {
    background-color: #f0f0f0; /* Light gray background */
    border: none;
    color: #333; /* Dark gray text */
    padding: 10px 15px;
    text-align: left;
    width: 100%; /* Full width */
    cursor: pointer; /* Indicate clickable */
    font-size: 16px;
    margin-bottom: 5px; /* Small margin between buttons */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s ease; /* Smooth transition on hover */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    margin-bottom: 20px;
}

.paragraph-title:hover {
    background-color: #e0e0e0; /* Slightly darker gray on hover */
}

.paragraph-title:focus {
    outline: none; /* Remove default focus outline */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* More pronounced shadow on focus */
}

/* Styling for the open paragraph title */
.paragraph-title.active { /* Add 'active' class to the open title with JavaScript */
    background-color: #d0d0d0;  /* Even darker gray when active/open */
    font-weight: bold;
}


/* Optional: Add a small down arrow icon to the right of the title */
.paragraph-title::after {
    content: '\276F'; /* Unicode character for down arrow */
    float: right;
    transition: transform 0.3s ease; /* Smooth rotation on click */
}

.paragraph-title.active::after {
    transform: rotate(180deg); /* Rotate arrow upwards when active/open */
}

#notificationCenter {
    position: relative; /* To position the notification messages */
    width: 300px; /* Adjust width as needed */
    margin: 20px auto; /* Center the notification center */
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.unreadAnalysisMessage {
    position: relative; /* To position the notification messages */
    margin: 10px auto; /* Center the notification center */
    width: 300px; /* Adjust width as needed */

    background-color: #f0f0f0;
    border: 1px solid #ddd;
    margin-bottom: 5px;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer; /* Indicate clickable */
    transition: background-color 0.3s ease; /* Smooth transition on hover */
}

.unreadAnalysisMessage:hover {
    background-color: #e0e0e0;
}
/* Styling for responsiveness */
@media (max-width: 400px) {
    #notificationCenter {
        width: 90%; /* Adjust width for smaller screens */
    }
}

/* Popup styles */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }
  
  .popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
  }
  
  .popup-content h2 {
    margin-bottom: 20px;
    font-size: 1.5em;
    color: #333;
  }
  
  .form-group {
    margin-bottom: 15px;
    text-align: left;
  }
  
  .form-group label {
    display: block;
    font-size: 0.9em;
    color: #555;
    margin-bottom: 5px;
  }
  
  .form-group input {
    width: 80%;
    padding: 8px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .popup-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
  }
  
  .popup-actions button {
    padding: 8px 16px;
    font-size: 1em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .popup-actions button#savePassword {
    background: #007bff;
    color: #fff;
  }
  
  .popup-actions button#savePassword:hover {
    background: #0056b3;
  }
  
  .popup-actions button#cancelPopup {
    background: #f44336;
    color: #fff;
  }
  
  .popup-actions button#cancelPopup:hover {
    background: #d32f2f;
  }
  



/* Style for the login link */
.zyqLink {
  margin-top: 15px;
  text-align: center;
}

.zyqLoginLink {
  font-size: 14px;
  /* color: #007bff; */
  text-decoration: none;
  transition: color 0.3s;
}

.zyqLoginLink:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Remember Me Checkbox Container */
.rememberMe {
  margin: 15px 0;
  width: 100%; /* Ensure it spans the full width */
  justify-content: center; /* Center align the content */
}

/* Checkbox Styling */
.rememberMe input[type="checkbox"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  appearance: none; /* Remove default browser style */
  border: 2px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  display: inline-block;
  position: relative;
}

.rememberMe input[type="checkbox"]:checked {
  background-color: #6a5acd;
  border-color: #6a5acd;
}

.rememberMe input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  width: 3px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
}

/* Label Styling */
.rememberMe label {
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* Error Message Styling */
#errorMessageLogin {
  color: red; /* Error text in red for visibility */
  font-size: 14px; /* Slightly smaller font */
  margin-top: 10px; /* Spacing from the input fields */
  text-align: center; /* Center the error messages */
  visibility: hidden; /* Hidden by default */
  margin-bottom: 20px;
}

/* Show the error message when content is added */
#errorMessageLogin.show {
  visibility: visible;
}


 /* Floating chat button container */
 .chat-button-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 4;
}

/* Chat button styling */
.chat-button {
  width: 60px;
  height: 60px;
  border-radius: 100%;
  background: #ffe060;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.chat-button:hover {
  transform: scale(1.1); /* Slight zoom effect */
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3); /* Stronger shadow */
}

.chat-button:focus {
  outline: 2px solid #ffe060; /* Add focus outline for accessibility */
  transform: scale(1.1); /* Same zoom effect as hover */
}

.chat-button img {
  width: 70%;
  height: 70%;
}

/* Welcome phrase styling */
.welcome-phrase {
  position: absolute;
  width: 200px;
  bottom: 80px;
  right: 10px;
  background-color: #fff;
  padding: 10px 15px;
  border-radius: 20px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  opacity: 0; /* Start fully transparent */
  border: 1px solid #ffe060; /* Add a soft yellow border */
  animation: fadeInOut 5s forwards; /* Extend duration to 5 seconds */
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { opacity: 0; }
}


 /* Chat popup styling */
 .chat-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 90%;
  max-width: 400px;
  height: 70%;
  background: #fff;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  z-index: 5;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.chat-popup.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Popup header */
.chat-popup-header {
  padding: 10px 15px;
  background: #6a5acd;
  color: #fff;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px; /* Slightly larger size */
  transition: transform 0.3s ease, color 0.3s ease;
}
.chat-popup-header button:hover {
  transform: scale(1.2); /* Slight zoom effect */
  color: #ffcccb; /* Light red for hover */
}
.chat-popup-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

/* Chat history */
.chat-history {
  flex: 1;
  padding: 10px 15px;
  overflow-y: auto;
}

.chat-message {
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  max-width: 80%;
  word-wrap: break-word;
}

.chat-message.user {
  background-color: #eae6ff; /* Light purple for user messages */
  margin-left: auto; /* Align to the right */
  color: #6a5acd;
  font-size: 14px;

}

.chat-message.assistant {
  background-color: #f8f9fa; /* Light gray for assistant messages */
  color: #444;
  margin-right: auto; /* Align to the left */
  font-size: 14px;
}

/* Options */
.chat-options {
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-options button {
  background: #fff;
  color: #6a5acd;
  border: 1px solid #6a5acd;
  padding: 10px;
  border-radius: 5px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;

  cursor: pointer;
}
.chat-options button:hover {
  background: #6a5acd; /* Swap background and text color on hover */
  color: #fff;
  transform: translateY(-2px); /* Slight lift */
}

.chat-options button:focus {
  outline: 2px solid #6a5acd; /* Add focus outline */
}

/* Input area */
.chat-input-area {
  padding: 10px 15px;
  display: flex;
  gap: 10px;
}

.chat-input-area input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;

}
.chat-input-area input:focus {
  border-color: #6a5acd; /* Highlight border on focus */
  box-shadow: 0px 0px 4px rgba(106, 90, 205, 0.5); /* Add a subtle glow */
  outline: none; /* Remove default outline */
}

.chat-input-area button {
  background: #6a5acd;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;

}
.chat-input-area button:hover {
  background: #5a4cad; /* Darker purple for hover */
  transform: translateY(-2px); /* Slight lift */
}

/* Overlay for clicking outside */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 4;
}

.overlay.open {
  opacity: 1;
  pointer-events: auto;
}


/* Microphone button styling */
#mic-button {
  width: 40px;
  height: 40px;
  border: none;
  background: #ffe060;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}


#mic-button:hover {
  transform: scale(1.1); /* Slight zoom on hover */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

#mic-button.listening {
  background: #6a5acd; /* Change color to indicate it's active */
  box-shadow: 0px 4px 12px rgba(106, 90, 205, 0.7); /* Add a glowing effect */
  transform: scale(1.1); /* Slight zoom */
}

/* Accessibility: Add focus outline */
#mic-button:focus {
  outline: 2px solid #ffe060;
}