/* Firebase Authentication Styles */

/* Social login buttons */
.social-login-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
  margin-top: 0.5rem;
}

.social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  background-color: #F5F5F5;
  color: #000000;
  border: 1px solid #D3D3D3;
  
}

.social-button:hover {
  background-color: #E8E8E8;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-button:active {
  transform: translateY(0);
}

.social-button svg {
  flex-shrink: 0;
}

.google-button {
  background-color: #F5F5F5;
  color: #000000;
  border: 1px solid #D3D3D3;
}

.google-button:hover {
  background-color: #E8E8E8;
}

.facebook-button {
  background-color: #F5F5F5;
  color: #000000;
  border: 1px solid #D3D3D3;
}

.facebook-button:hover {
  background-color: #E8E8E8;
}

.apple-button {
  background-color: #F5F5F5;
  color: #000000;
  border: 1px solid #D3D3D3;
}

.apple-button:hover {
  background-color: #E8E8E8;
}

/* Login divider */
.login-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.5rem 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background-color: var(--border-color);
}

.divider-text {
  font-size: 0.875rem;
  color: var(--subtle-text);
  font-weight: 500;
}

/* Email button específico */
.email-button {
  background-color: var(--primary-color);
}

/* Login link */
.login-link {
  font-size: 0.875rem;
  color: var(--dark-text);
  margin-top: 1rem;
  text-align: center;
}

.login-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.login-link a:hover {
  text-decoration: underline;
}

.login-footer{
  padding: 0.25rem;
}

/* Password screen (para flujo de email/password) */
.password-screen {
  display: none;
}

.password-screen.active {
  display: flex;
}

/* Loading spinner para autenticación */
.auth-loading {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

/* Mensajes de error */
.auth-error {
  background-color: #fee;
  border: 1px solid #fcc;
  color: #c33;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: none;
}

.auth-error.show {
  display: block;
}

/* Success message */
.auth-success {
  background-color: #efe;
  border: 1px solid #cfc;
  color: #3c3;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: none;
}

.auth-success.show {
  display: block;
}
