/* Login/Register Page Styles */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  background: linear-gradient(135deg, rgba(184, 189, 215, 0.3) 0%, rgba(232, 180, 180, 0.2) 100%);
}

.auth-box {
  width: 100%;
  max-width: 500px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.auth-tabs {
  display: flex;
  width: 100%;
  border-bottom: 1px solid #eee;
}

.auth-tab {
  flex: 1;
  padding: 20px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #888;
}

.auth-tab.active {
  color: #0056b3;
  border-bottom: 3px solid #0056b3;
}

.auth-forms {
  padding: 30px;
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.auth-form h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
  text-align: center;
}

.auth-subtitle {
  text-align: center;
  color: #777;
  margin-bottom: 30px;
}

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

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #444;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"] {
  width: 100%;
  padding: 12px 15px 12px 45px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  transition: all 0.3s ease;
}

input:focus {
  border-color: #0056b3;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

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

.remember-me input[type="checkbox"] {
  margin-right: 8px;
}

.forgot-password {
  color: #0056b3;
  text-decoration: none;
  font-size: 14px;
}

.forgot-password:hover {
  text-decoration: underline;
}

.btn-auth {
  width: 100%;
  padding: 14px;
  background-color: #0056b3;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-auth:hover {
  background-color: #003d7f;
}

.social-login {
  margin-top: 30px;
  text-align: center;
}

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

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

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

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

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

.social-btn {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: none;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

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

.social-btn:hover {
  background-color: #f8f8f8;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
  .login-container {
    padding: 80px 15px;
  }
  
  .auth-box {
    max-width: 90%;
  }
  
  .auth-tab {
    padding: 15px 10px;
    font-size: 15px;
  }
  
  .auth-forms {
    padding: 20px;
  }
  
  .auth-form h2 {
    font-size: 22px;
  }
  
  .auth-subtitle {
    font-size: 14px;
    margin-bottom: 25px;
  }
  
  .social-buttons {
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .login-container {
    padding: 60px 10px;
  }
  
  .auth-box {
    max-width: 100%;
    border-radius: 8px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 20px;
  }
  
  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .social-buttons {
    flex-direction: column;
  }
  
  .auth-tab {
    padding: 12px 8px;
    font-size: 14px;
  }
  
  .auth-forms {
    padding: 15px;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="date"] {
    padding: 10px 15px 10px 40px;
    font-size: 14px;
  }
  
  .btn-auth {
    padding: 12px;
    font-size: 15px;
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  label {
    font-size: 14px;
    margin-bottom: 6px;
  }
}
