/**
 * Kapela — Style : Mobile money : choix du réseau et confirmation
 * Auteur : Jacks Ngalangala
 */

/* Mobile money : choix du réseau */
.mmnets {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.mmnet {
  width: 84px;
  height: 64px;
  padding: 6px;
  border: 2px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    border-color 0.12s,
    box-shadow 0.12s;
}
.mmnet img {
  max-width: 70px;
  max-height: 50px;
  width: auto;
  height: auto;
  display: block;
}
.mmnet {
  overflow: hidden;
}
.mmnet {
  position: relative;
}
.mmnet:hover {
  border-color: var(--ink);
}
.mmnet.on {
  border-color: #1f9d55;
  box-shadow: 0 0 0 3px rgba(31, 157, 85, 0.22);
}
.mmnet.on::after {
  content: '✓';
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1f9d55;
  color: #fff;
  font:
    700 12px/20px system-ui,
    sans-serif;
  text-align: center;
}
.mmnets:has(.on) .mmnet:not(.on) {
  opacity: 0.45;
  filter: grayscale(0.7);
}
.mmnets:has(.on) .mmnet:not(.on):hover {
  opacity: 0.8;
  filter: none;
}
.mmphone {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 8px;
}
.mmconf {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
}
.mmconf img {
  height: 44px;
  width: auto;
}
.mmconf small {
  display: block;
}
.mmconf b {
  font-size: 24px;
  letter-spacing: 0.02em;
}
