/**
 * nline 회원메뉴 팝업 — N-Line account/subModal 디자인 매칭
 * (입금·출금·쪽지·문의·베팅·공지)
 */

/* ── 오버레이·셸 ── */
.nl-account-popup-layer.menu-popup-layer {
  padding: 20px 12px;
  background: rgba(8, 12, 20, 0.78);
  backdrop-filter: blur(2px);
}
.nl-account-popup.menu-popup {
  width: min(1200px, 100%);
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  height: min(92vh, 860px);
  max-height: min(92vh, 860px);
  background: var(--bg-color-light, #162133);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
}
.nl-account-popup-close.menu-popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 5;
  width: 28px;
  height: 28px;
  border: solid 1px var(--white-50);
  border-radius: 50%;
  background: transparent;
  padding: 0;
}
.nl-account-popup-close.menu-popup-close::before,
.nl-account-popup-close.menu-popup-close::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 2px;
  height: calc(100% - 10px);
  background: var(--white-50);
}
.nl-account-popup-close.menu-popup-close::before { transform: rotate(45deg); }
.nl-account-popup-close.menu-popup-close::after { transform: rotate(-45deg); }
.nl-account-popup-close.menu-popup-close:hover::before,
.nl-account-popup-close.menu-popup-close:hover::after {
  background: var(--orange);
}

.nl-account-popup-layout {
  flex-direction: column !important;
  height: 100%;
}
.nl-account-popup-tabs.menu-popup-tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: stretch;
  gap: 0;
  width: 100%;
  height: 60px;
  min-height: 60px;
  margin: 0;
  padding: 0 48px 0 0;
  border-bottom: solid 1px var(--white-10);
  background: transparent;
  overflow-x: auto;
  overflow-y: hidden;
  box-sizing: border-box;
  /* X 버튼 옆에 파란 스크롤바(thumb)가 보이지 않게 */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nl-account-popup-tabs.menu-popup-tabs::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
  background: transparent !important;
}
.nl-account-popup-tabs.menu-popup-tabs::-webkit-scrollbar-thumb {
  background: transparent !important;
}
.nl-account-popup-tab.menu-popup-tab {
  flex: 1 1 0;
  min-width: 0;
  min-height: 60px;
  height: 100%;
  padding: 0 6px;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: var(--white) !important;
  box-shadow: none !important;
  flex-direction: row;
  gap: 0;
  position: relative;
  justify-content: center;
}
.nl-account-popup-tab .menu-popup-tab-ico { display: none !important; }
.nl-account-popup-tab .menu-popup-tab-label {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
  color: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.nl-account-popup-tab::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  margin: 0 auto;
  background: var(--orange);
  opacity: 0;
  transition: 0.2s;
}
.nl-account-popup-tab:hover::after,
.nl-account-popup-tab[aria-selected="true"]::after {
  width: 100%;
  opacity: 1;
}
.nl-account-popup-tab[aria-selected="true"] {
  color: var(--orange) !important;
}
.nl-account-popup-tab .menu-popup-tab-count {
  display: inline !important;
  margin-left: 4px;
  margin-top: 0;
  color: var(--orange);
  white-space: nowrap;
}

.nl-account-popup-body.menu-popup-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 10px 12px 20px;
  background: var(--bg-color-light, #162133);
  color: var(--white);
  /* 전역 파란 스크롤바 대신 어두운 톤으로 (팝업 우측 파란 바 제거) */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}
