@font-face {
  font-family: "Helvetica Neue";
  src: url("helvetica_neue/HelveticaNeueThin.otf") format("opentype");
  font-weight: 100;
  font-style: normal;
}

body {
  background: #000;
  color: #fff;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 1em;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
}

.center {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1rem;
}

.box {
  width: 100%;
  max-width: 36rem;
  background: #000;
  border-radius: 1rem;
  padding: 2rem;
}

.logo-block {
  text-align: center;
  margin-bottom: 2rem;
}

.logo {
  margin: 0 auto;
  display: block;
  width: 300px;
}

.title {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.row {
  display: flex;
  gap: 1rem;
}

.field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

label {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

input {
  background: transparent;
  border: none;
  border-bottom: 1px solid #444;
  color: white;
  padding: 0.5rem 0.25rem;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}

input:focus {
  border-bottom-color: #6d02e0;
}

.hint {
  font-size: 0.75rem;
  color: #facc15;
  margin-top: 0.25rem;
}

.required {
  color: #ef4444;
}

button {
  width: 100%;
  padding: 0.75rem;
  background-color: #6d02e0;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background-color: #6d02e0;
}

.links {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-weight:bold;
}

.forgot-password{
	text-align:right;
	font-weight:bold;
}

.forgot-password a{
  color: #6d02e0;
  text-decoration: none;
  transition: color 0.2s;
}

.forgot-password a:hover {
  color: #6d02e0;
}

.links a {
  color: #6d02e0;
  text-decoration: none;
  transition: color 0.2s;
}

.links a:hover {
  color: #6d02e0;
}

input:focus,
textarea:focus,
select:focus,
button:focus {
  outline: none;
  box-shadow: none;
}

/* Affichage de l'overlay */
.overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  pointer-events: none;
}

.overlay-content {
  background-color: #111;
  color: white;
  padding: 2rem;
  border-radius: 8px;
  max-width: 700px;
  width: 90%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  pointer-events: all;
}

.close-btn {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6d02e0;
}
