@import url("https://fonts.googleapis.com/css2?family=Mukta:wght@500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500&display=swap");
@font-face {
  font-family: "Preeti";
  src: url("../fonts/Preeti.woff2") format("woff2"), url("../fonts/Preeti.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  background: #f1f2f3;
  margin: 0;
  padding: 0px;
}

.samachar-container {
  padding: 0px 10px;
}

#content {
  margin: 0 auto;
  max-width: 1200px;
}

#content .title {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 500;
  font-family: "Mukta", sans-serif;
}

#content .title.samachardainik {
  margin-top: 15px;
}

#content .powered {
  text-align: right;
  font-size: 12px;
}

#content .powered a {
  color: black;
}

#content textarea {
  background: #f1f2f3;
  color: #333333;
  font-size: 24px;
  border: none;
  border-radius: 3px;
  outline: none;
  padding: 15px;
  -webkit-box-shadow: inset 6px 6px 12px #bfbdbd, inset -6px -6px 15px white;
          box-shadow: inset 6px 6px 12px #bfbdbd, inset -6px -6px 15px white;
}

#content .textarea:focus {
  border: none;
}

#content .search-section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-top: 15px;
}

#content .search-section.samachardainik {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
}

#content .search-section a {
  text-decoration: none;
  background: #32b389;
  padding: 5px 15px;
  border-radius: 2px;
  width: 80px;
  line-height: 26px;
  margin-bottom: 10px;
  margin-right: 30px;
  color: white;
  -webkit-box-shadow: 0px 2px 4px #c1c1c1;
          box-shadow: 0px 2px 4px #c1c1c1;
}

#content .search-section a:hover {
  background: #545454;
  color: white;
}

#content .search-section input {
  border: none;
  margin-right: 15px;
  margin-bottom: 10px;
  border-radius: 5px;
  line-height: 26px;
  padding: 2px 15px;
  background: white;
}

@media (max-width: 768px) {
  #content .title {
    font-size: 18px;
  }
  #content textarea {
    height: 200px;
  }
  #content .search-section a {
    margin-right: 0px;
  }
  #content .special_char span {
    margin-bottom: 5px;
  }
}

#content .output-section {
  position: relative;
  background: #f1f2f3;
  padding-bottom: 30px;
}

#content .output-info-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

#content .copy-btn {
  background: #3295b3;
  cursor: pointer;
  margin-bottom: 10px;
  color: white;
  line-height: 37px;
  border-radius: 3px;
  padding: 0px 15px;
}

#content .special_char span {
  cursor: pointer;
  background: white;
  min-width: 35px;
  text-align: center;
  padding: 6px;
  border-radius: 5px;
  display: inline-block;
  margin-right: 5px;
}

#content .special_char span:hover {
  background: #aba8a8;
}

#content .lower_div {
  margin: 0;
  background: #cccccc4f;
  padding: 5px 0;
}

#content * {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

#content #main {
  padding: 5px;
}

#content .spcl_character_wrap {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
      grid-template-columns: 1fr 1fr;
  padding: 0 5px;
}

#content .spcl_character p {
  margin: 0;
  display: inline-block;
  padding: 2px 5px;
}

#content textarea#legacy_text {
  margin-top: 5px;
}

#content .output-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

#content .keyboard-btn {
  margin-right: 10px;
  cursor: pointer;
  background: #3272b3;
  margin-bottom: 10px;
  color: white;
  line-height: 37px;
  border-radius: 3px;
  padding: 0px 15px;
}

#content .keyboard {
  height: 0;
  text-align: center;
  font-size: 14px;
  font-family: sans-serif;
  margin-bottom: 0px;
  padding-bottom: 0px;
  -webkit-transition: all 0.5s ease-in;
  transition: all 0.5s ease-in;
}

#content .keyboard.active {
  margin-bottom: 30px;
  padding-bottom: 5px;
  height: 320px;
  -webkit-transition: all 0.5s ease-in;
  transition: all 0.5s ease-in;
}

@media (max-width: 1024px) {
  #content .keyboard-btn {
    display: none;
  }
}

@media (max-width: 992px) {
  #content .keyboard.active {
    height: 240px;
  }
}

@media (max-width: 620px) {
  #content .keyboard.active {
    height: 180px;
  }
}

@media (max-width: 400px) {
  #content .keyboard.active {
    height: 100px;
  }
}

#content .keyboard__row {
  display: inline-block;
  height: 3em;
  margin: 0.2em;
}

#content .keyboard__row--h1 {
  height: 1.7em;
  line-height: 1.4em;
}

#content .keyboard__row--h3 {
  height: 3.3em;
}

#content .keyboard__row > * {
  position: relative;
  background: #333;
  text-align: center;
  color: #eee;
  float: left;
  border-radius: 0.3em;
  margin: 0.2em;
  padding: 0.2em;
  width: 3.3em;
  height: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  cursor: pointer;
  border: 1px solid #444;
  -webkit-box-shadow: 0 0.2em 0 0.05em #222;
          box-shadow: 0 0.2em 0 0.05em #222;
  border-bottom-color: #555;
}

#content .keyboard__row--h1 > div {
  width: 3.5em;
}

#content .keyboard__row > div[data-pressed],
#content .keyboard__row > div:active {
  background: #2a2a2a;
  color: #aaa;
  position: relative;
  top: 0.2em;
  -webkit-box-shadow: 0 0 0 0.05em black;
          box-shadow: 0 0 0 0.05em black;
}

#content .key--w3 {
  width: 4.6em;
}

#content .key--w4 {
  width: 6em;
}

#content .key--w5 {
  width: 6.5em;
}

#content .key--w6 {
  width: 8.3em;
}

#content .key--space {
  width: 18em;
}

#content .key--double:hover {
  background-color: #080808;
}

#content .key--double:hover::after {
  content: attr(data-char);
  position: absolute;
  top: -43px;
  font-size: 26px;
  -webkit-box-shadow: 0px 2px 15px #121212;
          box-shadow: 0px 2px 15px #121212;
  left: -15px;
  height: 45px;
  border-radius: 50% 50% 0 50%;
  width: 45px;
  color: #040404;
  background: white;
}

#content .key--double > * {
  padding-top: 0.1em;
}

#content .key--double div:nth-child(1) {
  line-height: 1em;
  font-size: 14px;
}

#content .key--double div:nth-child(2) {
  line-height: 1.5em;
  font-size: 18px;
}

#content .key--letter {
  line-height: 2.8em;
  position: relative;
}

#content .key--letter:hover {
  background-color: #080808;
}

#content .key--letter:hover::after {
  content: attr(data-char);
  position: absolute;
  top: -43px;
  font-size: 26px;
  -webkit-box-shadow: 0px 2px 15px #121212;
          box-shadow: 0px 2px 15px #121212;
  left: -15px;
  height: 45px;
  border-radius: 50% 50% 0 50%;
  width: 45px;
  color: #040404;
  background: white;
}

#content .key--letter div:nth-child(1) {
  line-height: 1em;
  font-size: 14px;
}

#content .key--letter div:nth-child(2) {
  line-height: 1.5em;
  font-size: 20px;
}

#content .key--bottom-left > * {
  position: absolute;
  text-align: left;
  bottom: 0.4em;
  left: 0.4em;
}

#content .key--bottom-right > * {
  position: absolute;
  text-align: right;
  bottom: 0.4em;
  right: 0.4em;
}

#content .key--fn > * {
  font-size: 0.6em;
  line-height: 1em;
  padding-top: 1.2em;
  padding-right: 0.2em;
  text-align: right;
  float: right;
}

#content .key--word > * {
  font-size: 0.8em;
}

#content .key--arrow--tall > *,
#content .key--arrow > * {
  font-size: 0.5em;
  line-height: 3em;
}

