:root {
    --body-color: #fafafa;
    --basicbackground: #EDEDED;
    --basicaccent: #d1d1d1;
    --text-color: #000;
    --radials: rgba(0, 0, 0, 0.123);
    --shadow: rgba(0, 0, 0, 0.555);
    --blackhover: rgb(66, 66, 66);
}

.dark-theme {
    --body-color: #181818;
    --basicbackground: #2e2e2e;
    --basicaccent: #5c5c5c;
    --text-color: #fff;
    --radials: rgba(82, 82, 82, 0.171);
    --shadow: rgba(255, 255, 255, 0.555);
    --blackhover: rgb(32, 32, 32);

}

body {
    margin: 0;
    padding: 0;
    background-color: #000000;
    display: flex;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

::selection {
    background: var(--text-color);
    color: var(--body-color);
}

* {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%23FFF" stroke="%23000" stroke-width="2" d="M5.5 3.21V20.8c0 .45.54.67.85.35l4.86-4.86a.5.5 0 0 1 .35-.15h6.87a.5.5 0 0 0 .35-.85L6.35 2.85a.5.5 0 0 0-.85.35Z"></path></svg>') 0 0, auto;
}

br {
    user-select: none;
}

#mainbody {
    width: 100%;
    height: 100vh;
    background-color: var(--body-color);
    background-image: radial-gradient(var(--radials) 2px, transparent 0);
    background-size: 30px 30px;
    background-position: -5px -5px;
    color: var(--text-color);
    margin-bottom: 100px;
  }

.centerdiv {
    width: 100%;
    min-width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

#content {
    padding: 20px;
    color: rgb(0, 0, 0);
    overflow-y: scroll; 
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    line-height: 2;
}

#content-div {
    padding-top: 70px;
    margin-left: 320px;
    width: 100%;
    transition: all 0.3s;
}

#sidebar {
    background-color: var(--basicbackground);
    max-width: 300px;
    min-width: 300px;
    width: 300px;
    min-height: 100vh;
    padding: 10px;
    margin: 0;
    border-right: 3px solid rgb(0, 0, 0);
    text-align: center;
    
    position: fixed;
    z-index: 10;
    color: var(--text-color);
    transition: width 0.3s, padding 0.3s, border 0.3s;
}

header {
    position: fixed;
    top: 0;
    width: calc(100% - 320px);
    left: 320px;
    border-bottom: 3px solid rgb(0, 0, 0);
    height: 70px;
    background-color: var(--basicbackground);
}

header span {
    padding: 30px 30px 0 0;
}

#headerrightcontent {
    height: 100%;
}

#arestartbot {
    all: unset;
    position: absolute;
    right: 240px;
    top: 50%;
    transform: translate(0, -50%);
}


#alogout {
    all: unset;
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translate(0, -50%);
}

#atheme {
    all: unset;
    position: absolute;
    right: 440px;
    top: 50%;
    transform: translate(0, -50%);
}

#btheme {
    width: auto;
}

#brestartbot {
    width: 190px;
}

#blogout {
    width: 190px;
}

#headerrightcontent button {
    padding: 12px 12px;
    margin: 6px 0;
    border: none;
    border-radius: 8px;
    transition: all 0.5s;
    font-size: 16px;
    background-color: rgb(0, 0, 0);
    color: white;
    position: relative;
    
}

#headerrightcontent button:hover {
    background-color: var(--blackhover);
    scale: 1.05;
}

@media (max-width: 1200px){
    #sidebar {
        max-width: 0px;
        min-width: 0px;
        width: 0px;
        padding: 0;
        border: none;
        transition: width 0.3s, padding 0.3s, border 0.3s;
    }

    #sidebar-button {
        display: none;
    }

    #sidebar-buttons {
        padding: 0px;
        display: none;
    }

    #content-div {
        margin-left: 0;
    }

    header {
        left: 0px;
        width: 100%;
    }
    svg {
        display: none;
    }
    #pagecontent {
        width: 100%;
        height: fit-content;
        min-height: 100vh;
        margin: 90px 0 0 0;
        padding-bottom: 150px;
}

