/* /register — password eye toggles and the plan dropdown with full plan details. */
[hidden] { display: none !important; }
.lm-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Password fields with an eye button */
.lm-pw-wrap { position: relative; display: block; }
.lm-pw-wrap input { width: 100%; padding-inline-end: 46px; }
.lm-pw-toggle {
  position: absolute; top: 50%; inset-inline-end: 6px; transform: translateY(-50%);
  width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent;
  color: #5f7880; cursor: pointer; display: grid; place-items: center; font-size: 16px;
}
.lm-pw-toggle:hover, .lm-pw-toggle:focus-visible { background: #eaf8f5; color: #079f83; outline: none; }
.lm-pw-toggle[aria-pressed="true"] { color: #0b9b7c; }

/* Plan dropdown */
.lm-plan-dd { position: relative; margin-bottom: 8px; }
.lm-plan-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #fff; border: 1px solid #c9d8dc; border-radius: 14px; padding: 13px 16px;
  font: inherit; font-weight: 700; color: #123847; cursor: pointer; text-align: start;
  box-shadow: 0 2px 6px rgba(18,56,71,.05); transition: border-color .15s, box-shadow .15s;
}
.lm-plan-trigger:hover, .lm-plan-trigger[aria-expanded="true"] { border-color: #13cda3; box-shadow: 0 0 0 3px rgba(19,205,163,.18); }
.lm-plan-trigger i { color: #079f83; transition: transform .2s; }
.lm-plan-trigger[aria-expanded="true"] i { transform: rotate(180deg); }
.lm-plan-menu {
  position: absolute; inset-inline: 0; top: calc(100% + 6px); z-index: 30; list-style: none; margin: 0;
  padding: 6px; background: #fff; border: 1px solid #d7e2e5; border-radius: 16px;
  box-shadow: 0 18px 40px rgba(18,56,71,.18); max-height: 340px; overflow: auto;
}
.lm-plan-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border-radius: 12px; cursor: pointer; color: #123847;
}
.lm-plan-item:hover, .lm-plan-item:focus-visible { background: #eaf8f5; outline: none; }
.lm-plan-item[aria-selected="true"] { background: #d9f5ee; }
.lm-plan-item-name { font-weight: 800; }
.lm-plan-item-price { color: #079f83; font-weight: 700; font-size: .85rem; white-space: nowrap; }

.lm-plan-details { margin-top: 14px; }
.lm-plan-details:empty::before {
  content: "اختر باقة من القائمة لعرض تفاصيلها كاملة"; display: block; text-align: center;
  padding: 26px; border: 1px dashed #b9d3d6; border-radius: 16px; color: #5f7880; font-weight: 600;
}
.lm-pd-card {
  border-radius: 20px; padding: 22px; color: #fff;
  background: linear-gradient(135deg, #0f3d4a 0%, #0b6e62 55%, #0fa58a 100%);
  box-shadow: 0 16px 36px rgba(11,110,98,.30); animation: lmPdIn .28s ease-out;
}
@keyframes lmPdIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.lm-pd-head h4 { margin: 0 0 4px; font-size: 1.25rem; font-weight: 900; }
.lm-pd-head p { margin: 0; opacity: .9; font-size: .92rem; line-height: 1.6; }
.lm-pd-price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0; }
.lm-pd-price strong { font-size: 2rem; font-weight: 900; }
.lm-pd-price span { opacity: .85; }
.lm-pd-facts { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 9px; }
.lm-pd-facts li {
  display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.10);
  border-radius: 12px; padding: 9px 12px; font-size: .9rem;
}
.lm-pd-facts li i { width: 18px; text-align: center; color: #aef5e4; }
.lm-pd-facts b { font-weight: 800; }
.lm-pd-cta {
  width: 100%; border: 0; border-radius: 14px; padding: 14px; background: #fff; color: #0b6e62;
  font: inherit; font-weight: 900; font-size: 1rem; cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.18); transition: transform .12s, box-shadow .12s;
}
.lm-pd-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(0,0,0,.24); }
