/*
 * Login/Register Form Styles
 */

.auth-section {
  position: relative;
  padding: 0 0 80px 0;
  background-image: url('../images/GRADEA\ BG\ \(1\).png');
  background-size: cover;
  background-position: center;
}

.auth-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(96, 93, 175, 0.7); /* Using the theme purple color with 70% opacity */
  z-index: 1;
}

.auth-container {
  position: relative;
  z-index: 2;
  max-width: 500px;
  margin: 0 auto;
  right:-24px;
}

.auth-card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: all 0.3s ease;
}

/* .auth-card:hover {
  box-shadow: 0 12px 32px rgba(31, 38, 135, 0.25);
  transform: translateY(-5px);
} */

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

.auth-header h3 {
  color: white;
  margin-bottom: 10px;
}

.auth-header p {
  color: rgba(255, 255, 255, 0.8);
}

/* Tab Navigation */
.nav-tabs {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-tabs .nav-link {
  color: rgba(255, 255, 255, 0.8);
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 12px 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: transparent;
}

.nav-tabs .nav-link.active {
  color: white;
  background-color: rgba(255, 255, 255, 0.15);
  border-bottom: 2px solid #f5b942;
}

/* Form Styles */
.tab-content {
  padding: 25px 30px;
  animation: fadeIn 0.5s ease forwards;
}

.tab-pane {
  animation: fadeIn 0.5s ease forwards;
}

.form-group {
  margin-bottom: 20px;
}

.input-group {
  position: relative;
}

.input-group-prepend {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  z-index: 10;
}

.auth-form .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 10px 10px 10px 40px;
  border-radius: 4px;
  height: auto;
}

.auth-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 0.2rem rgba(245, 185, 66, 0.25);
}

.auth-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.auth-form .form-check-label {
  color: rgba(255, 255, 255, 0.8);
}

.auth-form .btn-primary {
  background-color: #f5b942;
  border-color: #f5b942;
  padding: 10px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.auth-form .btn-primary:hover {
  background-color: #e5a932;
  border-color: #e5a932;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.auth-form .btn-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.auth-form .btn-link:hover {
  color: #f5b942;
  text-decoration: none;
}

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

/* Responsive Styles */
@media (max-width: 576px) {
  .auth-container {
    padding: 0 15px;
  }

  .auth-form-container {
    padding: 20px 15px;
  }
}
