#scroll-top {
  bottom: 75px;
  color: #545454;
  display: none;
  font-size: 1.5rem;
  height: 50px;
  line-height: 2rem;
  margin: 0 20px 20px 0;
  opacity: 0.9;
  padding: 0;
  position: fixed;
  right: 5px;
  width: 50px;
}

.logo-main {
  width: 200px;
  vertical-align: middle;
}

@media (max-width: 991px) {
  .logo-main {
    width: 133.33px;
  }
}

.navbar {
  background: #fff;
  background-color: rgba(248, 248, 255, .9);
}

.scroll-top:hover {
  color: #383131;
}

@media (max-width: 480px) {
  .scroll-top {
    font-size: 25px;
    height: 30px;
    width: 30px;
  }
}

::-webkit-scrollbar {
  width: 5px;
  background-color: #F5F5F5;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  background-color: rgb(141, 136, 136);
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

body {
  font-family: "Roboto Condensed", sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #F7F9FD;
}

.btn-pink {
  background-color: #7d2ae8;
  color: #fff;
  border-radius: 20px;
  padding: 8px 22px;
}

/* .BoxSieuthicode{
 border: 1px solid #607d8b;
} */
.Boxsource {
  border-radius: 10px;
  background: #fff;
  transform: scale(0.97);
  transition: transform 0.2s;
}

.Boxsource .card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  padding: auto;
}

.Boxsource,
.classWithPad {
  border: 1px solid #ccc;
  border-radius: 4px;
}

.Boxsource:hover {
  cursor: pointer;
  transform: scale(1);
}

.wrapper {
  background: white;
  padding: 30px 15px;
  width: 370px;
}

.wrapper .title2 {
  border-left: 5px solid #00a8ff;
  padding-left: 5px;
  margin-bottom: 15px;
}

