/* Authentication Pages Styling */
:root {
  --primary-color: #1A73E8;
  --secondary-color: #34A853;
  --accent-color: #FBBC05;
  --danger-color: #EA4335;
  --dark-color: #202124;
  --light-color: #F8F9FA;
  --gray-color: #70757A;
  --border-color: #DADCE0;
  --card-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: 40px 20px;
  background-color: #f5f5f5;
}

.auth-card {
  width: 100%;
  max-width: 500px;
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  padding: 40px;
  margin-bottom: 40px;
}

.register-card {
  max-width: 550px;
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-header h1 {
  font-size: 28px;
  color: var(--dark-color);
  margin-bottom: 10px;
}

.auth-header p {
  color: var(--gray-color);
  font-size: 16px;
}

.auth-form {
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-color);
}

.input-with-icon {
  position: relative;
}

.input-with-icon input {
  width: 100%;
  padding: 12px 40px 12px 40px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.input-with-icon input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.input-with-icon i:first-child {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-color);
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--gray-color);
}

.form-error {
  color: var(--danger-color);
  font-size: 14px;
  margin-top: 5px;
  min-height: 20px;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.remember-me {
  display: flex;
  align-items: center;
}

.remember-me input {
  margin-right: 8px;
}

.forgot-password {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 14px;
}

.forgot-password:hover {
  text-decoration: underline;
}

.btn-block {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: 500;
}

.auth-footer {
  text-align: center;
  margin-top: 20px;
  color: var(--gray-color);
}

.auth-footer a {
  color: var(--primary-color);
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.alert {
  padding: 12px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 14px;
}

.alert-danger {
  background-color: #ffe6e6;
  color: #d9534f;
  border: 1px solid #ffcccc;
}

.alert-success {
  background-color: #dff0d8;
  color: #3c763d;
  border: 1px solid #d6e9c6;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input {
  margin-right: 10px;
  margin-top: 3px;
}

.checkbox-group label {
  font-size: 14px;
  margin-bottom: 0;
}

.password-strength {
  margin-top: 8px;
}

.strength-meter {
  height: 4px;
  background-color: #e0e0e0;
  border-radius: 2px;
  margin-bottom: 4px;
}

.strength-bar {
  height: 100%;
  width: 0;
  border-radius: 2px;
  transition: width 0.3s, background-color 0.3s;
}

#strengthText {
  font-size: 12px;
  color: #666;
}

/* Password criteria checklist */
.password-criteria {
  margin-top: 10px;
  margin-bottom: 15px;
  font-size: 13px;
}

.criteria-item {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  color: #666;
}

.criteria-item i {
  margin-right: 8px;
  font-size: 14px;
}

.criteria-item .fa-times-circle {
  color: #EA4335;
}

.criteria-item .fa-check-circle {
  color: #34A853;
}

.criteria-item.met {
  color: #34A853;
}

/* Responsive styles */
@media (max-width: 768px) {
  .auth-card {
    padding: 30px 20px;
  }
  
  .auth-header h1 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .form-options {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .forgot-password {
    margin-top: 10px;
  }
}

/* Resend verification button */
.resend-form {
  margin-top: 8px;
}

.resend-btn {
  background: none;
  border: none;
  color: #007bff;
  text-decoration: underline;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
}

.resend-btn:hover {
  color: #0056b3;
}

/* Social authentication buttons */
.social-auth {
  margin-bottom: 20px;
  text-align: center;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px 16px;
  width: 100%;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.google-btn:hover {
  background-color: #f8f8f8;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.google-btn img {
  width: 18px;
  height: 18px;
  margin-right: 10px;
}

.separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: #777;
  font-size: 14px;
}

.separator::before,
.separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #ddd;
}

.separator span {
  padding: 0 10px;
} 