@media only screen and (max-width: 999px) {
  html {
    min-height: 100vh;
    background: radial-gradient(circle at top, #2a2340 0%, #13141b 100%);
  }

  body {
    color: #e5e2dc;
    font-family: "Hanken Grotesk", Sans-serif;
    margin: 0 auto;
    width: 100%;
  }

  .login {
    width: 88%;
    min-height: 20%;
    margin: 5% auto;
    border-radius: 12px;
    background: rgba(30, 30, 45, 0.85);
    box-shadow: 0 0 40px rgba(176, 132, 96, 0.25);
    text-align: center;
    padding: 0.4rem 0.3rem;
    color: #e5e2dc;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
  }

  input {
    font-size: 16px;
  }

  .logo {
    margin-top: 10%;
    text-align: center;
  }

  .logo img {
    width: 70%;
  }
}

@media only screen and (min-width: 1000px) {
  html {
    min-height: 100vh;
    background: radial-gradient(circle at top, #2a2340 0%, #13141b 100%);
  }

  body {
    color: #e5e2dc;
    font-family: "Hanken Grotesk", Sans-serif;
    margin: 0 auto;
    width: 1000px;
  }

  .logo {
    margin-top: 6%;
    text-align: center;
  }

  .logo img {
    width: 40%;
    filter: drop-shadow(0 0 10px rgba(176, 132, 96, 0.3));
  }

  .login {
    width: 50%;
    min-height: 20%;
    margin: 0 auto;
    border-radius: 14px;
    background: rgba(25, 25, 40, 0.9);
    box-shadow: 0 0 60px rgba(176, 132, 96, 0.35);
    text-align: center;
    padding: 4rem 2rem;
    transition: all 0.4s ease;
  }
}

/* === POLA FORMULARZA === */
input[type=text],
input[type=password] {
  width: 100%;
  height: 38px;
  margin: 1rem 0;
  border: 1px solid #8c7052;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.05);
  text-align: center;
  color: #f0ece8;
  transition: all 0.3s ease;
}

input[type=text]:focus,
input[type=password]:focus {
  border-color: #B08460;
  box-shadow: 0 0 8px #B08460;
  outline: none;
}

/* === PRZYCISKI === */
input[type=button],
input[type=submit],
input[type=reset] {
  width: 100%;
  height: 42px;
  border-radius: 999px;
  font-size: 17px;
  border: none;
  color: #fff;
  background-color: #B08460;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 12px rgba(176, 132, 96, 0.4);
}

input[type=button]:hover,
input[type=submit]:hover,
input[type=reset]:hover {
  background-color: #c8966e;
  box-shadow: 0 0 20px rgba(176, 132, 96, 0.6);
  transform: translateY(-2px);
}

/* === LINKI === */
a {
  color: #d3b99f;
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #f0d9c1;
  text-shadow: 0 0 6px #B08460;
}

/* === KOMUNIKATY === */
.eror {
  background-color: rgba(211, 37, 52, 0.85);
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.3);
  margin-bottom: 1rem;
}

.good {
  background-color: rgba(80, 155, 70, 0.85);
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 0 12px rgba(80, 200, 100, 0.25);
  margin-bottom: 1rem;
}

/* === STOPKA === */
.foter {
  text-align: center;
  margin-top: 3%;
  width: 100%;
  color: #d3b99f;
  text-shadow: 0 0 6px rgba(176, 132, 96, 0.7);
  font-size: 13px;
  letter-spacing: 0.5px;
}
