
/* ================= REGISTER PAGE ================= */

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #0d1c22, #004763);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CONTENEUR REGISTER */
.register-container {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: fadeIn 0.6s ease-in-out;
}

/* TITRE */
.register-container h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #0d1c22;
  font-size: 26px;
}

#googleLoginBtn {
  width: 100%;
  padding: 12px 16px;
  font-family: Arial, sans-serif;
  letter-spacing: 0.2px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background-color: #ffffff;
  color: #333;

  border: 1px solid #ddd;
  border-radius: 10px;

  font-size: 15px;
  font-weight: 500;

  cursor: pointer;

  transition: all 0.2s ease-in-out;

  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

#googleLoginBtn:hover {
  background-color: #f7f7f7;
  border-color: #ccc;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

#googleLoginBtn:active {
  transform: scale(0.98);
  box-shadow: none;
}

/* FORM */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* INPUTS */
form input {
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;
  font-size: 14px;
  transition: 0.3s;
}

form input:focus {
  border-color: #ffcc00;
  box-shadow: 0 0 0 3px rgba(255,204,0,0.2);
}

/* BUTTON */
form button {
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: #ffcc00;
  color: #0d1c22;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

form button:hover {
  background: #e6b800;
  transform: translateY(-2px);
}

/* FOOTER TEXT */
.register-footer {
  text-align: center;
  margin-top: 15px;
  font-size: 13px;
  color: #6b7280;
}

.register-footer a {
  color: #004763;
  text-decoration: none;
  font-weight: 600;
}

.register-footer a:hover {
  text-decoration: underline;
}

/* ANIMATION IDENTIQUE LOGIN */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}