/* Auth Pages Styles */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4a6de5, #7a54e8);
  padding: 20px;
}

.auth-container {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  padding: 40px;
  transition: all 0.3s ease;
}

.auth-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.logo {
  text-align: center;
  margin-bottom: 30px;
}

.logo img {
  max-width: 150px;
}

.auth-form-container h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #333;
  text-align: center;
}

.auth-subtitle {
  color: #777;
  margin-bottom: 30px;
  text-align: center;
}

.auth-form {
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.input-icon-wrapper {
  position: relative;
}

.input-icon-wrapper i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  padding: 12px 15px 12px 40px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-group input:focus {
  border-color: #4a6de5;
  outline: none;
  box-shadow: 0 0 0 2px rgba(74, 109, 229, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  accent-color: #4a6de5;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
}

.auth-btn {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  margin-top: 10px;
  background-color: #4a6de5;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.auth-btn:hover {
  background-color: #3a5bd0;
}

.auth-links {
  text-align: center;
  margin: 20px 0;
}

.auth-links a {
  color: #4a6de5;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}

.auth-links a:hover {
  color: #3a5bd0;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
  cursor: pointer;
  font-size: 14px;
  transition: color 0.3s;
}

.password-toggle:hover {
  color: #4a6de5;
}

.error-message,
.success-message {
  padding: 12px 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  display: none;
  text-align: center;
}

.error-message {
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

.success-message {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.error-text {
  color: #c62828;
  font-size: 14px;
  margin-top: 5px;
  display: block;
}

.forgot-password {
  text-align: right;
  margin-bottom: 20px;
}

.forgot-password a {
  color: #4a6de5;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s;
}

.forgot-password a:hover {
  color: #3a5bd0;
}

/* Responsive Styles */
@media (max-width: 480px) {
  .auth-container {
    padding: 30px 20px;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-container {
  animation: fadeIn 0.5s ease-out;
}

.form-group {
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards;
}

.form-group:nth-child(1) {
  animation-delay: 0.1s;
}
.form-group:nth-child(2) {
  animation-delay: 0.2s;
}
.form-group:nth-child(3) {
  animation-delay: 0.3s;
}
.form-group:nth-child(4) {
  animation-delay: 0.4s;
}

.auth-btn {
  opacity: 0;
  animation: fadeIn 0.5s ease-out 0.5s forwards;
}

