#editorWrapper {
  min-height: 250px;
  max-height: 250px;
}

.split-layout {
  display: flex;
  gap: 10px;
}
#inputEditor,
#outputEditor {
  min-height: 250px;
}

.split-layout #inputEditor,
.split-layout #outputEditor {
  display: block !important;
  width: 50%;
}

.split-layout .editor-column {
  text-align: left;
  width: 50%;
}

.split-layout #outputEditor,
.split-layout #inputEditor {
  height: 250px;
  width: 100%;
}

#outputEditor {
  display: none;
  user-select: text;
  pointer-events: auto;
}

textarea {
  width: 100%;
  height: 250px;
  font-size: 12px;
  font-family: 'PT Mono', monospace;
  padding: 5px;
  border: 1px solid lightgrey;
  border-radius: 0 0 4px 4px;
  resize: none;
  color: gray;
  white-space: pre;
  word-wrap: normal;
}

textarea:focus {
  outline: none;
}
textarea::placeholder {
  font-family: 'arial', sans-serif;
  font-size: 0.9rem;
}


.tab-buttons,
.layout-buttons {
  display: flex;
  z-index: 99;
}

.tab-buttons button,
.layout-buttons button,
#tabOutput-splitView {
  background-color: #fff;
  min-height: 30px;
  max-height: 30px;
  border: 1px solid lightgrey;
  padding: 5px 10px;
  border-bottom: none;
  cursor: pointer;
}

.layout-buttons button,
#tabOutput-splitView {
  border-radius: 4px 4px 0 0;
}

#outputColumn textarea {
  background-color: #f5f5f5;
}

.split-layout #inputColumn textarea {
  border-radius: 0 4px 0 0;
}

.split-layout #outputColumn {
  margin-top: -30px;
}

.tab-buttons #tabInput {
  background: #f5f5f5;
  border-radius: 4px 0 0 0;
}

.tab-buttons #tabOutput {
  border-radius: 0 4px 0 0;
}

.byte-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 0.7rem;
  background: #0000005b;
  border-radius: 0 0 4px 0;
  padding: 5px 10px;
  color: #fff;
  pointer-events: none;
  z-index: 10;
}

.editor-column {
  position: relative;
}

.btns-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
}

.btns-box1 button,
.btns-box2 button {
  padding: 7px 8px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 300;
  display: flex;
  justify-content: center;
  gap: 5px;
  align-items: center;
}

.btns-box1 {
  display: flex;
}

.btns-box1 button {
  width: 150px;
  background-color: #304ffe;
  font-size: 0.9rem;
  color: #fff;
}

.btns-box1 button:hover {
  background-color: #1938e7;
}

.btns-box1 label {
  margin-left: 10px;
  display: flex;
  align-items: center;
}
.btns-box2 .inner-btns {
  display: flex;
  align-items: center;
  gap: 5px;
}
.file-btn {
  display: inline-block;
  background-color: #f5f5f5;
  padding: 7px 14px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.file-btn input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  cursor: pointer;
  height: 100%;
  width: 100%;
}

#copyBtn {
  width: 150px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

input[type=number] {
  -moz-appearance: textfield;
  padding: 5px 0;
  text-align: center;
  margin-left: 5px;
  max-width: 25px;
  max-height: 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.8rem;
  border: 1px solid #304ffe;
  font-weight: 300;
}

input:focus,
textarea:focus {
  border: 1px solid #304ffe;
}

label {
  font-size: 0.8rem;
  color: #363636;
}

.btns-box2 {
  display: flex;
  justify-content: right;
  gap: 10px;
  align-items: center;
}

.btns-box2 button {
  background-color: #f5f5f5;
}

.btns-box2 button:focus {
  outline: .1px solid #304ffe;
}

.btns-box2 button:hover,
.file-btn:hover {
  background: #dedddd;
}

.text-content h2 {
  margin-top: 20px;
  margin-bottom: 10px;
}

.input-type-text {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: #36363698;
  line-height: 20px;
  border-right: 1px solid lightgrey;
  padding-right: 3px;

}

#forceLang {
  border: none;
  font-size: 0.8rem;
  color: #304ffe;
  line-height: 20px;
  text-align: center;
  padding-left: 3px;
  cursor: pointer;
}

footer {
  max-width: 800px;
  margin: 0 auto;
}

.center-it {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.hide {
  display: none !important;
}



@media (max-width: 850px) {
  .nav-links {
    margin: 0 20px;
  }

  .header-content {
    padding: 0 10px;
    margin-bottom: 50px;
  }

  .container {
    padding: 0 10px;
    margin-bottom: 50px;
  }

  footer {
    padding: 0 10px;
  }
}

@media (max-width: 650px) {
    nav{
  box-shadow: 0 5px 5px #304ffe50;
        
    }
  .nav-links {
    justify-content: center;
  }

  .nav-right {
    display: none;
  }

  .logo img {
    width: 300px;
    margin: 5px auto;
  }

  #splitBtn {
    display: none;
  }

  .btns-container {
    flex-direction: column;
  }

  .btns-box1,
  .btns-box2 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .btns-box1 button {
    width: 70%;
  }

  .btns-box2 .inner-btns button,
  .btns-box2 .inner-btns label {
    min-width: 32%;
    max-width: 32%;
    gap: 2px;
    padding: 7px 0;
    margin-bottom: 10px;
  }

  .btns-box2 {
    margin-top: 15px;
    justify-content: space-between;
     flex-direction: column-reverse;
    gap: 0;
  }
.btns-box2 .inner-btns{
    width: 100%;
    justify-content: center;
}
  .btns-box2 button img,
  .file-btn img {
    width: 18px;
  }
}
