@charset "UTF-8";
.portlet-content {
  min-height: 0px !important; }

.noti-block {
  display: block; }

.notification-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 1%;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.4); }

.notification-popup-content-noti {
  background-color: #fefefe;
  margin: auto;
  border: 1px solid #888;
  width: 58%;
  color: #222; }

.notification-popup-content-noti-v2 {
  background-color: #fefefe;
  margin: auto;
  border: 1px solid #888;
  width: 3%;
  color: #222; }

.notification-popup-noti-v2 {
  display: none;
  position: fixed;
  z-index: 9998;
  padding-top: 1%;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.4); }

.notification-popup-otp {
  display: none;
  position: fixed;
  z-index: 9998;
  padding-top: 1%;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.4); }

.notification-popup-noti-VNeID {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 2%;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.4); }

.display-block-popup {
  display: block !important; }

.header-popup-VNeID {
  background: #FFFFFF;
  border-bottom: 1px solid gainsboro; }

.btn-VNeID:hover {
  background: #0F4871 !important;
  color: #FFFFFF !important; }

.btn-close-VNeID {
  background: #0F4871 !important;
  color: #FFFFFF !important; }

.btn-close-VNeID:hover {
  opacity: 0.9; }

.title-noti-VNeID {
  font-weight: bold;
  padding: 0px;
  margin: 8px;
  color: #0F4871 !important;
  font-size: 16px !important;
  line-height: 24px !important; }

.btn-VNeID {
  background: #FFFFFF;
  color: #105E96 !important;
  cursor: pointer !important;
  width: 40%;
  margin-top: 50px !important;
  margin-bottom: 60px !important;
  border: 1px solid #105E96 !important;
  border-radius: 10px !important;
  font-size: 14px !important; }

.notification-popup-content {
  background-color: #fefefe;
  margin: auto;
  border: 1px solid #888;
  width: 58%;
  color: #222; }

.notification-popup-close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold; }

.notification-popup-close:hover,
.notification-popup-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer; }

.notification-popup .title-noti-popup {
  color: white;
  font-size: 18px;
  line-height: 24px; }

.notification-popup .sw-tile-bg {
  background: #007aa4; }

.notification-popup .btn-primary {
  background-color: #007aa4 !important;
  border-color: #007aa4 !important; }

.notification-popup p {
  margin-bottom: 1px !important; }

/* ==========================================================================
   MoF Channel Popup (port từ egp-ebid mof-channel-popup.component.scss)
   ========================================================================== */
.mof-popup-overlay {
  --mof-navy-1: #0d2a5c;
  --mof-navy-2: #16407f;
  --mof-gold-1: #d8a52a;
  --mof-gold-2: #f0c04f;
  --mof-fb: #1877f2;
  --mof-fb-2: #0f5fd6;
  --mof-zalo: #0068ff;
  --mof-zalo-1: #0084ff;
  --mof-ink: #1c2b4a;
  --mof-muted: #7a8399;
  --mof-border: #e6eaf1;
  --mof-soft: #f6f8fb;
  position: fixed;
  z-index: 9990;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(2, 19, 44, 0.6);
  overflow: auto; }

/* Popup cao hơn chiều cao màn hình thì phần thân tự cuộn, header/footer luôn nhìn thấy */
.mof-popup {
  display: flex;
  flex-direction: column;
  width: 490px;
  max-width: 100%;
  max-height: calc(100vh - 64px);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  font-family: inherit;
  color: var(--mof-ink);
  box-shadow: 0 25px 60px rgba(2, 19, 44, 0.28); }

/* ---------- Header ---------- */
.mof-popup__header {
  position: relative;
  flex: none;
  padding: 15px 46px 17px 20px;
  background: linear-gradient(135deg, var(--mof-navy-1) 0%, var(--mof-navy-2) 100%);
  color: #fff;
  border-top: 3px solid var(--mof-gold-1); }

.mof-popup__close {
  position: absolute;
  top: 12px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  border-radius: 6px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: background .18s ease; }
  .mof-popup__close:hover {
    background: rgba(255, 255, 255, 0.3); }
  .mof-popup__close:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6); }
  .mof-popup__close:disabled {
    opacity: .45;
    cursor: not-allowed; }
    .mof-popup__close:disabled:hover {
      background: rgba(255, 255, 255, 0.14); }

.mof-popup__eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .5px;
  color: var(--mof-gold-2);
  text-transform: uppercase; }
  .mof-popup__eyebrow svg {
    flex: none; }

.mof-popup__title {
  margin: 5px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff; }

/* ---------- Body ---------- */
.mof-popup__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 20px 18px; }
  .mof-popup__body::-webkit-scrollbar {
    width: 6px; }
  .mof-popup__body::-webkit-scrollbar-thumb {
    background: #d5dbe6;
    border-radius: 3px; }

/* Tiêu đề nhóm + đường kẻ mảnh chạy hết phần còn lại */
.mof-popup__section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .7px;
  color: var(--mof-gold-1);
  text-transform: uppercase; }
  .mof-popup__section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--mof-border); }

