/* Styles de labeller/templates/labeller/core/login.html (déplacés tels quels depuis le
   <style> inline, audit 2026-09-22 G.10). */
   :root{
    --card-bg: rgba(18, 35, 54, .88);
    --radius: 1rem;
    --accent: #2980b9;
    --text-light: #fff;
    --shadow: 0 8px 20px rgba(0,0,0,0.25);
    --transition: 0.3s ease;
  }
  body{
    margin:0;
    padding:0;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-img) center/cover no-repeat fixed !important;
  }
    .auth-page > header { display: none; }
    .auth-main { width: 100%; min-height: 100vh; min-height: 100svh; }
    .login-wrapper {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      min-height: 100svh;
      text-align: center;
      padding: 1rem;
    }
    .logo-title {
      font-size: 3rem;
      color: var(--text-light);
      font-weight: bold;
      text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
      margin-bottom: 2rem;
    }
    .login-card {
      background: var(--card-bg);
      padding: 2rem 1.5rem;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      width: 100%;
      max-width: 390px;
      border: 1px solid rgba(255,255,255,.2);
      backdrop-filter: blur(14px);
    }
    .login-card h2 {
      margin: 0 0 1rem;
      color: var(--text-light);
    }
    .login-card label {
      display: block;
      text-align: left;
      color: var(--text-light);
      margin-bottom: 0.25rem;
      font-size: 0.9rem;
    }
    .login-card input {
      width: 100%;
      padding: 0.75rem;
      margin-bottom: 1rem;
      border: none;
      border-radius: 0.5rem;
      font-size: 1rem;
      color: var(--text-color);
      background: var(--surface);
    }
    .password-wrap {
      position: relative;
    }
    .password-wrap input {
      padding-right: 2.8rem;
    }
    .login-card button {
      width: 100%;
      padding: 0.75rem;
      background: var(--accent);
      color: var(--text-light);
      border: none;
      border-radius: 0.5rem;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: background var(--transition);
    }
    .login-card button:hover {
      background: #2379a7;
    }
    .login-card button:disabled {
      opacity: 0.7;
      cursor: wait;
    }
    .login-card .eye-toggle {
      position: absolute;
      right: 0.3rem;
      top: 50%;
      transform: translateY(-50%);
      width: auto;
      padding: 0.4rem 0.6rem;
      background: transparent;
      color: var(--text-color);
      font-size: .82rem;
      font-weight: 700;
      line-height: 1;
      border: none;
      cursor: pointer;
    }
    .login-card .eye-toggle:hover {
      background: transparent;
      color: var(--text-color);
    }
    .error-msg {
      color: #fff;
      background: rgba(198, 63, 53, .82);
      border-radius: .5rem;
      padding: .65rem .75rem;
      font-size: 0.88rem;
      margin-bottom: 1rem;
    }
