/* TAINGUYENTRUST V19.6 - login notice + floating quick contact */
.rh196-notice-overlay{position:fixed;inset:0;z-index:10020;display:grid;place-items:center;padding:20px;background:rgba(18,39,61,.52);backdrop-filter:blur(5px);opacity:0;visibility:hidden;transition:.18s ease}.rh196-notice-overlay.is-open{opacity:1;visibility:visible}.rh196-notice-card{width:min(590px,calc(100vw - 28px));overflow:hidden;border:1px solid #dbe6f1;border-radius:20px;background:#fff;box-shadow:0 28px 80px rgba(17,45,76,.28);transform:translateY(10px) scale(.99);transition:.2s ease}.rh196-notice-overlay.is-open .rh196-notice-card{transform:none}.rh196-notice-head{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid #e7edf4}.rh196-notice-title{display:flex;align-items:center;gap:8px;color:#173c70}.rh196-notice-title b{font-size:16px}.rh196-bell{width:26px;height:26px;border-radius:9px;display:grid;place-items:center;background:#edf6ff;color:#1688ef;font-size:10px}.rh196-notice-close{width:38px;height:38px;border:0;border-radius:50%;background:transparent;color:#65798f;font-size:30px;line-height:1;cursor:pointer}.rh196-notice-close:hover{background:#f1f6fb;color:#173c70}.rh196-notice-body{padding:22px 20px 18px}.rh196-notice-body h3{margin:0 0 10px;color:#cf5b0a;font-size:18px;line-height:1.4}.rh196-type-info .rh196-notice-body h3{color:#126fd1}.rh196-type-success .rh196-notice-body h3{color:#078c5c}.rh196-type-important .rh196-notice-body h3{color:#7047d7}.rh196-notice-message{color:#4f6175;font-size:14px;line-height:1.7}.rh196-notice-message p{margin:.35em 0}.rh196-notice-message a{color:#1688ef;font-weight:800}.rh196-notice-cta{display:inline-flex;align-items:center;gap:8px;margin-top:12px;padding:10px 14px;border-radius:12px;background:linear-gradient(135deg,#168cff,#32b9f2);color:#fff!important;text-decoration:none;font-size:12px;font-weight:800;box-shadow:0 10px 22px rgba(25,137,229,.16)}.rh196-notice-foot{display:flex;justify-content:flex-end;padding:4px 14px 14px;border-top:1px solid #edf1f5}.rh196-snooze{min-height:40px;padding:0 14px;border:0;border-radius:11px;background:#e53846;color:#fff;font-size:11px;font-weight:800;cursor:pointer}.rh196-snooze:hover{filter:brightness(.97)}
.rh196-contact-dock{position:fixed;z-index:7600;right:16px;bottom:86px;display:flex;flex-direction:column;align-items:flex-end;gap:8px}.rh196-contact-toggle{height:42px;padding:0 12px;border:1px solid #d8e7f4;border-radius:15px;background:rgba(255,255,255,.96);box-shadow:0 12px 32px rgba(16,62,107,.15);display:flex;align-items:center;gap:7px;color:#173f72;font:800 10px 'Bai Jamjuree',sans-serif;cursor:pointer;backdrop-filter:blur(10px)}.rh196-contact-toggle>span{width:26px;height:26px;border-radius:9px;display:grid;place-items:center;background:linear-gradient(135deg,#178cff,#32b9f3);color:#fff;font-size:14px}.rh196-contact-stack{display:flex;flex-direction:column;gap:7px;align-items:flex-end;max-height:420px;transition:.2s ease}.rh196-contact-btn{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:9px;min-height:46px;text-decoration:none!important}.rh196-contact-icon{order:2;width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:#fff;color:#177ad8;font-size:16px;font-weight:900;box-shadow:0 12px 30px rgba(16,62,107,.18);border:1px solid #dbe8f4}.rh196-contact-label{order:1;display:flex;flex-direction:column;align-items:flex-end;max-width:0;overflow:hidden;opacity:0;padding:0;background:#fff;border-radius:12px;white-space:nowrap;box-shadow:0 10px 25px rgba(16,62,107,.12);transition:.18s ease}.rh196-contact-btn:hover .rh196-contact-label{max-width:210px;opacity:1;padding:8px 10px}.rh196-contact-label b{color:#173d70;font-size:10px}.rh196-contact-label small{margin-top:2px;color:#758ba1;font-size:8px}.rh196-hotline .rh196-contact-icon{background:#eaf9f2;color:#078d5b}.rh196-zalo .rh196-contact-icon{background:#edf3ff;color:#2467d8}.rh196-telegram .rh196-contact-icon{background:#eaf7ff;color:#1785cf}.rh196-facebook .rh196-contact-icon{background:#edf2ff;color:#1d61d7}.rh196-email .rh196-contact-icon{background:#fff3e8;color:#d36c10}.rh196-whatsapp .rh196-contact-icon{background:#eafaf1;color:#07945f}.rh196-contact-dock.is-collapsed .rh196-contact-stack{max-height:0;opacity:0;overflow:hidden;pointer-events:none}.rh196-contact-dock.is-collapsed .rh196-contact-toggle>span{transform:rotate(45deg)}
@media(max-width:700px){.rh196-notice-overlay{padding:10px}.rh196-notice-card{width:100%;border-radius:18px}.rh196-notice-head{height:52px;padding:0 14px}.rh196-notice-body{padding:18px 16px 14px}.rh196-notice-body h3{font-size:16px}.rh196-notice-message{font-size:12px}.rh196-notice-foot{padding:4px 10px 10px}.rh196-contact-dock{right:10px;bottom:72px}.rh196-contact-toggle b{display:none}.rh196-contact-toggle{width:46px;padding:0;justify-content:center}.rh196-contact-toggle>span{width:32px;height:32px}.rh196-contact-btn:hover .rh196-contact-label{display:none}.rh196-contact-icon{width:44px;height:44px;border-radius:14px}}


/* V19.6.1 reliable notice + real uploaded contact icons */
.rh196-notice-banner{margin:-6px -4px 16px;overflow:hidden;border-radius:14px;background:#f3f8fd;border:1px solid #e4edf5}
.rh196-notice-banner img{display:block;width:100%;max-height:210px;object-fit:cover}
.rh196-contact-icon{overflow:hidden!important;padding:0!important}
.rh196-contact-icon img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:inherit!important}
@media(max-width:560px){.rh196-notice-body{padding:18px 16px 14px}.rh196-notice-message{font-size:12px}.rh196-notice-body h3{font-size:16px}.rh196-notice-banner img{max-height:150px}}


/* V19.6.3 - polished premium system notice */
.rh196-notice-overlay{
  background:rgba(12,31,53,.54)!important;
  backdrop-filter:blur(9px) saturate(1.08)!important;
  -webkit-backdrop-filter:blur(9px) saturate(1.08)!important;
  padding:18px!important;
}
.rh196-notice-card{
  --rh196-accent:#168cf2;
  --rh196-accent2:#35baf2;
  position:relative!important;
  width:min(630px,calc(100vw - 30px))!important;
  overflow:hidden!important;
  border:1px solid rgba(216,230,242,.95)!important;
  border-radius:26px!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)!important;
  box-shadow:0 34px 110px rgba(6,29,56,.30),0 2px 0 rgba(255,255,255,.85) inset!important;
  transform:translateY(18px) scale(.975)!important;
}
.rh196-notice-card:before{
  content:'';
  position:absolute;
  left:0;right:0;top:0;
  height:5px;
  background:linear-gradient(90deg,var(--rh196-accent),var(--rh196-accent2));
  z-index:2;
}
.rh196-type-success{--rh196-accent:#0aa56b;--rh196-accent2:#36d49b}
.rh196-type-important{--rh196-accent:#6f54e8;--rh196-accent2:#9f77ff}
.rh196-type-warning{--rh196-accent:#ef8d18;--rh196-accent2:#f3b540}
.rh196-notice-overlay.is-open .rh196-notice-card{transform:none!important}
.rh196-notice-head{
  height:72px!important;
  padding:4px 20px 0!important;
  border-bottom:1px solid #eaf0f6!important;
  background:linear-gradient(180deg,rgba(249,252,255,.96),#fff)!important;
}
.rh196-notice-title{gap:11px!important}
.rh196-notice-title>div{display:flex;flex-direction:column;gap:1px}
.rh196-notice-title small{
  color:#8a9caf;
  font-size:8px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.09em;
}
.rh196-notice-title b{
  color:#173c70!important;
  font-size:15px!important;
  line-height:1.25;
}
.rh196-bell{
  width:38px!important;
  height:38px!important;
  border-radius:13px!important;
  position:relative;
  overflow:hidden;
  background:linear-gradient(145deg,#edf7ff,#dff0ff)!important;
  box-shadow:inset 0 0 0 1px #d7e8f7,0 8px 18px rgba(20,112,196,.08)!important;
}
.rh196-bell:before{
  content:'';
  width:22px;
  height:22px;
  display:block;
  background:url('../brand/favicon-192.png') center/cover no-repeat;
  border-radius:7px;
}
.rh196-notice-close{
  width:38px!important;
  height:38px!important;
  border:1px solid transparent!important;
  border-radius:12px!important;
  background:#f8fbfe!important;
  color:#71849a!important;
  font-size:25px!important;
  transition:.16s ease!important;
}
.rh196-notice-close:hover{
  border-color:#dce8f2!important;
  background:#fff!important;
  color:#173c70!important;
  transform:rotate(4deg)!important;
  box-shadow:0 8px 20px rgba(20,69,121,.08)!important;
}
.rh196-notice-body{
  position:relative;
  padding:24px 24px 22px!important;
  background:
    radial-gradient(circle at 100% 0%,rgba(48,178,245,.08),transparent 34%),
    linear-gradient(180deg,#fff,#fbfdff)!important;
}
.rh196-notice-body:before{
  content:'Thông báo dành cho bạn';
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:0 10px;
  margin-bottom:10px;
  border-radius:999px;
  background:color-mix(in srgb,var(--rh196-accent) 10%, white);
  color:var(--rh196-accent);
  font-size:8px;
  font-weight:900;
  letter-spacing:.04em;
}
.rh196-notice-body h3{
  margin:0 0 10px!important;
  color:#163d70!important;
  font-size:22px!important;
  line-height:1.3!important;
  letter-spacing:-.02em!important;
}
.rh196-notice-message{
  max-width:555px;
  color:#586d84!important;
  font-size:13px!important;
  line-height:1.72!important;
}
.rh196-notice-message p{margin:.4em 0!important}
.rh196-notice-message strong,.rh196-notice-message b{color:#244969}
.rh196-notice-message a{color:var(--rh196-accent)!important;text-decoration:none!important}
.rh196-notice-banner{
  margin:-4px 0 18px!important;
  border-radius:17px!important;
  border:1px solid #e3edf5!important;
  box-shadow:0 10px 28px rgba(21,79,133,.06)!important;
}
.rh196-notice-cta{
  min-height:42px!important;
  margin-top:16px!important;
  padding:0 16px!important;
  border-radius:13px!important;
  background:linear-gradient(135deg,var(--rh196-accent),var(--rh196-accent2))!important;
  font-size:10px!important;
  box-shadow:0 12px 28px color-mix(in srgb,var(--rh196-accent) 22%, transparent)!important;
}
.rh196-notice-cta:hover{transform:translateY(-1px)!important;filter:saturate(1.05)}
.rh196-notice-foot{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  padding:14px 18px!important;
  border-top:1px solid #e8eff5!important;
  background:#f8fbfd!important;
}
.rh196-notice-foot-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.rh196-notice-foot-copy b{color:#365570;font-size:9px;line-height:1.25}
.rh196-notice-foot-copy small{color:#8999aa;font-size:7.5px;line-height:1.35}
.rh196-snooze{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  min-height:38px!important;
  flex:0 0 auto!important;
  padding:0 13px!important;
  border:1px solid #d9e5ef!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#395b79!important;
  font-size:9px!important;
  font-weight:900!important;
  box-shadow:0 7px 18px rgba(27,76,124,.06)!important;
  transition:.16s ease!important;
}
.rh196-snooze span{font-size:13px;color:var(--rh196-accent)}
.rh196-snooze:hover{
  border-color:#bddaf0!important;
  color:#156fbf!important;
  transform:translateY(-1px)!important;
  box-shadow:0 10px 22px rgba(27,76,124,.10)!important;
}
@media(max-width:700px){
  .rh196-notice-overlay{padding:10px!important}
  .rh196-notice-card{width:100%!important;border-radius:21px!important}
  .rh196-notice-head{height:64px!important;padding:4px 14px 0!important}
  .rh196-bell{width:34px!important;height:34px!important;border-radius:11px!important}
  .rh196-bell:before{width:20px;height:20px}
  .rh196-notice-title b{font-size:14px!important}
  .rh196-notice-body{padding:20px 17px 18px!important}
  .rh196-notice-body h3{font-size:19px!important}
  .rh196-notice-message{font-size:12px!important;line-height:1.65!important}
  .rh196-notice-foot{align-items:stretch!important;flex-direction:column!important;gap:10px!important;padding:12px!important}
  .rh196-snooze{width:100%!important;justify-content:center!important}
  .rh196-notice-foot-copy{text-align:center}
}


/* V19.6.4 - announcement always shows on every page open; close only affects current page */
.rh196-notice-foot,.rh196-snooze{display:none!important}
.rh196-notice-card{padding-bottom:0!important}
.rh196-notice-body{padding-bottom:24px!important}
@media(max-width:560px){.rh196-notice-body{padding-bottom:20px!important}}

/* V19.6.6 - multiple active notice queue */
.rh196-notice-count{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:38px!important;
  height:24px!important;
  margin-left:8px!important;
  padding:0 8px!important;
  border:1px solid #dce8f2!important;
  border-radius:999px!important;
  background:#f5f9fd!important;
  color:#6d8399!important;
  font-size:8px!important;
  font-weight:900!important;
  letter-spacing:.03em!important;
}
@media(max-width:560px){
  .rh196-notice-count{min-width:34px!important;height:22px!important;margin-left:5px!important;padding:0 6px!important}
}

/* V19.6.7 - tabbed multi-notice popup */
.rh196-notice-tabs{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  padding:10px 22px 0!important;
  border-top:0!important;
  overflow-x:auto!important;
  scrollbar-width:none!important;
}
.rh196-notice-tabs::-webkit-scrollbar{display:none!important}
.rh196-notice-tab{
  appearance:none!important;
  min-width:36px!important;
  height:32px!important;
  padding:0 11px!important;
  border:1px solid #dbe7f1!important;
  border-radius:11px!important;
  background:#f5f9fc!important;
  color:#6d8298!important;
  font:900 9px 'Bai Jamjuree',sans-serif!important;
  cursor:pointer!important;
  transition:.18s ease!important;
  box-shadow:none!important;
}
.rh196-notice-tab:hover{
  border-color:#a9d2f5!important;
  background:#eef7ff!important;
  color:#147fd8!important;
}
.rh196-notice-tab.is-active{
  border-color:transparent!important;
  background:linear-gradient(135deg,#188df7,#2fb4ed)!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(31,145,231,.20)!important;
}
.rh196-notice-footerbar{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  min-height:48px!important;
  padding:8px 22px 14px!important;
}
.rh196-notice-current-label{
  color:#7b90a5!important;
  font-size:8px!important;
  font-weight:800!important;
}
.rh196-notice-nav{
  display:flex!important;
  gap:6px!important;
}
.rh196-notice-nav button{
  appearance:none!important;
  width:34px!important;
  height:34px!important;
  border:1px solid #dce8f2!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#184a7c!important;
  font:900 14px 'Bai Jamjuree',sans-serif!important;
  cursor:pointer!important;
  transition:.18s ease!important;
}
.rh196-notice-nav button:hover{
  background:#eef7ff!important;
  border-color:#b9dafa!important;
  transform:translateY(-1px)!important;
}
.rh196-notice-count{display:none!important}

@media(max-width:560px){
  .rh196-notice-tabs{padding:9px 16px 0!important;gap:6px!important}
  .rh196-notice-tab{min-width:34px!important;height:30px!important;border-radius:10px!important}
  .rh196-notice-footerbar{padding:7px 16px 12px!important}
  .rh196-notice-nav button{width:32px!important;height:32px!important}
}

/* V19.6.9 - definitive viewport-position fix for tabbed notice */
.rh196-notice-overlay{
  position:fixed!important;
  inset:0!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
  width:100vw!important;
  height:100dvh!important;
  min-height:100vh!important;
  z-index:10020!important;
  display:grid!important;
  place-items:center!important;
  padding:18px!important;
  margin:0!important;
  overflow:auto!important;
  box-sizing:border-box!important;
}
.rh196-notice-overlay.is-open{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
.rh196-notice-card{
  margin:0 auto!important;
  align-self:center!important;
  justify-self:center!important;
  max-height:min(680px,calc(100dvh - 36px))!important;
  overflow:auto!important;
}
@media(min-width:760px){
  .rh196-notice-card{
    /* Hơi nhấc lên so với chính giữa để nhìn cân đối trên màn hình desktop. */
    translate:0 -2.5vh;
  }
}
@media(max-width:759px){
  .rh196-notice-overlay{padding:10px!important}
  .rh196-notice-card{
    width:min(100%,630px)!important;
    max-height:calc(100dvh - 20px)!important;
    translate:none!important;
  }
}