.Boxsource-title {
  font-weight: 700 !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

.font-upper {
  text-transform: uppercase;
}

.font-bold {
  font-weight: 600 !important;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-scroll {
  font-size: 35px;
}

.text-blue-black {
  color: #344155;
}

.line-center,
.line-left {
  height: 3px;
  margin: 0 auto 30px;
  width: 80px;
}

.line-theme-bg {
  background-color: #1ca823;
}

.c-content-title-1 {
  margin-top: 10px;
}

.center {
  margin: auto;
  padding: 10px;
  width: 50%;
}

.carosel-scale {
  width: 100%;
}

.bg-footer {
  background-color: #101E2C;
}

@media (min-width: 1200px) {
  .carosel-scale {
    width: 70%;
  }
}

@media (min-width: 1400px) {
  .carosel-scale {
    width: 60%;
  }
}

.body-main {
  margin: 26px;
  background-color: #fff;
}

.fa-bars {
  color: #8F9FBC;
}


.navbar-toggler:focus {
  border: none;
  box-shadow: none;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown .dropdown-menu {
  margin-top: 0;
  background-color: #fff;
  box-shadow: 0 16px 24px rgb(96 97 112 / 10%), 0 32px 48px rgb(0 0 0 / 15%);
  border-radius: 5px;
  border: none;
  padding: 0.4rem;
  animation: d .3s cubic-bezier(.39, .575, .565, 1) both;
  transform: translateY(100%);
}

@keyframes d {
  0% {
    transform: translateY(50px);
    -webkit-opacity: 0;
    -moz-opacity: 0;
    -ms-opacity: 0;
    -o-opacity: 0;
    opacity: 0
  }

  to {
    transform: translateY(0);
    -webkit-opacity: 1;
    -moz-opacity: 1;
    -ms-opacity: 1;
    -o-opacity: 1;
    opacity: 1
  }
}

.dropdown-menu li {
  padding: 3px;
}

.dropdown-menu-end {
  --bs-position: end;
}

.dropdown-menu-start {
  --bs-position: start;
}

.dropdown-menu a:hover {
  background-color: #EAEAF1;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu-right {
  right: 0;
  left: auto;
}

.dropdown-menu-left {
  left: 0;
  right: auto;
}

.img-avt {
  width: 130px;
  height: 130px;
  padding: 3px;
  animation: shining 1.6s ease-in-out infinite;

}

@keyframes shining {
  0% {
    box-shadow: 0 0 3px 1px #008080;
  }

  50% {
    box-shadow: 0 0 10px 1px #008080;
  }

  100% {
    box-shadow: 0 0 3px 1px #008080;
  }
}

.nav-profile img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

@media (max-width: 768px) {
  .body-main {
    margin: 0;
  }
}

.btn-head-warning:active,
.btn-head-warning:focus,
.btn-head-warning:hover {
  background-color: transparent !important;
  box-shadow: 0 0 transparent !important;
  color: rgb(14, 160, 9) !important;
}

.btn-head-success:active,
.btn-head-success:focus,
.btn-head-success:hover {
  background-color: transparent !important;
  box-shadow: 0 0 transparent !important;
  color: rgb(14, 160, 9) !important;
}

.btn-rounded {
  border-radius: 50px;
}

.text-left {
  text-align: left;
}

.text-uppercase {
  text-transform: uppercase;
}

.border-l {
  border-left: 4px solid teal;
}

.c-border-green-600 {
  --tw-border-opacity: 1;
  border-color: rgba(5, 150, 105, var(--tw-border-opacity));
}

.menu li {
  font-size: 1rem;
  font-weight: 700;
  padding: 5px;
  list-style: none;
}

.menu li a {
  color: inherit;
  text-decoration: none;
}

.c-account {
  margin: 0 auto;
}

.c-account li {
  margin: 2px;
}

.c-account li a:hover {
  color: #16181b;
  text-decoration: none;
}

.c-account li a {
  font-size: inherit;
  font-weight: 600;
}

#func-control .column,
#func-control .dropdown-item,
nav li .dropdown-item {
  font-size: 15px;
}

#func-control .column {
  list-style: none;
}

#func-control .column a {
  vertical-align: middle;
}

@media (max-width: 600px) {
  .link-title {
    display: none;
  }
}

.img-box {
  max-width: 363px;
}

.img-box img {
  width: 100%;
}

.product-box {
  padding: 1rem;
}

.product-title {
  color: #444;
  font-size: 24px;
  font-weight: 400;
  line-height: 30px;
  margin: 0 0 8px;
}

.group-status {
  margin-bottom: 0.25rem;
}

.status-name {
  color: #008744;
}

.price-box {
  margin: 0.5rem 0;
}

.price {
  color: #008744;
  font-size: 30px;
  font-weight: 700;
  line-height: 30px;
}

.price-old {
  color: #888;
  font-size: 16px;
  margin-left: 10px;
  text-decoration: line-through;
}

.dateoftool {
  margin: 0.5rem 0;
}

.dateoftool {
  color: #008744;
  font-size: 30px;
  font-weight: 700;
  line-height: 30px;
}



.product-description>ul {
  list-style: none;
}

.product-description>ul>li {
  color: #888;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 22px;
}

.commit>.card>.card-header {
  background: #008080;
  border-bottom: 1px solid #e5e5e5;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  padding: 0;
}

.commit>.card li {
  color: #444;
}

.commit .h2,
.commit h2 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 400;
  margin: 0;
  padding: 10px !important;
  padding: 3px 22px;
  text-transform: uppercase;
}

.service-item {
  border-bottom: 1px solid #e5e5e5;
  margin: 0 15px;
  padding-top: 0.5rem;
}

.service-item>span {
  color: #888;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  padding: 0;
}

.service-item>p {
  color: #888;
  font-family: Roboto, HelveticaNeue, Helvetica Neue, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 22px;
}

.work-process::after {
  content: "";
  position: absolute;
  background: #f1f3f5;
  left: 0px;
  top: 0px;
  width: 0px;
  height: 100%;
  transition: all 0.3s;
  z-index: -1;
}

.work-process:hover::after {
  background: rgb(233 248 255 / 22%);
  width: 100%;
  height: 100%;
  z-index: -1;
  border-radius: 10px;
}

.work-process {
  background-color: #fcfcfd;
  border: 1px solid #607d8b;
  padding: 10px 15px;
  position: relative;
  z-index: 1;
  transition: 0.5s;
  box-shadow: 0px 30px 0px -20px #607d8b;
  margin-bottom: 30px;
  border-bottom: 3px solid #607d8b;
  text-align: center;
}

.work-process i {
  margin: 0 auto;
  display: table;
  background-color: #607d8b;
  width: 70px;
  height: 70px;
  border-radius: 8px;
  font-size: 40px;
  text-align: center;
  color: #fff;
  line-height: 70px;
}

.work-process h3 {
  margin: 1px 0px;
}

.work-process h3 a {
  font-size: 20px;
  color: #000;
  text-decoration: none;
}

.work-process p {
  color: #8d9ea7;
}

