/* Auth System Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f5f5f5;
}

.auth-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  width: 100%;
  max-width: 350px;
  text-align: center;
}

.logo {
  margin-top: -70px;
  margin-bottom: -50px;
}

.logo img {
  height: 180px;
  width: auto;
}

h2 {
  margin: 5px 0 30px;
  font-size: 24px;
  color: #333;
}

.tab-control {
  display: flex;
  margin-bottom: 20px;
  justify-content: center;
}

.tab-control a {
  flex: 1;
  padding: 8px 0;
  text-decoration: none;
  color: #666;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.tab-control a.active {
  color: #1e88e5;
  border-bottom: 2px solid #1e88e5;
  font-weight: bold;
}

.form-group {
  margin-bottom: 15px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

.form-group input::placeholder {
  color: #999;
}

.button-primary {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 4px;
  background-color: #1e88e5;
  color: white;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
}

.button-primary:hover {
  background-color: #1976d2;
}

.forgot-password {
  display: block;
  text-align: center;
  margin: 15px 0;
  color: #666;
  font-size: 14px;
  text-decoration: none;
}

.google-btn {
  width: 100%;
  padding: 10px;
  margin-top: 15px;
  background-color: white;
  color: #444;
  border: 1px solid #ddd;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
}

.google-btn img {
  margin-right: 10px;
  width: 18px;
  height: 18px;
}

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

.error-message {
  background-color: #ffebee;
  color: #c62828;
  padding: 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-size: 14px;
}

.success-message {
  background-color: #e8f5e9;
  color: #2e7d32;
  padding: 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-size: 14px;
}

.user-info {
  text-align: center;
}

/* Password requirement styles */
.password-requirements {
  margin-top: 8px;
  font-size: 12px;
  color: #666;
}

.requirement-item {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.check-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.check-icon.valid {
  color: #4caf50;
  border: 1px solid #4caf50;
}

.check-icon.invalid {
  color: #bdbdbd;
  border: 1px solid #bdbdbd;
}

.check-icon.valid:before {
  content: "✓";
  font-size: 10px;
}

.check-icon.invalid:before {
  content: "";
}

.password-mismatch {
  color: #f44336;
  font-size: 12px;
  margin-top: 4px;
}

/* Divider line */
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ddd;
}

.divider span {
  padding: 0 10px;
  color: #999;
  font-size: 12px;
}