:root {
--default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
--heading-font: "Nunito", sans-serif;
--nav-font: "Inter", sans-serif;
}
* {
font-family: var(--heading-font);
-webkit-user-select: none; /* Safari, Chrome, Edge */
-moz-user-select: none;    /* Firefox */
-ms-user-select: none;     /* Internet Explorer/Edge */
user-select: none;         /* Standar */
}

/* Basic modal background */
.modal {
display: none;
position: fixed;
z-index: 6;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
}

/* Modal content */

.modal-content {
background-color: #fff;
margin: 7% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
max-width: 500px;
}
@media (max-width: 768px) { /* Tampilan smartphone */
.modal-content {
 margin: 15% auto;
}
}
/* Close button */
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}

.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
    .container {
        margin-top: 10px;
    }
    .upload-form {
        max-width: 600px;
        margin: auto;
    }
    textarea {
        resize: none; /* Disable resizing */
    }
    .pdfbox{
      font-weight: 600;
      font-size: 1em;
      display: block;
      line-height: 1.8;
      background: #388da8;
      color :#fff;
padding: 4px;
border-radius: 5px;
    }

    .copy-btn {
      top: 4px;
      right: 0;
      position: absolute;
      border: 1px #d3d3d3 solid;
      content: 'Copy';
      display: inline-block;
      background-color: #ffffff;
      color: #757575;
      padding: 1px 5px;
      margin-right: 10px;
      cursor: pointer;
      border-radius: 3px;
      font-size: 0.7em;
      text-align: center;
    }


    .hasilx h3{
      font-weight: bold;
      font-size: 1.2em;
      margin-top: 10px;
      margin-bottom: 10px;
    }
    .hasilx p{
        margin-bottom: 1em;
    }
    .promptx {
      font-weight: 400;
width: fit-content;
font-size: 1em;
color: #474d4f;
float: right;
background: #ececec;
padding: 16px;
border-radius: 12px;
margin-bottom: 12px;/* Menambahkan margin di bawah div ini */
}

.hasilx {
border: solid #ededed 1px;
position: relative;
font-size: 1.2em;
line-height: 2em;
margin-bottom: 12px;
padding:1.5em 7px 7px 1.7em;
border-radius: 12px;
clear: both;
}
    .promptx > p{
      margin: 0;
    }
    .token{
      margin-bottom: 6px;
width: max-content;
padding: 3px;
color: #fff;
font-size: 20px;
    }
    .checkc{
      color: #fff;
border-radius: 5px;
margin-left: 7px;
margin-bottom: 2px;
margin-top: -2px;
    }


    .uploadbox{
      border-radius: 1em;
    color: #fff;
    background: #388da8;
    padding: 21px 37px 23px 37px;
    }
    .uploadboxurl{
      border-radius: 1em;
      margin-left: 4px;
color: #fff;
background: #388da8;
      padding: 27px 25px 23px 25px;
    }

    #isi {
      padding: 8px;
        border-radius: 7px;
        margin-top: 8px;
        height: 85%;
        width: 100%;
        overflow: scroll;
        scrollbar-width: auto;
    }

#isi::-webkit-scrollbar {
display: none; /* Untuk Chrome, Safari, dan Edge */
}

.menuh{
z-index: 7;
position: fixed;
top: 10px;
left: 10px;
color: #ffffff;
cursor: pointer;
border-radius: 16px;
padding: 10px;
background-color: #388da8;
}
.menu{
z-index: 7;
position: fixed;
top: 10px;
left: 50px;
color: #ffffff;
cursor: pointer;
border-radius: 16px;
padding: 10px;
background-color: #388da8;
}
.menux{
z-index: 7;
position: fixed;
top: 10px;
left: 90px;
color: #ffffff;
cursor: pointer;
border-radius: 16px;
padding: 10px;
background-color: #388da8;
}
.menuxx{
z-index: 7;
position: fixed;
top: 10px;
right: 10px;
color: #ffffff;
cursor: pointer;
border-radius: 16px;
padding: 10px;
background-color: #388da8;
}

