@charset "UTF-8";
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

.box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  height: 100vh;
  min-width: 300px;
}

.img {
  margin-top: 30px;
  background-image: url(../img/logo1.jpg);
  background-size: contain; /* dopasowanie bez przycinania */
  background-repeat: no-repeat;
  background-position: center;
  width: 200px;
  height: 150px;
}

.login-form {
  width: 100%;
  position: relative;
}

.form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px; /* równy odstęp między elementami */
  width: 100%;
  margin-top: 30px;
}

input,
button {
  width: 80%;
  height: 40px;
  border-radius: 5px;
  border: 1px solid #2b2d42;
  padding: 0 10px;
  box-sizing: border-box;
  font-size: 16px;
  color: #2b2d42;
  max-width: 500px;
  font-weight: 700;
  box-shadow: 3px 3px 3px #2b2d42;
}

input:focus {
  box-shadow: 5px 5px 5px #2b2d42;
  border: 2px solid #2b2d42;
  outline: none;
}

input::-moz-placeholder {
  color: #8d99ae;
}

input::placeholder {
  color: #8d99ae;
}

button {
  background-color: #edf2f4;
  cursor: pointer;
}

button.inactive {
  cursor: not-allowed;
}

button:hover {
  box-shadow: 5px 5px 5px #2b2d42;
  border: 2px solid #2b2d42;
  outline: none;
}

.footer {
  height: 100px;
  background-color: #edf2f4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  min-width: 300px;
}

.img-footer {
  background-image: url("../img/logo_tekst_gray.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 120px;
  height: 60px;
  flex-shrink: 0;
}

.footer-text {
  font-size: 12px;
  color: #2b2d42;
  text-align: right;
}

.login-message,
.password_message {
  height: 15px;
  font-size: 13px;
  padding: 2px 5px;
  border-radius: 5px;
  color: #edf2f4;
  background-color: transparent;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: start;
  opacity: 0;
  pointer-events: none;
}

.message-in {
  color: #edf2f4;
  background-color: #e90128;
  font-size: 13px;
  height: 15px;
  padding: 2px 5px;
  border-radius: 5px;
  animation: fadeInSlide 0.5s ease forwards;
}

.message-out {
  color: #edf2f4;
  background-color: #8d99ae;
  font-size: 13px;
  height: 15px;
  padding: 2px 5px;
  border-radius: 5px;
  animation: fadeOutSlide 0.5s ease forwards;
}

.btn-disabled {
  position: relative;
}

.btn-disabled::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -85%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  padding: 2px 5px;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
  color: #edf2f4;
  background-color: #e90128;
}

.btn-disabled:hover::after {
  opacity: 1;
}

.btn-disabled:disabled {
  background-color: #edf2f4;
  cursor: not-allowed;
  opacity: 1;
  border: 1px solid #2b2d42;
  background-color: rgba(141, 153, 174, 0.5);
  color: rgba(141, 153, 174, 0.5);
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeOutSlide {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-5px);
  }
}/*# sourceMappingURL=style.css.map */