.nl-account-popup-body.menu-popup-body::-webkit-scrollbar {
  width: 6px;
  background: transparent;
}
.nl-account-popup-body.menu-popup-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border: 0;
  border-radius: 6px;
}
.nl-account-popup.menu-popup::-webkit-scrollbar,
.nl-account-popup-layout::-webkit-scrollbar {
  width: 0 !important;
  display: none !important;
}
.nl-account-popup-content {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.nl-account-popup-content .account-content,
.nl-account-popup-content .nl-acc-wrap,
.nl-account-popup-content .account-table-wrap,
.nl-account-popup-content .account-notice,
.nl-account-popup-content .account-toolbar {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.nl-account-popup-content .account-notice,
.nl-account-popup-content .account-notice.info {
  margin-left: 0;
  margin-right: 0;
}
.nl-account-popup-body .menu-popup-loading {
  color: var(--white-50);
}

/* ── 입금/출금 본문 ── */
.nl-account-popup-content .nl-acc-wrap {
  width: 100%;
  text-align: left;
}
.nl-account-popup-content .nl-acc-subnav.subpg-nav {
  width: 100%;
  margin: 8px 0 22px;
  padding: 5px 3px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
}
.nl-account-popup-content .nl-acc-subnav a,
.nl-account-popup-content .nl-acc-subnav button {
  width: auto;
  min-width: 110px;
  height: 30px;
  margin: 0 4px;
  padding: 0 24px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
}
.nl-account-popup-content .nl-acc-subnav a:hover,
.nl-account-popup-content .nl-acc-subnav a.active,
.nl-account-popup-content .nl-acc-subnav a.is-active,
.nl-account-popup-content .nl-acc-subnav button:hover,
.nl-account-popup-content .nl-acc-subnav button.active,
.nl-account-popup-content .nl-acc-subnav button.is-active {
  background: var(--orange);
  color: #fff;
}

/* 쪽지·게시판·베팅 본문 */
.nl-account-popup-content .account-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}
.nl-account-popup-content .account-notice.info {
  margin: 4px 0 14px;
  padding: 10px 14px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 10px;
  background: var(--blue-light, #2a5a9a);
  color: #fff;
  font-size: 13px;
}
.nl-account-popup-content .account-table .badge {
  display: inline-block;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  color: #fff;
  background: #6c757d;
}
.nl-account-popup-content .account-table .badge.important { background: #e9334f; }
.nl-account-popup-content .account-table .badge.read { background: #0783ff; }
.nl-account-popup-content .account-table .badge.success { background: #28a745; }
.nl-account-popup-content .account-table .icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 5px;
  border: 0;
  background: none;
  color: #cd431c;
  border-radius: 4px;
  cursor: pointer;
}
.nl-account-popup-content .account-table .icon-button svg {
  width: 16px;
  height: 16px;
}
.nl-account-popup-content .account-table .icon-button:hover {
  color: #ff6a3d;
}
.nl-account-popup-content .account-table .message-title,
.nl-account-popup-content .account-table .title-cell a {
  background: none;
  border: 0;
  padding: 0;
  color: #111;
  font-size: inherit;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
}
.nl-account-popup-content .account-table .message-title:hover,
.nl-account-popup-content .account-table .title-cell a:hover {
  color: var(--orange);
  text-decoration: underline;
}
.nl-account-popup-content .memo-detail-row td {
  height: auto;
  background: #f7f7f7;
  text-align: left;
  padding: 0;
}
.nl-account-popup-content .memo-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.nl-account-popup-content .memo-detail-row.is-open .memo-accordion-panel,
.nl-account-popup-content .memo-accordion-panel.is-open {
  max-height: 480px;
}
.nl-account-popup-content .memo-accordion-body {
  padding: 12px 14px;
  color: #222;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
}
/* 포인트전환 — 머니이동형 카드 */
.nl-account-popup-content .nl-pc-transfer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}
.nl-account-popup-content .nl-pc-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--white-10, rgba(255,255,255,0.1));
}
.nl-account-popup-content .nl-pc-card-ico {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(243, 129, 53, 0.18);
  color: var(--orange, #f38135);
}
.nl-account-popup-content .nl-pc-card-ico .local-icon,
.nl-account-popup-content .nl-pc-card-ico svg {
  width: 18px;
  height: 18px;
}
.nl-account-popup-content .nl-pc-card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nl-account-popup-content .nl-pc-card-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.nl-account-popup-content .nl-pc-card-value {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  word-break: break-all;
}
.nl-account-popup-content .nl-pc-arrow {
  flex: 0 0 auto;
}
.nl-account-popup-content .nl-pc-arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange, #f38135);
  color: #fff;
}
.nl-account-popup-content .nl-pc-arrow-btn .local-icon,
.nl-account-popup-content .nl-pc-arrow-btn svg {
  width: 16px;
  height: 16px;
}
.nl-account-popup-content .nl-pc-guide-title {
  margin: 0 0 8px;
  font-weight: 700;
  color: #fff;
}
@media (max-width: 767px) {
  .nl-account-popup-content .nl-pc-transfer {
    flex-wrap: wrap;
  }
  .nl-account-popup-content .nl-pc-arrow {
    width: 100%;
    text-align: center;
  }
}

.nl-account-popup-content .nl-bh-filter {
  justify-content: flex-start;
}
.nl-account-popup-content .bh-detail-btn {
  min-width: 52px;
  height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  background: var(--blue, #2b81de);
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}
.nl-account-popup-content .bh-detail-btn:hover {
  background: var(--blue-hover, #1f6fc0);
}
.nl-account-popup-content .bh-td-detail {
  text-align: center;
}
.nl-account-popup-content .bh-type-badge {
  display: inline-block;
  min-width: 42px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  color: #fff;
  background: #6c757d;
}
.nl-account-popup-content .bh-type-badge.is-win { background: #28a745; }
.nl-account-popup-content .bh-type-badge.is-lose { background: #e9334f; }
.nl-account-popup-content .bh-type-badge.is-cancel,
.nl-account-popup-content .bh-type-badge.is-push { background: #6c757d; }
.nl-account-popup-content .bh-type-badge.is-pending { background: var(--orange, #f38135); }
.nl-account-popup-content .nl-bh-filter .bh-date {
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--white-20, rgba(255,255,255,0.2));
  border-radius: 5px;
  background: rgba(0,0,0,0.25);
  color: #fff;
}
.nl-account-popup-content .nl-bh-filter .bh-date-sep {
  color: var(--white-50);
}
.nl-account-popup-content .nl-bh-filter .bh-game-select {
  min-width: 140px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--white-20, rgba(255,255,255,0.2));
  border-radius: 5px;
  background: rgba(0,0,0,0.25);
  color: #fff;
  font-size: 12px;
}
.nl-account-popup-content .nl-bh-filter .bh-game-select option {
  color: #111;
  background: #fff;
}
/* 쪽지 상세 — 목록에서 페이지 전환 (흰 카드) */
.nl-account-popup-content .nl-memo-detail-toolbar {
  margin-bottom: 12px;
}
.nl-account-popup-content .nl-memo-detail-card {
  margin: 0;
  padding: 22px 24px;
  border-radius: 8px;
  background: #fff;
  color: #111;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.nl-account-popup-content .nl-memo-detail-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 14px;
  margin: 0 0 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.nl-account-popup-content .nl-memo-detail-head .badge.important {
  background: var(--orange, #f38135);
  color: #fff;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
}
.nl-account-popup-content .nl-memo-detail-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
}
.nl-account-popup-content .nl-memo-detail-title.is-important {
  color: var(--orange, #f38135);
}
.nl-account-popup-content .nl-memo-detail-body {
  color: #222;
  font-size: 14px;
  line-height: 1.75;
  word-break: break-word;
  white-space: pre-wrap;
}
.nl-account-popup-content .nl-memo-detail-body p {
  margin: 0 0 0.6em;
}
.nl-account-popup-content .nl-memo-detail-body p:last-child {
  margin-bottom: 0;
}

.nl-account-popup-content .nl-acc-view {
  margin: 0 0 14px;
  padding: 16px 18px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--white-10);
}
.nl-account-popup-content .nl-acc-view-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}
.nl-account-popup-content .nl-acc-view-meta {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--white-50);
}
.nl-account-popup-content .nl-acc-view-body {
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  line-height: 1.7;
  word-break: break-word;
}
.nl-account-popup-content .nl-acc-reply {
  border-left: 3px solid var(--orange);
}
.nl-account-popup-content .inquiry-form .infos {
  align-items: stretch;
}
.nl-account-popup-content .inquiry-form textarea {
  width: 100%;
  height: 200px;
  min-height: 200px;
  padding: 10px 12px;
  border: 1px solid var(--white-20, rgba(255,255,255,0.2));
  border-radius: 6px;
  background: rgba(0,0,0,0.2);
  color: #fff;
  resize: vertical;
  box-sizing: border-box;
}
.nl-account-popup-content .inquiry-form .form-footer .btn-blue {
  min-width: 160px;
  height: 42px;
}
.nl-account-popup-content .form-container {
  margin-top: 8px;
  float: none;
  display: block;
}
.nl-account-popup-content .form-group {
  float: none;
  margin: 0 0 18px;
}
.nl-account-popup-content .form-container .labels {
  float: none;
}
.nl-account-popup-content .form-container .infos {
  float: none;
}
.nl-account-popup-content .form-container .form-group .infos .btn-grp {
  float: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.nl-account-popup-content .form-container .form-group .infos .btn-grp button {
  float: none;
  flex: 1 1 0;
  min-width: 70px;
  width: auto;
  margin: 0;
}
.nl-account-popup-content .form-footer {
  float: none;
  margin: 24px 0 0;
  justify-content: flex-start;
  gap: 8px;
}
.nl-account-popup-content .form-footer .btn-orange,
.nl-account-popup-content .form-footer .btn-blue,
.nl-account-popup-content .form-footer .dp-submit {
  width: auto;
  min-width: 160px;
  height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
}
/* 입금신청·출금하기 제출 버튼: money.css 골드/아웃라인 덮어쓰고 파란색 고정 */
.nl-account-popup-content .form-footer .dp-submit.btn-blue,
.nl-account-popup-content .form-footer button.dp-submit.btn-blue {
  background: var(--blue, #2b81de) !important;
  background-image: none !important;
  border: 0 !important;
  color: #fff !important;
}
.nl-account-popup-content .form-footer .dp-submit.btn-blue:hover,
.nl-account-popup-content .form-footer button.dp-submit.btn-blue:hover {
  background: var(--blue-hover, #1f6fc0) !important;
  color: #fff !important;
}
.nl-account-popup-content .form-footer .ml-auto { margin-left: auto !important; }
.nl-account-popup-content .form-footer .local-icon {
  width: 16px;
  height: 16px;
  color: #fff;
}
.nl-account-popup-content .nl-acc-guide .description,
.nl-account-popup-content .withdrawal-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1.7;
  word-break: keep-all;
}
.nl-account-popup-content .nl-acc-guide .description p,
.nl-account-popup-content .withdrawal-description p {
  margin: 0 0 10px;
}
.nl-account-popup-content .nl-acc-bonus-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.nl-account-popup-content .nl-acc-bonus-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 13px;
  cursor: pointer;
}
.nl-account-popup-content .dp-alert {
  margin: 8px 0 0;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
}
.nl-account-popup-content .dp-alert-error {
  background: rgba(255, 101, 65, 0.15);
  color: #ff8f75;
}
.nl-account-popup-content .dp-alert-success {
  background: rgba(22, 226, 31, 0.12);
  color: #7dff84;
}

/* 입금/출금 롤링 블록 */
.nl-account-popup-content .wd-rolling,
.nl-account-popup-content [class*="rolling"] {
  margin: 0 0 16px;
}

/* 테이블 (쪽지·공지·내역) */
.nl-account-popup-content .account-table-wrap { overflow-x: auto; }
.nl-account-popup-content .account-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.nl-account-popup-content .account-table th {
  height: 44px;
  background: var(--orange-dark);
  border-bottom: 4px solid var(--bg-color-light);
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  padding: 0 8px;
}
.nl-account-popup-content .account-table th:first-child { border-radius: 10px 0 0 10px; }
.nl-account-popup-content .account-table th:last-child { border-radius: 0 10px 10px 0; }
.nl-account-popup-content .account-table td {
  height: 48px;
  background: #fff;
  color: #111;
  font-size: 12px;
  text-align: center;
  padding: 8px;
}
.nl-account-popup-content .account-table .money-cell { color: #d84920; }
.nl-account-popup-content .account-table .empty-row td {
  color: #555;
  border: 1px solid #dedede;
}

/* 공통 본문(쪽지·게시판·베팅) — 다크 패널에 맞게 */
.nl-account-popup-content .bb-wrap,
.nl-account-popup-content .bt-wrap,
.nl-account-popup-content .memo-wrap {
  background: transparent;
  color: var(--white);
  text-align: left;
}
.nl-account-popup-content .bb-head,
.nl-account-popup-content .bt-head {
  border-color: var(--white-10);
}
.nl-account-popup-content .bb-title,
.nl-account-popup-content .bt-title {
  color: #fff;
}
.nl-account-popup-content .bb-table,
.nl-account-popup-content .bt-table,
.nl-account-popup-content .memo-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.nl-account-popup-content .bb-table th,
.nl-account-popup-content .bt-table th,
.nl-account-popup-content .memo-table th {
  height: 44px;
  background: var(--orange-dark);
  color: #fff;
  border: 0;
  font-weight: 500;
}
.nl-account-popup-content .bb-table th:first-child,
.nl-account-popup-content .bt-table th:first-child,
.nl-account-popup-content .memo-table th:first-child { border-radius: 10px 0 0 10px; }
.nl-account-popup-content .bb-table th:last-child,
.nl-account-popup-content .bt-table th:last-child,
.nl-account-popup-content .memo-table th:last-child { border-radius: 0 10px 10px 0; }
.nl-account-popup-content .bb-table td,
.nl-account-popup-content .bt-table td,
.nl-account-popup-content .memo-table td {
  background: #fff;
  color: #111;
  border-color: #eee;
}
.nl-account-popup-content .bb-btn,
.nl-account-popup-content .account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 4px 12px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: var(--orange);
  font-size: 13px;
  cursor: pointer;
}
.nl-account-popup-content .bb-btn.bb-btn-primary,
.nl-account-popup-content .account-button.blue {
  background: var(--blue);
}
.nl-account-popup-content .bb-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  margin-bottom: 10px;
}
.nl-account-popup-content .bb-pagination a,
.nl-account-popup-content .bb-pagination span,
.nl-account-popup-content .nl-acc-paging a,
.nl-account-popup-content .nl-acc-paging span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  margin: 2px;
  padding: 0 8px;
  border-radius: 4px;
  background: var(--white-10);
  color: #fff;
  text-decoration: none;
}
.nl-account-popup-content .bb-pagination .active,
.nl-account-popup-content .nl-acc-paging .active {
  background: var(--orange);
}

@media (max-width: 800px) {
  /* 모바일: 팝업이 디바이스 가로폭을 넘지 않도록 */
  .nl-account-popup-layer.menu-popup-layer {
    width: 100%;
    max-width: 100vw;
    max-width: 100dvw;
    padding: 8px;
    padding-left: max(8px, env(safe-area-inset-left, 0px));
    padding-right: max(8px, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .nl-account-popup.menu-popup {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: min(96vh, 100%);
    max-height: min(96dvh, 100%);
    border-radius: 8px;
    box-sizing: border-box;
  }
  .nl-account-popup-layout,
  .nl-account-popup-body.menu-popup-body,
  .nl-account-popup-content,
  .nl-account-popup-content .nl-acc-wrap,
  .nl-account-popup-content .account-content,
  .nl-account-popup-content .form-container,
  .nl-account-popup-content .bh-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .nl-account-popup-content .row {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
  .nl-account-popup-content .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }
  .nl-account-popup-tabs.menu-popup-tabs {
    height: auto;
    min-height: 0;
    padding: 8px 40px 8px 0;
    flex-wrap: nowrap;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
  }
  .nl-account-popup-tab.menu-popup-tab {
    flex: 1 1 0;
    min-height: 40px;
    padding: 0 4px;
  }
  .nl-account-popup-tab .menu-popup-tab-label { font-size: 12px; }
  .nl-account-popup-body.menu-popup-body { padding: 8px 10px 16px; }
  .nl-account-popup-content .nl-acc-subnav.subpg-nav {
    flex-wrap: wrap;
  }
  .nl-account-popup-content .nl-acc-subnav a,
  .nl-account-popup-content .nl-acc-subnav button {
    min-width: 0;
    flex: 1 1 auto;
    padding: 0 12px;
  }
  .nl-account-popup-content .form-container .form-group .infos .btn-grp button {
    min-width: 0;
    flex: 1 1 calc(33.333% - 4px);
  }
  .nl-account-popup-content .form-footer {
    flex-direction: column;
  }
  .nl-account-popup-content .form-footer .ml-auto { margin-left: 0 !important; width: 100%; }
  .nl-account-popup-content .form-footer .btn-orange,
  .nl-account-popup-content .form-footer .btn-blue,
  .nl-account-popup-content .form-footer .dp-submit {
    width: 100%;
    min-width: 0;
  }
  .nl-account-popup-content .nl-acc-guide { padding-top: 12px !important; }
  .nl-account-popup-content .account-table-wrap,
  .nl-account-popup-content .bh-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