#content .key--arrow {
  height: 1.8em;
  margin-top: 1.7em;
  line-height: 0.5em;
}

#content .key--arrow--tall > * {
  padding-top: 0.2em;
}

#content .keyboard > .keyboard__row {
  text-align: center;
}

#content .output-container,
#content .backdrop,
#content .output-textarea {
  width: 100%;
  height: 400px;
}


#content .input-textarea{
	font-family: 'Preeti';
    font-weight: normal;
    font-style: normal;
    width: 100%;
    line-height: 1.5;
    font-size: 22px;
}

#content .highlights,
#content .output-textarea {
  padding: 10px;
  font: 20px/28px "Open Sans", sans-serif;
  letter-spacing: 1px;
}

#content .output-container {
  display: block;
  margin: 0 auto;
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  -webkit-text-size-adjust: none;
}

#content .backdrop {
  position: absolute;
  z-index: 1;
  border: 2px solid #685972;
  background-color: #f1f2f3;
  overflow: auto;
  pointer-events: none;
  -webkit-transition: -webkit-transform 1s;
  transition: -webkit-transform 1s;
  transition: transform 1s;
  transition: transform 1s, -webkit-transform 1s;
}

#content .highlights {
  white-space: pre-wrap;
  word-wrap: break-word;
  color: transparent;
}

#content .output-textarea {
  display: block;
  position: absolute;
  z-index: 2;
  margin: 0;
  border: 2px solid #edecee;
  border-radius: 0;
  color: #444;
  background-color: transparent;
  overflow: auto;
  resize: none;
  -webkit-transition: -webkit-transform 1s;
  transition: -webkit-transform 1s;
  transition: transform 1s;
  transition: transform 1s, -webkit-transform 1s;
}

#content mark {
  border-radius: 3px;
  color: transparent;
  background-color: #b1d5e5;
}

#content button {
  display: block;
  width: 300px;
  margin: 30px auto 0;
  padding: 10px;
  border: none;
  border-radius: 6px;
  color: #fff;
  background-color: #74637f;
  font: 18px "Opens Sans", sans-serif;
  letter-spacing: 1px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
}

#content .perspective .backdrop {
  -webkit-transform: perspective(1500px) translateX(-125px) rotateY(45deg) scale(0.9);
          transform: perspective(1500px) translateX(-125px) rotateY(45deg) scale(0.9);
}

#content .perspective .output-textarea {
  -webkit-transform: perspective(1500px) translateX(155px) rotateY(45deg) scale(1.1);
          transform: perspective(1500px) translateX(155px) rotateY(45deg) scale(1.1);
}

#content .output-textarea:focus,
#content button:focus {
  outline: none;
  -webkit-box-shadow: 0 0 0 2px #c4c2c2;
          box-shadow: 0 0 0 2px #c4c2c2;
}

.unicode {
  margin: 0 auto;
  max-width: 1200px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.unicode .first-wrap,
.unicode .second-wrap {
  width: 100%;
  margin: 15px 0px;
}

.unicode .title {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 500;
  font-family: "Mukta", sans-serif;
}

.unicode textarea {
  background: #f1f2f3;
  color: #333333;
  font-size: 24px;
  border: none;
  border-radius: 3px;
  outline: none;
  padding: 15px;
  -webkit-box-shadow: inset 6px 6px 12px #bfbdbd, inset -6px -6px 15px white;
          box-shadow: inset 6px 6px 12px #bfbdbd, inset -6px -6px 15px white;
}

.unicode .textarea:focus {
  border: none;
}

.unicode .search-section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-top: 12px;
}

.unicode .search-section a {
  text-decoration: none;
  background: #32b389;
  padding: 10px 15px;
  border-radius: 2px;
  width: 80px;
  line-height: 26px;
  margin-bottom: 10px;
  color: white;
  -webkit-box-shadow: 0px 2px 4px #c1c1c1;
          box-shadow: 0px 2px 4px #c1c1c1;
}

.unicode .search-section a:hover {
  background: #545454;
  color: white;
}

.unicode .search-section input {
  border: none;
  margin-right: 15px;
  margin-bottom: 10px;
  width: 170px;
  border-radius: 5px;
  line-height: 26px;
  padding: 5px 15px;
  background: white;
}

@media (max-width: 768px) {
  .unicode .title {
    font-size: 18px;
  }
  .unicode textarea {
    height: 200px;
  }
  .unicode .search-section a {
    margin-right: 0px;
  }
  .unicode .special_char span {
    margin-bottom: 5px;
  }
}

.unicode .output-section {
  position: relative;
  background: #f1f2f3;
}

.unicode .output-info-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.unicode .copy-btn {
  background: #3295b3;
  cursor: pointer;
  margin-bottom: 10px;
  color: white;
  line-height: 37px;
  border-radius: 3px;
  padding: 0px 15px;
}

.unicode .special_char span {
  cursor: pointer;
  background: white;
  min-width: 35px;
  text-align: center;
  padding: 6px;
  border-radius: 5px;
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 5px;
}

.unicode .special_char span:hover {
  background: #aba8a8;
}

.unicode .lower_div {
  margin: 0;
  background: #cccccc4f;
  padding: 5px 0;
}

.unicode * {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.unicode #main {
  padding: 5px;
}

.unicode .spcl_character_wrap {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
      grid-template-columns: 1fr 1fr;
  padding: 0 5px;
}

.unicode .spcl_character p {
  margin: 0;
  display: inline-block;
  padding: 2px 5px;
}

.unicode textarea#legacy_text {
  margin-top: 5px;
}

