/* Conteneur de login */
.login-container {
  max-width: 520px;
  margin: 50px auto;
  padding: 30px;
  background: var(--background-color);
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Spacers */
.login-spacer-large {
  margin-top: 50px;
}

.login-spacer-small {
  margin-top: 30px;
}

/* Clean link (no decoration) */
.login-link-clean {
  text-decoration: none;
  width: 80%;
  max-width: 400px;
  display: block;
}

/* Wrapper pour centrer explicitement le logo */
.logo-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-md);
}

/* Centrage du nouveau composant logo */
.login-page .logo-wrapper .logo-peoplemetrics {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.login-page .logo-wrapper .logo-peoplemetrics__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Bouton LinkedIn Premium avec couleurs du site */
#linkedin-login {
  width: 100%;
  margin-top: 20px;
  cursor: pointer;
  transition: all var(--transition-base);
}

#linkedin-login:hover {
  transform: translateY(-2px);
}

.linkedin-button {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  box-shadow: var(--elevation-2);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.linkedin-button:hover {
  box-shadow: var(--elevation-4), var(--shadow-glow);
  transform: translateY(-2px);
}

.linkedin-button:active {
  transform: translateY(0);
  box-shadow: var(--elevation-2);
}

/* Logo LinkedIn */
.linkedin-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.linkedin-button span {
  font-family: var(--font-family);
  letter-spacing: 0.01em;
}

/* Séparateur */
.divider {
  margin: 25px 0;
  text-align: center;
  position: relative;
}

.divider span {
  background: var(--background-color);
  padding: 0 10px;
  position: relative;
  z-index: 2;
  font-weight: bold;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  height: 1px;
  width: 100%;
  background: #ccc;
  z-index: 1;
}

#signup-form {
  margin-top: 15px; /* Keep this if you want the top margin */
  width: 80%; /* Or any other specific width like 300px, 400px etc. */
                /* The form needs a defined width to be centered with margin: auto */
  max-width: 400px; /* Optional: prevents it from getting too wide on large screens */
  margin-left: auto; /* Centers the form horizontally */
  margin-right: auto; /* Centers the form horizontally */
  /* Shorthand for margin-left: auto; margin-right: auto; is margin: 0 auto; */
  /* If you want top/bottom margin, it would be margin: 15px auto 0 auto; for example */
}

#signup-form input {
  display: block;
  width: 100%; /* Make inputs take full width of the form */
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

#signup-form button {
  padding: 10px;
  width: 100%; /* Make button take full width of the form */
  font-weight: bold;
  background-color: #ccc;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

#signup-form button:hover {
  background-color: #bbb;
}

#signup-message {
  margin-top: 10px;
  font-size: 0.9em;
}

/* Responsive */
@media screen and (max-width: 600px) {
  .login-container {
    width: 90%;
    padding: 20px;
  }

  #linkedin-login {
    width: 100%;
  }

  .linkedin-button {
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .linkedin-icon {
    width: 18px;
    height: 18px;
  }
}
