/* Global site styling for auth views and shared pages */
body {
  background: #0b1116;
  color: #e1f5fe;
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, sans-serif;
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  background: linear-gradient(160deg, rgba(20, 32, 43, 0.95), rgba(9, 14, 19, 0.92));
  border: 1px solid rgba(0, 255, 225, 0.2);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  border-radius: 18px;
  padding: 40px 38px;
  max-width: 360px;
  width: 90%;
  backdrop-filter: blur(8px);
}

.container h2 {
  margin-top: 0;
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-align: center;
}

.brand {
  text-align: center;
  color: #00ffe1;
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  display: block;
  width: 100%;
  background: rgba(15, 23, 31, 0.85);
  border: 1px solid rgba(0, 255, 225, 0.25);
  border-radius: 10px;
  color: #e1f5fe;
  padding: 12px 14px;
  margin-bottom: 15px;
  font-size: 0.95rem;
  transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: #00ffe1;
  box-shadow: 0 0 0 2px rgba(0, 255, 225, 0.2);
  transform: translateY(-1px);
}

button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: linear-gradient(135deg, #00ffe1, #31c6ff);
  color: #00151f;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 255, 225, 0.3);
}

button[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 255, 225, 0.2);
}

a {
  color: #00ffe1;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(225, 245, 254, 0.75);
  margin-top: 18px;
}

.error,
.errors {
  background: rgba(255, 68, 68, 0.14);
  border: 1px solid rgba(255, 102, 102, 0.45);
  color: #ff9191;
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 0.88rem;
}

.errors ul {
  margin: 0;
  padding-left: 18px;
}

@media (max-width: 480px) {
  .container {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    max-height: none;
    padding: 32px 24px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  h2 {
    font-size: 1.75rem;
  }

  .brand {
    font-size: 1.35rem;
  }

  input[type="text"],
  input[type="email"],
  input[type="password"] {
    font-size: 1.05rem;
    padding: 14px 16px;
  }

  button[type="submit"] {
    font-size: 1.05rem;
    padding: 14px 16px;
  }
}
