/* Modern Clean CSS for Login/Register Pages */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  height: 100vh;
  background: linear-gradient(135deg, #1e1e2f, #23242a);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
}

.container {
  background: #2e2e38;
  padding: 32px 24px;
  border-radius: 20px;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.4),
    0 0 16px rgba(255, 255, 255, 0.05);
  width: 100%;
  max-width: 360px;
  position: relative;
}

.login-box {
  width: 100%;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.header {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 8px;
  color: #ffffff;
}

.input {
  padding: 12px;
  border-radius: 12px;
  background: #3a3a44;
  border: 1px solid transparent;
  color: white;
  font-size: 15px;
  transition: 0.3s;
}

.input:focus {
  border-color: #ffffff;
  outline: none;
  background: #454552;
}

.button {
  padding: 12px;
  border-radius: 25px;
  background: linear-gradient(145deg, #444455, #383847);
  color: white;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: 0.3s;
  text-align: center;
}

.button:hover {
  background: linear-gradient(145deg, #5a5a70, #3e3e50);
}

.link {
  color: #aaaaff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
}

.link:hover {
  color: #ffffff;
}

.footer {
  text-align: center;
  font-size: 13px;
  margin-top: 12px;
  color: #cccccc;
}

.forgot-password {
  text-align: center;
  font-size: 13px;
  margin-top: 8px;
}

.error-msg {
  color: #ff6666;
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
}