/* Khối 4 tính năng của phiên bản Agent mới */
.mof-popup__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-bottom: 16px; }

.mof-popup__feature {
  padding: 10px 12px 11px;
  background: var(--mof-soft);
  border-radius: 8px; }

.mof-popup__feature-head {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-bottom: 4px; }

.mof-popup__feature-icon {
  flex: none;
  margin-top: 1px;
  color: var(--mof-fb); }

.mof-popup__feature-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mof-ink);
  line-height: 1.25; }

.mof-popup__feature-desc {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--mof-muted); }

.mof-popup__desc {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.6;
  color: #55607a; }
  .mof-popup__desc strong {
    color: var(--mof-ink);
    font-weight: 700; }

/* ---------- 2 kênh thông tin ---------- */
.mof-popup__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: stretch; }

.mof-popup__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px 15px;
  background: #fbfcfe;
  border: 1px solid var(--mof-border);
  border-radius: 10px;
  text-align: center;
  transition: border-color .18s ease, box-shadow .18s ease; }
  .mof-popup__card:hover {
    border-color: #d3dcea;
    box-shadow: 0 4px 14px rgba(20, 40, 80, 0.06); }

.mof-popup__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .2px; }
  .mof-popup__badge--fb {
    color: #fff;
    background: var(--mof-fb); }
  .mof-popup__badge--zalo {
    color: var(--mof-zalo);
    background: #fff;
    border: 1px solid var(--mof-border); }

.mof-popup__card-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--mof-ink); }

.mof-popup__card-sub {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--mof-muted);
  word-break: break-word; }

/* Nút "Theo dõi ngay" */
.mof-popup__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  padding: 9px 20px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
  .mof-popup__btn--fb {
    background: linear-gradient(135deg, var(--mof-fb), var(--mof-fb-2));
    box-shadow: 0 8px 16px rgba(24, 119, 242, 0.3); }
  .mof-popup__btn:hover {
    color: #fff;
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 12px 22px rgba(24, 119, 242, 0.4); }

/* Khung QR Zalo */
.mof-popup__qr {
  position: relative;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eef1f7; }
  .mof-popup__qr img {
    display: block;
    width: 130px;
    height: 130px;
    object-fit: contain;
    border-radius: 4px; }

.mof-popup__qr-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2.5px solid var(--mof-zalo-1); }
  .mof-popup__qr-corner--tl {
    top: 4px;
    left: 4px;
    border-right: none;
    border-bottom: none;
    border-radius: 6px 0 0 0; }
  .mof-popup__qr-corner--tr {
    top: 4px;
    right: 4px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 6px 0 0; }
  .mof-popup__qr-corner--bl {
    bottom: 4px;
    left: 4px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 6px; }
  .mof-popup__qr-corner--br {
    bottom: 4px;
    right: 4px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 6px 0; }

/* ---------- Footer ---------- */
.mof-popup__footer {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 20px 14px;
  background: #fafbfd;
  border-top: 1px solid var(--mof-border); }

.mof-popup__checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  cursor: pointer;
  user-select: none; }
  .mof-popup__checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0; }

.mof-popup__checkbox-box {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border: 1.6px solid #c4cbd9;
  border-radius: 4px;
  color: #fff;
  background: #fff;
  transition: background .16s ease, border-color .16s ease; }
  .mof-popup__checkbox-box svg {
    opacity: 0;
    transition: opacity .16s ease; }

.mof-popup__checkbox:hover .mof-popup__checkbox-box {
  border-color: var(--mof-gold-1); }

.mof-popup__checkbox input:checked + .mof-popup__checkbox-box {
  background: var(--mof-gold-1);
  border-color: var(--mof-gold-1); }
  .mof-popup__checkbox input:checked + .mof-popup__checkbox-box svg {
    opacity: 1; }

.mof-popup__checkbox input:focus-visible + .mof-popup__checkbox-box {
  box-shadow: 0 0 0 3px rgba(216, 165, 42, 0.25); }

.mof-popup__checkbox-label {
  font-size: 12.5px;
  line-height: 1.4;
  color: #5a647d; }

.mof-popup__done {
  flex: none;
  padding: 8px 26px;
  border: none;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: var(--mof-gold-1);
  box-shadow: 0 4px 12px rgba(216, 165, 42, 0.3);
  transition: filter .18s ease, box-shadow .18s ease; }
  .mof-popup__done:hover {
    filter: brightness(1.06);
    box-shadow: 0 6px 16px rgba(216, 165, 42, 0.4); }
  .mof-popup__done:active {
    filter: brightness(0.97); }
  .mof-popup__done:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(216, 165, 42, 0.35); }
  .mof-popup__done:disabled {
    cursor: not-allowed;
    background: #d9d9d9;
    color: #fff;
    box-shadow: none;
    filter: none; }

/* ---------- Responsive ---------- */
@media (max-width: 460px) {
  .mof-popup__features,
  .mof-popup__cards {
    grid-template-columns: 1fr; }
  .mof-popup__footer {
    flex-direction: column;
    align-items: stretch; }
  .mof-popup__done {
    width: 100%; } }