/* 
 * Custom Login Page Styles for Gen Z and Alpha
 */

.auth-cover-wrapper {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-green-dark) 0%, var(--accent-green) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.auth-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  overflow: hidden;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  position: relative;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/pattern-dots.svg');
  opacity: 0.03;
  pointer-events: none;
}

.auth-header {
  text-align: center;
  padding: 30px 20px 10px;
}

.auth-brand {
  display: inline-block;
  margin-bottom: 20px;
}

.auth-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 24px;
  margin-bottom: 8px;
}

.auth-subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 25px;
}

.auth-body {
  padding: 20px 40px 40px;
}

.auth-input {
  margin-bottom: 25px;
}

.auth-input label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
}

.auth-input .form-control {
  height: 50px;
  background-color: var(--bg-light);
  border: 1px solid transparent;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  font-size: 15px;
  padding: 10px 15px;
}

.auth-input .form-control:focus {
  background-color: white;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.15);
}

.auth-btn {
  display: block;
  width: 100%;
  height: 50px;
  background: var(--primary-green);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.auth-btn:hover {
  background: var(--primary-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.auth-footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--bg-light);
}

.auth-footer a {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.auth-footer a:hover {
  color: var(--primary-green-dark);
  text-decoration: underline;
}

.auth-separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 25px 0;
  color: var(--text-muted);
}

.auth-separator::before,
.auth-separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--bg-light);
}

.auth-separator::before {
  margin-right: 10px;
}

.auth-separator::after {
  margin-left: 10px;
}

.social-login {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-size: 20px;
  transition: all 0.3s ease;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.remember-forgot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0;
}

.custom-control-label {
  cursor: pointer;
  padding-left: 5px;
  font-size: 14px;
  color: var(--text-muted);
}

.forgot-link {
  color: var(--primary-green);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.forgot-link:hover {
  color: var(--primary-green-dark);
}

/* Animation for the login card */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-card {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .auth-body {
    padding: 20px;
  }
  
  .auth-title {
    font-size: 20px;
  }
  
  .auth-subtitle {
    font-size: 14px;
  }
}
