* {
  margin: 0;
  padding: 0;

  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  min-height: 100vh;
  background-image: url(../images/aviva1.jpeg);
  /*http://aaviva.org.br/wp-content/uploads/2021/04/Banner-top_06.jpg*/
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

main.table {
  display: flex;
  flex-direction: column;
  width: 360px;
  height: 380px;
  background-color: #fff5;

  backdrop-filter: blur(7px);
  box-shadow: 0 0.4rem 0.8rem #0005;
  border-radius: 0.8rem;

  overflow: hidden;
}

@media (max-width: 600px) {
  main.table {
    width: 90svw;
    height: 70svh;
  }
}

.input__header {
  width: 100%;
  height: 20%;
  background-color: #fff4;
  padding: 0.8rem 1rem;

  display: flex;
  justify-content: center;
  align-items: center;
}

.input__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: #fffb;
  overflow: auto;
  overflow: overlay;
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 1.4rem;
  width: 100%;
  padding: 1.3rem;
  /*position: fixed;*/
  background-size: cover;
  background-position: center;
  background-color: transparent;
  backdrop-filter: blur(7px);
  /*box-shadow: 0 .4rem .8rem #0005;*/
}

.input__body input {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0.9rem 1rem;
  flex: 1;
  border: 1px solid #ddd;
  background-color: rgba(255, 250, 240, 0.915);
  opacity: 0.9;
  border-radius: 5px;
  font-size: 1.0em;
}

.input__body label {
  color: black;
  text-shadow: 2px 1px 5px whitesmoke;
  padding-bottom: 0.4em;
}

.login__buttons,
.login__input {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.login__buttons {
  margin-top: auto;
}

.login__buttons button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0.8rem 1.4rem;
  font-weight: 700;
  background-color: black;
  opacity: 0.83;
  color: white;
  border-radius: 5px;
  text-align: center;
  font-size: 1em;
  cursor: pointer;
  border: none !important;
  font-weight: 600;
  -top: auto;
}

.btn-submit:hover {
  opacity: 0.67;
}

.btn-submit:disabled {
  background: rgb(59, 59, 59);
  color: white;
  cursor: wait;
}

.input__body input:focus-visible {
  outline: none;
}

.hide {
  display: none;
}

.show {
  display: block;
}

table {
  width: 100%;
}

td img {
  width: 36px;
  height: 36px;
  margin-right: 0.5rem;
  border-radius: 50%;

  vertical-align: middle;
}

table,
th,
td {
  border-collapse: collapse;
  padding: 1rem;
  text-align: left;
}

thead th {
  position: sticky;
  top: 0;
  left: 0;
  background-color: #d5d1defe;
  cursor: pointer;
  text-transform: capitalize;
}

.hidden {
  display: none;
}

.eyepwd {
  position: absolute;
  cursor: pointer;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: #fff6 url(../images/hide.png) center / 80% no-repeat;
  transition: 0.2s ease-in-out;
  background-color: transparent;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  border: none !important;
}

.show-password {
  background: #fff6 url(../images/show.png) center / 80% no-repeat !important;
  transition: 0.2s ease-in-out;
}

.login__input span {
  position: absolute;
}

.input-username {
  top: 18%;
  right: 8.5%;
}

.input-password {
  display: none;
  top: 44%;
  right: 8.5%;
}

.valid+span::after {
  content: "✓";
  font-weight: bold;
  color: green;
}

.invalid+span::after {
  content: "✖";
  font-weight: bold;
  color: red;
}

.valid+span,
.invalid+span {
  position: absolute;
  right: 0.8em;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5em;
  height: 1.5em;
}

.valid+span::after,
.invalid+span::after {
  width: 1.5em;
  height: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-wrapper-date .valid+span,
.input-wrapper-date .invalid+span {
  display: none;
}

.login-failed {
  font-size: 0.8em;
  color: red;
  text-shadow: 2px 1px 5px whitesmoke;
  padding-top: 0.3rem;
}

.input-group {
  position: relative;
}

@keyframes horizontal-shaking {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(5px);
  }

  50% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }

  100% {
    transform: translateX(0);
  }
}