.unicode .output-wrap {
  margin-top: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.unicode .keyboard-btn {
  margin-right: 10px;
  cursor: pointer;
  background: #3272b3;
  margin-bottom: 10px;
  color: white;
  line-height: 37px;
  border-radius: 3px;
  padding: 0px 15px;
}

.unicode .keyboard {
  height: 0;
  text-align: center;
  font-size: 14px;
  font-family: sans-serif;
  margin-bottom: 0px;
  overflow: hidden;
  padding-bottom: 0px;
  -webkit-transition: all 0.5s ease-in;
  transition: all 0.5s ease-in;
}

.unicode .keyboard.active {
  margin-bottom: 30px;
  padding-bottom: 5px;
  height: 320px;
  -webkit-transition: all 0.5s ease-in;
  transition: all 0.5s ease-in;
}

@media (max-width: 1024px) {
  .unicode .keyboard-btn {
    display: none;
  }
}

@media (max-width: 992px) {
  .unicode .keyboard.active {
    height: 240px;
  }
  .unicode .title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .unicode .first-wrap,
  .unicode .second-wrap {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .unicode .keyboard.active {
    height: 180px;
  }
}

@media (max-width: 400px) {
  .unicode .keyboard.active {
    height: 100px;
  }
}

.unicode .keyboard__row {
  display: inline-block;
  height: 3em;
  margin: 0.2em;
}

.unicode .keyboard__row--h1 {
  height: 1.7em;
  line-height: 1.4em;
}

.unicode .keyboard__row--h3 {
  height: 3.3em;
}

.unicode .keyboard__row > * {
  position: relative;
  background: #333;
  text-align: center;
  color: #eee;
  float: left;
  border-radius: 0.3em;
  margin: 0.2em;
  padding: 0.2em;
  width: 3.3em;
  height: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  cursor: pointer;
  border: 1px solid #444;
  -webkit-box-shadow: 0 0.2em 0 0.05em #222;
          box-shadow: 0 0.2em 0 0.05em #222;
  border-bottom-color: #555;
}

.unicode .keyboard__row--h1 > div {
  width: 3.5em;
}

.unicode .keyboard__row > div[data-pressed],
.unicode .keyboard__row > div:active {
  background: #2a2a2a;
  color: #aaa;
  position: relative;
  top: 0.2em;
  -webkit-box-shadow: 0 0 0 0.05em black;
          box-shadow: 0 0 0 0.05em black;
}

.unicode .key--w3 {
  width: 4.6em;
}

.unicode .key--w4 {
  width: 6em;
}

.unicode .key--w5 {
  width: 6.5em;
}

.unicode .key--w6 {
  width: 8.3em;
}

.unicode .key--space {
  width: 18em;
}

.unicode .key--double:hover {
  background-color: #080808;
}

.unicode .key--double::after {
  content: attr(data-char);
  position: absolute;
  top: 4px;
  font-size: 14px;
  left: 10px;
  color: #fff;
}

.unicode .key--double > * {
  padding-top: 0.1em;
}

.unicode .key--double div:nth-child(1) {
  line-height: 1em;
  padding-left: 17px;
  font-size: 14px;
}

.unicode .key--double div:nth-child(2) {
  line-height: 1.5em;
  font-size: 18px;
}

.unicode .key--letter {
  line-height: 2.8em;
  position: relative;
}

.unicode .key--letter:hover {
  background-color: #080808;
}

.unicode .key--letter::after {
  content: attr(data-char);
  position: absolute;
  top: -13px;
  font-size: 14px;
  left: 10px;
  color: #fff;
}

.unicode .key--letter div:nth-child(1) {
  line-height: 1em;
  padding-left: 17px;
  font-size: 14px;
}

.unicode .key--letter div:nth-child(2) {
  line-height: 1.5em;
  font-size: 20px;
}

.unicode .key--bottom-left > * {
  position: absolute;
  text-align: left;
  bottom: 0.4em;
  left: 0.4em;
}

.unicode .key--bottom-right > * {
  position: absolute;
  text-align: right;
  bottom: 0.4em;
  right: 0.4em;
}

.unicode .key--fn > * {
  font-size: 0.6em;
  line-height: 1em;
  padding-top: 1.2em;
  padding-right: 0.2em;
  text-align: right;
  float: right;
}

.unicode .key--word > * {
  font-size: 0.8em;
}

.unicode .key--arrow--tall > *,
.unicode .key--arrow > * {
  font-size: 0.5em;
  line-height: 3em;
}

.unicode .key--arrow {
  height: 1.8em;
  margin-top: 1.7em;
  line-height: 0.5em;
}

.unicode .key--arrow--tall > * {
  padding-top: 0.2em;
}

.unicode .keyboard > .keyboard__row {
  text-align: center;
}

.unicode .output-container,
.unicode .backdrop,
.unicode .output-textarea {
  width: 100%;
  height: 330px;
}

.unicode .highlights,
.unicode .output-textarea {
  padding: 10px;
  font: 20px/28px "Open Sans", sans-serif;
  letter-spacing: 1px;
}

.unicode .output-container {
  display: block;
  margin: 0 auto;
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  -webkit-text-size-adjust: none;
}

.unicode .backdrop {
  position: absolute;
  z-index: 1;
  border: 2px solid #685972;
  background-color: #f1f2f3;
  overflow: auto;
  pointer-events: none;
  -webkit-transition: -webkit-transform 1s;
  transition: -webkit-transform 1s;
  transition: transform 1s;
  transition: transform 1s, -webkit-transform 1s;
}

.unicode .highlights {
  white-space: pre-wrap;
  word-wrap: break-word;
  color: transparent;
}

.unicode .output-textarea {
  display: block;
  position: absolute;
  z-index: 2;
  margin: 0;
  border: 2px solid #edecee;
  border-radius: 0;
  color: #444;
  background-color: transparent;
  overflow: auto;
  resize: none;
  -webkit-transition: -webkit-transform 1s;
  transition: -webkit-transform 1s;
  transition: transform 1s;
  transition: transform 1s, -webkit-transform 1s;
}

.unicode mark {
  border-radius: 3px;
  color: transparent;
  background-color: #b1d5e5;
}

.unicode button {
  display: block;
  width: 300px;
  margin: 30px auto 0;
  padding: 10px;
  border: none;
  border-radius: 6px;
  color: #fff;
  background-color: #74637f;
  font: 18px "Opens Sans", sans-serif;
  letter-spacing: 1px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
}

.unicode .perspective .backdrop {
  -webkit-transform: perspective(1500px) translateX(-125px) rotateY(45deg) scale(0.9);
          transform: perspective(1500px) translateX(-125px) rotateY(45deg) scale(0.9);
}

.unicode .perspective .output-textarea {
  -webkit-transform: perspective(1500px) translateX(155px) rotateY(45deg) scale(1.1);
          transform: perspective(1500px) translateX(155px) rotateY(45deg) scale(1.1);
}

.unicode .output-textarea:focus,
.unicode button:focus {
  outline: none;
  -webkit-box-shadow: 0 0 0 2px #c4c2c2;
          box-shadow: 0 0 0 2px #c4c2c2;
}

.forex {
  width: 100%;
  font-family: "Rubik", sans-serif;
}

.forex .header {
  background-color: #04b57a;
  padding: 10px;
  color: white;
  font-weight: 500;
  border-radius: 5px 5px 0px 0px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.forex .header .date {
  font-size: 12px;
  font-weight: lighter;
  line-height: 18px;
}

.forex table {
  width: 100%;
  border-spacing: 1px;
  text-align: left;
  border-radius: 0px 0px 5px 5px;
  overflow: hidden;
}

.forex table thead {
  background: #f9fdff;
  color: #545555;
}

.forex table tr {
  line-height: 25px;
}

.forex table th {
  font-weight: 500;
}

.forex table td,
.forex table th {
  padding-left: 5px;
}

.forex table td {
  font-size: 14px;
  font-weight: lighter;
}

.forex table tbody tr {
  background: #f4fafb;
}

.forex table tbody tr:nth-child(2n-1) {
  background: white;
}

.goldsilver {
  width: 300px;
  font-family: "Rubik", sans-serif;
}

.goldsilver .header {
  background-color: #04b57a;
  padding: 10px;
  color: white;
  font-weight: 500;
  border-radius: 5px 5px 0px 0px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.goldsilver .header .date {
  font-size: 12px;
  font-weight: lighter;
  line-height: 18px;
}

.goldsilver table {
  width: 100%;
  border-spacing: 1px;
  text-align: left;
  border-radius: 0px 0px 5px 5px;
  overflow: hidden;
}

.goldsilver table thead {
  background: #f9fdff;
  color: #545555;
}

.goldsilver table tr {
  line-height: 25px;
}

.goldsilver table th {
  font-weight: 500;
}

.goldsilver table td,
.goldsilver table th {
  padding-left: 5px;
}

.goldsilver table td {
  font-size: 14px;
  font-weight: lighter;
}

.goldsilver table tbody tr {
  background: #f4fafb;
}

.goldsilver table tbody tr:nth-child(2n-1) {
  background: white;
}

.flip-box {
  background-color: transparent;
  width: 300px;
  height: 400px;
  -webkit-perspective: 1000px;
          perspective: 1000px;
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  -webkit-transition: -webkit-transform 0.8s;
  transition: -webkit-transform 0.8s;
  transition: transform 0.8s;
  transition: transform 0.8s, -webkit-transform 0.8s;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
}

.flip-box.active .flip-box-inner {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}

.flip-box-front,
.flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 5px;
}

.flip-box-front {
  background-color: #bbb;
  z-index: 0;
  color: black;
}

.flip-box-back {
  background: linear-gradient(45deg, #32b389, #3295b3);
  height: 100%;
  color: white;
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}

.flip-box-back .day-report {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  right: 0;
  bottom: 0;
  background: linear-gradient(30deg, #3295b3, #32b389);
  padding: 15px;
  border-radius: 10px;
}

.flip-box-back .day-report .day {
  font-size: 22px;
  text-align: center;
  font-weight: bold;
  line-height: 38px;
  color: #ffffff;
}

.flip-box-back .day-report table {
  margin-top: 15px;
  border-spacing: 1px;
  width: 100%;
}

.flip-box-back .day-report table tr {
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(60px);
          backdrop-filter: blur(60px);
}

.flip-box-back .day-report table th,
.flip-box-back .day-report table td {
  line-height: 26px;
}

.flip-box-back .day-report.active {
  display: block;
}

:root {
  --gradient: linear-gradient(135deg, #72edf2 10%, #5151e5 100%);
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 1.25em;
}

.clear {
  clear: both;
}

.arrow-front {
  position: absolute;
  bottom: 10px;
  right: 0;
  cursor: pointer;
  color: #ffffff;
  left: 0;
  font-size: 14px;
}

.weather-side {
  position: relative;
  height: 400px;
  border-radius: 10px;
  background-image: url("https://images.unsplash.com/photo-1559963110-71b394e7494d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=675&q=80");
  width: 300px;
  -webkit-box-shadow: 0 0 20px -10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 20px -10px rgba(0, 0, 0, 0.2);
  -webkit-transition: -webkit-transform 300ms ease;
  transition: -webkit-transform 300ms ease;
  transition: transform 300ms ease;
  transition: transform 300ms ease, -webkit-transform 300ms ease;
  -webkit-transform: translateZ(0) scale(1.02) perspective(1000px);
  transform: translateZ(0) scale(1.02) perspective(1000px);
  float: left;
}

.weather-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(35deg, #038f61, #15ac96, #24e5f7);
  border-radius: 10px;
  opacity: 0.8;
}

.date-container {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  top: 25px;
  color: white;
  left: 30px;
  right: 30px;
}

.date-dayname {
  margin: 0;
  font-size: 36px;
  font-weight: bold;
}

.date-day {
  display: block;
  font-size: 14px;
  text-align: right;
}

.location {
  font-size: 14px;
  text-align: right;
  display: inline-block;
}

.location-icon {
  display: inline-block;
  height: 0.8em;
  width: auto;
  margin-right: 5px;
}

.weather-container {
  position: absolute;
  bottom: 45px;
  left: 25px;
  font-size: 18px;
  color: white;
}

.weather-icon.feather {
  height: 60px;
  width: auto;
}

.weather-temp {
  margin: 0;
  font-weight: 700;
  font-size: 4em;
}

.weather-desc {
  margin: 0;
}

.info-side {
  position: relative;
  height: 100%;
}

.today-info {
  padding: 15px;
  margin: 0 25px 25px 25px;
  /* 	box-shadow: 0 0 50px -5px rgba(0, 0, 0, 0.25); */
  border-radius: 10px;
}

.today-info > div:not(:last-child) {
  margin: 0 0 10px 0;
}

.today-info > div .title {
  float: left;
  font-weight: 700;
}

.today-info > div .value {
  float: right;
}

.week-list {
  list-style-type: none;
  padding: 0;
  margin: 10px 15px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-shadow: 0 0 50px -5px rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 50px -5px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
}

.week-list > li {
  padding: 15px;
  cursor: pointer;
  -webkit-transition: 200ms ease;
  transition: 200ms ease;
  border-radius: 10px;
}

.week-list > li:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  background: #fff;
  color: #222831;
  -webkit-box-shadow: 0 0 40px -5px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 40px -5px rgba(0, 0, 0, 0.2);
}

.week-list > li.active {
  background: #fff;
  color: #222831;
  border-radius: 10px;
}

.week-list > li .day-name {
  display: block;
  margin: 10px 0 0 0;
  text-align: center;
}

.week-list > li .day-icon {
  display: block;
  height: 30px;
  width: auto;
  margin: 0 auto;
}

.week-list > li .day-temp {
  display: block;
  text-align: center;
  margin: 10px 0 0 0;
  font-weight: 700;
}

.location-container {
  padding: 25px 35px;
}

.location-button {
  outline: none;
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: none;
  border-radius: 25px;
  padding: 10px;
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(45deg, #48bbb5, #22c892);
  color: #ffffff;
  font-weight: 700;
  -webkit-box-shadow: 0 0 30px -5px rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 30px -5px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  -webkit-transition: -webkit-transform 200ms ease;
  transition: -webkit-transform 200ms ease;
  transition: transform 200ms ease;
  transition: transform 200ms ease, -webkit-transform 200ms ease;
}

.location-button:hover {
  -webkit-transform: scale(0.95);
  transform: scale(0.95);
}

.location-button .feather {
  height: 1em;
  width: auto;
  margin-right: 5px;
}

.roman_wrap {
  position: relative;
}

.suggestion-container {
  display: inline-block;
  padding-left: 60px;
}

.suggestion-container ul {
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  list-style: none;
  padding: 0;
}

.suggestion-container ul li {
  background-color: #525252;
  line-height: 28px;
  font-size: 14px;
  margin: 1px;
  padding: 0px 10px;
  border-radius: 3px;
  border: 1px solid white;
  cursor: pointer;
  color: #ffffff;
}

.suggestion-container ul li:hover {
  background: #28c58f;
}

.roman {
  margin: 0 auto;
  max-width: 1200px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.roman .first-wrap,
.roman .second-wrap {
  width: calc(50% - 30px);
  margin: 0px 15px;
  padding-top: 15px;
}

.roman .special_char p {
  margin: 0px;
}

.roman .title {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 500;
  font-family: "Mukta", sans-serif;
}

.roman textarea {
  height: 100%;
  width: 100%;
  background: #f1f2f3;
  color: #333333;
  font-size: 24px;
  border: none;
  border-radius: 3px;
  outline: none;
  padding: 15px;
  -webkit-box-shadow: inset 6px 6px 12px #bfbdbd, inset -6px -6px 15px white;
          box-shadow: inset 6px 6px 12px #bfbdbd, inset -6px -6px 15px white;
}

.roman .textarea:focus {
  border: none;
}

.roman .search-section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-top: 12px;
}

.roman .search-section a {
  text-decoration: none;
  background: #32b389;
  padding: 10px 15px;
  border-radius: 2px;
  width: 80px;
  line-height: 26px;
  margin-bottom: 10px;
  color: white;
  -webkit-box-shadow: 0px 2px 4px #c1c1c1;
          box-shadow: 0px 2px 4px #c1c1c1;
}

.roman .search-section a:hover {
  background: #545454;
  color: white;
}

.roman .search-section input {
  border: none;
  margin-right: 15px;
  margin-bottom: 10px;
  width: 170px;
  border-radius: 5px;
  line-height: 26px;
  padding: 5px 15px;
}

@media (max-width: 768px) {
  .roman .title {
    font-size: 18px;
  }
  .roman textarea {
    height: 200px;
  }
  .roman .search-section a {
    margin-right: 0px;
  }
  .roman .special_char span {
    margin-bottom: 5px;
  }
}

.roman .output-section {
  position: relative;
  background: #f1f2f3;
}

.roman .output-info-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.roman .copy-btn {
  background: #3295b3;
  cursor: pointer;
  margin-bottom: 10px;
  color: white;
  line-height: 37px;
  border-radius: 3px;
  padding: 0px 15px;
}

.roman .special_char span {
  cursor: pointer;
  background: white;
  min-width: 35px;
  text-align: center;
  padding: 6px;
  border-radius: 5px;
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 5px;
}

.roman .special_char span:hover {
  background: #aba8a8;
}

.roman .lower_div {
  margin: 0;
  background: #cccccc4f;
  padding: 5px 0;
}

.roman * {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.roman #main {
  padding: 5px;
}

.roman .spcl_character_wrap {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
      grid-template-columns: 1fr 1fr;
  padding: 0 5px;
}

.roman .spcl_character p {
  margin: 0;
  display: inline-block;
  padding: 2px 5px;
}

.roman textarea#legacy_text {
  margin-top: 5px;
}

.roman .output-wrap {
  margin-top: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.roman .keyboard-btn {
  margin-right: 10px;
  cursor: pointer;
  background: #3272b3;
  margin-bottom: 10px;
  color: white;
  line-height: 37px;
  border-radius: 3px;
  padding: 0px 15px;
}

.roman .keyboard {
  height: 0;
  text-align: center;
  font-size: 14px;
  font-family: sans-serif;
  margin-bottom: 0px;
  overflow: hidden;
  padding-bottom: 0px;
  -webkit-transition: all 0.5s ease-in;
  transition: all 0.5s ease-in;
}

.roman .keyboard.active {
  margin-bottom: 30px;
  padding-bottom: 5px;
  height: 320px;
  -webkit-transition: all 0.5s ease-in;
  transition: all 0.5s ease-in;
}

@media (max-width: 1024px) {
  .roman .keyboard-btn {
    display: none;
  }
}

@media (max-width: 992px) {
  .roman .keyboard.active {
    height: 240px;
  }
  .roman .title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .roman .first-wrap,
  .roman .second-wrap {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .roman .keyboard.active {
    height: 180px;
  }
}

@media (max-width: 400px) {
  .roman .keyboard.active {
    height: 100px;
  }
}

.roman .keyboard__row {
  display: inline-block;
  height: 3em;
  margin: 0.2em;
}

.roman .keyboard__row--h1 {
  height: 1.7em;
  line-height: 1.4em;
}

.roman .keyboard__row--h3 {
  height: 3.3em;
}

.roman .keyboard__row > * {
  position: relative;
  background: #333;
  text-align: center;
  color: #eee;
  float: left;
  border-radius: 0.3em;
  margin: 0.2em;
  padding: 0.2em;
  width: 3.3em;
  height: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  cursor: pointer;
  border: 1px solid #444;
  -webkit-box-shadow: 0 0.2em 0 0.05em #222;
          box-shadow: 0 0.2em 0 0.05em #222;
  border-bottom-color: #555;
}

.roman .keyboard__row--h1 > div {
  width: 3.5em;
}

.roman .keyboard__row > div[data-pressed],
.roman .keyboard__row > div:active {
  background: #2a2a2a;
  color: #aaa;
  position: relative;
  top: 0.2em;
  -webkit-box-shadow: 0 0 0 0.05em black;
          box-shadow: 0 0 0 0.05em black;
}

.roman .key--w3 {
  width: 4.6em;
}

.roman .key--w4 {
  width: 6em;
}

.roman .key--w5 {
  width: 6.5em;
}

.roman .key--w6 {
  width: 8.3em;
}

.roman .key--space {
  width: 18em;
}

.roman .key--double:hover {
  background-color: #080808;
}

.roman .key--double::after {
  content: attr(data-char);
  position: absolute;
  top: 4px;
  font-size: 14px;
  left: 10px;
  color: #fff;
}

.roman .key--double > * {
  padding-top: 0.1em;
}

.roman .key--double div:nth-child(1) {
  line-height: 1em;
  padding-left: 17px;
  font-size: 14px;
}

.roman .key--double div:nth-child(2) {
  line-height: 1.5em;
  font-size: 18px;
}

.roman .key--letter {
  line-height: 2.8em;
  position: relative;
}

.roman .key--letter:hover {
  background-color: #080808;
}

.roman .key--letter::after {
  content: attr(data-char);
  position: absolute;
  top: -13px;
  font-size: 14px;
  left: 10px;
  color: #fff;
}

.roman .key--letter div:nth-child(1) {
  line-height: 1em;
  padding-left: 17px;
  font-size: 14px;
}

.roman .key--letter div:nth-child(2) {
  line-height: 1.5em;
  font-size: 20px;
}

.roman .key--bottom-left > * {
  position: absolute;
  text-align: left;
  bottom: 0.4em;
  left: 0.4em;
}

.roman .key--bottom-right > * {
  position: absolute;
  text-align: right;
  bottom: 0.4em;
  right: 0.4em;
}

.roman .key--fn > * {
  font-size: 0.6em;
  line-height: 1em;
  padding-top: 1.2em;
  padding-right: 0.2em;
  text-align: right;
  float: right;
}

.roman .key--word > * {
  font-size: 0.8em;
}

.roman .key--arrow--tall > *,
.roman .key--arrow > * {
  font-size: 0.5em;
  line-height: 3em;
}

.roman .key--arrow {
  height: 1.8em;
  margin-top: 1.7em;
  line-height: 0.5em;
}

.roman .key--arrow--tall > * {
  padding-top: 0.2em;
}

.roman .keyboard > .keyboard__row {
  text-align: center;
}

.roman .output-container,
.roman .backdrop,
.roman .output-textarea {
  width: 100%;
  height: 330px;
}

.roman .highlights,
.roman .output-textarea {
  padding: 10px;
  font-size: 16px;
  letter-spacing: 0.8;
}

.roman .output-container {
  display: block;
  margin: 0 auto;
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  -webkit-text-size-adjust: none;
}

.roman .backdrop {
  position: absolute;
  z-index: 1;
  overflow: auto;
  pointer-events: none;
  -webkit-transition: -webkit-transform 1s;
  transition: -webkit-transform 1s;
  transition: transform 1s;
  transition: transform 1s, -webkit-transform 1s;
}

.roman .highlights {
  white-space: pre-wrap;
  word-wrap: break-word;
  color: transparent;
}

.roman .output-textarea {
  display: block;
  position: absolute;
  z-index: 2;
  margin: 0;
  border: 2px solid #edecee;
  border-radius: 0;
  color: #444;
  background-color: transparent;
  overflow: auto;
  resize: none;
  -webkit-transition: -webkit-transform 1s;
  transition: -webkit-transform 1s;
  transition: transform 1s;
  transition: transform 1s, -webkit-transform 1s;
}

.roman mark {
  border-radius: 3px;
  color: transparent;
  background-color: #b1d5e5;
}

.roman button {
  display: block;
  width: 300px;
  margin: 30px auto 0;
  padding: 10px;
  border: none;
  border-radius: 6px;
  color: #fff;
  background-color: #74637f;
  font: 18px "Opens Sans", sans-serif;
  letter-spacing: 1px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
}

.roman .perspective .backdrop {
  -webkit-transform: perspective(1500px) translateX(-125px) rotateY(45deg) scale(0.9);
          transform: perspective(1500px) translateX(-125px) rotateY(45deg) scale(0.9);
}

.roman .perspective .output-textarea {
  -webkit-transform: perspective(1500px) translateX(155px) rotateY(45deg) scale(1.1);
          transform: perspective(1500px) translateX(155px) rotateY(45deg) scale(1.1);
}

.roman .output-textarea:focus,
.roman button:focus {
  outline: none;
  -webkit-box-shadow: 0 0 0 2px #c4c2c2;
          box-shadow: 0 0 0 2px #c4c2c2;
}

/*the container must be positioned relative:*/
.autocomplete {
  position: relative;
  display: inline-block;
}

input {
  border: 1px solid transparent;
  background-color: #f1f1f1;
  padding: 10px;
  font-size: 16px;
}

input[type="text"] {
  background-color: #f1f1f1;
  width: 100%;
}

input[type="submit"] {
  background-color: DodgerBlue;
  color: #fff;
  cursor: pointer;
}

.autocomplete-items {
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}

.autocomplete-items div {
  padding: 5px 15px;
  min-width: 100px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
  text-align: center;
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9;
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: #32b389 !important;
  color: #ffffff;
}
/* ===== Search & Replace — clean flex layout ===== */
#content .search-section,
#content .search-section.samachardainik,
.unicode .search-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 8px;
}

#content .search-section > div,
.unicode .search-section > div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  flex: 1 1 300px;
  margin: 0;
}

#content .search-section input,
.unicode .search-section input {
  flex: 1 1 180px;
  max-width: 280px;
  min-width: 140px;
  margin: 0;
  border: 1px solid #dfe5e2;
  border-radius: 6px;
  line-height: 26px;
  padding: 6px 14px;
  font-size: 14px;
  background: #fff;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

#content .search-section input:focus,
.unicode .search-section input:focus {
  border-color: #32b389;
  box-shadow: 0 0 0 3px rgba(50, 179, 137, .15);
}

#content .search-section a,
.unicode .search-section a {
  margin: 0;
  width: auto;
  min-width: 92px;
  text-align: center;
  padding: 6px 18px;
  border-radius: 6px;
  line-height: 26px;
  background: #32b389;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .12);
  transition: background .2s ease;
}

#content .search-section a:hover,
.unicode .search-section a:hover {
  background: #2a9a75;
  color: #fff;
}

@media (max-width: 600px) {
  #content .search-section input,
  .unicode .search-section input {
    max-width: none;
    flex: 1 1 60%;
  }
  #content .search-section a,
  .unicode .search-section a {
    flex: 1 1 30%;
  }
}

/* ===== Two-pane converter layout (Google Translate style) ===== */
#content .converter-panes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

#content .converter-pane {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

#content .pane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  min-height: 42px;
}

#content .pane-label {
  font-family: "Mukta", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #243b56;
  background: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  box-shadow: 0 1px 3px rgb(0 0 0 / 12%);
  white-space: nowrap;
}

#content .pane-hint {
  font-family: "Mukta", sans-serif;
  font-size: 13px;
  color: #5c6b78;
  text-align: right;
}

#content .pane-header .copy-btn {
  margin-bottom: 0;
}

#content .converter-pane textarea {
  width: 100%;
  height: 400px;
}

#content .converter-pane .output-container {
  flex: 1 1 auto;
}

