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

body {
  font-family: "Nunito Sans", sans-serif;
}

.hidden {
  display: none !important;
}

label.label-file input[type=file] {
  position: absolute;
  top: -1000px;
}

.label-file {
  cursor: pointer;
  border: 1px solid #fff;
  border-radius: 5px;
  padding: 5px 15px;
  margin: 5px;
  background: #fff;
  display: inline-block;
}

.label-file span {
  display: flex;
  gap: 8px;
}

.label-file:hover {
  background: #eae6df;
}

.label-file:active {
  background: #9fa1a0;
}

.label-file:invalid + span {
  color: #000000;
}

.label:valid + span {
  color: #ffffff;
}

body {
  display: grid;
  place-items: center;
  height: 100vh;
}

.login {
  width: 45%;
  border: 1px solid rgba(0, 0, 0, 0.1215686275);
  padding: 20px;
}

.login__header {
  text-align: center;
  margin-bottom: 20px;
  padding: 10px 0px;
}

.login__form {
  width: 100%;
  display: grid;
  place-items: center;
  grid-template-rows: repeat(4, 1fr);
}

.login__control {
  display: flex;
  flex-direction: column;
  width: 60%;
  margin-bottom: 20px;
}
.login__control label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}
.login__control input {
  padding: 8px;
  font-size: 16px;
}

.login__error {
  color: #f87171;
  font-size: 14px;
  font-weight: 700;
  margin-top: 8px;
}

.login__button {
  background-color: #3b82f6;
  height: 36px;
  padding: 8px;
  border: none;
  width: 60%;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
}
