* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  text-align: center;
  background: #020024;
  background-image: radial-gradient(circle, #020024 0%, #090979 35%, #00d4ff 100%);
  color: white;
}

h1 {
  margin-top: 10rem;
}

.ctn-excel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

img {
  max-width: 5rem;
  height: auto;
}

table {
  border-collapse: collapse;
}

thead,
tr td:first-child {
  background-color: #afafaf;
  color: #020024;
}

th {
  background-color: #afafaf;
}

th,
td {
  border: 1px solid #afafaf;
  color: #020024;
  font-weight: normal;
  font-size: 12px;
  text-align: center;
  width: 64px;
  min-height: 20px;
  vertical-align: middle;
  position: relative
}

td {
  background-color: white;
}

td:active {
  border-radius: 2px;
  outline: 2px solid #09f;
}

/* span {
  text-align: center;
  white-space: normal;  
  word-break: break-word;
} */

span,
input {
  position: absolute; /* remove */
  inset: 0; /* remove */
  display: inline-flex; /* remove */
  /* display: flex; add */
  justify-content: center;
  align-items: center;
  /* white-space: normal;
  word-break: break-all ;  add*/
}

input {
  border: 0;
  opacity: 0;
  pointer-events: none;
  width: 100%;
  border-radius: 2px;

  &:focus {
    opacity: 1;
    outline: 2px solid #09f;
  }
}

.selected {
  background: rgb(174, 223, 255);
}

th.selected {
  background: rgb(146, 211, 255);
}