#content .special_char {
  margin-top: 12px;
}

#content textarea::placeholder {
  font-family: "Mukta", sans-serif;
  font-size: 16px;
  color: #9aa5ad;
}

@media (min-width: 992px) {
  #content .converter-panes {
    flex-direction: row;
    align-items: stretch;
    gap: 14px;
  }
  }

@media (max-width: 768px) {
  #content .converter-pane textarea,
  #content .converter-pane .output-container,
  #content .converter-pane .backdrop,
  #content .converter-pane .output-textarea {
    height: 240px;
  }
  #content .pane-header {
    flex-wrap: wrap;
    min-height: auto;
  }
  #content .pane-hint {
    text-align: left;
  }
}

/* ===== Converter boxes — clean card style (replaces neumorphic inset) ===== */
#content textarea {
  background: #ffffff;
  border: 1px solid #e2e8e5;
  border-radius: 12px;
  -webkit-box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
          box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  padding: 16px;
  resize: none;
  -webkit-transition: border-color 0.2s ease, box-shadow 0.2s ease;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#content textarea:hover {
  border-color: #c8d4cf;
}

#content textarea:focus {
  border-color: #32b389;
  -webkit-box-shadow: 0 0 0 3px rgba(50, 179, 137, 0.14);
          box-shadow: 0 0 0 3px rgba(50, 179, 137, 0.14);
}

