/* TaskNhanh24h V75 - logo, icon and contrast hotfix. */

/* Sidebar logo: larger, centered and without duplicated website title. */
.member-sidebar .m-header{
  min-height:104px!important;
  height:104px!important;
  padding:10px 8px!important;
  overflow:visible!important;
}
.member-sidebar .main-logo .b-brand,
.dash-sidebar .main-logo .b-brand,
a.b-brand{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0 4px!important;
  overflow:visible!important;
}
.member-sidebar .main-logo img.logo,
.member-sidebar .main-logo img.logo-lg,
.member-sidebar .main-logo .b-brand>img{
  display:block!important;
  width:min(232px,100%)!important;
  height:80px!important;
  max-width:232px!important;
  max-height:80px!important;
  margin:0 auto!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:scale(1.08)!important;
  transform-origin:center!important;
}
.member-sidebar-title{display:none!important}

/* Keep restored Tabler icons aligned and visible. */
.ti{
  display:inline-block!important;
  width:1em;
  min-width:1em;
  line-height:1!important;
  text-align:center;
  vertical-align:-.12em;
}
.ti:before{display:inline-block!important}
.history-summary article>span i,
.history-item__status i,
.gc-history-stats span i,
.gc-history-item__icon i,
.gc-history-empty>i,
.gc-kicker i,
.history-page-heading i{
  color:inherit!important;
  background:transparent!important;
  font-size:inherit!important;
  opacity:1!important;
}

/* Primary actions must stay readable on red or any other selected theme color. */
.history-page-heading>a,
.history-page-heading>a:hover,
.history-page-heading>a:focus,
.gc-history-head__action,
.gc-history-head__action:hover,
.gc-history-head__action:focus,
.gc-history-empty a,
.gc-history-empty a:hover,
.gc-history-empty a:focus,
.history-empty a,
.history-empty a:hover,
.history-empty a:focus{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
  visibility:visible!important;
  text-indent:0!important;
  text-decoration:none!important;
}
.history-page-heading>a i,
.gc-history-head__action i,
.gc-history-empty a i,
.history-empty a i{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:transparent!important;
}

/* Finished empty states and summary cards: no more blank icon squares/buttons. */
.history-summary article>span,
.gc-history-stats>div>span,
.history-empty>span{overflow:visible!important}
.gc-history-empty{
  min-height:185px;
  display:flex!important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.gc-history-empty>i{
  display:grid!important;
  place-items:center;
  width:58px!important;
  height:58px!important;
  margin:0 auto 4px;
  border-radius:18px;
  color:var(--theme-primary-dark,#b00c0c)!important;
  background:var(--theme-primary-soft,#fff2f2)!important;
  font-size:28px!important;
}
.gc-history-empty a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-width:164px;
  min-height:42px;
  padding:10px 16px!important;
  border:0!important;
  border-radius:12px!important;
  background:var(--theme-gradient,linear-gradient(135deg,#b00c0c,#7d0909))!important;
  box-shadow:0 10px 24px var(--theme-primary-shadow,rgba(176,12,12,.22))!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1.2!important;
}
.history-page-heading>a{
  min-width:132px;
  background:var(--theme-gradient,linear-gradient(135deg,#b00c0c,#7d0909))!important;
  box-shadow:0 10px 24px var(--theme-primary-shadow,rgba(176,12,12,.22))!important;
}

/* Light global polish while preserving the existing structure. */
.history-summary article,
.gc-history-stats>div{
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease!important;
}
.history-summary article:hover,
.gc-history-stats>div:hover{
  transform:translateY(-2px);
  border-color:var(--theme-primary-line,#e6caca)!important;
  box-shadow:0 14px 30px var(--theme-primary-shadow,rgba(176,12,12,.12))!important;
}

@media(max-width:1024px){
  .member-sidebar .m-header{min-height:88px!important;height:88px!important}
  .member-sidebar .main-logo img.logo,
  .member-sidebar .main-logo img.logo-lg,
  .member-sidebar .main-logo .b-brand>img{
    width:min(210px,100%)!important;
    height:66px!important;
    max-width:210px!important;
    max-height:66px!important;
    transform:scale(1.04)!important;
  }
}
