


    #txtIsi, #txtUnicode{
        border-radius: 25px;
        padding: 10px 20px;
    }



/* Focus styles (Fix!) */
#fontSelector:focus {
    color: #6964f7;
  outline: none !important;
}


#fontSelector{
    border-style: hidden;
    cursor: pointer;
    border-radius: 100px;
    
}

#fontSelector:hover{
    color: #6964f7;
}

#fontSelector:active{
    background-color: #6964f7;
    color: rgb(255, 255, 255);
}


textarea{
max-width: 100%;
}


/* Modern toggle switch style */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  aspect-ratio: 2 / 1; /* height will be 30px if width is 60px */
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #d9d9f4;
  transition: 0.4s;
  border-radius: 32px;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 4px;
  padding-right: 4px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 12px;
  aspect-ratio: 1 / 1; /* height will be 15px if width is 15px */
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #6964f7;
}

input:checked + .slider:before {
  transform: translateX(20px);
}

/* Optional label text */
.toggle-label {
  font-family: Noto Sans Sinhala;
  margin-left: 5px;
  vertical-align: middle;
}

#mode{
   position: absolute;
   top: 10px;
   left: 100px;
}

@media only screen and (max-width: 768px){

#mode{
 position: unset;;
}


}