/* Output stack: the backdrop carries the visible card, the textarea above
   it stays transparent. Border width and padding MUST stay identical on
   .backdrop, .highlights and .output-textarea or search-highlight
   alignment breaks. */
#content .backdrop {
  border: 1px solid #e2e8e5;
  border-radius: 12px;
  background-color: #ffffff;
  -webkit-box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
          box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  -webkit-transition: border-color 0.2s ease, box-shadow 0.2s ease;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#content .output-textarea,
#content .output-textarea:hover,
#content .output-textarea:focus {
  border: 1px solid transparent;
  border-radius: 12px;
  background-color: transparent;
  -webkit-box-shadow: none;
          box-shadow: none;
}

#content .output-container:focus-within .backdrop {
  border-color: #32b389;
  -webkit-box-shadow: 0 0 0 3px rgba(50, 179, 137, 0.14);
          box-shadow: 0 0 0 3px rgba(50, 179, 137, 0.14);
}

/* Devanagari-friendly output typography (was Open Sans + letter-spacing,
   which visually breaks conjunct shaping). Applied to both layers equally. */
#content .highlights,
#content .output-textarea {
  padding: 16px;
  font: 20px/34px "Mukta", sans-serif;
  letter-spacing: normal;
}

/* search highlight: classic marker yellow reads better than pale blue */
#content mark {
  background-color: #ffe066;
  border-radius: 3px;
  color: transparent;
}