.menudaftar{
z-index: 7;
position: fixed;
top: 10px;
right: 50px;
color: #ffffff;
cursor: pointer;
border-radius: 16px;
padding: 10px;
background-color: #388da8;
}

#pdf-container{
height: 42em;
padding-right: 10px;
overflow: auto;
}
#pdf-container::-webkit-scrollbar {
display: none; /* Untuk Chrome, Safari, dan Edge */
}
.chatx{
/* border: 1px solid #ccc; */
}
.sidenav {
color: #393939;
height: 100%;
width: 75%;
position: fixed;
z-index: 5;
top: 0;
right: 0;
display: none;
background-color: #fff;
overflow-x: hidden;
transition: 0.5s;
box-shadow: -1px 6px 2px #888888;
}
.sidenavx {
height: 100%;
width: 35%;
position: fixed;
z-index: 5;
top: 0;
left: 0;
display: block;
background-color: #fff;
overflow-x: hidden;
transition: 0.5s;
box-shadow: -1px 6px 2px #888888;
}

@media screen and (max-height: 450px) {
.sidenav {padding-top: 15px;}
.sidenav a {font-size: 1.5vw;}
}
@media screen and (max-width: 1100px) {
.sidenav{ width: 40%}
}
@media screen and (max-width: 800px) {
.sidenav{ width: 60%}
}
@media screen and (max-width: 500px) {
.sidenav{ width: 100%}
}

@media screen and (max-height: 450px) {
.sidenavx {padding-top: 15px;}
.sidenavx a {font-size: 1.5vw;}
}
@media screen and (max-width: 1100px) {
.sidenavx{ width: 40%}
}
@media screen and (max-width: 800px) {
.sidenavx{ width: 60%}
}
@media screen and (max-width: 500px) {
.sidenavx{ width: 100%}
}
.hasilx >ol > li {
cursor: pointer;
}


.hasilx ol > li {
margin: 10px 0;
padding-left: 25px;
position: relative;
}

.hasilx ol li:before {
content: "➤";
position: absolute;
left: 0;
top: 0;
font-size: 1.2em;
color: #2c88ff;
}

.hasilx > ol {
padding-left: 20px;
list-style-type: none;
}

.hasilx ol li {
margin: 10px 0;
}

.form-group {
 margin-bottom: 15px;
}
.btnbeauty {
margin-top: 3px;
background-color: #f0f0f0; /* Warna latar belakang terang */
color: #333; /* Warna teks gelap untuk kontras yang baik */
border: 1px solid #ccc; /* Border ringan untuk tampilan yang bersih */
border-radius: 4px; /* Sudut melengkung untuk tampilan modern */
padding: 5px 5px; /* Ruang di dalam tombol */
font-size: 1em; /* Ukuran font */
font-family: Arial, sans-serif; /* Font yang bersih dan mudah dibaca */
cursor: pointer; /* Menunjukkan bahwa ini adalah tombol yang dapat diklik */
transition: background-color 0.3s ease, border-color 0.3s ease; /* Efek transisi halus */
}
pre{
color: #fff;
background-color: #353535;
}
/* Mengatur gaya scrollbar untuk browser berbasis Webkit (Chrome, Safari) */
#divfiles::-webkit-scrollbar {
width: 8px; /* Lebar scrollbar */
}

#divfiles::-webkit-scrollbar-thumb {

background-color: rgb(249 249 249 / 58%) transparent; /* Warna dan transparansi scrollbar */
border-radius: 4px; /* Sudut membulat pada scrollbar */
}

#divfiles::-webkit-scrollbar-track {
background-color: transparent; /* Latar belakang track scrollbar */
}

/* Mengatur gaya scrollbar untuk browser Firefox */
#divfiles {
scrollbar-width: thin; /* Lebar scrollbar */
scrollbar-color: rgb(133 188 205) transparent; /* Warna scrollbar dan track */
}

.peran{
background: #388da8;
padding: 1em;
color: fff;
border-radius: 5px;
}
.tiperole{
font-weight: 600;
background: #fff;
color: #388da8;
padding: 3px;
border-radius: 5px;
}
