/* Floating Input Groups */
.floating-group {
  position: relative;
  margin-bottom: 18px;
}

.floating-group input {
  width: 100%;
  padding: 14px 12px; /* Sleeker, less padding */
  font-size: 0.95rem;
  background: var(--bg); /* Exactly matches the page background */
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 0;
}

.floating-group input:focus {
  border-color: var(--text);
}

.floating-group label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  pointer-events: none;
  background: transparent;
}

/* Floating Animation */
.floating-group input:focus + label,
.floating-group input:not(:placeholder-shown) + label {
  top: 0;
  font-size: 0.75rem;
  background: var(--bg); /* Ensures the text cuts through the border cleanly */
  padding: 0 4px;
  transform: translateY(-50%);
  color: var(--text);
  font-weight: 500;
}

/* Auth Divider */
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 25px 0;
  color: var(--text-muted);
}

.auth-divider::before, 
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border);
}

.auth-divider span {
  padding: 0 15px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Google Button */
.google-btn {
  width: 100%;
  background: var(--surface); /* Slight contrast from page background so it stands out */
  color: var(--text);
  border: 1px solid var(--border);
  justify-content: center;
  font-weight: 500;
  padding: 12px 14px;
  transition: all 0.2s ease;
}

.google-btn:hover {
  background: var(--bg-hover);
  border-color: var(--text-muted);
  color: var(--text);
}

.google-btn ion-icon {
  font-size: 1.3rem;
}