/* ===== White page refinements: tinted fields, clear headings ===== */
#content textarea {
  background: #ffffff;
  border: 1.5px solid #b8ddcd;
}

#content textarea:hover {
  border-color: #7cc7ab;
}

#content textarea:focus {
  background: #ffffff;
  border-color: #32b389;
}

#content .backdrop {
  background-color: #ffffff;
  border: 1.5px solid #b8ddcd;
}

#content .output-textarea,
#content .output-textarea:hover,
#content .output-textarea:focus {
  border: 1.5px solid transparent;
}

#content .output-container:focus-within .backdrop {
  background-color: #ffffff;
  border-color: #32b389;
}

/* pane headings: solid brand chips, instantly visible on white */
#content .pane-label {
  background: #32b389;
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  padding: 5px 18px;
  -webkit-box-shadow: 0 2px 6px rgba(50, 179, 137, 0.25);
          box-shadow: 0 2px 6px rgba(50, 179, 137, 0.25);
}

#content .search-section input {
  border-color: #b8ddcd;
  background: #ffffff;
}

#content .search-section input:focus {
  background: #ffffff;
}

/* ===== Roman → Nepali typing tool (.ntype) ===== */
.ntype .pane-header {
  flex-wrap: wrap;
  gap: 10px;
}

.ntype-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ntype-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Mukta", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #5c6b78;
}

.ntype-status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #32b389;
  box-shadow: 0 0 0 3px rgba(50, 179, 137, 0.18);
}

.ntype-status.is-off::before {
  background: #e8a13c;
  box-shadow: 0 0 0 3px rgba(232, 161, 60, 0.18);
}

/* mode switch: soft track + raised active segment (not tab-like) */
#content .ntype-toggle {
  display: inline-flex;
  align-items: center;
  width: auto;
  height: 38px;
  margin: 0;
  padding: 3px;
  border: none;
  border-radius: 19px;
  background: #e6efeb;
  cursor: pointer;
  font: inherit;
}

#content .ntype-toggle .ntype-toggle-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-width: 58px;
  font-family: "Mukta", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: #5c6b78;
  padding: 0 16px;
  border-radius: 16px;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

#content .ntype-toggle .ntype-toggle-opt.is-on {
  background: #32b389;
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(50, 179, 137, 0.4);
}

.ntype-editor {
  position: relative;
}

#content .ntype-editor textarea {
  height: 300px;
  font-family: "Mukta", sans-serif;
  font-size: 22px;
  line-height: 1.8;
}

.ntype-suggest {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 10px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1.5px solid #b8ddcd;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.08);
  scrollbar-width: thin;
}

.ntype-suggest[hidden] {
  display: none;
}

