/* modale logowania i rejestracji */
#loginModal .modal-content,
#registerModal .modal-content {
  background: radial-gradient(circle, rgba(56, 98, 0, 1) 0%, rgba(34, 59, 0, 1) 100%);
  border: none;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  text-align: center;
  font-family: 'Poppins', sans-serif;
  color: #ffd700;
  text-shadow: 2px 2px 10px black;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 10px;
}

#loginModal .login-box,
#registerModal .login-box {
  background-color: transparent;
  box-shadow: none;
  width: 100%;
  max-width: 100%;
  padding: 1.3rem;
  margin: 0;
  animation: none;
}

.modal-content .modal-header {
  border-bottom: none;
  justify-content: center;
}

.modal-content .modal-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffd700;
  padding-bottom: 10px;
}

/* przyciski zamykania */
.modal-content .btn-close {
  filter: brightness(0) invert(1);
  /* biała ikonka X */
  position: absolute;
  right: 1rem;
  top: 1rem;
}

/* pole formularza */
.modal-content .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 0.6rem;
  margin-bottom: 0.1rem;
  text-align: center;
  font-weight: 600;
}

.modal-content .form-control::placeholder {
  color: #ccc;
  font-weight: 400;
}

.modal-content .modal-footer {
  padding-top: 0px;
  border-top: none;
  justify-content: center;
  padding-bottom: 50px;
}

/* przycisk logowania i rejestracji */
.modal-content .btn-primary {
  background-color: rgb(28, 48, 0);
  color: #fff;
  border: none;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 0.6rem 1.5rem;
  text-shadow: 2px 2px 10px black;
  transition: background-color 0.3s ease;
}

.modal-content .btn-primary:hover {
  background-color: rgb(38, 65, 0);
  color: #fff;
}

.modal-content .register-info {
  color: white;
  font-weight: 400;
  font-size: 0.9rem;
  padding-bottom: 0px;
}

/* styl przycisku rejestracji w logowaniu i odwrotnie */
.modal-content .btn-outline-light {
  color: #fff;
  border: none;
  font-size: 1.0rem;
  font-weight: 500;
  padding: 0.6rem 1.5rem;
  text-shadow: 2px 2px 10px black;
  transition: background-color 0.3s ease;
  padding-top: 0px;
}

.modal-content .btn-outline-light:hover {
  color: #ffd700;
  background-color: transparent;
}

/* komunikat o bledzie */
.modal-error-message {
  color: #ffc0c0;
  font-weight: 600;
  font-size: 0.9rem;
  text-shadow: 1px 1px 2px #000;
  padding: 10px;
  border: 1px solid #ff4d4d;
  background-color: rgba(255, 0, 0, 0.15);
  border-radius: 5px;
  margin-bottom: 15px;
  display: none;
}