.count-card {
  box-shadow: 25px 27px 10px -24px #e8e8e8;
  padding: 30px;
  z-index: 1;
  transition: 0.5s;
  width: 100%;
  background: #fff;
  border-right: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  border-bottom-right-radius: 50px;
  position: relative;
  overflow: hidden;
}

.count-card::after {
  content: '';
  position: absolute;
  background: #fff5a0;
  left: 0px;
  top: 0px;
  width: 0px;
  height: 100%;
  transition: all 0.3s;
  z-index: -1;
}

.count-card:hover::after {
  background: #fff5a0;
  width: 100%;
  height: 100%;
}

.count-card i {
  display: block;
  font-size: 30px;
  color: #4caf50;
  float: left;
}

.count-card span {
  font-size: 42px;
  line-height: 24px;
  display: block;
  font-weight: 700;
  color: #607d8b;
  margin-left: 50px;
}

.count-card p {
  font-size: 14px;
  text-align: right;
}

.count-card h3 {
  font-size: 20px;
  margin-top: 36px;
  text-transform: uppercase;
  text-align: right;
  color: #607d8b;
}

.count-card a {
  font-weight: 600;
  display: block;
  border-top: 2px dashed #4caf50;
  margin-top: 20px;
  padding-top: 20px;
  color: #4caf50;
  font-size: 18px;
  text-decoration: none;
  text-align: right;
}

.count-card a:hover {
  color: #607d8b;
}

.btn-hover {
  border: 3px solid #f44336;
  color: #f44336;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  padding: 5px 30px;
  font-size: 15px;
  letter-spacing: 1px;
  position: relative;
  outline: none;
  background-color: transparent;
  display: table;
}

.btn-hover:hover {
  border: 3px solid #f44336;
  background-color: #f44336;
  color: #fff;
}

.btn-hover::before,
.btn-hover::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 4px;
  background-color: #fff;
  transform: skewX(50deg);
  transition: 0.5s linear;
}

.btn-hover::before {
  top: -4px;
  left: 10%;
}

.btn-hover::after {
  bottom: -4px;
  right: 10%;
}

.avatar.avatar-online:after {
  background-color: #71dd37;
  content: "";
  position: absolute;
  bottom: 0;
  right: 3px;
  width: 8px;
  height: 8px;
  border-radius: 100%;
  box-shadow: 0 0 0 2px #fff;
}

.btn-hover:hover::before {
  left: 75%;
}

.btn-hover:hover::after {
  right: 75%;
}

.hotline-phone-ring-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 999999;
}

.hotline-phone-ring-circle {
  width: 85px;
  height: 85px;
  top: 10px;
  left: 10px;
  position: absolute;
  background-color: transparent;
  border-radius: 100%;
  border: 2px solid #e60808;
  -webkit-animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
  animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
  transition: all .5s;
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  opacity: 0.5;
}

.hotline-phone-ring-circle-fill {
  width: 55px;
  height: 55px;
  top: 25px;
  left: 25px;
  position: absolute;
  background-color: rgba(230, 8, 8, 0.7);
  border-radius: 100%;
  border: 2px solid transparent;
  -webkit-animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
  animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
  transition: all .5s;
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
}

.hotline-phone-ring-img-circle {
  background-color: #e60808;
  width: 33px;
  height: 33px;
  top: 37px;
  left: 37px;
  position: absolute;
  background-size: 20px;
  border-radius: 100%;
  border: 2px solid transparent;
  -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
  animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotline-phone-ring-img-circle .pps-btn-img {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.hotline-phone-ring-img-circle .pps-btn-img img {
  width: 20px;
  height: 20px;
}

.hotline-bar {
  position: absolute;
  background: rgba(230, 8, 8, 0.75);
  height: 40px;
  width: 180px;
  line-height: 40px;
  border-radius: 3px;
  padding: 0 10px;
  background-size: 100%;
  cursor: pointer;
  transition: all 0.8s;
  -webkit-transition: all 0.8s;
  z-index: 9;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.1);
  border-radius: 50px !important;
  /* width: 175px !important; */
  left: 33px;
  bottom: 37px;
}

.hotline-bar>a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  text-indent: 50px;
  display: block;
  letter-spacing: 1px;
  line-height: 40px;
  font-family: Arial;
}

.hotline-bar>a:hover,
.hotline-bar>a:active {
  color: #fff;
}




@keyframes phonering-alo-circle-anim {
  0% {
    -webkit-transform: rotate(0) scale(0.5) skew(1deg);
    -webkit-opacity: 0.1;
  }

  30% {
    -webkit-transform: rotate(0) scale(0.7) skew(1deg);
    -webkit-opacity: 0.5;
  }

  100% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
    -webkit-opacity: 0.1;
  }
}