/* line-height stays tall so Devanagari matras (ु ू ै ी) never clip */
.ntype-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 16px;
  background: #f1f6f4;
  border: 1px solid #cfe7dd;
  border-radius: 20px;
  cursor: pointer;
  font-family: "Mukta", sans-serif;
  font-size: 19px;
  line-height: 1.7;
  color: #243b56;
  user-select: none;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.ntype-chip b {
  font-weight: 500;
}

.ntype-chip sup {
  font-size: 11px;
  line-height: 1;
  color: #8aa097;
  top: -0.4em;
}

.ntype-chip:hover {
  background: #e2f1ea;
  border-color: #9fd4bd;
}

.ntype-chip.is-active {
  background: #32b389;
  border-color: #32b389;
  color: #ffffff;
}

.ntype-chip.is-active sup {
  color: rgba(255, 255, 255, 0.75);
}

.ntype-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.ntype-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

#content .ntype-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  height: 40px;
  margin: 0;
  padding: 0 20px;
  border: 1.5px solid #cfe0d8;
  border-radius: 10px;
  background: #ffffff;
  color: #243b56;
  font-family: "Mukta", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

#content .ntype-actions button svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: currentColor;
}

#content .ntype-actions button:hover {
  border-color: #32b389;
  background: #f1f6f4;
}

#content .ntype-actions button:focus,
#content .ntype-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(50, 179, 137, 0.25);
}

#content .ntype-actions button.is-primary {
  background: #32b389;
  border-color: #32b389;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(50, 179, 137, 0.25);
}

#content .ntype-actions button.is-primary:hover {
  background: #2a9a75;
  border-color: #2a9a75;
}

.ntype-count {
  font-family: "Mukta", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #5c6b78;
}

.ntype-hints {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 16px;
  font-family: "Mukta", sans-serif;
  font-size: 13.5px;
  line-height: 1.8;
  color: #5c6b78;
}

.ntype-hints kbd {
  display: inline-block;
  min-width: 22px;
  padding: 2px 7px;
  border: 1px solid #cdd9d3;
  border-bottom-width: 2px;
  border-radius: 5px;
  background: #ffffff;
  font-family: "Mukta", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #243b56;
  text-align: center;
}

@media (max-width: 768px) {
  .ntype-hints {
    display: none;
  }
  #content .ntype-editor textarea {
    height: 240px;
  }
  .ntype-toolbar {
    margin-top: 12px;
  }
}

.ntype-chars {
  margin-top: 20px;
  padding: 16px;
  background: #ffffff;
  border: 1.5px solid #b8ddcd;
  border-radius: 12px;
}

.ntype-chars .ntype-chars-title {
  font-family: "Mukta", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: #243b56;
  margin: 0 0 12px;
}

.ntype-chars .ntype-chars-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ntype-chars [data-nch] {
  cursor: pointer;
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 9px;
  background: #f1f6f4;
  border: 1px solid #cfe7dd;
  border-radius: 8px;
  font-family: "Mukta", sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #243b56;
  user-select: none;
  transition: background 0.12s ease;
}

.ntype-chars [data-nch]:hover {
  background: #32b389;
  border-color: #32b389;
  color: #ffffff;
}

.ntype-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  background: #243b56;
  color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.28);
  font-family: "Mukta", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ntype-toast.is-show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

#content .ntype-toast button {
  width: auto;
  margin: 0;
  padding: 4px 12px;
  border: none;
  border-radius: 6px;
  background: #32b389;
  color: #ffffff;
  font-family: "Mukta", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}

/* override legacy `#content button` block styles + status alignment */
#content .ntype-actions button,
#content .ntype-toast button,
#content .ntype-toggle {
  letter-spacing: normal;
}

#content .ntype-status {
  white-space: nowrap;
}

#content .ntype-status::before {
  flex: 0 0 auto;
}

/* ===== Nepali voice typing tool (.vtype) =====
   Shares the .ntype shell (editor, toolbar, hints, toast); rules below add
   the mic, live status, interim strip and punctuation row. Button rules keep
   the #content prefix so they outrank the legacy `#content button` block. */

#content .vtype-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Mukta", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #5c6b78;
  white-space: nowrap;
}

#content .vtype-status::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #32b389;
  box-shadow: 0 0 0 3px rgba(50, 179, 137, 0.18);
}

#content .vtype-status.is-live::before {
  background: #e05252;
  box-shadow: 0 0 0 3px rgba(224, 82, 82, 0.2);
  animation: vtype-blink 1.1s ease-in-out infinite;
}

#content .vtype-status.is-error::before {
  background: #e8a13c;
  box-shadow: 0 0 0 3px rgba(232, 161, 60, 0.18);
}

@keyframes vtype-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* mic is a floating action button anchored inside the typing box */
.vtype-input-wrap {
  position: relative;
}

#content .vtype-input-wrap textarea {
  padding-bottom: 78px; /* keep the last lines clear of the mic */
}

#content .vtype-mic {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #32b389;
  color: #ffffff;
  cursor: pointer;
  letter-spacing: normal;
  box-shadow: 0 4px 14px rgba(50, 179, 137, 0.4);
  transition: background 0.18s ease, transform 0.12s ease;
}

#content .vtype-mic svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

#content .vtype-mic:hover {
  background: #2aa17b;
  transform: scale(1.06);
}

#content .vtype-mic:focus {
  outline: 3px solid rgba(50, 179, 137, 0.4);
  outline-offset: 3px;
}

#content .vtype-mic.is-listening {
  background: #e05252;
  animation: vtype-pulse 1.6s ease-in-out infinite;
}

#content .vtype-mic.is-error {
  background: #e8a13c;
  box-shadow: 0 4px 14px rgba(232, 161, 60, 0.4);
  animation: none;
}

#content .vtype-mic:disabled,
#content .vtype-mic.is-unsupported {
  background: #9aa7b1;
  box-shadow: none;
  cursor: not-allowed;
  animation: none;
}

@keyframes vtype-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 14px rgba(224, 82, 82, 0.45),
      0 0 0 4px rgba(224, 82, 82, 0.25);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(224, 82, 82, 0.45),
      0 0 0 18px rgba(224, 82, 82, 0.06);
  }
}

/* visually hidden, kept for screen-reader announcements */
.vtype-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.vtype-unsupported {
  margin: 14px 0;
  padding: 14px 18px;
  background: #fdf3e3;
  border: 1.5px solid #ecd3a4;
  border-radius: 12px;
}

.vtype-unsupported p {
  margin: 0;
  font-family: "Mukta", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #6b5836;
}

.vtype-punct {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.vtype-punct [data-vch] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 40px;
  padding: 0 14px;
  background: #f1f6f4;
  border: 1px solid #cfe7dd;
  border-radius: 10px;
  cursor: pointer;
  font-family: "Mukta", sans-serif;
  font-size: 20px;
  line-height: 1.7;
  color: #243b56;
  user-select: none;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.vtype-punct [data-vch]:hover {
  background: #e2efe9;
  border-color: #b8ddcd;
}

#content .vtype .ntype-editor textarea,
#content .vtype textarea {
  height: 300px;
}

@media (max-width: 640px) {
  #content .vtype-mic {
    right: 12px;
    bottom: 12px;
    width: 54px;
    height: 54px;
  }

  #content .vtype-mic svg {
    width: 25px;
    height: 25px;
  }

  #content .vtype-input-wrap textarea {
    padding-bottom: 70px;
  }
}

/* ===== Nepali Docs word processor (.ndocs) =====
   Google-Docs-style paper editor. Button rules keep the #content prefix so
   they outrank the legacy `#content button` block. */

/* overflow:clip (NOT hidden) — hidden creates a scroll container which
   silently disables position:sticky on the toolbar and the mic pill;
   clip rounds the corners without doing that */
