/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f4f2fc;
  color: #333;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CONTAINER */
.login-container {
  display: flex;
  width: 900px;
  height: 550px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* LEFT SIDE */
.login-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.login-box {
  width: 80%;
  max-width: 320px;
}

.logo {
  width: 100px;
  display: block;
  margin: 0 auto 20px;
}

h2 {
  text-align: center;
  margin-bottom: 10px;
  color: #034A5E;
}

p {
  text-align: center;
  font-size: 14px;
  color: #777;
  margin-bottom: 25px;
}

.alert {
  background: #ffd7d7;
  color: #b30000;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 15px;
  text-align: center;
  font-size: 14px;
}

.input-group {
  margin-bottom: 15px;
}

.input-group label {
  display: block;
  font-size: 13px;
  color: #555;
  margin-bottom: 5px;
}

.input-group input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: #f8f8ff;
  font-size: 14px;
}

.btn-login {
  width: 100%;
  background: linear-gradient(135deg, #33A0BE, #1BCEC8);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn-login:hover {
  background: linear-gradient(135deg, #33A0BE, #1BCEC8);
}

.register-link {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

.register-link a {
  color: #034A5E;
  text-decoration: none;
  font-weight: 500;
}

.register-link a:hover {
  text-decoration: underline;
}

/* RIGHT SIDE */
.login-right {
    flex: 1;
    background-image: url("img/team-bp.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

/* Overlay coloré */
.login-right::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65); /* noir semi-transparent, ajuste la couleur */
    z-index: 1;
}

/* Pour que le contenu reste au-dessus de l’overlay */
.login-right > * {
    position: relative;
    z-index: 2;
}

.overlay {
  text-align: center;
  max-width: 250px;
}

.overlay h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.overlay p {
  font-size: 14px;
  color: #eee;
}
