:root{
  --qc-blue: #35A1C9;        /* Nền xanh chủ đạo */
  --qc-bg: var(--qc-blue);
  --qc-text: #ffffff;        /* Chữ trắng */
  --qc-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.qc-float{ position:relative; z-index:9999; }

/* =========== DESKTOP: sidebar dọc =========== */
.qc-float__side{
  position: fixed;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 84px;                 /* rộng hơn chút cho chữ trắng dễ đọc */
  padding: 10px 8px;
  background:#18BDFA;                   /* nền xanh */
  border-radius: 20px;
  box-shadow: var(--qc-shadow);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  border: 2px solid #fff;
}

.qc-float__item{
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align:center; gap: 6px;
  padding: 12px 6px;
  min-height: 56px;
  width: 100%;
  background: transparent;
  border: 0; text-decoration: none;
  color: var(--qc-text);       /* chữ trắng */
  font-weight: 800; text-transform: uppercase;
  font-size: 11px; line-height: 1.15; letter-spacing: .02em;
  cursor: pointer; border-radius: 12px;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
  outline: none;
}

.qc-float__item img{
  width: 40px; height: 40px; display: block;
  /* nếu icon gốc là đen, filter này sẽ đảo thành trắng */
  filter: brightness(0) invert(1);
}

.qc-float__item:hover{
  background: rgba(255,255,255,.12);
  transform: translateY(-1px);
}

.qc-float__divider{
  height: 1px;
  margin: 2px 8px;
  background: rgba(255,255,255,.25); /* line nhạt màu trắng */
  border-radius: 1px;
}

/* =========== MOBILE: thanh dưới cố định =========== */
.qc-float__bottom{
  position: fixed !important;
  bottom: 20px !important;
  left: 0; right: 0;
  margin: 0 auto !important;

  max-width: 680px;                   
  background:#18BDFA;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-content: center;
    border: 2px solid #fff;  
}

/* item */
.qc-float__mini{
  -webkit-tap-highlight-color:transparent;
  text-decoration: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px; line-height: 1.1; letter-spacing: .02em;
  padding: 8px 6px;
  position: relative;                   /* để vẽ line ngăn */
}

.qc-float__mini img{
  width: 24px; height: 24px;
  filter: brightness(0) invert(1);
}

/* line trắng ngăn cách giữa các item */
.qc-float__mini:not(:last-child)::after{
  content: "";
  position: absolute;
  top: 20%; bottom: 20%;
  right: 0;
  width: 1px;
  background: rgba(255,255,255,0.6);   /* line trắng nhạt */
}


/* bỏ nút tròn giữa (nếu còn rule cũ) */
.qc-float__center,
.qc-float__center-ring,
.qc-float__center-text{ display: none !important; }

/* Responsive hiển thị */
@media (max-width: 991px){
  .qc-float__side{ display:none !important; }
  .qc-float__bottom{ display:grid !important; }
}
@media (min-width: 992px){
  .qc-float__side{ display:flex !important; }
  .qc-float__bottom{ display:none !important; }
}

@media (max-width: 768px){
.qc-float__bottom{
    left: 0; 
    right: 0;
    margin: 0 auto !important;

    max-width: 92%;   
    width: auto;      
    padding: 4px 8px; 
    border-radius: 12px;
  }
  .qc-float__mini{
    gap: 2px;           
    padding: 2px 0;       
    font-size: 13px;      
    line-height: 1.2;
  }

  .qc-float__mini img{
    width: 35px;
    height: 35px;     
  }

  .qc-float__mini:not(:last-child)::after{
    top: 25%; 
    bottom: 25%;        
  }
}
