/* latin */
@font-face {
  font-family: 'Share Tech Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(J7aHnp1uDWRBEqV98dVQztYldFcLowEFA87Heg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
  box-sizing: border-box
}

:root {
  --green-highlight: lightgreen;
  --red-highlight: #ff00008c;
  --backdrop-filter: blur(10px);
  --darken-10: rgb(0 0 0 / 10%);
  --darken-20: rgb(0 0 0 / 20%);
  --darken-30: rgb(0 0 0 / 30%);
  --darken-40: rgb(0 0 0 / 40%);
  --darken-50: rgb(0 0 0 / 50%);
  --darken-60: rgb(0 0 0 / 50%);
  --darken-70: rgb(0 0 0 / 70%);
  --darken-80: rgb(0 0 0 / 80%);
  --lighten-5: rgb(255 255 255 / 5%);
  --lighten-10: rgb(255 255 255 / 10%);
  --lighten-20: rgb(255 255 255 / 20%);
  --lighten-30: rgb(255 255 255 / 30%);
  --lighten-40: rgb(255 255 255 / 40%);
  --lighten-50: rgb(255 255 255 / 50%);
  --lighten-60: rgb(255 255 255 / 60%);
  --lighten-70: rgb(255 255 255 / 70%);
  --lighten-80: rgb(255 255 255 / 80%);
  --bw-0: black;
  --bw-5: hsl(0, 0%, 5%);
  --bw-10: hsl(0, 0%, 10%);
  --bw-20: hsl(0, 0%, 20%);
  --bw-30: hsl(0, 0%, 30%);
  --bw-40: hsl(0, 0%, 40%);
  --bw-50: hsl(0, 0%, 50%);
  --bw-60: hsl(0, 0%, 60%);
  --bw-70: hsl(0, 0%, 70%);
  --bw-80: hsl(0, 0%, 80%);
  --bw-90: hsl(0, 0%, 90%);
  --bw-100: white
}

html {
  display: flex;
  justify-content: center
}

body {
  display: flex;
  flex-grow: 1;
  margin: 20px 15px 50px;
  max-width: 1200px;
  flex-direction: column;
  font-family: Share Tech Mono, monospace;
  background-color: #eaeaea;
  color: #000
}

body.dark {
  background-color: #202428;
  color: #fff
}

#root {
  display: flex;
  flex-grow: 1
}

p {
  line-height: 1.5
}

a {
  color: #1e90ff;
  text-decoration: none;
  border-bottom: 1.8px solid;
  border-color: #1e8fff66;
  transition: all .1s
}

a:hover {
  border-color: #1e90ff
}

.container {}

h1 {
  text-align: center;
  color: black;
  margin: 0;
  text-align: left;
  margin-bottom: 21px;
  font-size: 0;
  font-weight: bold;
  /* background: #efefef; */
}
h1 b {
  color: green;
  border: 2px solid black;
  display: inline-block;
  padding: 2px 4px;
  font-size: 18px;
}
h1 del {
  color: #000000;
  border: 2px solid black;
  display: inline-block;
  padding: 2px 4px;
  font-size: 18px;
  border-right: 0;
  text-decoration: none;
  background-color: var(--green-highlight);
}

.input-section {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 5px;
  margin-bottom: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
}

.input-group label {
  /* font-weight: bold; */
  margin-bottom: 11px;
  /* color: #555; */
  position: relative;
}
.input-group label .icon1, .input-group label .icon2 {
  /* width: 16px; */
  /* height: 16px; */
  vertical-align: middle;
  position: absolute;
  right: 7px;
  cursor: pointer;
}
.visible .icon1, .hidden .icon2 {
  display: inline-block;
}
.visible .icon2, .hidden .icon1 {
  display: none;
}
.visible #originalText {
  font-size: 16px;
}
.hidden #originalText {
  font-size: 3px;
  letter-spacing: 7px;
  padding-left: 15px;
}
.action-button {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 29px 0px 0px;
}
.action-button button {
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: none;
  padding: 5px;
  cursor: pointer;
}
.action-button button:hover {
  background-color: rgb(224, 224, 224);
}
.action-button button svg {
  stroke: black;
  transition: 0.1s;
}

#originalText {
  width: 100%;
  height: 200px;
  background-color: #fcfcfc;
  border: 2px solid gray;
  resize: none;
  flex-grow: 1;
  font-family: inherit;
  font-size: 1rem;
  padding: 10px;
  border-radius: 0px;
  line-height: 19px;
  backdrop-filter: var(--backdrop-filter);
  outline: none;
}

#editedText {
  width: 100%;
  height: 200px;
  background-color: #fcfcfc;
  border: 2px solid gray;
  resize: none;
  flex-grow: 1;
  font-family: inherit;
  font-size: 1rem;
  padding: 10px;
  border-radius: 0px;
  line-height: 1.2;
  backdrop-filter: var(--backdrop-filter);
}

#editedText:focus {
  outline: none;
  border-color: #007acc;
}

.button-section {
  text-align: center;
  margin: 0px 0;
}

.options {
  margin-bottom: 5px;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #555;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

#compareBtn {
  background: #007acc;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
  font-family: inherit;
}
 
#compareBtn:hover {
  background: #005a9e;
}

#compareBtn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.result-section {
  padding-top: 20px;
}

.result-section label {
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
  color: #555;
  position: absolute;
  margin-top: -22px;
}

#result {
  border: 2px solid #ddd;
  border-radius: 4px;
  padding: 15px;
  min-height: 200px;
  background: #fcfcfc;
  font-size: 14px;
  white-space: pre-wrap;
  word-wrap: break-word;
  line-height: 1.3;
}

.ins {
  color: red;
  text-decoration: line-through;
}

.del {
  color: #008eff;
}

.stats {
  margin-top: 10px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 4px;
  font-size: 12px;
  color: #666;
}

@media (max-width: 768px) {
  .input-section {
    grid-template-columns: 1fr;
  }
}