/* Global reset & typography */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #fafafa;
  color: #333;
  line-height: 1.6;
}

/* Wrapper to center content */
.content-wrapper {
  max-width: 480px;
  margin: 0 auto;
  padding: 1rem;
  text-align: center;
}

/* Headings */
.headline {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  text-align: center;
}
.subheadline {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* Button base */
.material-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 0 16px;
  height: 48px;
  font-weight: 500;
  font-size: 0.875rem;
  color: #444;
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  overflow: hidden; /* for ripple */
  text-transform: uppercase;
}

.material-button:hover {
  background: #f5f5f5;
  box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}

.material-button:active {
  transform: scale(0.98);
  background: #e0e0e0;
}

.material-button__icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.material-button__text {
  white-space: nowrap;
}

/* Google‑style button modifier */
.material-button.google {
  color: #fff;
  background: #4285f4;
  border: none;
}

.material-button.google:hover {
  background: #357ae8;
}

.material-button.google:active {
  background: #2c6abf;
}

/* Email input styling */
input[type="email"],
input[type="password"] {
  width: 100%;
  max-width: 320px;
  padding: 8px 12px;
  margin: 8px 0;
  border: 1px solid #bbb;
  border-radius: 4px;
  font-size: 1rem;
}

input:focus {
  outline: none;
  border-color: #4285f4;
  box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

/* Back link styling */
.back-link {
  cursor: pointer;
  color: #4285f4;
  margin-top: -10px;
  margin-bottom: 20px;
  display: inline-block;
}

/* Error message */
#error {
  margin-top: 1rem;
  color: #d32f2f;
}

#emailInfoContainer {
  display: none;
  transition: opacity 0.2s ease;
  opacity: 0;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

#signInContainer {
  display: flex;
  transition: opacity 0.2s ease;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

#emailInfoContainer label,
#emailInfoContainer input {
  width: 100%;
  max-width: 320px;
}