/**
 * Kapela — Style : Écran de connexion, pavé de code et choix du personnel
 * Auteur : Jacks Ngalangala
 */

/* ───────── Connexion ───────── */
.login {
  min-height: 100vh;
  background: #f4f1ea;
  color: #1a1714;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 40px 16px;
  font-family: Manrope, sans-serif;
}
.login::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 600px at 50% -10%, #fbfaf6 0, transparent 60%);
  pointer-events: none;
}
.lwm {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  opacity: 0.025;
  pointer-events: none;
}
.lwrap {
  position: relative;
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lcard {
  position: relative;
  width: 100%;
  background: #fbfaf6;
  border: 1px solid #e2dcd0;
  border-radius: 4px;
  padding: 52px 48px 40px;
  box-shadow: 0 40px 80px -40px rgba(26, 23, 20, 0.35);
}
.lcard::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid #ece7dc;
  border-radius: 2px;
  pointer-events: none;
}
.lcard > * {
  position: relative;
  z-index: 1;
}
.lhead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-bottom: 34px;
}
.lhead .logo {
  color: #1a1714;
}
.lrule {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #7a6440;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
}
.lrule i {
  width: 28px;
  height: 1px;
  background: #c9bfae;
}
.lh {
  margin: 0;
  font-family: 'Bodoni Moda', serif;
  font-weight: 500;
  font-size: 46px;
  line-height: 1.05;
  text-align: center;
}
.lh em {
  font-weight: 400;
}
.ls {
  margin: -10px 0 0;
  color: #6b6359;
  font-size: 14px;
  text-align: center;
}
.lf {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: text;
  margin-bottom: 8px;
}
.lf .l {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #6b6359;
}
.lf .lw {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #1a1714;
  padding: 6px 0 10px;
}
.lf .lw > svg {
  color: #a79e92;
  flex: none;
}
.lf.on .lw > svg {
  color: #1a1714;
}
.lf input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font:
    500 16px Manrope,
    sans-serif;
  outline: none;
  color: #1a1714;
  padding: 0;
}
.lf input::placeholder {
  color: #b9b0a2;
}
.leye {
  width: 30px;
  height: 30px;
  border: 0;
  background: none;
  color: #a79e92;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.leye:hover {
  color: #1a1714;
}
.lrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #6b6359;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.lrow .check input {
  width: 16px;
  height: 16px;
}
.lgo {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 2px;
  background: #1a1714;
  color: #f4f1ea;
  font:
    700 13px Manrope,
    sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
}
.lgo b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c4501a;
}
.lgo:hover {
  background: #2a2520;
}
.lgo:disabled {
  opacity: 0.6;
}
.lalt {
  width: 100%;
  height: 48px;
  border: 1px solid #e2dcd0;
  background: transparent;
  border-radius: 2px;
  font:
    600 14px Manrope,
    sans-serif;
  color: #1a1714;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}
.lalt:hover {
  border-color: #1a1714;
}
.lnote {
  font-size: 13px;
  color: #6b6359;
  background: #f1ede4;
  border-left: 2px solid #c4501a;
  padding: 10px 12px;
  line-height: 1.45;
}
.lerr {
  font-size: 13px;
  font-weight: 600;
  color: #b3261e;
  background: #f6e3e1;
  border-radius: 2px;
  padding: 10px 12px;
}
.lfoot {
  position: relative;
  margin-top: 28px;
  font-size: 11px;
  color: #a79e92;
  letter-spacing: 1px;
  text-align: center;
}
.login .staff button {
  background: #fff;
  border-color: #e2dcd0;
  border-radius: 2px;
}
.login .staff button:hover {
  border-color: #1a1714;
}
.login .pinpad button {
  background: #fff;
  border-color: #e2dcd0;
  font-family: 'Bodoni Moda', serif;
  font-weight: 500;
  border-radius: 2px;
}
.login .pinpad button.ok {
  background: #1a1714;
  color: #f4f1ea;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 700;
}
.login .pindots i {
  border-color: #1a1714;
}
.login .pindots i.on {
  background: #1a1714;
}
@media (max-width: 520px) {
  .lh {
    font-size: 40px;
  }
  .lcard {
    padding: 40px 24px 30px;
  }
  .login {
    padding: 28px 14px;
  }
  .lhead {
    gap: 18px;
    margin-bottom: 28px;
  }
}
.pinpad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pinpad button {
  height: 64px;
  border: 1px solid var(--line);
  border-radius: var(--r-ui);
  background: var(--surf);
  font-size: 24px;
  font-weight: 600;
  cursor: pointer;
}
.pinpad button:active {
  background: var(--line2);
}
.pindots {
  display: flex;
  gap: 14px;
  justify-content: center;
  height: 24px;
  align-items: center;
}
.pindots i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--ink);
}
.pindots i.on {
  background: var(--ink);
}
.staff {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
}
.staff button {
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surf);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px;
}
.staff button.on {
  background: var(--dark);
  color: var(--dark-t);
  border-color: var(--dark);
}
.staff b {
  font-size: 14px;
}
.staff small {
  font-size: 11px;
  opacity: 0.7;
}