.ndocs-app {
  background: #ffffff;
  border: 1px solid #e3e8ee;
  border-radius: 14px;
  overflow: clip;
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.06);
}

/* --- top bar: title + actions --- */

.ndocs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid #eef1f4;
}

.ndocs-titlewrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 260px;
}

#content .ndocs-title {
  width: 100%;
  max-width: 360px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 6px 10px;
  font-family: "Mukta", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #243b56;
  background: transparent;
}

#content .ndocs-title:hover {
  border-color: #e3e8ee;
}

#content .ndocs-title:focus {
  outline: none;
  border-color: #32b389;
  background: #ffffff;
}

.ndocs-saved {
  flex: 0 0 auto;
  font-family: "Mukta", sans-serif;
  font-size: 13px;
  color: #8a97a3;
  white-space: nowrap;
}

.ndocs-bar-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

#content .ndocs-bar-actions button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: auto;
  height: 38px;
  margin: 0;
  padding: 0 14px;
  border: 1.5px solid #dbe3ea;
  border-radius: 9px;
  background: #ffffff;
  color: #34495e;
  cursor: pointer;
  font-family: "Mukta", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: normal;
  transition: background 0.15s ease, border-color 0.15s ease;
}

#content .ndocs-bar-actions button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

#content .ndocs-bar-actions button:hover {
  background: #f4f7f9;
  border-color: #b8c4cf;
}

#content .ndocs-bar-actions button.is-primary {
  background: #32b389;
  border-color: #32b389;
  color: #ffffff;
}

#content .ndocs-bar-actions button.is-primary:hover {
  background: #2aa17b;
}

/* --- formatting toolbar --- */

.ndocs-toolbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  padding: 8px 14px;
  background: #fbfcfd;
  border-bottom: 1px solid #eef1f4;
}

.ndocs-group {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding-right: 8px;
  margin-right: 4px;
  border-right: 1px solid #e7ecf0;
}

.ndocs-group:last-child {
  border-right: none;
}

#content .ndocs-toolbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 34px;
  height: 34px;
  margin: 0;
  padding: 0 8px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: #44535f;
  cursor: pointer;
  font-family: "Mukta", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: normal;
}

#content .ndocs-toolbar button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

#content .ndocs-toolbar button:hover {
  background: #eef3f1;
}

#content .ndocs-toolbar button.is-active {
  background: #d9efe7;
  color: #1d7a5c;
}

.ndocs-color {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  cursor: pointer;
  font-family: "Mukta", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #44535f;
  border-bottom: 4px solid #243b56;
  box-sizing: border-box;
}

.ndocs-color-hl {
  border-bottom-color: #fff3a3;
}

.ndocs-color:hover {
  background: #eef3f1;
}

.ndocs-color input[type="color"] {
  width: 0;
  height: 0;
  padding: 0;
  border: none;
  opacity: 0;
}

/* --- the paper --- */

.ndocs-paper-wrap {
  position: relative;
  padding: 28px 16px 80px;
  background: #eceff2;
}

#content .ndocs-paper {
  max-width: 800px;
  min-height: 640px;
  margin: 0 auto;
  padding: 56px 64px;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(16, 24, 40, 0.1);
  font-family: "Mukta", sans-serif;
  font-size: 18px;
  line-height: 1.9;
  color: #243b56;
  outline: none;
  word-wrap: break-word;
}

#content .ndocs-paper:empty::before {
  content: attr(data-placeholder);
  color: #9aa7b1;
  font-style: italic;
  pointer-events: none;
}

#content .ndocs-paper h1,
#content .ndocs-paper h2,
#content .ndocs-paper h3 {
  font-family: "Mukta", sans-serif;
  color: #243b56;
  line-height: 1.5;
  margin: 0.6em 0 0.3em;
}

#content .ndocs-paper h1 { font-size: 30px; }
#content .ndocs-paper h2 { font-size: 24px; }
#content .ndocs-paper h3 { font-size: 20px; }

#content .ndocs-paper p {
  margin: 0 0 0.6em;
}

#content .ndocs-paper ul,
#content .ndocs-paper ol {
  margin: 0.4em 0 0.6em;
  padding-left: 28px;
}

.ndocs-interim {
  color: #8a97a3;
  font-style: italic;
}

/* IME-style suggestion popup anchored at the caret */
.ndocs-suggest {
  position: absolute;
  z-index: 7;
  min-width: 170px;
  max-width: 280px;
  padding: 5px;
  background: #ffffff;
  border: 1.5px solid #b8ddcd;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.16);
}

.ndocs-suggest[hidden] {
  display: none;
}

.ndocs-suggest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 5px 12px;
  border-radius: 7px;
  cursor: pointer;
  font-family: "Mukta", sans-serif;
}

/* line-height stays tall so Devanagari matras (ु ू ै ी) never clip */
.ndocs-suggest-row b {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.7;
  color: #243b56;
}

.ndocs-suggest-row sup {
  flex: 0 0 auto;
  font-size: 11px;
  line-height: 1;
  color: #8a97a3;
  top: 0;
}

.ndocs-suggest-row:hover {
  background: #f1f6f4;
}

.ndocs-suggest-row.is-active {
  background: #d9efe7;
}

.ndocs-suggest-row.is-active b {
  color: #1d7a5c;
}

/* --- floating mic / language pill --- */

.ndocs-pill {
  position: sticky;
  bottom: 18px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  margin: -52px auto 0;
  padding: 7px 12px;
  background: #ffffff;
  border: 1px solid #e3e8ee;
  border-radius: 32px;
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.16);
}

#content .ndocs-mic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #32b389;
  color: #ffffff;
  cursor: pointer;
  letter-spacing: normal;
  box-shadow: 0 3px 10px rgba(50, 179, 137, 0.4);
  transition: background 0.18s ease;
}

#content .ndocs-mic svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

#content .ndocs-mic:hover {
  background: #2aa17b;
}

#content .ndocs-mic.is-listening {
  background: #e05252;
  animation: vtype-pulse 1.6s ease-in-out infinite;
}

#content .ndocs-mic.is-unsupported {
  background: #9aa7b1;
  box-shadow: none;
}

.ndocs-pill-status {
  font-family: "Mukta", sans-serif;
  font-size: 14px;
  color: #5c6b78;
  white-space: nowrap;
}

.ndocs-pill-status:empty {
  display: none;
}

/* --- status bar --- */

.ndocs-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 18px;
  border-top: 1px solid #eef1f4;
  background: #fbfcfd;
}

.ndocs-statushints {
  font-family: "Mukta", sans-serif;
  font-size: 12.5px;
  color: #8a97a3;
}

.ndocs-statushints kbd {
  display: inline-block;
  padding: 1px 6px;
  border: 1px solid #d6dee5;
  border-bottom-width: 2px;
  border-radius: 5px;
  background: #ffffff;
  font-family: "Mukta", sans-serif;
  font-size: 11.5px;
  color: #44535f;
}

/* --- print: only the paper --- */

@media print {
  body * {
    visibility: hidden;
  }
  #content .ndocs-paper,
  #content .ndocs-paper * {
    visibility: visible;
  }
  #content .ndocs-paper {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
  }
}

/* --- mobile --- */

@media (max-width: 640px) {
  .ndocs-bar,
  .ndocs-statusbar {
    padding: 10px 12px;
  }

  #content .ndocs-bar-actions button {
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
  }

  .ndocs-toolbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .ndocs-group {
    flex: 0 0 auto;
  }

  .ndocs-paper-wrap {
    padding: 14px 8px 70px;
  }

  #content .ndocs-paper {
    padding: 28px 22px;
    min-height: 480px;
    font-size: 17px;
  }
}
