/* Reset simple */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-image: url('/assets/img/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-container {
  background: rgba(255, 255, 255, 0.55);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 420px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.login-logo {
    max-width: 120px;
    margin-top: 0;
    margin-right: auto;
    margin-left: auto;
    display: block;
	border-radius: 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

.login-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 1rem;
}

.login-links a {
  color: #007aff;
  text-decoration: none;
  margin: 0 4px;
  transition: color 0.2s ease;
}

.login-links a:hover {
  text-decoration: underline;
  color: #005ecb;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 24px;
}

.input-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

input:focus {
  border-color: #007aff;
  outline: none;
}

button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 14px;
  background-color: #007aff;
  color: white;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #005fcc;
}

.error-message {
  margin-top: 15px;
  font-size: 14px;
  text-align: center;
  display: none;
}

.error-message.error {
  color: #ff3b30; /* rouge */
}

.error-message.success {
  color: #2ecc71; /* vert */
}
