/* static/css/auth.css */
/* static/css/auth.css */

/* Messages */
.messages {
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
}

.messages.success {
  background: #e6fffa;
  color: #2c7a7b;
  border: 1px solid #81e6d9;
}

.messages.error {
  background: #fff5f5;
  color: #c53030;
  border: 1px solid #feb2b2;
}

.messages.warning {
  background: #fffaf0;
  color: #975a16;
  border: 1px solid #fbd38d;
}

.messages.info {
  background: #ebf8ff;
  color: #2b6cb0;
  border: 1px solid #90cdf4;
}

/* Password toggle */
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  width: 100%;
  padding-right: 2.5rem;
}

.toggle-password {
  position: absolute;
  right: 12px;
  cursor: pointer;
  font-size: 1.1rem;
  color: #888;
  transition: color 0.3s;
}

.toggle-password:hover {
  color: #667eea;
}


body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #667eea, #764ba2);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth-container {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 400px;
  animation: fadeIn 0.6s ease-in-out;
}

.auth-container h2 {
  text-align: center;
  color: #333333;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  font-weight: 600;
}

.auth-form {
  display: flex;
  flex-direction: column;
}

.auth-form label {
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: #444;
}

.auth-form input {
  padding: 0.8rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.auth-form input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
  outline: none;
}

.auth-form button {
  background: #667eea;
  color: #fff;
  padding: 0.9rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-form button:hover {
  background: #5a67d8;
  transform: translateY(-2px);
  box-shadow: 0px 6px 15px rgba(102, 126, 234, 0.4);
}

.auth-footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.95rem;
  color: #666;
}

.auth-footer a {
  color: #667eea;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}

.auth-footer a:hover {
  color: #764ba2;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
