@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right, #15171c, #080a0f, #15171c);
  color: #f5f5f5;
}

.container {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  background-color: #21232a;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
  text-align: center;
}

h1 {
  text-align: center;
  margin-top: 0;
}

.input-section {
  margin-bottom: 20px;
}

#inputText {
  width: 100%;
  min-height: 250px;
  padding: 10px;
  border: 1px solid #515358;
  border-radius: 4px;
  resize: vertical;
  background-color: #3e3f46;
  color: #f5f5f5;
  box-sizing: border-box;
  display: block;
  margin: auto;
}

#caseNumber {
  width: 70%;
  padding: 10px;
  border: 1px solid #515358;
  border-radius: 4px;
  background-color: #3e3f46;
  color: #f5f5f5;
  box-sizing: border-box;
  display: inline;
  margin-top: 30px;
  margin-left: 10px;
  margin-bottom: 20px;
}

button {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 20px;
  border: none;
  border-radius: 4px;
  color: #f5f5f5;
  cursor: pointer;
  transition: background-color 0.3s;
}

button.tally-btn {
  background-color: #007bff;
  margin-right: 10px;
  font-weight: bold;
}

button.clear-btn {
  background-color: #4e555b;
  font-weight: bold;
}

button.clear-btn:hover {
  background-color: #dc3545;
}

button.tally-btn:hover {
  background-color: #0056b3;
}

.output-section {
  display: none;
  padding-top: 20px;
}

.output-table {
  display: table;
  width: 100%;
}

.row {
  display: table-row;
}

.column {
  display: table-cell;
  padding: 10px;
  border-bottom: 1px solid #515358;
}

.column:nth-child(1) {
  text-align: left;
  width: 500px;
}

.column:nth-child(2) {
  text-align: left;
  width: 10px;
}

.column:nth-child(3) {
  text-align: left;
  width: 2px;
  padding: 0px;
  margin: 0px;
}

.column:nth-child(4) {
  text-align: left;
  width: 2px;
  padding: 0px;
  margin: 0px;
}

.column:nth-child(5) {
  text-align: left;
  width: 2px;
  padding: 0px;
  margin: 0px;
}

.row:nth-child(even) {
  background-color: #2b2b34;
}

.header-row {
  background-color: #494b56;
}

#lpCheckbox {
  margin-left: 20px;
  margin-right: 10px;
  transform: scale(1.5);
}

#extendedOutputCheckbox {
  margin-left: 20px;
  margin-right: 10px;
  text-align: center;
  transform: scale(1.5);
}

.checkbox-label {
  color: #f5f5f5;
  font-size: 14px;
  font-weight: bold;
}

#lpCheckbox:checked + .checkbox-label {
  color: white;
  font-weight: bold;
}

#lpCheckbox:checked + .checkbox-label::before {
  background-color: #007bff; /* Add the desired blue color here */
}

#extendedOutputCheckbox:checked + .checkbox-label {
  color: white;
  font-weight: bold;
}

#extendedOutputCheckbox:checked + .checkbox-label::before {
  background-color: #007bff; /* Add the desired blue color here */
}

.container {
  position: relative;
}

.popout-btn {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 0px;
  right: 0px;
  cursor: pointer;
}

.copy-btn-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

button.copy-btn {
  background-color: #007bff;
  color: #f5f5f5;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

button.copy-btn:hover {
  background-color: #0056b3;
}

button.copy-btn:focus {
  outline: none;
}

button.copy-btn i {
  margin-right: 6px;
}

button.copy-btn .fas.fa-check {
  display: none;
  margin-left: 6px;
  color: #28a745;
}

button.copy-btn.copied {
  background-color: #28a745;
}

button.copy-btn.copied span {
  display: none;
}

button.copy-btn.copied .fas.fa-check {
  display: inline-block;
}
