/* Auth Pages Styles (Sign-in & Registration) */
.auth-section {
  padding: 60px 0;
  min-height: calc(100vh - 300px); /* Account for header and footer */
  display: flex;
  align-items: center;
}

.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  background-color: #1e1e1e;
  max-width: 1000px;
  margin: 0 auto;
}

.auth-box {
  padding: 40px;
  animation: fadeIn 0.8s ease forwards;
}

.auth-title {
  color: #ffffff;
  font-size: 28px;
  margin-bottom: 30px;
  position: relative;
}

.auth-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #6c5ce7, #00b894);
  animation: expandLine 1s forwards;
}

@keyframes expandLine {
  from { width: 0; }
  to { width: 80px; }
}

.auth-form {
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

/* Stagger form group animations */
.auth-form .form-group:nth-child(1) { animation-delay: 0.1s; }
.auth-form .form-group:nth-child(2) { animation-delay: 0.2s; }
.auth-form .form-group:nth-child(3) { animation-delay: 0.3s; }
.auth-form .form-group:nth-child(4) { animation-delay: 0.4s; }
.auth-form .form-group:nth-child(5) { animation-delay: 0.5s; }

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #f0f0f0;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 5px;
  background-color: #2d2d2d;
  color: #f0f0f0;
  font-size: 16px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
  background-color: #3d3d3d;
  outline: none;
  box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.3);
}

.forgot-password {
  text-align: right;
  margin-top: 5px;
}

.forgot-password a {
  color: #6c5ce7;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.forgot-password a:hover {
  color: #5649c0;
  text-decoration: underline;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 10px;
}

.remember-me input {
  width: auto;
}

.terms-conditions {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.terms-conditions input {
  width: auto;
  margin-top: 5px;
}

.terms-conditions a {
  color: #6c5ce7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.terms-conditions a:hover {
  color: #5649c0;
  text-decoration: underline;
}

.password-requirements {
  font-size: 12px;
  color: #b0b0b0;
  margin-top: 5px;
}

.auth-button {
  width: 100%;
  padding: 14px;
  background-color: #6c5ce7;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 0.8s 0.5s forwards;
}

.auth-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.auth-button:hover {
  background-color: #5649c0;
  transform: translateY(-3px);
}

.auth-button:hover::before {
  left: 100%;
}

.social-auth {
  text-align: center;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeIn 0.8s 0.6s forwards;
}

.social-auth p {
  color: #b0b0b0;
  margin-bottom: 15px;
  position: relative;
}

.social-auth p::before,
.social-auth p::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background-color: #333;
}

.social-auth p::before {
  left: 0;
}

.social-auth p::after {
  right: 0;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.google-btn {
  background-color: #DB4437;
}

.facebook-btn {
  background-color: #4267B2;
}

.twitter-btn {
  background-color: #1DA1F2;
}

.auth-switch {
  text-align: center;
  opacity: 0;
  animation: fadeIn 0.8s 0.7s forwards;
}

.auth-switch a {
  color: #6c5ce7;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.auth-switch a:hover {
  color: #5649c0;
  text-decoration: underline;
}

.auth-image {
  position: relative;
  background-image: url("/api/placeholder/600/800"); /* Placeholder image */
  background-size: cover;
  background-position: center;
  min-height: 500px;
}

.auth-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.7), rgba(0, 184, 148, 0.7));
}

/* Responsive Design */
@media (max-width: 900px) {
  .auth-container {
    grid-template-columns: 1fr;
  }
  
  .auth-image {
    display: none;
  }
}

@media (max-width: 600px) {
  .auth-section {
    padding: 40px 0;
  }
  
  .auth-box {
    padding: 25px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .social-buttons {
    flex-wrap: wrap;
  }
}