@keyframes phonering-alo-circle-fill-anim {
  0% {
    -webkit-transform: rotate(0) scale(0.7) skew(1deg);
    opacity: 0.6;
  }

  50% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
    opacity: 0.6;
  }

  100% {
    -webkit-transform: rotate(0) scale(0.7) skew(1deg);
    opacity: 0.6;
  }
}

@keyframes phonering-alo-circle-img-anim {
  0% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
  }

  10% {
    -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
  }

  20% {
    -webkit-transform: rotate(25deg) scale(1) skew(1deg);
  }

  30% {
    -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
  }

  40% {
    -webkit-transform: rotate(25deg) scale(1) skew(1deg);
  }

  50% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
  }

  100% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
  }
}

@media (max-width: 768px) {
  .hotline-bar {
    display: none;
  }
}
/* Always-visible mobile account actions. */
.quick-account-actions{display:flex;align-items:center;gap:7px;margin-left:auto;margin-right:9px;white-space:nowrap}
.quick-account-actions .btn{border-radius:9px;padding:6px 9px;font-size:12px}
.quick-balance{font-weight:700;text-decoration:none;background:#fff0a8;border:1px solid #f2c94c;border-radius:10px;padding:7px 9px;color:#795000}
.quick-balance strong{color:#fff;background:#169852;border-radius:50%;padding:1px 5px;margin-left:4px}
@media(min-width:768px){.quick-account-actions{margin-left:12px}}
.falling-effect-layer{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:0}
.flex-wrapper,#app>main,#app>footer{position:relative;z-index:1}
#app>header,header.sticky-top{position:sticky;top:0;z-index:1040}
.falling-effect-layer span{position:absolute;top:-40px;opacity:.8;animation:falling-item linear infinite;will-change:transform}
@keyframes falling-item{to{transform:translate3d(55px,110vh,0) rotate(270deg)}}
@media(prefers-reduced-motion:reduce){.falling-effect-layer{display:none}}
/* ===== HÒM THƯ THÀNH VIÊN (HEADER) & HIỆU ỨNG RUNG LẮC DEMO ===== */
.member-mail-wrapper {
  display: inline-flex;
  align-items: center;
  position: relative;
}
.member-mail-btn {
  background: #fff7ec !important;
  border: 1.5px solid #ffd3a0 !important;
  color: #ea580c !important;
  border-radius: 14px !important;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  font-size: 16px;
  transition: all 0.2s ease;
  animation: member-mail-wiggle 4s ease-in-out infinite;
  padding: 0 !important;
}
.member-mail-btn:hover {
  background: #ffedd5 !important;
  color: #c2410c !important;
  transform: scale(1.05);
}
@keyframes member-mail-wiggle {
  0%, 86%, 100% { transform: rotate(0); }
  89% { transform: rotate(-12deg); }
  92% { transform: rotate(12deg); }
  95% { transform: rotate(-8deg); }
  98% { transform: rotate(8deg); }
}
.member-mail-badge {
  position: absolute;
  top: -4px;
  right: -5px;
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 99px;
  padding: 1px 5px;
  min-width: 17px;
  height: 17px;
  line-height: 15px;
  text-align: center;
  border: 1.5px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Khung popup Hòm thư của tôi (Khớp Ảnh 2) */
.member-mail-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 380px;
  max-width: 92vw;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #fed7aa;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  overflow: hidden;
  font-family: inherit;
}
.member-mail-dropdown-header {
  background: #fff7ed;
  border-bottom: 1px solid #ffedd5;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.member-mail-dropdown-header .header-title {
  font-weight: 700;
  font-size: 15px;
  color: #9a3412;
  display: flex;
  align-items: center;
}
.member-mail-dropdown-header .btn-close-mail {
  background: #ffffff;
  border: 1px solid #fdba74;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #c2410c;
  cursor: pointer;
  transition: all 0.2s;
}
.member-mail-dropdown-header .btn-close-mail:hover {
  background: #ffedd5;
}
.member-mail-dropdown-body {
  max-height: 380px;
  overflow-y: auto;
  padding: 12px;
}
.member-mail-card-item {
  display: block;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.2s ease;
  position: relative;
}
.member-mail-card-item:hover {
  background: #fffaf5;
  border-color: #fed7aa;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.08);
}
.member-mail-card-item.unread {
  background: #fffcf9;
  border-left: 3.5px solid #f97316;
}
.member-mail-card-item .item-title {
  font-weight: 700;
  font-size: 14px;
  color: #1e293b;
  margin-bottom: 4px;
  display: block;
  line-height: 1.4;
}
.member-mail-card-item .item-date {
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Quick Balance & Account Actions */
.quick-account-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  margin-right: 9px;
  white-space: nowrap;
}
.quick-account-actions .btn {
  border-radius: 9px;
  padding: 6px 9px;
  font-size: 12px;
}
.quick-balance {
  background: #fff0a8;
  border: 1px solid #f2c94c;
  border-radius: 20px;
  color: #795000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  font-weight: 500;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.quick-balance i {
  color: #b97900;
  font-size: 15px;
}
.quick-balance b {
  color: #795000;
  font-weight: 800;
}
.quick-balance:hover,
.quick-balance:focus {
  background: #ffe680;
  border-color: #e5b93b;
  color: #5c3d00;
}

/* Desktop navbar overrides */
.navbar-brand .logo-main { width: 200px; height: auto; max-width: none; }
@media (min-width: 768px) {
  .navbar .container-fluid > .navbar-collapse { order: 1; flex-grow: 1; }
  .navbar .container-fluid > .quick-account-actions { order: 2; margin-left: 8px; margin-right: 8px; }
}

/* Loại bỏ dải bốn ảnh giới thiệu ft-1..ft-4 ở các trang. */
#slider-function {
  display: none !important;
}

/* ===== GIAO DIỆN MOBILE MENU & HEADER DƯỚI 768PX ===== */
@media (max-width: 767.98px) {
  /* Cho phép ngắt dòng để menu xổ xuống rớt xuống hàng dưới */
  .navbar .container-fluid {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  /* Logo trên điện thoại tăng thêm 20% (120px -> 144px) */
  .navbar-brand {
    margin-right: 4px !important;
    flex-shrink: 0 !important;
  }
  .navbar-brand .logo-main {
    width: 144px !important;
    max-width: 144px !important;
    height: auto !important;
  }

  /* KHỐI SỐ DƯ MOBILE: Tỉ lệ vừa vặn, không bị to quá */
  .quick-account-actions {
    margin-left: auto !important;
    margin-right: 6px !important;
    gap: 4px !important;
    flex-shrink: 1 !important;
  }
  .navbar .quick-balance {
    font-size: 11px !important;
    padding: 4px 9px !important;
    border-radius: 14px !important;
    gap: 4px !important;
    max-width: 160px !important;
    zoom: 1 !important;
    box-shadow: none !important;
  }
  .navbar .quick-balance i {
    font-size: 12px !important;
    margin: 0 !important;
  }
  .navbar .quick-balance b {
    font-size: 11px !important;
    font-weight: 700 !important;
  }

  /* Nút 3 gạch mở menu */
  .navbar-toggler {
    padding: 5px 8px !important;
    font-size: 16px !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #334155 !important;
    flex-shrink: 0 !important;
  }
  .navbar-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
  }

  /* KHUNG MENU XỔ XUỐNG KHI BẤM 3 GẠCH (Row 2, 100% width) */
  #navbarSupportedContent {
    flex-basis: 100% !important;
    width: 100% !important;
    order: 10 !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    margin-top: 10px !important;
    margin-bottom: 6px !important;
    padding: 12px 14px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #eef2f6 !important;
  }

  /* Danh sách menu điều hướng chính */
  #navbarSupportedContent .navbar-nav {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 12px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding-bottom: 8px !important;
  }
  #navbarSupportedContent .navbar-nav .nav-item {
    width: 100% !important;
    margin-bottom: 3px !important;
  }
  #navbarSupportedContent .navbar-nav .nav-link {
    padding: 9px 12px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    transition: background 0.2s ease !important;
  }
  #navbarSupportedContent .navbar-nav .nav-link:hover,
  #navbarSupportedContent .navbar-nav .nav-link:focus {
    background: #f8fafc !important;
    color: #0284c7 !important;
  }

  /* Sub-menu khi bấm Dịch vụ / Nạp tiền */
  #navbarSupportedContent .dropdown-menu {
    border: none !important;
    box-shadow: none !important;
    background: #f8fafc !important;
    border-radius: 8px !important;
    padding: 6px 8px !important;
    margin-top: 4px !important;
    margin-bottom: 6px !important;
  }
  #navbarSupportedContent .dropdown-item {
    padding: 7px 12px !important;
    font-size: 13px !important;
    border-radius: 6px !important;
    color: #334155 !important;
    font-weight: 500 !important;
  }
  #navbarSupportedContent .dropdown-item:hover,
  #navbarSupportedContent .dropdown-item:focus {
    background: #e2e8f0 !important;
    color: #0f172a !important;
  }

  /* Khối thông tin tài khoản Mobile */
  .mobile-user-panel {
    display: block !important;
    padding-top: 4px !important;
  }
  .mobile-user-info {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 12px !important;
    background: #f8fafc !important;
    border-radius: 10px !important;
    margin-bottom: 10px !important;
    border: 1px solid #eef2f6 !important;
  }
  .mobile-user-info .avatar img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: 2px solid #38bdf8 !important;
  }
  .mobile-user-details {
    line-height: 1.3 !important;
  }
  .mobile-user-details .user-name {
    font-weight: 700 !important;
    color: #0f172a !important;
    font-size: 14px !important;
    display: block !important;
  }
  .mobile-user-details .user-balance {
    font-size: 12px !important;
    color: #64748b !important;
  }
  .mobile-user-details .user-balance b {
    color: #e11d48 !important;
    font-weight: 700 !important;
  }
  .mobile-user-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
  }
  .mobile-user-menu li a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 12px !important;
    color: #334155 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    transition: background 0.2s ease !important;
  }
  .mobile-user-menu li a:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
  }
  .mobile-user-menu li a i {
    width: 18px !important;
    text-align: center !important;
  }
  .mobile-user-menu li.logout-item a {
    color: #dc2626 !important;
    font-weight: 600 !important;
  }
  .mobile-user-menu li.logout-item a:hover {
    background: #fee2e2 !important;
  }
}

