* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html, body { background: #f3f4f6; }

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #f3f4f6 !important;
}

/* Common container styles */
.signup-container,
.login-container,
.forgot-container,
.reset-container {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 380px;
  text-align: center;
}

.error-message {
  background: #ffe6e6;
  color: #d9534f;
  border: 1px solid #d9534f;
  border-radius: 8px;
  padding: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  text-align: center;
}

.signup-container h1,
.login-container h1,
.forgot-container h1,
.reset-container h1 { color: #222; margin-bottom: 1.25rem; font-size: 1.6rem; }

.forgot-container p,
.reset-container p { font-size: 0.9rem; color: #555; margin-bottom: 1.25rem; }

/* Inputs */
.input-group { margin-bottom: 1rem; text-align: left; }
.input-group label { font-size: 0.95rem; color: #444; margin-bottom: 0.5rem; display: block; }
.input-group input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #bbb;
  border-radius: 8px;
  font-size: 1.05rem;
  transition: border-color 0.2s;
}
.input-group input:focus { border-color: #7ac69e; outline: none; }

/* Buttons */
.btn {
  width: 100%;
  padding: 0.9rem;
  background: #7ac69e;
  color: #fff;
  font-size: 1.05rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn:hover { background: #63a985; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.15); }

/* Link helpers */
.login-text, .register-text, .back-link { margin-top: 1rem; font-size: 1rem; color: #333; }
.login-text a, .register-text a, .back-link a { color: #63a985; text-decoration: none; font-weight: bold; }
.login-text a:hover, .register-text a:hover, .back-link a:hover { text-decoration: underline; }

/* Forgot password link in Login */
.forgot-password { text-align: right; margin: 0 0 2rem 0; }
.forgot-password a { font-size: 0.95rem; color: #63a985; text-decoration: none; }
.forgot-password a:hover { text-decoration: underline; }

.google-btn {
    background: #fff;
    color: #444;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 1.25rem;
    margin-bottom: 2rem;
    font-weight: bold;
    box-shadow: 0 1px 4px rgba(0,0,0,0.09);
    transition: box-shadow 0.2s, border-color 0.2s, color 0.2s, background 0.2s;
    position: relative;
    z-index: auto;
    text-decoration: none;
}
.google-btn:hover {
    background: #fff;
    border-color: #7ac69e;
    color: #7ac69e;
    box-shadow: 0 2px 8px rgba(122,198,158,0.12);
    text-decoration: none;
}
.google-btn:visited, .google-btn:active {
    text-decoration: none;
}
.google-btn img {
    height: 22px;
    width: 22px;
    margin-right: 8px;
}

/* Ensure containers stack correctly and no content is hidden */
.signup-container button.btn { display: block; margin-bottom: 1.25rem; }
.or-divider { margin: 1.5rem 0 1.5rem 0; text-align: center; color: #666; position: relative; font-size: 1rem; }
.or-divider span {
    background: none;
    padding: 0;
    color: #444;
    font-weight: 500;
}
.or-divider:before, .or-divider:after {
    content: none;
}
.register-link {
    color: #7ac69e;
    font-weight: bold;
    text-decoration: none;
    margin-left: 0.3em;
    transition: color 0.2s;
}
.register-link:hover {
    color: #63a985;
    text-decoration: underline;
}


