     body { font-family: 'Segoe UI', sans-serif; background: #f9f9f9; margin:0;}
    .login-section { display:flex; min-height:100vh; }
    .login-left { flex:1; display:flex; justify-content:center; align-items:center; padding:2rem;
                  background: linear-gradient(-45deg, #0a1f34, #23a8bf, #0a1f34, #23a8bf);
                  background-size:400% 400%; animation:gradientFlow 12s ease infinite; }
    @keyframes gradientFlow {0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}

    .login-card { background: rgba(255,255,255,0.95); border-radius:20px; max-width:420px; width:100%;
                  padding:2rem; box-shadow:0 6px 20px rgba(0,0,0,0.15); animation:fadeSlideUp 1s ease; }
    @keyframes fadeSlideUp { from{opacity:0; transform:translateY(30px);} to{opacity:1; transform:translateY(0);} }

    /* Champ username animé */
    input.form-control {
      border-radius: 12px;
      transition: all 0.3s ease;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }
    input.form-control:focus {
      outline: none;
      border: 2px solid #ff914d;
      box-shadow: 0 0 10px rgba(255,145,77,0.5);
    }

    /* Bouton se connecter gamifié */
    .btn-rebond {
      background: linear-gradient(45deg, #0a1f34, #23a8bf, #ffc107);
      color: white;
      border-radius: 30px;
      font-weight: bold;
      padding: 12px 25px;
      font-size: 1rem;
      transition: all 0.3s ease;
      box-shadow: 0 5px 15px rgba(255,165,0,0.4);
      text-shadow: 0 2px 5px rgba(0,0,0,0.2);
      position: relative;
      overflow: hidden;
    }
    .btn-rebond:hover {
      transform: translateY(-3px) scale(1.05);
      box-shadow: 0 10px 25px rgba(255,165,0,0.6);
    }
    .btn-rebond::after {
      content: "";
      position: absolute;
      top: 0; left: -100%;
      width: 100%; height: 100%;
      background: rgba(255,255,255,0.2);
      transform: skewX(-20deg);
      transition: all 0.5s;
    }
    .btn-rebond:hover::after {
      left: 200%;
    }

    .login-right { flex:1; background:url("{% static 'images/bannire_rajocho.jpg' %}") no-repeat center center;
                   background-size:cover; display:flex; align-items:center; justify-content:center; color:white;
                   text-shadow:0px 2px 10px rgba(0,0,0,0.5); border-top-left-radius:2rem; border-bottom-left-radius:2rem;}

    .password-toggle { position: relative; }
    .password-toggle-btn {
      position: absolute;
      right: 0.75rem;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      cursor: pointer;
      font-size: 1.2rem;
      color: #555;
      transition: color 0.3s;
    }
    .password-toggle-btn:hover { color: #ff914d; }

    /* Bouton compléter profil animé */
    .btn-complete-profile {
      background: linear-gradient(135deg, #0a1f34, #23a8bf);
      color: white;
      font-weight: bold;
      border-radius: 30px;
      padding: 10px 20px;
      transition: all 0.4s ease;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
    .btn-complete-profile:hover {
      transform: scale(1.05);
      box-shadow: 0 8px 20px rgba(0,0,0,0.3);
      background: linear-gradient(135deg, #0a1f34, #23a8bf);
    }

    /* Shake animation pour erreur login */
    @keyframes shake {
      0%{ transform: translateX(0); }
      20%{ transform: translateX(-5px); }
      40%{ transform: translateX(5px); }
      60%{ transform: translateX(-5px); }
      80%{ transform: translateX(5px); }
      100%{ transform: translateX(0); }
    }
    .shake { animation: shake 0.5s; }