#feedback-icon {
    display: none;
}
#faq-icon {
    display: none;
}

#account-icon {
    display: none;
}

}


@media (min-width: 1200px) {
#sidebar-buttons {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 300px);
    overflow-y: auto;
    padding: 10px;
    
    scrollbar-width: none;
    -ms-overflow-style: none;
}
}


#sidebar-buttons::-webkit-scrollbar {
    display: none;
}



#sidebar-buttons button {
    padding: 12px 12px;
    margin: 6px 0;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 16px;
    
    text-decoration: none;

}

#sidebar-buttons a {
    text-decoration: none;
}

svg {
    stroke: rgb(255, 255, 255);
    width: 20px;
    height: 20px;
    
}

#sidebar h3 {
    font-family: "Kanit";
    font-weight: 600;
    font-style: normal;
    font-size: 28px;
    margin: 10px 0;
    padding: 0;
}




.act_module {
    background-color: rgb(0, 0, 0);
    color: white;
    border: 2px solid transparent;
    width: 100%;
    padding: 0;
    margin: 4px 0;
    text-align: left;
    display: flex;
    text-align: center;
    gap: 14px;
}

.act_module:hover {
    background-color: var(--blackhover);
    scale: 1.05;
    /* border: 2px solid black; */
}

.deact_module:hover {
    background-color: var(--basicaccent);
    color: rgb(0, 0, 0);
}

.deact_module {
    display:grid;
    background-color: var(--radials);
    color: rgb(0, 0, 0);
    border: 2px solid transparent;
    width: 100%;
    text-align: center;
    
}

#cmtext {
    text-align: center;
}

.cmtext {
    text-align: center;
}
#profilecard {
    width: 80%;
    background-color: var(--basicbackground);
    border-radius: 12px;
    color: black;
    position: relative;
    z-index: 0;
    transition: transform 0.4s, filter 0.4s;
    margin-top: 60px;
    
}
#profilecard:hover {
    transform: translate(0, -5px);
    filter: drop-shadow(0 0 10px var(--shadow));
}
#banner {
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 240px;
    height: 240px;
}
#profilecard-infos {
    display: grid;
    height: auto;
    width: 100%;
    display: grid;
    place-items: center;
    margin: 60px 0 0 0;
    color: var(--text-color);
}

#profilecard-infos h2 {
    padding: 0;
    margin: 0;
}

#profilecard-infos p {
    padding: 0;
    margin: 0;
}

#avatar {
    border-radius: 100%;
    width: 180px;
    height: 180px;
    filter: drop-shadow(0 0 20px var(--shadow));
    border: 3px solid var(--text-color);
    background-image: cover;
}

#botname {
    background-color: transparent;
    border: none;
    border-bottom: var(--text-color) thin solid;
    text-align: center;
    font-family: "Kanit";
    font-weight: 400;
    font-style: normal;
    font-size: 28px;
    margin: 0 0 20px 0;
    color: var(--text-color);
}

#botname:focus {
    outline: none;
}

#profilecard-content {
    display: flex;
    margin: 80px 0 0px 0;
    padding: 0;
    width: 100%;
    position: relative;
}

#banner {
    width: 100%;
    height: 140px;
    border-radius: 12px 12px 0 0
}

.configitem {
    background-color: var(--basicbackground);
    color: var(--text-color);
    padding: 14px;
    border-radius: 12px;
    width: 80%;
}

#avatardiv {
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
}

#poweredby {
    position: fixed;
    bottom: 20px;
    right: 30px;
    opacity: 0.4;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    line-height: 2;
    font-size: 13px;
    color: var(--text-color);
}

#poweredby a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    
}

#poweredby a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

input[type="file"] {
    display: none;
}


