/* Auth Page Styles */

.auth-main {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  width: 100%;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  min-height: 600px;
}

/* Left Section - Welcome */
.auth-left {
  background: linear-gradient(135deg, rgba(52, 168, 83, 0.9), rgba(66, 133, 244, 0.8)),
    url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=800&h=800&fit=crop') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  position: relative;
}

.auth-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(52, 168, 83, 0.85), rgba(66, 133, 244, 0.75));
  z-index: 1;
}

.auth-welcome {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
}

.auth-welcome-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.auth-welcome-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.95;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.auth-enter-btn {
  background: #ffffff;
  color: #34a853;
  border: 2px solid #ffffff;
  padding: 14px 50px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.auth-enter-btn:hover {
  background: transparent;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Right Section - Auth Form */
.auth-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  background: #fafafa;
}

.auth-form-container {
  width: 100%;
  max-width: 400px;
}

.auth-title {
  font-size: 28px;
  font-weight: 700;
  color: #202124;
  margin-bottom: 40px;
  text-align: center;
}

/* Google Sign In Button */
.auth-google-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #dadce0;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #3c4043;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.auth-google-btn:hover {
  background: #f8f9fa;
  border-color: #c6c6c6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.auth-google-btn svg {
  flex-shrink: 0;
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  margin: 30px 0;
  color: #5f6368;
  font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #dadce0;
}

.auth-divider span {
  padding: 0 16px;
  font-weight: 500;
}

/* Email Registration Button */
.auth-email-btn {
  width: 100%;
  background: #ffffff;
  border: 1px solid #dadce0;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #3c4043;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.auth-email-btn:hover {
  background: #f8f9fa;
  border-color: #c6c6c6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

  .auth-left {
    min-height: 300px;
    padding: 40px 30px;
  }

  .auth-welcome-title {
    font-size: 36px;
  }

  .auth-welcome-text {
    font-size: 15px;
  }

  .auth-right {
    padding: 50px 30px;
  }
}

@media (max-width: 576px) {
  .auth-main {
    padding: 20px 15px;
  }

  .auth-container {
    border-radius: 15px;
  }

  .auth-left {
    min-height: 250px;
    padding: 30px 20px;
  }

  .auth-welcome-title {
    font-size: 28px;
  }

  .auth-welcome-text {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .auth-enter-btn {
    padding: 12px 40px;
    font-size: 15px;
  }

  .auth-right {
    padding: 40px 25px;
  }

  .auth-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .auth-google-btn,
  .auth-email-btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .auth-divider {
    margin: 25px 0;
  }
}

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

.auth-welcome,
.auth-form-container {
  animation: fadeInUp 0.6s ease-out;
}

.auth-form-container {
  animation-delay: 0.2s;
}
