
.closeButton { 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0 6px;
    line-height: 1;
    box-sizing: border-box;
    flex-shrink: 0;
    width: 16px ;
    height: 16px;
    cursor: pointer;
    background-color: rgb(236, 62, 14);
    border-radius: 16px;
    border: solid 1px rgba(205, 20, 20, 0.2);
    margin-left: 6px;
}
.window {
    border: solid;
    display: flex;
    flex-direction: column;
    padding: 0px;
    border-radius: 16px;
    border-color: rgb(53, 95, 118);
    position: absolute;
    backdrop-filter: blur(4px);
    background-color: rgba(0,0,0,0.2);
    z-index: 1;


}
.windowContent {
    padding:10px;

}
.windowheader {
    margin: 0px;
    width: 100%;  
    display:flex; 
    align-items: center; 
    cursor: grab; 
    justify-content: space-between;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    margin-top: 0px;
    margin-bottom: 0px;
    background-color: rgb(11, 143, 245);

}
.windowheader p:not(.closeButton){
    margin: 0;
    padding: 8px 12px;

}
.headertext {
    margin: 0px;
    color: #428916;
    font-weight: 500
}
.selected{
    background-color: rgba(73, 122, 125, 0.582); 
    outline: 2px solid rgb(14, 89, 159);
    border-radius: 16px;
    margin: 0px;

}
.rainbow{
    background-image: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet, red);
    -webkit-background-clip: text;
    background-clip: text;
    background-repeat: repeat-x;
    color: transparent;
    display: inline-block;
    font-weight: bold; 
    background-size: 200% 100%;
    animation: shift-rainbow 4s linear infinite;
    
}

@keyframes shift-rainbow {from {background-position: 0% center;} to {background-position: 200% center;}}
#askme{
    display: none;
    color: black
}
#top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-sizing: border-box;
    position: fixed; 
    top: 0;
    left: 0; 
    width: 100%; 
    height: 40px; 
    background-color: rgb(11, 143, 245); 
    z-index: 2;
}
#sidebar button {
    background-color: rgb(11, 143, 245);
    color: white; 
    border: 1px solid rgb(53,95,118);
    border-radius: 8px;
    padding: 8px;
    font-family: Comic Sans MS, cursive;
    cursor: pointer; 


}
#sidebar{
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#sidebar button:hover,
#sidebar button:focus-visible { background-color: rgb(24, 5, 61); }
#installVerity  {
    background-color: rgb(164, 50, 12);
    color: white;
    border: 0px;
    border-radius: 8px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    cursor: pointer;

}
#verityHelper{
    position: fixed;
    right: 24px;
    bottom: 24px; 
    width: 240px;
    display: none; 
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 1000;

}

#speechBubble{
    background-color: greenyellow;
    color: black;
    padding: 14px;
    border: 2px solid yellow;
    border-radius: 16px;
    text-align: left; 
}
#veritySpeech{
    margin: 0 0 12px;
}
#verityCharacter{
    width: 120px;
    height: auto; 
}
#installerContent{
    background-color: white;
    color: gray;
    padding: 5px;
    border: 2px 
}
#vInstaller {
    display: none;
    width: 750px;
    color: black;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    max-width: calc(100vw - 32px);
    background-color: white;

}
#installProgress { 
    display: block;
    width: 100%;
    margin-top: 16px;
}
#vInstaller .headertext{
    color:white;
}
#vInstaller .windowheader{
    flex-shrink: 0;
    background-color: gray; 
    border-radius: 0px; 
}
#vInstaller {
    font-size: 15px;
    border-color: gray; 
    border-radius: 0px;
    max-height: calc(100vh - 64px);
    box-sizing: border-box;
}
.scrolls {
    max-height: 100px;
    overflow-y: auto;
    padding: 10px;
    text-align: left; 
    background-color: wheat; 
    border-radius: 5px;
}
#vInstaller h1 {
    font-size: 19px;
    margin: 12px 0;
}
#vInstaller h2 {
    font-size: 15px;
    margin: 10px 0;
}
#vInstaller h3 {
    font-size: 12px;
    margin: 8px 0;
}
#installVerity:disabled{
    background-color: gray;
    color: lightgray;
    cursor: not-allowed;
}

#nextSpeech {
    background-color: rgb(11, 143, 245);
    color: white; 
    border: 1px solid rgb(53,95,118);
    border-radius: 8px;
    padding: 8px;
    font-family: inherit;
    cursor: pointer; 

}
#nextSpeech:hover:not(:disabled) {
    background-color: rgb(52, 2, 52);
}
#nextSpeech:disabled {
    opacity: 0.5;
    cursor: default; 
}
#chat {
    display: none;
    width: 360px;
    max-width: calc(100vw - 32px);
    background-color: #202348;
}
#chatMessages {
    height: 220px;
    overflow-y: auto;
    text-align: left; 
}
.chatMessage{
    background-color: #343b58;
    border-radius: 10px;
    padding: 10px;
    margin: 8px 0;
    overflow-wrap: anywhere;
}
.chatMessage.mine {
    background-color: #175f75;
    margin-left: 30px;
}
#chatReplies {
    display: flex; 
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 10px;
}
#chatReplies button {
    font: inherit;
    padding: 8px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}
.blockedMessage{
    font-family: monospace;
    font-style: italic;
    color: #aaa;
    text-align: center; 
}
