* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: "Open Sans", sans-serif;
  background: #f5f5f5;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.google-btn {
  margin-top: 20px; /* spacing from form */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffffff, #d4ffd9);
  border: 2px solid #0ede23;
  cursor: pointer;
  box-shadow:
    0 6px 0 #0ede23,
    0 8px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.15s ease-in-out;
  font-weight: 700;
  color: #111;
  width: fit-content; /* shrink to content width */
  margin-left: auto;
  margin-right: auto; /* horizontal centering */
  position: static; /* remove left positioning */
}

.google-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 9px 0 #0ede23,
    0 12px 20px rgba(0, 0, 0, 0.3);
}

.google-btn:active {
  transform: translateY(3px);
  box-shadow:
    0 3px 0 #0ede23,
    0 5px 10px rgba(0, 0, 0, 0.2);
}

.google-btn img {
  width: 28px;
  height: 28px;
}

.auth-container {
  background: white;
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-header h1 {
  font-family: "Montserrat", sans-serif;
  color: #2c3e50;
  margin-bottom: 10px;
}

.auth-header p {
  color: #555;
}

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

.auth-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c3e50;
}

.auth-form input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.auth-form input:focus {
  border-color: #32cd32;
  outline: none;
  box-shadow: 0 0 0 3px rgba(50, 205, 50, 0.2);
}

.auth-btn {
  width: 100%;
  padding: 15px;
  background: #32cd32;
  color: white;
  border: none;
  border-radius: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.auth-btn:hover {
  background: #28a428;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.auth-footer {
  text-align: center;
  margin-top: 20px;
  color: #555;
}

.auth-footer a {
  color: #32cd32;
  text-decoration: none;
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.error-message {
  color: #e74c3c;
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
}

.auth-tabs {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.auth-tab {
  flex: 1;
  text-align: center;
  padding: 15px;
  cursor: pointer;
  font-weight: 600;
  color: #555;
  transition: all 0.3s ease;
}

.auth-tab.active {
  color: #32cd32;
  border-bottom: 2px solid #32cd32;
}

.auth-content {
  display: none;
}

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

#signupForm .form-group:last-child {
  margin-bottom: 10px;
}

.terms-text {
  font-size: 14px;
  color: #777;
  margin-top: 20px;
  text-align: center;
}