.mainsavebutton {
    display: inline-block;
    padding: 9px 52px;
    margin: 6px 10px;
    border: none;
    border-radius: 8px;
    transition: all 0.5s;
    font-size: 16px;
    background-color: rgb(0, 0, 0);
    color: white;
    width: 450px;
    border: 2px solid transparent;
    text-align: center;
    transition: all 0.3s;


}

.mainsavebutton:hover {
    background-color: var(--blackhover);
    scale: 1.05;
    filter: drop-shadow(0 0 6px var(--shadow));

}

.mainsavebutton-div {
    background-color: var(--body-color);
    width: auto;
    padding: 7px;
    position: fixed;
    bottom: 50px;
    left: 50%;
    display: flex;
    justify-content: center;
    border-radius: 8px;
    transform: translate(-50%, 0);
    z-index: 100000;
}

select {
  padding: 6px 12px;
  border: 2px solid rgb(0, 0, 0);
  border-radius: 8px;
  background-color: var(--body-color);
  color: var(--text-color);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg fill='black' height='24' width='24' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  cursor: pointer;
  margin: 6px 0;
}

.modulecheck {
    margin: 6px 0;
}

.categoryitem {
    border: 2px solid rgb(0, 0, 0);
    padding: 10px;
    border-radius: 8px;
    margin: 6px 0;
}

.configinput {
    width: 300px;
    margin: 6px 0;
    padding: 6px 12px;
    border-radius: 8px;
    border: 2px solid rgb(0, 0, 0);
    background-color: var(--body-color);
    color: var(--text-color);
}

.configarea {
    width: 300px;
    margin: 6px 0;
    padding: 6px 12px;
    border-radius: 8px;
    border: 2px solid rgb(0, 0, 0);
    background-color: var(--body-color);
    color: var(--text-color);
    max-width: 600px;
}

.configextrainput {
    width: 100px;
    margin: 6px 10px;
    padding: 6px 12px;
    border-radius: 8px;
    border: 2px solid rgb(0, 0, 0);
    background-color: var(--body-color);
    color: var(--text-color);
}

.configbutton {
    display: inline-block;
    padding: 9px 52px;
    margin: 6px 10px;
    border: none;
    border-radius: 8px;
    transition: all 0.5s;
    font-size: 16px;
    background-color: rgb(0, 0, 0);
    color: white;
    width: 250px;
    border: 2px solid transparent;
    text-align: center;
    transition: all 0.3s;
}

.configbutton:hover {
    filter: drop-shadow(0 0 10px var(--shadow));
}


.configlistbutton {
    display: inline-block;
    padding: 6px 12px;
    margin: 6px 10px;
    border: none;
    border-radius: 8px;
    transition: all 0.5s;
    font-size: 16px;
    background-color: rgb(0, 0, 0);
    color: white;
    width: 100px;
    border: 2px solid transparent;
    text-align: center;
}

.file-label {
    display: inline-block;
    padding: 12px 12px;
    margin: 6px 10px;
    border: none;
    border-radius: 8px;
    transition: all 0.5s;
    font-size: 16px;
    background-color: rgb(0, 0, 0);
    color: white;
    width: 190px;
    border: 2px solid black;
    text-align: center;
}

.file-label:hover {
    background-color: var(--basicbackground);
    color: var(--text-color);
    border: 2px solid black;
}

#profilebuttons {
    display: flex;
    margin: 40px 0 0 0;
}

#transcripts {
    justify-content: left;
    display: grid;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.transcriptitem {
    background-color: var(--basicbackground);
    padding: 8px 14px;
    margin: 10px 10px 10px 0;
    width: 700px;
    border-radius: 8px;
    text-align: center;
    transition: background 0.3s, color 0.3s;
    color: var(--text-color);
}

.transcriptitem:hover {
    background-color: var(--basicaccent);
    color: black;
}