/* Màn hình siêu nhỏ <= 380px (như iPhone SE / màn hình mini) */
@media (max-width: 380px) {
  .navbar-brand .logo-main {
    width: 126px !important;
    max-width: 126px !important;
  }
  .navbar .quick-balance {
    font-size: 10px !important;
    padding: 3px 7px !important;
    max-width: 140px !important;
  }
  .navbar .quick-balance i {
    font-size: 11px !important;
  }
  .navbar .quick-balance b {
    font-size: 10px !important;
  }
}



/* SỬA LỖI ĐEN TOÀN BỘ MÀN HÌNH (MODAL BACKDROP FIX) */
#modalReadMemberMail {
  z-index: 100060 !important;
}
#modalReadMemberMail .modal-dialog {
  z-index: 100070 !important;
  margin: 1.75rem auto !important;
  max-width: 680px !important;
}
#modalReadMemberMail .modal-content {
  background-color: #ffffff !important;
  border-radius: 18px !important;
  border: none !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45) !important;
  overflow: hidden !important;
  position: relative !important;
  z-index: 100075 !important;
}
#modalReadMemberMail .modal-header {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%) !important;
  border-bottom: 1.5px solid #fed7aa !important;
  padding: 16px 20px !important;
}
#modalReadMemberMail .modal-body {
  background-color: #ffffff !important;
  color: #1e293b !important;
  padding: 24px !important;
  min-height: 160px !important;
  font-size: 14.5px !important;
  line-height: 1.7 !important;
}
#modalReadMemberMail .modal-footer {
  background-color: #f8fafc !important;
  border-top: 1px solid #f1f5f9 !important;
  padding: 12px 20px !important;
}
.modal-backdrop {
  z-index: 100050 !important;
}
.modal-backdrop.show {
  opacity: 0.5 !important;
}

.modal, #global-modal, #modal2FAPrompt, #modalReadMemberMail {
  z-index: 100060 !important;
}
.modal-dialog {
  z-index: 100070 !important;
}
.modal-content {
  background-color: #ffffff !important;
  position: relative !important;
  z-index: 100075 !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45) !important;
}

/* BỎ KHUNG SỐ DƯ - CHỈ ĐỂ CHỮ VÀ VÍ MÀU VÀNG */
.quick-balance, .navbar .quick-balance {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 2px 6px !important;
  color: #ca8a04 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
.quick-balance i, .navbar .quick-balance i {
  color: #eab308 !important;
  font-size: 16px !important;
  margin-right: 3px !important;
}
.quick-balance b, .navbar .quick-balance b {
  color: #b45309 !important;
  font-weight: 800 !important;
}
.quick-balance:hover, .navbar .quick-balance:hover,
.quick-balance:focus, .navbar .quick-balance:focus {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 0.82 !important;
}
