/* Auth page styles */
:root {
  --primary-blue: #001f3f;
  --accent-blue: #007bff;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --text-light: #f8f9fa;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
body {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(-45deg, #000c18, #001f3f, #003366, #001a33);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.login-container {
  width: 100%;
  max-width: 400px;
  padding: 40px;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
  text-align: center;
  animation: fadeIn 1s ease-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.logo {
  width: 100px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}
h2 {
  color: var(--text-light);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 5px;
  text-transform: uppercase;
}
p.subtitle {
  color: #ccc;
  font-size: 0.85rem;
  margin-bottom: 30px;
}
.input-group {
  position: relative;
  margin-bottom: 20px;
}
.input-group i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
}
.input-group input {
  width: 100%;
  padding: 12px 15px 12px 45px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  transition: 0.3s;
}
.input-group input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.3);
}
.btn-back {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 20px;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--accent-blue, #007bff), #0056b3);
  border: none;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(3, 78, 162, 0.18);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}
.btn-back {
  cursor: pointer;
}
.btn-back:hover {
  transform: translateY(-3px);
  filter: brightness(1.04);
  box-shadow: 0 12px 30px rgba(3, 78, 162, 0.22);
}
.btn-back:focus {
  outline: none;
  box-shadow: 0 0 0 6px rgba(0, 123, 255, 0.12);
}

/* Primary submit button on login form */
.btn-login {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--accent-blue), #0056b3);
  color: white;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 10px;
}
.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
  filter: brightness(1.1);
}
.footer-text {
  margin-top: 25px;
  color: #aaa;
  font-size: 0.75rem;
}
.footer-text a {
  color: var(--accent-blue);
  text-decoration: none;
}
.footer-text a:hover {
  text-decoration: underline;
}
@media (max-width: 480px) {
  .login-container {
    width: 90%;
    padding: 30px 20px;
  }
}