#transcripts a {
    text-decoration: none;
    color: black;
}
@media (min-width: 1200px){
    #pagecontent {
        width: 80%;
        height: fit-content;
        min-height: 100vh;
        margin: 90px 0 0 340px;
        padding-bottom: 180px;
        
    }

}



#centersubmit {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

#updateprofilebutton {
    display: inline-block;
    padding: 12px 12px;
    margin: 6px 10px;
    border: none;
    border-radius: 8px;
    transition: all 0.5s;
    font-size: 16px;
    background-color: rgb(0, 0, 0);
    color: white;
    width: 456px;
    border: 2px solid black;
    text-align: center;
}

#updateprofilebutton:hover {
    background-color: var(--basicbackground);
    color: var(--text-color);
    border: 2px solid black;
    filter: drop-shadow(0px 0px 10px var(--shadow));
}

#statistics {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 80%;
}

.statistic-item {
    background-color: var(--basicbackground);
    color: var(--text-color);
    width: 160px;
    height: 40px;
    border-radius: 8px;
    padding: 5px;
    margin: 8px;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    transition: transform 0.3s, filter 0.3s;
}    

.statistic-item:hover {
    transform: translate(0, -5px);
}


#centerstats {
    width: 100%;
    display: flex;
    justify-content: center;
}

#formResponse {
    right: -400px;
    opacity: 0;
    display: block;
    top: 100px;
    position: fixed;
    background-color: var(--basicbackground);
    padding: 20px 50px 20px 30px;
    border-radius: 8px 0 0 8px;
    z-index: 10000000;
    color: var(--text-color);
    filter: drop-shadow(0 0 10px var(--shadow));
    text-align: left;
    max-width: 350px;
    transition: opacity 0.3s, right 0.5s;
    border: 3px solid rgb(0, 0, 0);
}

.explanationtext {
    opacity: 0.6;
    font-size: 13px;
}

#faq-icon {
    position: fixed;
    bottom: 90px;
    left: 0px;
    width: 250px;
    background-color: black;
    z-index: 10000;
    padding: 14px 14px 14px 30px;
    border-radius: 0 8px 8px 0;
    color: white;
    transition: all 0.3s;
}

#account-icon {
    position: fixed;
    bottom: 30px;
    left: 0px;
    width: 250px;
    background-color: black;
    z-index: 10000;
    padding: 14px 14px 14px 30px;
    border-radius: 0 8px 8px 0;
    color: white;
    transition: all 0.3s;
}

#feedback-icon {
    position: fixed;
    bottom: 150px;
    left: 0px;
    width: 250px;
    background-color: black;
    z-index: 10000;
    padding: 14px 14px 14px 30px;
    border-radius: 0 8px 8px 0;
    color: white;
    transition: all 0.3s;
}

#faq-icon:hover {
    width: 260px;
    /* filter: drop-shadow(0 0 10px var(--shadow)); */
    background-color: var(--blackhover);
}

#account-icon:hover {
    width: 260px;
    /* filter: drop-shadow(0 0 10px var(--shadow)); */
    background-color: var(--blackhover);
}

#feedback-icon:hover {
    width: 260px;
    /* filter: drop-shadow(0 0 10px var(--shadow)); */
    background-color: var(--blackhover);
}



#changePWdiv {
    position: fixed;
    left: 40%;
    top: 20%;
    background-color: var(--basicbackground);
    width: 500px;
    /* display: flex; */
    display: none;
    justify-content: center;
    padding: 60px 30px;
    border-radius: 14px;
    z-index: 10001;
}

#changePWform {
    width: 80%;
}

#blackscreen {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0.8;
    z-index: 10000;
    background-color: black;
    display: none;
}

.star-rating {
  direction: rtl;
  display: inline-flex;
  font-size: 2rem;
  user-select: none;
}

.star-rating input {
  display: none;
}

.star-rating label {
  color: var(--basicaccent);
  cursor: pointer;
  transition: color 0.2s;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: var(--text-color);
}

li {
    line-height: 28px;
}