/*
 * megatel-modalfix-20261127.css — Megatel portal: full-screen pop-ups.
 * Owner 2026-11-27: "Add a channel partner" form's bottom (Cancel / Create as
 * Pending) was cut off.
 *
 * megatel-v2.css animates every page section in with `mg-rise ... both`. The
 * `both` fill keeps `transform: translate3d(0,0,0)` on the section after the
 * animation ends, and any transform makes that section the containing block
 * for `position: fixed` children — so ATC's shared Modal (fixed inset-0),
 * rendered inside the section, was sized to the section, not the screen.
 * `backwards` plays the same entrance and then drops the transform.
 * Applies to every Megatel page; nothing visible changes except pop-ups.
 * /assets is immutable: to change this file, RENAME it and repoint the <link>.
 */
.mg-root .mg-shell .mg-main .mg-page > * {
  animation-fill-mode: backwards !important;
}
/* ATC's PageContainer spaces its children with space-y-*, which also puts a
   16px top margin on a full-screen overlay rendered among them */
.mg-root .mg-shell .mg-main .mg-page .fixed.inset-0 {
  margin: 0 !important;
}
