 
:root {
  --main-color: #d30000;
  --border-color: #44444447;
  --card-color: #0f1f2d;
}

/* ===============================================
   � ANTI-FLICKER & SMOOTH LOADING IMPROVEMENTS
   =============================================== */

/* Prevent layout shift and flicker during loading */
body:not(.page-loaded) {
    overflow: hidden; /* Prevent scroll during loading */
}

/* Hide content until loaded to prevent flicker */
body:not(.page-loaded) .container,
body:not(.page-loaded) .card,
body:not(.page-loaded) .navbar:not(.fixed-top) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Fixed navbar can be visible but positioned off-screen */
body:not(.page-loaded) .navbar.fixed-top {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

/* Smooth reveal when page is loaded */
body.page-loaded .container,
body.page-loaded .card,
body.page-loaded .navbar {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

/* Stagger the reveal animation */
body.page-loaded .navbar {
    transition-delay: 0.1s;
}

body.page-loaded .container:nth-of-type(1) {
    transition-delay: 0.2s;
}

body.page-loaded .container:nth-of-type(2) {
    transition-delay: 0.3s;
}

/* Improved lazy loading for images */
.lazy-img-wrapper {
    position: relative;
    display: inline-block;
    background: rgba(15, 31, 45, 0.1); /* Subtle placeholder background */
    min-height: 50px; /* Prevent layout shift */
}

.lazy-img-wrapper img {
    transition: opacity 0.5s ease-in-out;
    width: 100%;
    height: auto;
}

.lazy-img-wrapper.loading img {
    opacity: 0;
}

.lazy-img-wrapper.loaded img {
    opacity: 1;
}

/* Enhanced shimmer effect for loading images */
.lazy-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.05) 25%, 
        rgba(255, 255, 255, 0.15) 50%, 
        rgba(255, 255, 255, 0.05) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 2s ease-in-out infinite;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
    border-radius: 8px;
}

.lazy-img-wrapper.loaded .lazy-overlay {
    opacity: 0;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Smooth image loading - prevent flicker */
img:not(.no-lazy):not([src]) {
    opacity: 0;
    transition: opacity 0.4s ease;
    background: rgba(15, 31, 45, 0.1);
}

img:not(.no-lazy).lazyloaded {
    opacity: 1;
}

/* Images marked as no-lazy should show immediately */
img.no-lazy:not(.set-opacity),
img[data-no-lazy]:not(.set-opacity) {
    opacity: 1 !important;
    transition: none !important;
}

/* Prevent content jumps */
.container {
    min-height: 200px; /* Prevent height changes during load */
}

.card {
    min-height: 100px; /* Prevent card jumps */
}

/* ===============================================
   �🔒 LOGIN REQUIRED OVERLAY FOR FRAMES
   =============================================== */
.login-required-overlay {
      display: flex;
    align-items: center;
    justify-content: center; 
    background-color: rgb(83 83 83 / 70%);
    border-radius: 4px;
    margin-top: 8px;
    min-height: 40px;
}

.login-required-overlay small { 
  text-align: center;
  font-size: 12px;
}

.frame-card {
  position: relative;
}

/* ===============================================
   🤖 BOT SYSTEM MESSAGES STYLES
   =============================================== */
.bot-message {
      margin: 8px 0;
    padding: 12px 16px;
    background: #15151538;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    color: #ffffff;
    position: relative;
    border: 1px solid #80808038;
    border-left: 4px solid #3f3f3f;
}

.bot-message-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bot-avatar {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2b2b2b;
  border-radius: 50%; 
}

.bot-message-text {
  flex: 1;
  line-height: 1.4;
  font-size: 12px;
}

.bot-message-time {
  font-size: 11px;
  color: #6c757d;
  margin-top: 4px;
  opacity: 0.8;
}

.bot-message .bot-username {
  font-weight: 600;
  color: #ffc10b;

  margin-right: 6px;
}

/* Dark theme support */
.dark-theme .bot-message {
  background: linear-gradient(135deg, #343a40, #495057);
  border-color: #6c757d;
  color: #f8f9fa;
}

.dark-theme .bot-message-time {
  color: #adb5bd;
}

/* Animation for new bot messages */
@keyframes botMessageSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bot-message {
  animation: botMessageSlide 0.3s ease-out;
}

/* ===============================================
   🎯 MAIN STYLES
   =============================================== */
body {
  padding-top: 86px;
  font-family: "Fahkwang", sans-serif !important;
  font-weight: 200;
  font-style: normal;
  overflow-x: hidden; /* Prevent horizontal scroll */
}
 
  html {
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
 
/* Ensure all elements stay within viewport on mobile */
@media (max-width: 767px) {
  
  
  /* Prevent specific elements from causing horizontal overflow */
  .row {
    margin-left: 0;
    margin-right: 0;
  }
  
  .row > * {
    padding-left: 8px;
    padding-right: 8px;
  }
}

.font-weight-bold {
  font-weight: 800;
}

.navbar-icon-top .navbar-nav .nav-link {
  transition: all 300ms linear;
}

.navbar-icon-top .navbar-nav .nav-link:hover {
  color: #3145a3;
}

.navbar-icon-top .navbar-nav .nav-link>.fa {
  position: relative;
  width: 36px;
  font-size: 24px;
}

.navbar-icon-top .navbar-nav .nav-link>.fa>.badge {
  font-size: 0.75rem;
  position: absolute;
  right: 0;
  font-family: sans-serif;
}

.navbar-icon-top .navbar-nav .nav-link>.fa {
  top: 3px;
  line-height: 12px;
}

.navbar-icon-top .navbar-nav .nav-link>.fa>.badge {
  top: -10px;
}

@media (min-width: 576px) {
  .navbar-icon-top.navbar-expand-sm .navbar-nav .nav-link {
    text-align: center;
    display: table-cell;
    height: 70px;
    vertical-align: middle;
    padding-top: 0;
    padding-bottom: 0;
  }

  .navbar-icon-top.navbar-expand-sm .navbar-nav .nav-link>.fa {
    display: block;
    width: 48px;
    margin: 2px auto 4px auto;
    top: 0;
    line-height: 24px;
  }

  .navbar-icon-top.navbar-expand-sm .navbar-nav .nav-link>.fa>.badge {
    top: -7px;
  }
}

@media (min-width: 768px) {
  .navbar-icon-top.navbar-expand-md .navbar-nav .nav-link {
    text-align: center;
    display: table-cell;
    height: 70px;
    vertical-align: middle;
    padding-top: 0;
    padding-bottom: 0;
  }

  .navbar-icon-top.navbar-expand-md .navbar-nav .nav-link>.fa {
    display: block;
    width: 48px;
    margin: 2px auto 4px auto;
    top: 0;
    line-height: 24px;
  }

  .navbar-icon-top.navbar-expand-md .navbar-nav .nav-link>.fa>.badge {
    top: -7px;
  }
}

@media (min-width: 992px) {
  .navbar-icon-top.navbar-expand-lg .navbar-nav .nav-link {
    text-align: center;
    display: table-cell;
    height: 70px;
    vertical-align: middle;
    padding-top: 0;
    padding-bottom: 0;
  }

  .navbar-icon-top.navbar-expand-lg .navbar-nav .nav-link>.fa {
    display: block;
    width: 48px;
    margin: 2px auto 4px auto;
    top: 0;
    line-height: 24px;
  }

  .navbar-icon-top.navbar-expand-lg .navbar-nav .nav-link>.fa>.badge {
    top: -7px;
  }
}

@media (min-width: 1200px) {
  .navbar-icon-top.navbar-expand-xl .navbar-nav .nav-link {
    text-align: center;
    display: table-cell;
    height: 70px;
    vertical-align: middle;
    padding-top: 0;
    padding-bottom: 0;
  }

  .navbar-icon-top.navbar-expand-xl .navbar-nav .nav-link>.fa {
    display: block;
    width: 48px;
    margin: 2px auto 4px auto;
    top: 0;
    line-height: 24px;
  }

  .navbar-icon-top.navbar-expand-xl .navbar-nav .nav-link>.fa>.badge {
    top: -7px;
  }
}

/*footer*/
.footer-basic {
  padding: 40px 0;
  background-color: #0f111a;
  border-top: 1px solid var(--border-color);
}

.footer-basic ul {
  padding: 0;
  list-style: none;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-basic li {
  padding: 0 10px;
}

.footer-basic ul a {
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
}

.footer-basic ul a:hover {
  opacity: 1;
}



.footer-basic .copyright {
  margin-top: 15px;
  text-align: center;
  font-size: 13px;
  color: #aaa;
  margin-bottom: 0;
}

/*cover với avatar nè*/
.testimonial-card .avatar {

  margin-top: -60px;
  overflow: unset !important;

}

.testimonial-card .card-up {
  overflow: hidden;
  height: 70px;
  -webkit-border-top-left-radius: .25rem;
  border-top-left-radius: .25rem;
  -webkit-border-top-right-radius: .25rem;
  border-top-right-radius: .25rem;
}

.blue-gradient {
  background: -webkit-linear-gradient(50deg, #45cafc, #303f9f) !important;
  background: -o-linear-gradient(50deg, #45cafc, #303f9f) !important;
}

/*timeline nè*/
.circle {
  padding: 13px 20px;
  border-radius: 50%;
  background-color: #ED8D8D;
  color: #fff;
  max-height: 50px;
  z-index: 2;
}

.how-it-works.row .col-2 {
  align-self: stretch;
}

.how-it-works.row .col-2::after {
  content: "";
  position: absolute;
  border-left: 3px solid #ED8D8D;
  z-index: 1;
}

.how-it-works.row .col-2.bottom::after {
  height: 50%;
  left: 50%;
  top: 50%;
}

.how-it-works.row .col-2.full::after {
  height: 100%;
  left: calc(50% - 3px);
}

.how-it-works.row .col-2.top::after {
  height: 50%;
  left: 50%;
  top: 0;
}


.timeline div {
  padding: 0;
  height: 40px;
}

.timeline hr {
  border-top: 3px solid #ED8D8D;
  margin: 0;
  top: 17px;
  position: relative;
}

.timeline .col-2 {
  display: flex;
  overflow: hidden;
}

.timeline .corner {
  border: 3px solid #ED8D8D;
  width: 100%;
  position: relative;
  border-radius: 15px;
}

.timeline .top-right {
  left: 50%;
  top: -50%;
}

.timeline .left-bottom {
  left: -50%;
  top: calc(50% - 3px);
}

.timeline .top-left {
  left: -50%;
  top: -50%;
}

.timeline .right-bottom {
  left: 50%;
  top: calc(50% - 3px);
}

/*task list*/


/* shop item */

.product-card {
  position: relative; 
  padding-top: 12px;
  padding-bottom: 43px;
  transition: all 0.35s;
  border: 1px solid #e7e7e7;
  background: #141E30;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to top, #243B55, #141E30);
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to top, #243B55, #141E30);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}

.product-card {
  border-radius: 7px !important;
  background: linear-gradient(-120deg, rgba(40, 43, 58, 0) 20%, rgba(40, 43, 58, 1)) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.product-card .product-head {
  padding: 0 15px 8px;
}

.product-card .product-head .badge {
  margin: 0;
}

.product-card .product-thumb>img {
  width: 100px;
}

.product-card .product-card-body {
  text-align: center;
}

.product-card .product-meta {
  display: block;
  padding: 12px 0 2px;
  transition: color 0.25s;
  color: rgba(140, 140, 140, .75);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  padding-bottom: 10px;
}

.product-card .product-meta:hover {
  color: #8c8c8c;
}

.product-card .product-title {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: bold;
}

.product-card .product-title>a {
  transition: color 0.3s;
  color: #ff006a;
  text-decoration: none;
  min-height: 67px;
}

.product-card .product-title>a:hover {
  color: #ac32e4;
}

.product-card .product-price {
  display: block;
  color: #404040;
  font-weight: bold;
  font-size: 13px;
  color: #ffffff;
  text-shadow: unset !important;
}

.product-card .product-price>del {
  margin-right: 6px;
  color: rgba(140, 140, 140, .75);
}

.product-card .product-buttons-wrap {
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
}

.product-card.mx-auto.mb-3 {
  padding-bottom: 50px !important;
}

.product-card .product-buttons {
  display: table;
  margin: auto;
  background-color: #fff;
  box-shadow: 0 12px 20px 1px rgba(64, 64, 64, .11);
}

.product-card .product-button {
  display: table-cell;
  position: relative;
  width: 50px;
  height: 40px;
  border-right: 1px solid rgba(231, 231, 231, .6);
}

.product-card .product-button:last-child {
  border-right: 0;
}

.product-card .product-button>a {
  display: block;
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.3s;
  color: #404040;
  font-size: 16px;
  line-height: 40px;
  text-align: center;
  text-decoration: none;
}

.product-card .product-button>a:hover {
  background-color: #fda52a;
  color: #fff;
}

.product-card:hover {
  border-color: transparent;
  box-shadow: 0 12px 20px 1px rgba(64, 64, 64, .09);
}

.product-category-card {
  display: block;
  max-width: 400px;
  text-align: center;
  text-decoration: none !important;
}

.product-category-card .product-category-card-thumb {
  display: table;
  width: 100%;
  box-shadow: 0 12px 20px 1px rgba(64, 64, 64, .09);
}

.product-category-card .product-category-card-body {
  padding: 20px;
  padding-bottom: 28px;
}

.product-category-card .main-img,
.product-category-card .thumblist {
  display: table-cell;
  padding: 15px;
  vertical-align: middle;
}

.product-category-card .main-img>img,
.product-category-card .thumblist>img {
  display: block;
  width: 100%;
}

.product-category-card .main-img {
  width: 65%;
  padding-right: 10px;
}

.product-category-card .thumblist {
  width: 35%;
  padding-left: 10px;
}

.product-category-card .thumblist>img:first-child {
  margin-bottom: 6px;
}

.product-category-card .product-category-card-meta {
  display: block;
  padding-bottom: 9px;
  color: rgba(140, 140, 140, .75);
  font-size: 11px;
  font-weight: 600;
}

.product-category-card .product-category-card-title {
  margin-bottom: 0;
  transition: color 0.3s;
  color: #343b43;
  font-size: 18px;
}

.product-category-card:hover .product-category-card-title {
  color: #ac32e4;
}

.product-gallery {
  position: relative;
  padding: 45px 15px 0;
  box-shadow: 0 12px 20px 1px rgba(64, 64, 64, .09);
}

.product-gallery .gallery-item::before {
  display: none !important;
}

.product-gallery .gallery-item::after {
  box-shadow: 0 8px 24px 0 rgba(0, 0, 0, .26);
}

.product-gallery .video-player-button,
.product-gallery .badge {
  position: absolute;
  z-index: 5;
}

.product-gallery .badge {
  top: 15px;
  left: 15px;
  margin-left: 0;
}

.product-gallery .video-player-button {
  top: 0;
  right: 15px;
  width: 60px;
  height: 60px;
  line-height: 60px;
}

.product-gallery .product-thumbnails {
  display: block;
  margin: 0 -15px;
  padding: 12px;
  border-top: 1px solid #e7e7e7;
  list-style: none;
  text-align: center;
}

/* Mobile responsive thumbnails */
@media (max-width: 767px) {
  .product-gallery .product-thumbnails {
    margin: 0;
  }
}

.product-gallery .product-thumbnails>li {
  display: inline-block;
  margin: 10px 3px;
}

.product-gallery .product-thumbnails>li>a {
  display: block;
  width: 94px;
  transition: all 0.25s;
  border: 1px solid transparent;
  background-color: #fff;
  opacity: 0.75;
}

.product-gallery .product-thumbnails>li:hover>a {
  opacity: 1;
}

.product-gallery .product-thumbnails>li.active>a {
  border-color: #ac32e4;
  cursor: default;
  opacity: 1;
}

.product-meta {
  padding-bottom: 10px;
}

.product-meta>a,
.product-meta>i {
  display: inline-block;
  margin-right: 5px;
  color: rgba(140, 140, 140, .75);
  vertical-align: middle;
}

.product-meta>i {
  margin-top: 2px;
}

.product-meta>a {
  transition: color 0.25s;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.product-meta>a:hover {
  color: #8c8c8c;
}

.cart-item {
  background: linear-gradient(-120deg, rgba(40, 43, 58, 0) 20%, rgba(40, 43, 58, 1)) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 0 50px 0 10px;
}

.cart-item .cart-item-label {
  display: block;
  margin-bottom: 15px;
  color: #8c8c8c;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.cart-item .cart-item-product {
  display: table;
  width: 420px;
  text-decoration: none;
}

.cart-item .cart-item-product-thumb,
.cart-item .cart-item-product-info {
  display: table-cell;
  vertical-align: top;
}

.cart-item .cart-item-product-thumb {
  width: 110px;
}

.cart-item .cart-item-product-thumb>img {
  display: block;
  width: 100%;
}

.cart-item .cart-item-product-info {
  padding-top: 5px;
  padding-left: 15px;
}

.cart-item .cart-item-product-info>span {
  display: block;
  margin-bottom: 2px;
  color: #404040;
  font-size: 12px;
}


.cart-item .cart-item-product:hover .cart-item-product-title {
  color: #ac32e4;
}

.cart-item .count-input {
  display: inline-block;
  width: 85px;
}

.cart-item .remove-item {
  right: -10px !important;
}

@media (max-width: 991px) {
  .cart-item {
    padding-right: 30px;
  }

  .cart-item .cart-item-product {
    width: auto;
  }
}

@media (max-width: 768px) {
  .cart-item {
    padding-right: 10px;
    padding-bottom: 15px;
  }
#registerButton {
  display: none;
}
  .cart-item .cart-item-product {
    display: block;
    width: 100%;
    text-align: center;
  }
.border-bottom-blue p.card-text.text-muted {
  text-align: left !important;
}
  .cart-item .cart-item-product-thumb,
  .cart-item .cart-item-product-info {
    display: block;
  }

  .cart-item .cart-item-product-thumb {
    margin: 0 auto 10px;
  }

  .cart-item .cart-item-product-info {
    padding-left: 0;
  }

  .cart-item .cart-item-label {
    margin-bottom: 8px;
  }
}

.comparison-table {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

.comparison-table table {
  min-width: 750px;
  table-layout: fixed;
}

/* Mobile responsive table */
@media (max-width: 767px) {
  .comparison-table table {
    min-width: 100%;
    font-size: 14px;
  }
}

.comparison-table .comparison-item {
  position: relative;
  margin-bottom: 10px;
  padding: 13px 12px 18px;
  background-color: #fff;
  text-align: center;
  box-shadow: 0 12px 20px 1px rgba(64, 64, 64, .09);
}

.comparison-table .comparison-item .comparison-item-thumb {
  display: block;
  width: 80px;
  margin-right: auto;
  margin-bottom: 12px;
  margin-left: auto;
}

.comparison-table .comparison-item .comparison-item-thumb>img {
  display: block;
  width: 100%;
}

.comparison-table .comparison-item .comparison-item-title {
  display: block;
  margin-bottom: 14px;
  transition: color 0.25s;
  color: #404040;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.comparison-table .comparison-item .comparison-item-title:hover {
  color: #ac32e4;
}

.remove-item {
  display: block;
  position: absolute;
  top: -5px;
  right: -5px;
  width: 22px;
  height: 22px;
  padding-left: 1px;
  border-radius: 50%;
  background-color: #ff5252;
  color: #fff;
  line-height: 23px;
  text-align: center;
  box-shadow: 0 3px 12px 0 rgba(255, 82, 82, .5);
  cursor: pointer;
}

.card-wrapper {
  margin: 30px -15px;
}

/* Mobile responsive card wrapper */
@media (max-width: 767px) {
  .card-wrapper {
    margin: 30px 0;
  }
}

@media (max-width: 576px) {
  .card-wrapper .jp-card-container {
    width: 260px !important;
  }

  .card-wrapper .jp-card {
    min-width: 250px !important;
  }
}

.gradient-color {
  font-family: 'Pattaya', sans-serif;
  background: linear-gradient(to right, #ff8a00, #da1b60);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tooltip-inner {
  max-width: 100% !important;
}


.masthead h1 {
  color: #fff;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.1;
  z-index: 1
}

.masthead h2 {
  color: rgba(255, 255, 255, .6);
  font-weight: 600;
  z-index: 1;
  font-size: 1.2rem
}

.masthead a {
  color: rgba(255, 255, 255, .8);
  text-decoration: underline;
  z-index: 1
}

.masthead a:hover {
  color: #fff
}

.masthead a:active {
  text-decoration: none
}

@media(min-width:992px) {
  .masthead h1 {
    font-size: 3rem
  }

  .masthead h2 {
    font-size: 1.5rem
  }
}

.masthead .masthead-cards {
  position: relative;
  z-index: 1
}

.masthead .masthead-cards .shape {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, .3);
  top: 0;
  left: 0;
  z-index: -1;
  border-radius: 30% 70% 70% 30%/30% 30% 70% 70%
}

.masthead .masthead-cards .card {
  opacity: 1;
  font-size: .8rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .05rem;
  color: #212529;
  transition: .15s all;
  min-height: 142px;
}

.masthead .masthead-cards .card:hover {
  margin-top: -.25rem;
  margin-bottom: .25rem
}

.masthead .masthead-cards .card:active {
  margin-top: inherit;
  margin-bottom: inherit
}

.masthead .masthead-cards .card .card-body .blue {
  color: #2092ed
}

.masthead .masthead-cards .card .card-body .green {
  color: #28a745
}

.masthead .masthead-cards .card .card-body .red {
  color: #dd3d31
}

.masthead .masthead-cards .card .card-body .yellow {
  color: #f7d274
}

.masthead .masthead-cards .card .card-body .purple {
  color: #8e28a7
}

.masthead .masthead-cards .card .card-body .nonebit {
  color: #15cfe2
}

.masthead .masthead-cards .card.border-bottom-blue:hover {
  color: #2092ed
}

.masthead .masthead-cards .card.border-bottom-green:hover {
  color: #28a745
}

.masthead .masthead-cards .card.border-bottom-red:hover {
  color: #dd3d31
}

.masthead .masthead-cards .card.border-bottom-yellow:hover {
  color: #f7d274
}

.masthead .masthead-cards .card.border-bottom-purple:hover {
  color: #8e28a7
}

.masthead .masthead-cards .card.border-bottom-nonebit:hover {
  color: #15cfe2
}

.masthead-page {
  padding: 1rem 0 4rem
}

@media(min-width:992px) {
  .masthead-page h1 {
    font-size: 2.5rem
  }
}

.border-bottom-yellow {
  border-color: #f7d274 !important;
}

.border-bottom-red {
  border-color: #dd3d31 !important;
}

.border-bottom-blue {
  border-color: #2092ed !important;
}

.border-bottom-green {
  border-color: #28a745 !important;
}

.border-bottom-blue,
.border-bottom-green,
.border-bottom-red,
.border-bottom-yellow {
  border-bottom: .4rem solid !important;
}

.shadow-lg {
  box-shadow: 0 2rem 1.5rem -1.5rem rgba(33, 37, 41, .15), 0 0 1.5rem .5rem rgba(33, 37, 41, .05) !important;
}

.border-0 {
  border: 0 !important;
}

.countdown-cell,
.countdown-unclaimed { 
  color: #fce0ff;
  font-weight: bold;
  font-size: 15px; 
  text-align: center;
  animation: countdownAppear 0.8s ease;
  transition: all 0.3s ease;
  margin: 10px 0;
}

/* Animation xuất hiện */
@keyframes countdownAppear {
  0% {
    opacity: 0;
    transform: scale(0.8) rotateX(60deg);
  }

  60% {
    opacity: 1;
    transform: scale(1.05) rotateX(0deg);
  }

  100% {
    transform: scale(1);
  }
}

.table td {
  margin-top: 0 !important;
}

td.countdown-cell,
td.countdown-unclaimed {
  min-height: 44px;
}

#btn-ban-do {
  background-image: url(/other/home/images/img-01.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  z-index: 9999;
  width: 120px;
  height: 89px;
  right: -13px;
  top: -5px;
}

#btn-mua-khung {
      background-image: url(/other/home/images/img-02.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 9999;
    width: 120px;
    height: 89px;
    left: -13px;
    top: -5px;
    cursor: pointer;
}
#frames, #ai-chat {
    position: relative;
  position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 16px;
    width: 100px;
}
#btn-giao-dich {
  background-image: url(/other/home/images/giaoDich.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  z-index: 9999;
  width: 430px;
  height: 75px;
  top: 111px;
  background-position: center;

}
.cong-dong {
  position: absolute;
  top: 50%; 
  transform: translateY(-50%);
}


span#jobs {
    right: 22px;
    font-size: 16px;
    color: #fff;
}
span#friends {
    left: 32px;
    font-size: 16px;
    color: #fff;
}
#btn-ban-do:hover,
#btn-giao-dich:hover,
#btn-mua-khung:hover {
  filter: brightness(80%);
}

@media (max-width: 475px) {
  #btn-ban-do {
    width: 125px;
    height: 100px;
    right: -20px;
    top: -2px;
  }

  #btn-mua-khung {
    width: 125px;
    height: 100px;
    left: -20px;
    top: -2px;
  }
#frames, #ai-chat {
    top: 47%;
}


}

.avatar-wrapper.avatar {
  transform: translateX(-50%);
  left: 50%;
  max-width: 400px
}

#rotateWarning {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0c1226;
  color: white;
  z-index: 9999999999;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#rotateWarning h5 {
  
    line-height: 2 !important;
}
#rotateWarning h2 {
  color: #ffcc00;
  margin-top: 40px;
}

#rotateWarning img {
  width: 80px;
  margin-top: 20px;
}

#rotateBtn {
  margin-top: 30px;
    background: #445da5;
    color: white;
    padding: 6px 18px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 140px
}

.text-align-center {
  text-align: center;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  padding-bottom: 20px;
  flex-direction: column;
  align-items: center;
}

@keyframes smoothGradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.btn-gradient,
.animate-btn {
  background: linear-gradient(344deg, #ffe000, #fffdc4);
    border: 1px solid #fff;
    color: #3b3529 !important;
    transition: 0.3s ease;
    font-weight: bolder !important;
}

.animate-btn:hover {
  transform: scale(1.07);
  cursor: pointer;
}

.nap-amount {
  font-weight: bold;
  color: #fff
}

.toast-xu-moc {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #0f0;
  padding: 8px 16px;
  border-radius: 8px;
  z-index: 9999;
  font-weight: bold;
  box-shadow: 0 0 6px rgba(0, 255, 0, 0.8);
  animation: fadeUp 0.4s ease, fadeOut 0.5s ease 3.5s forwards;
  width: 90%;
  text-align: center;
  display: flex;
  justify-content: center
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translate(-50%, -20px);
  }
}

.toast-xu {
  position: fixed;
  right: 30px;
  top: 50px;
  padding: 10px 20px;
  background: rgba(255, 193, 7, 0.9);
  color: #000;
  font-weight: bold;
  border-radius: 10px;
  font-size: 18px;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.5s ease;
  z-index: 9999;
}

.toast-xu.show {
  opacity: 1;
  transform: translateY(0);
}

.list-group-item {
  position: relative;
  display: block;
  background-color: transparent !important;
  border-bottom: 1px solid rgba(185, 185, 185, 0) !important;
  border-top: 0px solid transparent !important;
  font-family: "Fahkwang", sans-serif !important ;
   margin: 3px 6px;
    border-radius:3px !important;
    transition: all 0.2s ease;
        padding: 4px 18px !important;
}

.leftbar .list-group-item,
.left-bar-card .list-group-item {
  background-color: transparent !important;
  border: unset !important;
  margin: 5px 0;
}
li.list-group-item { 
    border: 1px solid #202020 !important;
}
li.list-group-item:hover {
    background: linear-gradient(90deg, #ff3737ba 0%, rgb(255 0 0 / 0%) 90%);
    border: 1px solid #202020 !important;
}

li.list-group-item:hover img {
filter: brightness(0.3) invert(1);
}

.nav-tabs {
  border-bottom: 1px solid transparent;
}
 
.guild-rank {
  font-weight: bolder;
  text-transform: uppercase;
  color: violet
}

.left-bar-card a {
  padding: 8px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
}
.fun-ic.ic-size-15 {
  width: 15px;
  height: 15px;
  display: inline-block;
  margin: -2px 5px;
}
.ic-premium-quality {
  background-image: url(/assets/guild/premium-quality.png);
  background-size: contain;
  background-repeat: no-repeat;
}
#modalBanBua .list-group-item {
  background-color: #00000063 !important;
}

.list-group-item-action:hover {
  background: linear-gradient(45deg, #ffdf35, #f7d274);
  color: #000;
  transform: scale(1.05);
}

 

.toast-xu-bua {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1f4a !important;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: bold;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  min-width: 300px !important;
  opacity: 0.8;
  border: 1px solid gray;
}

.toast-xu-bua.show {
  opacity: 1;
}

.bua-timer { 
  border-radius: 50%;
  font-size: 25px !important;
  color: white;

}

/* Gradient màu nền chạy liên tục */
@keyframes glowing-badge {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Pulse nhẹ (phồng ra thu lại) */
@keyframes pulse-badge {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

a.text-light:focus,
a.text-light:hover {
  color: #172c3f !important;
}


.alert-black {
  background-color: #0000006b;
  border-radius: 6px;
}

.alert-black:hover {
  background-color: #0006;
  border-color: #fff4;
}

a.text-primary  {
    color: #ffb300 !important;
}
body.animated-gradient-bg {
  background: #000;
  color: var(--text);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding-top: 90px;
}

.card {
  background: #202020 !important; 
  border: 1px solid transparent !important;
border-radius: 14px !important;
}

.bg-light {
  background: #202020 !important;  
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  position: relative;
  border-radius: 10px 10px 0 0 !important;
}

.bg-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
  transform: skewX(-20deg);
  animation: shineEffect 5s infinite;
  z-index: -1;
  opacity: 0.2;
}

@keyframes shineEffect {
  0% {
    left: -120%;
  }

  50% {
    left: 120%;
  }

  100% {
    left: 130%;
  }
}

.vip-icon-wrapper {
  position: absolute;
  display: inline-block;
  width: 45px;
  height: 45px;
  z-index: 99;
  left: 2px;
  top: 19px;
}

.vip-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vip-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  color: white;
  font-size: 20px;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}


.btn-toggle {
    padding: 2px 8px;
    font-size: 14px;
    font-weight: bold;
    background: linear-gradient(256deg, #ff0000, #ff3c3c);
    color: #202020;
    border: none;
    border-radius: 3px;
    box-shadow: unset !important;
    cursor: pointer;
    z-index: 99999;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    isolation: isolate;
}

.btn-toggle::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
  transform: skewX(-20deg);
  animation: shineButton 3s infinite;
  z-index: -1;
}

.btn-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(255, 0, 150, 0.8), 0 0 8px rgba(255, 255, 255, 0.2) inset;
}

.btn-toggle:active {
  transform: scale(0.98);
  box-shadow: 0 0 8px rgba(255, 0, 150, 0.8);
}

@keyframes shineButton {
  0% {
    left: -130%;
  }

  50% {
    left: 130%;
  }

  100% {
    left: 130%;
  }
}

.swal2-container {
  display: flex;
  position: fixed;
  z-index: 99999;
  justify-content: center;
  right: 5px !important;
}

.rainbow-text {
  color: #fff;
  text-shadow: 0 0 9px #ff0000, 0 0 12px #ff0000;
}

 

.effect-btn {
  position: fixed;
  bottom: 50%;
  transform: translateY(-50%);
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  line-height: 15px;
  display: flex;
  color: #182359;
  align-items: center;
  justify-content: center;
  z-index: 999;
  animation: zoomInOut 1.5s infinite ease-in-out;
  text-shadow: unset !important
}

/* Zoom in-out animation */
@keyframes zoomInOut {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

 
.hot-badge {
      position: absolute;
    top: -8px;
    right: -10px;
    background: #b10000;
    color: #ffffff;
    font-weight: bold;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 8px; 
    z-index: 2;
}
.game-item .hot-badge {
  font-size: 8px !important;
}
@keyframes pulseHot {
  0% {
    transform: scale(1);
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.7);
  }

  50% {
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.9);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.7);
  }
}

.avatar-upload-btn {
  position: absolute;
  bottom: -11px;
  background-color: rgb(0 0 0 / 0%);
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 16px;
  /* display: flex
; */
  /* align-items: center; */
  justify-content: center;
  transition: opacity 0.3s ease;
  cursor: pointer;
  z-index: 9;
  width: 40px;
  height: 40px;
  left: 50% !important;
  transform: translateX(-50%);
}

/* Nằm bên trái */
.avatar-upload-btn.avatar-left {
  left: 0;
}

.avatar-wrapper:hover .avatar-upload-btn {
  opacity: 1;
}

button:focus {
  outline: unset !important;
  outline: unset !important;
}

.testimonial-card .avatar {
  overflow: unset !important
}

.avatar-wrapper .avatar-frame {
  position: absolute;
  width: 150px;
  height: 150px;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  pointer-events: none;
}




 

 

.frame-card {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      background-color: #1a1a1a;
      background-image: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
      padding: 12px;
      border-radius: 12px;
      border: 1px solid #333;
      box-shadow: 0 2px 8px rgba(0,0,0,0.3);
      transition: all 0.3s ease;
}

 
.modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* This ensures there is space between the card rows */
}

.frame-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  transition: opacity 0.3s ease;
  min-height: 100px; /* Đảm bảo chiều cao minimum */
  background-color: #2a2a2a; /* Background tối khi loading/error */
  background-image: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 50%, #2a2a2a 100%);
  background-size: cover;
  background-position: center;
  border: 1px solid #444;
}

/* Loading state cho frame images */
.frame-card img.frame-lazy {
  opacity: 0.7;
  background-color: #333333;
  background-image: linear-gradient(45deg, #333 25%, #444 25%, #444 50%, #333 50%, #333 75%, #444 75%);
  background-size: 20px 20px;
  animation: loading-stripe 1s linear infinite;
}

/* Priority loading cho 5 frame đầu tiên */
.frame-card img.frame-priority {
  opacity: 0.95;
  background-color: #1a3d1a;
  background-image: linear-gradient(45deg, #1a3d1a 25%, #2d5a2d 25%, #2d5a2d 50%, #1a3d1a 50%, #1a3d1a 75%, #2d5a2d 75%);
  background-size: 12px 12px;
  animation: priority-loading 0.6s linear infinite;
  border: 2px solid #5a8a5a;
  box-shadow: 0 0 10px rgba(90, 138, 90, 0.3);
}

/* Animation cho priority loading (nhanh hơn) */
@keyframes priority-loading {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 15px 15px;
  }
}

/* Priority frames khi đã preload thành công */
.frame-card img.frame-priority.preloaded {
  opacity: 1;
  background-color: #0f2f0f !important;
  background-image: none !important;
  animation: none;
  border: 2px solid #76c576;
  box-shadow: 0 0 12px rgba(118, 197, 118, 0.5);
  position: relative;
}

/* Indicator cho priority frames đã sẵn sàng */
.frame-card img.frame-priority.preloaded::before {
  content: '⚡';
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(118, 197, 118, 0.8);
  color: white;
  font-size: 10px;
  padding: 1px 3px;
  border-radius: 3px;
  z-index: 1;
}

.frame-card img[data-loaded="true"] {
  opacity: 1;
  background: none !important; /* Xóa background khi đã load thành công */
  border-color: #4a7c59; /* Xanh nhẹ cho thành công */
  animation: none;
}

.frame-card img[data-loaded="error"] {
  opacity: 1;
  background-color: #404040 !important;
  background-image: linear-gradient(135deg, #404040 0%, #505050 50%, #404040 100%) !important;
  border-color: #cc4444; /* Đỏ nhẹ cho lỗi */
  animation: none;
  position: relative;
}

/* Animation cho loading state */
@keyframes loading-stripe {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 20px 20px;
  }
}

/* Default frame icon khi lỗi */
.frame-card img[data-loaded="error"]::after {
  content: "🖼️";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  opacity: 0.6;
}

.frame-card .price-tag {
  font-size: 16px;
  color: #ff9d00;
  font-weight: bold;
  margin-top: 10px;
}

/* Frame action buttons */
.frame-card .frame-action-btn {
  margin-top: 10px;
  min-height: 38px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frame-card .frame-action-btn .btn-text {
  display: block;
  text-align: center;
  line-height: 1;
}

.frame-card .frame-action-btn.processing {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Trạng thái nút mua */
.frame-card .frame-action-btn.buy-btn {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
}

.frame-card .frame-action-btn.buy-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #0056b3, #004085);
  transform: translateY(-1px);
}

/* Trạng thái nút dùng */
.frame-card .frame-action-btn.use-btn {
  background: linear-gradient(135deg, #ffc107, #e0a800);
  color: #212529;
}

.frame-card .frame-action-btn.use-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #e0a800, #d39e00);
  transform: translateY(-1px);
}

/* Trạng thái đang dùng */
.frame-card .frame-action-btn.btn-secondary:disabled {
  background: linear-gradient(135deg, #6c757d, #545b62);
  color: #ffffff;
  opacity: 0.8;
  cursor: not-allowed;
}

 
.modal-footer {
     display: flex;
    justify-content: center;
    padding: 20px;
    background-color: #0d111a;
    border-radius: 0 0 18px 18px !important;
    border-top: 1px solid #444 !important;
}

 

#frameModal .modal-footer button:hover {
  background-color: #0056b3;
}


#frameModal .modal-body {
  max-height: 400px;
  overflow-y: auto;
}

h5#fullname {
  padding-left: 38px;
  margin-top: 100px !important;
      position: relative;
    z-index: 99;
}

@media (max-width:434.99px) {
  #btn-giao-dich {
    width: 376px;
    height: 75px;
    top: 111px;
  }
#frames, #ai-chat {
    top: 42%;
    font-size: 14px;
}
span#friends,
span#jobs { 
    font-size: 14px; 
}
  #btn-ban-do {
    width: 110px;
    height: 100px;
    right: 5px;
    top: 8px;
  }

  #btn-mua-khung {
    width: 110px;
    height: 100px;
    left: 5px;
    top: 8px;
  }
}

@media (max-width:409.99px) {
  #btn-giao-dich {
    width: 349px;
  }

  h5#fullname {
    margin-top: 88px !important;
  }
}

@media (max-width: 374px) {
 .avatar-wrapper .avatar-frame {
    width: 120px;
    height: 120px;
}
#avatar {
      width: 77px !important;
    height: 77px !important;
}
}


@media (max-width: 356px) {
  #btn-giao-dich {
    width: 325px;
  }
      #btn-ban-do {
        right: -5px;
    }
     #btn-mua-khung {
       left: -5px;
     }
}
@media (max-width: 299px) {
  #btn-giao-dich {
    width: 315px;
  }
}



.row {
  margin-right: auto;
  margin-left: auto;
}     

.swal2-popup {
  background: radial-gradient(72.12% 50% at 50% 0, rgb(207 207 207 / 20%) 0, transparent 100%), linear-gradient(173deg, #45454580 1.04%, #00000080 94.54%), #212121 !important;
  color: #fff !important; 
  webkit-clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
    clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
}
 
.bg-card {
    background: radial-gradient(72.12% 50% at 50% 0, rgb(207 207 207 / 20%) 0, transparent 100%), linear-gradient(173deg, #45454580 1.04%, #00000080 94.54%), #212121 !important;
}
.swal2-container.swal2-shown {
  background-color: #0f1f2d !important;
}

.chat-vip {
  font-weight: bold;
  color: #ffed8c;
  margin-right: 5px;
}

.chat-user {
  color: #ffcc00;
}

.chat-line {
  margin-bottom: 4px;
}

.text-center {
  text-align: center
}
 

.chat-user {
  color: #ffcc00;
}

.chat-line {
  position: relative;
  display: flex ;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  word-break: break-word;
  white-space: pre-line; 
  height: auto; 
  z-index: 99;
}

.admin-tag {
  color: #f7d274 !important;
  font-weight: bold;
  font-size: 11px;
  margin-left: 6px;
  padding: 2px 4px;
  border: 1px solid #f7d274 !important;
  border-radius: 4px;
  background: rgba(255, 192, 203, 0.1);
}

.vip-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  margin-top: 2px;
}

.text-primary {
  color: var(--main-color) !important;
}

#emoji-toggle.active {
  color: #f7d274 !important;
}

.chat-content {
  flex: 1;
}

 


.vip-user-0 {
  color: #ffffff;
}

/* Trắng */
.vip-user-1 {
  color: #a0e9ff;
}

.vip-user-2 {
  color: #7effa0;
}

.vip-user-3 {
  color: #ffd966;
}

.vip-user-4 {
  color: #ffa07a;
}

.vip-user-5 {
  color: #ff69b4;
}

.vip-user-6 {
  color: #da70d6;
}

.vip-user-7 {
  color: #00ced1;
}

.vip-user-8 {
  color: #ff4500;
}

.vip-user-9 {
  color: #f0e68c;
}

.vip-user-10 {
  color: #ffd700;
}

/* Vàng gold */
.vip-user-11 {
  color: #00ffcc;
}

.vip-user-12 {
  color: #00ff66;
}

.vip-user-13 {
  color: #ff00cc;
}

.vip-user-14 {
  color: #cc99ff;
}

.vip-user-15 {
  color: #ff3333;
  text-shadow: 0 0 4px #ff9999;
}

.vip-user-16 {
  color: #33ccff;
  text-shadow: 0 0 4px #66ffff;
}

.vip-user-17 {
  color: #ffcc33;
  text-shadow: 0 0 4px #fff000;
}

.vip-user-18 {
  color: #cc33ff;
  text-shadow: 0 0 4px #ff99ff;
}

.vip-user-19 {
  color: #66ff66;
  text-shadow: 0 0 4px #b3ffb3;
}

.vip-user-20 {
  color: #ff0055;
  text-shadow: 0 0 5px #ff66ff, 0 0 8px #fff;
}

.chat-line {
  margin-bottom: 6px;
  position: relative;
  /* padding-right: 90px; */
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.emoji {
  font-size: 22px;
  text-align: center;
  display: flex;
  align-items: center;
  padding: 0 10px;
}

 
.chat-line {
  position: relative; 
}
.fix-react .reactions-bar ,
.fix-react .reactions-guild-bar,
.fix-react .reactions-pr-bar{
  bottom: 26px !important;
}
.chat-text {
  position: relative;
    left: 0;
    display: inline-block;
    margin-top: -64px;
    white-space: nowrap;
    width: 100%;
}

.chat-line .chat-content {
  text-align: left !important;
}

.card.chat-box {
  padding: 10px;
}

.chat-line.mymsg span.admin-label {
  margin-top: unset !important;
  font-size: 14px;
  padding: 2px 8px !important;
  border: 1px solid gray;
  border-radius: 12px;
  margin-left: 10px;
}
.chat-line span.admin-label{
  margin-top: unset !important;
  font-size: 14px;
  padding: 2px 8px !important;
  border: 1px solid gray;
  border-radius: 0;
  margin-left: 10px;
}
.chat-content .chat-time { 
  color: #aaa;
  font-size: 12px;
  display: flex;
  align-items: center;
  height: 20px;
}

#emoji-picker,
#emoji-picker .nav {

  max-width: 86vw;

  overflow-x: hidden;
  box-sizing: border-box;
  z-index: 9999;
}

.chat-box {
  padding: 0 30px; 
}

.xu-effect {
  display: inline-block;
  margin-left: 8px;
  font-size: 14px;
  font-weight: bold;
  color: #ffd700;
  animation: flyUpXu 1s ease-out forwards;
  pointer-events: none;
  position: relative;
}

@keyframes flyUpXu {
  0% {
    opacity: 0.9;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-20px) scale(1.3);
  }
}

#backToTop {
  position: fixed;
  bottom: 53px !important;
  right: 20px; 
  font-size: 12px;
  color: #000;
  border: none;
  background-color: #ffffffb8;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 11%;
  width: 50px;
  height: 50px;
  z-index: 99999;
  /* display: flex; */
  display: none;
}

#backToTop>div {
  font-size: 12px;
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  padding-top: 5px;
  padding-bottom: 5px;
}

#backToTop i {
  font-size: 14px;
  position: relative;
  top: 4px;
}

#backToTop:hover i {
  top: 3px;
}

@keyframes flyUp {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-30px);
  }
}

html {
  scroll-behavior: smooth;
}

#backToTop {
  transition: bottom 0.4s ease;
}

.col-lg-3.order-lg-first,
.list-group.mb-2 {
  text-align: left !important;
}

 .row div {
    text-align: center !important;
}
div.row .text-left {
    text-align: left !important;
}

.cart-item-product-info p {
  text-align: left
}

.cart-item-product-info b {
  font-size: 16px;
  text-align: left;
  padding-left: 10px
}

.cart-item-product-info b i {
  color: red;
}

.cart-item .cart-item-label {
  display: block;
  margin-top: 9px;
  margin-bottom: 15px;
  color: #ead77e !important;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.cart-item .cart-item-product-title {
  margin-bottom: 8px;
  margin-top: 5px;
  transition: color, 0.3s;
  color: #ead77e !important;
  ;
  font-size: 16px;
  font-weight: bold;
}

.cart-item {
  position: relative;
  margin-bottom: 30px;
  padding: 0 50px 0 10px;
  background-color: #0c09399e !important;
  box-shadow: 0 12px 20px 1px rgba(64, 64, 64, .09);
}

small.text-muted {
      color: #8d8d8d !important;
    margin-top: 0;
    display: inline-block;
}

.confirm-buy {
      display: flex !important ;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background-image: linear-gradient(to right top, #112333, #0f1f2d99);
    color: #ffab3f !important;
    padding: 10px;
    font-size: 14px;
}



.tab-content>.active {
    display: block;
    border: 1px solid transparent !important;
    border-radius: 0 0 13px 13px !important; 
}



#xuCurrent,
#xuNeed {
  font-weight: bold !important;
  color: #ffd15b !important;
}

.tab-content {
  margin-bottom: 10px;
}

 

.modal-footer {
  text-align: center;
  display: flex;
  justify-content: center;
  color: #f7d274 !important;
}

 

button.close {
  color: white !important
}
 

@keyframes gradientText {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}


#swal2-content {
  color: #fff
}



.product-card .product-buttons {
  background-color: unset !important;
}

:root {
  --primary: #4e54ff;
  --secondary: #6f42c1;
  --success: #28a745;
  --danger: #dc3545;
  --warning: #f7d274;
  --info: #17a2b8;
  --dark: #04103b;
  --darker: #00133f;
  --card-bg: #000d4870;
  --text: #e9ecef;
  --text-muted: #868e96;
  --border-color: #2a2f45;
}



@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* New Navbar Styles */
.navbar { 
  padding: 0.5rem 1rem;
  height: 60px;
  border-radius: 0 !important;
  min-height: unset !important;
}

.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
  margin-right: 14px !important;
}

.navbar-brand img {
      width: 97px;
    height: 40px;
    margin-right: 5px;
    margin-top: 4px;
}

/* Logo responsive - ẩn/hiện theo kích thước màn hình */
.navbar-brand .logo-mobile {
    display: none;
}

@media (max-width: 1639px) {
    .navbar-brand .logo-desktop {
        display: none;
    }
    .navbar-brand .logo-mobile {
        display: block;
    }
}

.nav-link {
    padding: 0.5rem 1rem;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
}



.navbar .dropdown-toggle::after {
  display: none;
}

.navbar-nav {
  display: flex;
  align-items: center;
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-icon {
  font-size: 20px;
  margin-right: 5px;
}

/* Navbar sections */
.navbar-section {
  display: flex;
  align-items: center;
}

.navbar-center {
  flex: 1;
  justify-content: center;
}

.navbar-right {
  justify-content: flex-end;
}

.avatar {
  border: 0px !important;
}

/* User avatar */
.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  margin-left: 8px;
}

/* Dropdown styling */
.dropdown-menu {
  background: #000 !important;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-top: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  padding: 0.5rem;
}

.dropdown-item {
  color: var(--text);
  padding: 0.5rem 1rem;
  font-size: 14px;
  border-radius: 6px;
  transition: all 0.2s;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.dropdown-divider {
  border-top: 1px solid var(--border-color);
  margin: 0.5rem 0;
}

/* Rest of your existing styles */
.card {
  border: none;
  border-radius: 12px; 
  transition: all 0.3s ease;
}

 

.testimonial-card {
   background: #202020 !important; 

}

 

.btn-info {
  background: linear-gradient(45deg, var(--primary), var(--info));
  border: none;
}

/* Custom card gradients */
.border-bottom-red {
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(to right, #ff416c, #ff4b2b);
  border-image-slice: 1;
}

.border-bottom-blue {
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(to right, #396afc, #2948ff);
  border-image-slice: 1;
}

.border-bottom-yellow {
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(to right, #f7971e, #ffd200);
  border-image-slice: 1;
}

.border-bottom-green {
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(to right, #11998e, #38ef7d);
  border-image-slice: 1;
}

.border-bottom-nonebit {
  border-bottom: 6px solid transparent;
  border-image: linear-gradient(to right, #8e2de2, #4a00e0);
  border-image-slice: 1;
}

/* Icon colors */
.red {
  color: #ff416c;
}

.blue {
  color: #396afc;
}

.yellow {
  color: #f7971e;
}

.green {
  color: #11998e;
}

.nonebit {
  color: #8e2de2;
}

/* Stats counters */
.stats-counter {
  background-color: #000;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
}

.stats-counter .label {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.stats-counter .value {
  font-size: 1.3rem;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 769.98px) {
  .nav-item {
 
    margin-bottom: 0.5rem;
  }
}

.nav-tabs {
      background: #151515 !important;
    padding-top: 8px !important;
    padding-left: 8px !important; 
}


.nav-tabs .nav-link {
  margin-bottom: 8px !important;
}
/* Media queries */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: linear-gradient(145deg, rgb(30 41 59), rgb(17 24 39)) !important;
    border-radius: 0 0 10px 10px;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    width: 102%;
  }

 
  .dropdown-menu.card {
    display: none;
  }

  .navbar-sm-center {
    justify-content: flex-start !important;
    display: flex;
    padding-left: 10px;
  }

  div#navbarContent .navbar-section.navbar-center.mx-auto i.fas,
  .navbar-section.navbar-sm-center.navbar-right i.fas {
    display: none;
  }

  div#navbarContent .navbar-section.navbar-center.mx-auto {
    flex-direction: column;
    align-items: baseline;
  }


  .dropdown-menu-center {
    transform: unset !important;

    min-width: 200px;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
  }


  .dropdown-menu {
    width: 100%;
    margin-top: 0;
    box-shadow: none;
    border: none;
    background-color: rgb(0 0 0);
  }
}

@media (max-width: 1199.98px) {

  .navbar-sm-center {
    justify-content: center
  }

  .dropdown-menu {
    width: auto;

  }

  .dropdown-menu-center {
    transform: translateX(-50%);
    left: 50%;
    min-width: 200px;
  }
}


@media (max-width:464px) {
  .col-smg-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .list-group-item .badge-info, .list-group-item .badge-success, .list-group-item .badge-danger {
    width: 100% !important;
  }
}


.alert-info {
  color: #acf0fb !important;
  background-color: #00000066 !important;
  border-color: #bee5eb;
}

@media (max-width: 1200px) {
  .card.left-bar-card span.badge.badge-warning {
    display: none;
  }
}

@media (max-width: 991px) {
  .card.left-bar-card span.badge.badge-warning {
    display: block;
  }
}

.alert-info a {
  color: red !important;
}

.position-absolute {
  position: absolute !important;
  z-index: 9999;
}

@media(max-width:990px) {
  .mt-2-ntl {
    margin-top: 10px
  }
}

.table {
  color: #8b8b8b !important
}

 
/* Nhấn mạnh số tiền */
#xuCurrent,
#xuNeed {
  font-weight: bold !important;
  color: #00e6e6 !important;
}

.custom-select-style {
  background-color: #3f51b5 !important;
  color: white !important;
}

.alert-warning {
  color: #ababab !important;
  background-color: #0c1118 !important;
  border-color: #4b4b4b !important;
}

.border {
  border: 1px solid #474a4d !important;
}

.step-content ul.list-group.p-3 {
  text-align: left;
}

.id-text {
  display: inline-block;
  min-width: 168px
}


.badge-info,
.badge-success {
  color: #ffffff;
    background: #0a0a0a;
    display: inline-block;
    border-radius: 5px;
    min-width: 100px !important;
}
 
span#payment_id {
  display: inline-block
}

@keyframes rainbowGlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.btn-toolbar.sw-toolbar.sw-toolbar-bottom.justify-content-end {
  display: flex;
  justify-content: center !important;
  margin-bottom: 20px !important
}

 
.btn-toggle {
  background-color: #ff6f61;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 3px;
  cursor: pointer;
}

 

.vip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vip-level {
  font-size: 18px;
  font-weight: bold;
}

.vip-progress {
  margin-top: 20px;
}

.vip-bar {
  width: 100%;
  height: 15px;
  background-color: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.xu-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff9a5a 25%, #ff6f61 50%, #ff9a5a 75%);
  background-size: 200% 100%;
  animation: flowingBar 2s linear infinite;
  border-radius: 10px;
  transition: width 0.6s ease-in-out;
  position: relative;
  max-width: 100%
}

.spark {
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd37a, #ff6f00);
  opacity: 0.9;
  animation: sparkFly 1.8s linear infinite;
}

/* Bay loạn: mỗi spark bay 1 hướng, 1 góc, 1 size */
.spark:nth-child(1) {
  left: 98%;
  width: 6px;
  height: 6px;
  animation-delay: 0s;
  animation-name: sparkFly1;
}

.spark:nth-child(2) {
  left: 96%;
  width: 4px;
  height: 4px;
  animation-delay: 0.1s;
  animation-name: sparkFly2;
}

.spark:nth-child(3) {
  left: 94%;
  width: 7px;
  height: 7px;
  animation-delay: 0.2s;
  animation-name: sparkFly3;
}

.spark:nth-child(4) {
  left: 97%;
  width: 5px;
  height: 5px;
  animation-delay: 0.25s;
  animation-name: sparkFly4;
}

.spark:nth-child(5) {
  left: 93%;
  width: 6px;
  height: 6px;
  animation-delay: 0.3s;
  animation-name: sparkFly5;
}

.spark:nth-child(6) {
  left: 99%;
  width: 5px;
  height: 5px;
  animation-delay: 0.35s;
  animation-name: sparkFly6;
}

.spark:nth-child(7) {
  left: 95%;
  width: 8px;
  height: 8px;
  animation-delay: 0.4s;
  animation-name: sparkFly7;
}

.spark:nth-child(8) {
  left: 92%;
  width: 5px;
  height: 5px;
  animation-delay: 0.45s;
  animation-name: sparkFly8;
}

.spark:nth-child(9) {
  left: 98%;
  width: 7px;
  height: 7px;
  animation-delay: 0.5s;
  animation-name: sparkFly9;
}

.spark:nth-child(10) {
  left: 90%;
  width: 4px;
  height: 4px;
  animation-delay: 0.55s;
  animation-name: sparkFly10;
}

.spark:nth-child(11) {
  left: 94%;
  width: 6px;
  height: 6px;
  animation-delay: 0.6s;
  animation-name: sparkFly11;
}

.spark:nth-child(12) {
  left: 91%;
  width: 7px;
  height: 7px;
  animation-delay: 0.65s;
  animation-name: sparkFly12;
}

.spark:nth-child(13) {
  left: 97%;
  width: 4px;
  height: 4px;
  animation-delay: 0.7s;
  animation-name: sparkFly13;
}

.spark:nth-child(14) {
  left: 93%;
  width: 5px;
  height: 5px;
  animation-delay: 0.75s;
  animation-name: sparkFly14;
}

.spark:nth-child(15) {
  left: 95%;
  width: 6px;
  height: 6px;
  animation-delay: 0.8s;
  animation-name: sparkFly15;
}

@keyframes sparkFly1 {
  0% {
    opacity: 1;
    transform: translate(0, 0);
  }

  100% {
    opacity: 0;
    transform: translate(-20px, -50px) rotate(20deg);
  }
}

@keyframes sparkFly2 {
  0% {
    opacity: 1;
    transform: translate(0, 0);
  }

  100% {
    opacity: 0;
    transform: translate(15px, -60px) rotate(-15deg);
  }
}

@keyframes sparkFly3 {
  0% {
    opacity: 1;
    transform: translate(0, 0);
  }

  100% {
    opacity: 0;
    transform: translate(-10px, -40px) rotate(30deg);
  }
}

@keyframes sparkFly4 {
  0% {
    opacity: 1;
    transform: translate(0, 0);
  }

  100% {
    opacity: 0;
    transform: translate(25px, -70px) rotate(-30deg);
  }
}

@keyframes sparkFly5 {
  0% {
    opacity: 1;
    transform: translate(0, 0);
  }

  100% {
    opacity: 0;
    transform: translate(-15px, -65px) rotate(10deg);
  }
}

@keyframes sparkFly6 {
  0% {
    opacity: 1;
    transform: translate(0, 0);
  }

  100% {
    opacity: 0;
    transform: translate(20px, -55px) rotate(40deg);
  }
}

@keyframes sparkFly7 {
  0% {
    opacity: 1;
    transform: translate(0, 0);
  }

  100% {
    opacity: 0;
    transform: translate(-25px, -75px) rotate(-20deg);
  }
}

@keyframes sparkFly8 {
  0% {
    opacity: 1;
    transform: translate(0, 0);
  }

  100% {
    opacity: 0;
    transform: translate(10px, -80px) rotate(15deg);
  }
}

@keyframes sparkFly9 {
  0% {
    opacity: 1;
    transform: translate(0, 0);
  }

  100% {
    opacity: 0;
    transform: translate(-12px, -50px) rotate(-25deg);
  }
}

@keyframes sparkFly10 {
  0% {
    opacity: 1;
    transform: translate(0, 0);
  }

  100% {
    opacity: 0;
    transform: translate(18px, -68px) rotate(30deg);
  }
}

@keyframes sparkFly11 {
  0% {
    opacity: 1;
    transform: translate(0, 0);
  }

  100% {
    opacity: 0;
    transform: translate(-30px, -90px) rotate(20deg);
  }
}

@keyframes sparkFly12 {
  0% {
    opacity: 1;
    transform: translate(0, 0);
  }

  100% {
    opacity: 0;
    transform: translate(22px, -55px) rotate(-30deg);
  }
}

@keyframes sparkFly13 {
  0% {
    opacity: 1;
    transform: translate(0, 0);
  }

  100% {
    opacity: 0;
    transform: translate(0, -70px) rotate(5deg);
  }
}

@keyframes sparkFly14 {
  0% {
    opacity: 1;
    transform: translate(0, 0);
  }

  100% {
    opacity: 0;
    transform: translate(-18px, -65px) rotate(-10deg);
  }
}

@keyframes sparkFly15 {
  0% {
    opacity: 1;
    transform: translate(0, 0);
  }

  100% {
    opacity: 0;
    transform: translate(30px, -85px) rotate(25deg);
  }
}


@keyframes flowingBar {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.vip-info {
  margin-top: 10px;
}

.xp-info {
  font-size: 13px;
  color: #ffffff;
  text-shadow: 1px 1px black;
  font-weight: bold;
  border-radius: 5px;
  padding: 10px;
}

#btn-nhan-qua-vip {
  position: relative;
  display: inline-block;
  padding: 10px 10px;
  font-weight: bold;
  font-size: 15px;
  color: #312f2a;
  background: linear-gradient(90deg, #ff6046, #ffc107);
  border: none;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

#btn-nhan-qua-vip::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
  transform: skewX(-20deg);
  animation: shine 2.5s infinite;
}

@keyframes shine {
  0% {
    left: -75%;
  }

  100% {
    left: 130%;
  }
}

#btn-nhan-qua-vip:hover {
  box-shadow: unset;
  transform: scale(1.01);
}

#vip_level_number {
  display: none
}

/* Animation bay lên và biến mất */
@keyframes sparkFlyUp {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-20px) scale(0.5) rotate(20deg);
  }
}

#xu_vip_bar {
  width: 0%;
  /* ✅ fix mặc định */
}

.vip-progress-text {
  position: absolute;
  left: 50%;
  top: 49%;
  transform: translate(-50%, -50%);
  font-size: 13px;
  color: #e7e000;
  font-weight: bold;
  text-shadow: 1px 1px black;
  pointer-events: none;
  z-index: 9;
  width: 100%;
  text-align: center;
}



.vip-box {
  opacity: 0;
  transform: translateY(-100%);
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease, max-height 0.5s ease;
  pointer-events: none;
  background: linear-gradient(181deg, #0a233e3b, #000000c2, #8a202061, #53121259) !important;
  backdrop-filter: blur(6px);
}

.vip-box.visible {
  opacity: 1;
  transform: translateY(0);
  max-height: 1000px;
  pointer-events: auto;
  z-index: 99999 !important;
}

span#xu_vip_received,
#xu_vip_da_nhan,
#xu_vip_con_lai {
  color: #ffbd40;
}

button#toggleVipBox {
      overflow: hidden;
    position: relative;
    margin-top: 2px;
    height: 29px;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.background-danger {
  color: #dbdbdb !important;
  border-color: #ff8787 !important;
  background: linear-gradient(135deg, #ff7300, #ff0000bf);
}

.background-success {
  color: #000000 !important;
  border-color: #99ff85 !important;
  background: linear-gradient(135deg, #beffcc, #37ffc3bf);
}

.bg-dark {
  background-color: #000059 !important;
}
#tab-giangho .btn{
  font-weight: 500 !important;
}
#sellLogBox .sell-log-line {
  margin-bottom: 10px;
  border-bottom: 1px dashed #555;
  padding-bottom: 5px;
  font-size: 13px;
}

#sellLogBox strong {
  color: #00ffd5;
}

#sellLogBox .text-warning {
  font-weight: bold;
}

#unclaimedContent {
padding: 16px;
  flex-direction: row;
  gap: 12px;
  margin-top: 20px;
}

#unclaimedTabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 768px) {
  #unclaimedTabs {
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
  }
#topNapTabs {
      display: flex;
    justify-content: center;
}
  #topNapTabs .nav-item {
    width: 49% !important;
    margin-bottom: -1px; 
    position: relative;
  }
  #topNapTabs .nav-item + .nav-item {
    margin-left: 0px !important;
  }
  #topNapTabs a.nav-link{
    width: 96% !important;
    text-align: center !important;
  }
}

 
#paginationContainer .btn-outline-light {
    border-radius: 40px !important;
    margin: 0 20px !important;
    display: inline-block !important;
}
 
 
#unclaimedTableWrapper {
  flex: 1;
  overflow-x: auto;
}

#unclaimedTableWrapper table {
  width: 100%;
}

@media (max-width: 768px) {
  .table thead {
    display: none;
  }

  #unclaimedContent {
    flex-direction: column
  }

  .table td:last-child {
    border: unset
  }
 

  .table,
  .table tbody,
  .table tr,
  .table td {
    display: block;
    width: 100%;
  }

  .table tr {
    margin-bottom: 15px;
    border: 1px solid #a5a5a5;
    border-radius: 8px;
    background: linear-gradient(-120deg, rgba(40, 43, 58, 0) 20%, rgba(40, 43, 58, 1)) !important;
    padding: 5px;
  }

  table.table.table-striped.table-bordered th {
    background-color: #4d4d4d !important;
    color: #f8d06c !important;
    font-weight: 600;
    font-size: 14px;
  }

  .table td {
    position: relative;
    padding-left: 50%;
    text-align: left;
    border: none;
    border-bottom: 1px solid #373737;
  }

  .table td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    top: 10px;
    font-weight: bold;
    color: #f7d274;
    white-space: nowrap;
  }

  .nav-tabs {
    border-bottom: unset !important
  }
}

.nap-amount {
  font-weight: bold;
  color: #fff
}

.toast-xu-moc {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #0f0;
  padding: 8px 16px;
  border-radius: 8px;
  z-index: 9999;
  font-weight: bold;
  box-shadow: 0 0 6px rgba(0, 255, 0, 0.8);
  animation: fadeUp 0.4s ease, fadeOut 0.5s ease 3.5s forwards;
  width: 90%;
  text-align: center;
  display: flex;
  justify-content: center
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translate(-50%, -20px);
  }
}

.toast-xu {
  position: fixed;
  right: 30px;
  top: 50px;
  padding: 10px 20px;
  background: rgba(255, 193, 7, 0.9);
  color: #000;
  font-weight: bold;
  border-radius: 10px;
  font-size: 18px;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.5s ease;
  z-index: 9999;
}

.toast-xu.show {
  opacity: 1;
  transform: translateY(0);
}

table.table.table-bordered.text-white thead tr {
  background-color: #101114 !important;
}

table.table.table-bordered.text-white thead tr th {
  text-align: center;
}

.list-group-1 {
  background-color: unset !important;
  border: unset !important;
  box-shadow: unset !important;
}
 
 

.cart-item {
  position: relative;
  margin-bottom: 30px;
  padding: 0 50px 0 10px;
  background-color: #131927 !important;
  box-shadow: 0 12px 20px 1px rgba(64, 64, 64, .09);
  border-radius: 12px;
  border: 1px solid #474747;
}




 
 

#username1 {
  color: orange
}

.modal.fade.show {
  padding-right: unset !important;
    display: flex;
    justify-content: center;
    width: 100%;
    align-items: center;
    margin: 0 auto;
    transform: translateX(50%) !important;
    left: -50% !important;
    background-color: #00000030;
    z-index: 99999;
    background: #000102db;
}

.da-xem {
  position: absolute;
  top: 0px;
  right: 10px;
  font-size: 11px;
  color: gray;
  opacity: 0.8;
}

.alert {
  position: relative;
}



.badge-text {
  position: relative;
  background-size: 200% 100%;
}

#titleBadge img {
  height: 74px;
  position: absolute;
  top: -12px;  
}

 
.navbar-section.navbar-sm-center.navbar-right > .group-btn {
  margin: unset !important;
}
 

.title-worker {
  position: relative;
  background: linear-gradient(120deg, #ff0000, #ffe3e3, #ff0d0d);
  background-size: 200% 100%;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineText 2s linear infinite;
}



.title-doanh-nhan-tre-tuoi {
  background: linear-gradient(to right, #ffa500, #fdff89);
}

.title-doanh-nhan-tre-tuoi::before {
  background: linear-gradient(60deg, #000000, #fff3ec, #f5f5f5, #999999, #ff5e62);
  background-size: 400% 400%;
  animation: borderLoop 4s linear infinite;
}

.title-doanh-nhan-tre-tuoi::after {
  background: linear-gradient(to right, #fb98f3, #ff0891);
}


.title-business {
  position: relative;
  background: linear-gradient(120deg, #ffb100, #ffffff, #ff9900);
  background-size: 200% 100%;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineText 2s linear infinite;
}

.title-dai-gia-co-tieng {
  background: linear-gradient(to right, #ffa500, #fdff89);
}

.title-dai-gia-co-tieng::before {
  background: linear-gradient(60deg, #000000, #fff3ec, #f5f5f5, #999999, #ff5e62);
  background-size: 400% 400%;
  animation: borderLoop 4s linear infinite;
}

.title-dai-gia-co-tieng::after {
  background: linear-gradient(to right, #fbf398, #ffb308);
}


.title-rich {
  position: relative;
  background: linear-gradient(120deg, #cc00ff, #27ff00, #cc00ff);
  background-size: 200% 100%;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineText 2s linear infinite;
}

.title-tai-phiet-quyen-luc {
  background: linear-gradient(to right, #ff0000, #f76700);
}

.title-tai-phiet-quyen-luc::before {
  background: linear-gradient(60deg, #000000, #fff3ec, #f5f5f5, #999999, #ff5e62);
  background-size: 400% 400%;
  animation: borderLoop 4s linear infinite;
}

.title-tai-phiet-quyen-luc::after {
  background: linear-gradient(to right, #ff0000, #ff5808);
}


.title-supper-rich {
  position: relative;
  background: linear-gradient(120deg, #fdea05, #ffffff, #ffe005);
  background-size: 200% 100%;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineText 2s linear infinite;
}


/* Hiệu ứng tráng gương cho chữ */
@keyframes shineText {
  0% {
    background-position: -100% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* Vòng sáng chạy quanh border */
@keyframes borderLoop {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 400% 50%;
  }
}

.spinner {
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid #fff06d;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

.footer-basic p.text-muted {
  font-size: 15px !important;
  font-weight: 100;
  font-style: italic;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#titleWrapper #titleBadge, .badge-text-avatar {
  display: flex;
  align-items: center;
  font-size: 15px;
  justify-content: center;
  padding: 10px 0 20px 0;
}

.badge-text-avatar img {
    height: 74px;
    position: absolute;
    top: -12px;
}

.swal-user-info .badge-wrapper.badge-congan.title-bo-khoai-phu-huyen img {
      height: 56px;
    position: absolute;
    top: -3px;
}
#titleWrapper {
  min-width: 130px;
  justify-content: center;
}



/* Responsive container padding */
@media (min-width: 768px) {
  .container {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
}

/* Keep default padding on mobile to prevent content touching edges */
@media (max-width: 767px) {
  .container {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }
}

 

button.swal2-close {
  display: flex !important;
  align-items: center;
  position: absolute;
  justify-content: center;
}

div:where(.swal2-container) button:where(.swal2-close):focus-visible {
  box-shadow: unset !important
}

 

body {
  padding-right: 0 !important
}

.swal2-radio.weapon-options {
  margin: 0 !important;
}

.chat-text {
  text-align: left;
}

.btn-success-1 {
  background-color: #f7d274 !important;
  color: #1c1e28 !important;
  border-color: #ffd66e !important;
}

.btn:hover {
  transform: scale(1.02);
}

.btn-primary-1 {
  background-color: transparent !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, .5) !important;
}
.text-warning {
    color: #ffd92e !important;
}
#menuModal .text-warning 
 {
    color: #8f51f1 !important;
}

.pay-bank .badge-danger,
.pay-momo .badge-danger {
  background-color: #8b8b8b !important;
  color: #212121 !important;
  width: 200px;
}

.pay-bank .bank {
  color: #f7d274
}

@media(max-width: 464px) {
  div#step-2 .list-group-item {
    display: flex;
    flex-direction: column;
  }

  div#step-2 .list-group-item span {
    margin-bottom: 10px;
  }

  .badge-info,
  .badge-success,
  .pay-bank .badge-danger,
  .pay-momo .badge-danger {
    width: 100%;
  }
}



#mapSelect-box .form-control,#mapSelect-box select.form-control {
  font-size: 14px !important;
  text-align: left !important;
}
 

#buaBadgeWrapper .badge-danger {
      background-color: transparent !important;
    color: #fff !important;
    padding: 5px 8px;
    font-size: 12px;
    border-radius: 11px;
    font-weight: bold;
    min-width: 105px;
    position: absolute;
    top: -6px !important;
    min-width: unset !important;
} 
 

.table-responsive .badge-info  { 
  color: #1c1e28 !important;
}

ul.list-group.list-group-flush.mb-3 .list-group-item {
  background-color: transparent !important;
  border: transparent !important;
  text-align: left;
}

.danger-note {
  background-color: #a5a5a5;
  color: #212529;
  padding: 2px 6px;
  border-radius: 3px;
  min-width: 150px;
  display: inline-block;
}

@media screen and (max-width: 768px) {

  .sw-theme-dots>ul.step-anchor>li {
    min-width: 200px;
  }
}

.no-borderd-box .list-group-item {
  border: unset !important;
}

.nav-link:hover {
    color: #ffffff !important;
    background-color: #ffffff0d;
    border-radius: 3px;
}

span.badge.badge-danger.bua-timer {
  min-width: unset;
  box-shadow: unset !important; 
  color: #fff396 !important;
  position: relative;
  top: -3px;
}

#buyBuaModal .btn-dark:hover {
  color: #fff !important;
  background-color: #20202f87 !important;
  border-color: #9d9d9d !important;
}

#buyBuaModal .btn-dark {
  color: #fff !important;
  background-color: #20202f !important;
  border-color: #616161 !important;
}
     .iziToast-wrapper {
        padding: 10px 15px;
        z-index: 99999999 !important;
    }
.col-12.mt-2 i {
  font-size: 18px !important;
}

.mb-3 i.fas.fa-star.mr-2,
.mb-3 i.fas.fa-user.mr-2 {
  font-size: 19px !important;
}
nav.navbar.navbar-expand-lg.fixed-top {
  z-index: 999999 !important;
  transition: transform 0.25s ease-in-out;
}
.img-banner {
  width: 100%;
  border: 2px solid gray;
  border-radius: 14px;
}

img#train-btn {
  position: absolute;
    z-index: 99;
    bottom: 10px;
    left: 50%;
    width: 190px;
    height: auto;
    transform: translateX(-50%);
}
.fire {
  width: 214px;
  height: 39px;
  mix-blend-mode: screen;
  position: absolute;
  bottom: 36px;
  z-index: 999;
  transform: translateX(-50%);
  left: 50%;
  opacity: 0.4;
  
}
.fire-box {
  transform-origin: center;
  animation: fireScale 1.4s ease-in-out infinite;
}
@keyframes fireScale {
  0%, 100% {
    transform: scale(1);
 
  }
  50% {
    transform: scale(1.1);
 
  }
}

@media (max-width: 991px) {
  img#train-btn {
    width: 205px;
    height: auto;
    bottom: 9px;
}
  .fire {
    width: 184px;
    height: 33px;
    bottom: 19px;
  }
}

@media (max-width: 768px) {
  img#train-btn {
    width: 165px;
    height: auto;
    bottom: 6px;
  }
  .fire {
    width: 172px;
    height: 29px;
    bottom: 11px;
  }
}

@media (max-width: 468px) {
  img#train-btn {
    width: 161px;
    height: auto;
    bottom: -20px;
  }
   .list-group-item .badge-info, .list-group-item .badge-success, .list-group-item .badge-danger {
    width: 100% !important;
  }
  .fire {
    width: 168px;
    height: 29px;
    bottom: -10px;
}
}
@media (max-width: 378px) {
  img#train-btn {
    width: 150px;
    height: auto;
    bottom: -13px;
  }

 
}
 

@keyframes sliding {
  from {
    background-position: 5636px 2416px, 0 1668px, 0 0;
}
to {
    background-position: 125px 0, 124px 0, 0 0;
}
}
div:where(.swal2-container).swal2-backdrop-show, div:where(.swal2-container).swal2-noanimation {
  background: rgb(0 0 0 / 67%) !important;;
  width: 100% !important; 
}
.swal2-bottom div[aria-labelledby="swal2-title"] {
  max-width: 360px !important;
}

.swal2-bottom button.swal2-close {
  display: flex;
  top: 3px;
  position: absolute;
  justify-content: center;
}
 
 
.fade-in {
  opacity: 0;
  transition: opacity 0.4s ease-in;
}
.fade-in.show {
  opacity: 1;
}

.fade-out {
  opacity: 1;
  transition: opacity 0.4s ease-out;
}
.fade-out.hide {
  opacity: 0;
}
.fix-img {
  position: relative;
  display: inline-block; 
}

.no-fix-img {
  position: unset;
} 
 
 
 
.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Khi ảnh đã load */
 
#total-users {
   display: none;
}

/* Sticky Users Header */
.sticky-users-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #1e293b40 0%, #33415524 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    z-index: 99999;
    transform: translateY(-100%);
    transition: transform 0.25s ease-in-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
        height: 60px;
}

.sticky-users-header.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.sticky-users-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
    gap: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #f1f5f9;
    font-family: 'Quicksand', sans-serif;
        height: 100%;
}
span#global-users-count {
    color: red;
}


.sticky-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.sticky-logo:hover {
    transform: scale(1.05);
}

.sticky-logo img {
    height: 32px;
    width: auto;
    filter: brightness(1.1);
}

.sticky-users-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

#sticky-users-count {
    color: #e2db87;
    font-weight: 700;
    font-size: 16px;
}

.online-text {
    color: #94a3b8;
    font-weight: 500;
}

/* Animation cho icon */
.sticky-users-content i {
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .sticky-users-content {
        padding: 8px 12px;
        font-size: 13px;
        gap: 12px;
    }
    
    .sticky-logo img {
        height: 28px;
    }
    
    .sticky-users-info {
        gap: 6px;
    }
    
    #sticky-users-count {
        font-size: 15px;
    }
}
.avatar-block.left {
  position: absolute; 
  top: 50%;
  transform: translateY(-50%);
  width: 20%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center; 
}
.avatar-block.right {
  position: absolute; 
    top: 50%;
    transform: translateY(-50%);
    display: flex;
  justify-content: center;
  right: 0px;
  width: 20%;
  flex-direction: column;
  align-items: center;
}
.chat-wrapper{
  position: relative;
}

 
.avatar-block .avatar-title-wrapper  {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top:5px;
  position: relative;
}
 
@media (max-width:460px){
  .chat-line {
    max-width: 70% !important;
}
.avatar-block.left,
.avatar-block.right {
  width: 30%;
}
.avatar-block.right{
  right: -5px;
}
.avatar-block.left{
  left: -5px;
}
}
@media (max-width:359px){
  .avatar-block span.title-text {
    font-size:9px !important  ; 
  }
}
i.fas.fa-camera {
  -webkit-text-stroke: 1px black;
}
 
.input-group>.input-group-append>.btn {
  border-radius:0 5px 5px 0  !important;
}

#toast-container > .toast-success::before,
#toast-container > .toast-error::before {
  display: none !important;
}
#toast-container > .toast {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  animation: toastr-fade-up 0.7s forwards;  
}
#toast-container.toast-bottom-right>.toast-success {
  background-image: none  !important;
}
 
#toast-container.toast-bottom-right>.toast-error {
  background-image: none  !important;
}
#toast-container.toast-bottom-right > .toast-success {
  background: linear-gradient(135deg, #fffcc4, #ffe007) !important;
  color: #064517 !important ;
  opacity: 1 !important;
}
#toast-container.toast-bottom-right > .toast-error {
  background: linear-gradient(135deg, #f44336, #e57373) !important;
  color: white !important;
  opacity: 1 !important;
}
#toast-container>div {
  padding: 15px !important
}
@media (min-width: 241px) and (max-width: 480px) {
  #toast-container>div {
      padding: 8px 8px 8px 8px !important;
      width: 18em;
  }
}
 
#bannerCarousel img.d-block.w-100{
  border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.iziToast-body i {
  font-size: 16px !important;
  color: #191b24 !important;
}
.iziToast-body{
  font-family: "Fahkwang", sans-serif !important;
}
.wr-from {
  display: flex !important;
  align-items: center;
}



 
ul#myTab, .nav-tabs {
  border: unset;
  margin: 10px 10px 3px 10px;
  background-color: #2e2e39;
  border-radius: 10px;
}
.profile-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #f7d274;
  object-fit: cover;
  margin-top: 20px;
}
 


.nav-tabs .nav-link {
  border: unset !important;
  border-radius: 6px;
}
.group-btn.pos-btn {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
 


.group-btn {
  margin: 0px 5px;
  display: inline-flex;
  flex-wrap: wrap;
  cursor: pointer;
  font-family: "Fahkwang", sans-serif !important;
  font-weight: 600 !important;
  justify-content: center;
  margin: 14px 0 17px 0;
  gap: 10px;
}

.group-btn .button {
      position: relative;
    display: inline-flex;
    min-width: 125px;
    height: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    overflow: hidden;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.group-btn .button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(216deg, #970000 0%, #ff3030 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
    opacity: 1;
    overflow: hidden;
}



.group-btn .button.button-danger::before {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}
 
.group-btn .button.button-danger:hover::before {
  background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}


.group-btn .button.button-warning::before {
  background: linear-gradient(135deg, #fcff7f 0%, #fdaf00 100%);
}
.group-btn .button.button-warning a {
  color: #1e1e1e !important;
  border: 1px solid transparent !important;
}
.group-btn .button.button-warning:hover::before {
  background: linear-gradient(135deg, #fcff7f 0%, #fdaf00 100%);
}

.group-btn .button.button-warning:hover a {
  color: #1e1e1e !important;
}

.group-btn .button.button-success a {
      border: 1px solid #8cfca9 !important;
}

.group-btn .button.button-success::before {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.group-btn .button.button-success:hover::before {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.group-btn .button a { 
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  z-index: 10; 
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 5px 8px;
  font-size: 14px; 
  font-weight: 700; 
  position: relative;
  border: 1px solid transparent;  
  overflow: hidden;
}

.group-btn .button a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
 
    animation: continuousShine 2s ease-in-out infinite;
}

@keyframes continuousShine {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: -100%;
  }
}

.group-btn .button:hover {
  transform: scale(1.05);
}

.group-btn .button a:hover {
  color: #ffffff !important;
  letter-spacing: 1px;
}




.group-btn .button:active {
  transform: translateY(0);
  transition: all 0.1s ease;
}


button.swal2-confirm.swal2-styled {
    color: #fff;
    background: linear-gradient(216deg, #c90000 0%, #ff4949 100%);
    color: #ffffff !important;
    border-radius: 0px !important;
    transition: all 0.2s  ease;
    padding: 5px 15px !important;
    font-size: 15px; 
    min-width: 110px !important;
    font-weight: 700 !important;
    border: 1px solid transparent !important;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);


}
button.swal2-confirm.swal2-styled:hover {
  color: #ffffff !important;
  letter-spacing: 1px;
  transform: translateY(-1px)
}


button.swal2-cancel.swal2-styled{
  background: transparent !important;
  border-radius: 8px !important;
  transition: all 0.2s ease;
  padding: 5px 10px;
  font-size: 15px;
  min-width: 100px;
  font-family: "Fahkwang", sans-serif !important;
  font-weight: 600 !important;
  color: #ffffff !important;
}
button.swal2-cancel.swal2-styled:hover {
 color: #ffffff !important;
  transform:scale(1.05);
  border: 1px solid #e9ecef29 !important;
  border-radius: 25px !important;
  }





.card-custom-bg {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 15px;
  padding: 20px;
  background-image: url('/assets/guild.png');
  background-size: cover;
  background-repeat: no-repeat;
}
.card-custom {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 15px;
  padding: 20px;
  
}




  .btn-outline-warning {
        background: linear-gradient(216deg, #009cfb 0%, #005299 100%);
    color: #ffffff !important;
    border-radius: 8px !important;
    transition: all 0.2s ease;
    padding: 6px 10px !important;
    font-size: 15px;
    border: 1px solid transparent;
    min-width: 100px !important;
    font-weight: 700 !important;
    border: unset !important;
  }
  .btn-outline-warning:hover,.btn-outline-info:hover {
    transform: scale(1.05);
    }
  
.btn-outline-danger {
      background: linear-gradient(216deg, #088fd5 0%, #0f2a3f 100%);
    color: #ffffff !important;
    border-radius: 8px !important;
    transition: all 0.2s ease;
    padding: 3px 10px !important;
    font-size: 15px;
    border: 1px solid transparent;
    min-width: 100px !important;
    font-weight: 700 !important;
}
.btn-outline-info{
      background: linear-gradient(216deg, rgb(0, 156, 251) 0%, rgb(0, 82, 153) 100%);
    color: #ffffff !important;
    border-radius: 8px !important;
    transition: all 0.2s ease;
    padding: 3px 10px !important;
    font-size: 15px;
    border: 1px solid transparent;
    min-width: 100px !important;
    font-weight: 700 !important;
    border: 1px solid var(--main-color) !important;
}

.btn-outline-light{
      background: linear-gradient(216deg, #088fd5 0%, #0f2a3f 100%);
    color: #ffffff !important;
    border-radius: 8px !important;
    transition: all 0.2s ease;
    padding: 3px 10px !important;
    font-size: 15px;
    border: 1px solid transparent;
    min-width: 100px !important;
    font-weight: 700 !important;
}
.btn-outline-light:hover {
  color: #fff !important;
    border: 1px solid #fff;
  }
.btn-outline-danger:hover {
  color: #fff !important;
    border: 1px solid #fff;
  }
  .avatar-title-wrapper img.no-lazy {
    height: 43px;
    display: block;
}
.btn.disabled, .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.title-stroke {
 position: absolute;
    font-size: 14px;
    font-weight: bold;
    font-family: "Lobster", sans-serif;
    color: transparent;
    text-shadow: -1px -1px 0 #7d009d, 1px -1px 0 black, -1px 1px 0 #741493, 1px 1px 0 black;
    z-index: 1;
    top: 15px;
    padding: 5px;
}

.title-text {
      position: relative;
    font-size: 14px;
    font-weight: bold;
    font-family: "Lobster", sans-serif;
    background: linear-gradient(to top, #c9c9c9, #ffffff);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 2;
    top: 5px;
    padding: 5px;
}
 
input[type="radio"] {
  display: none;
}


input[type="radio"] + label {
  position: relative;
  padding-left: 30px; 
  cursor: pointer;
  font-size: 16px;
}


input[type="radio"] + label::before {
  content: "";
    position: absolute;
    left: 0;
    top: 13px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ccc;
    transition: background-color 0.2s ease;
}


input[type="radio"]:checked + label::before {
  background-color: yellow; 
  border: 2px solid #666; 
}


input[type="radio"]:checked + label::after {
  content: "";
    position: absolute;
    left: 5px;
    top: 13px;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #666;
}
 
 
 


 
/* -----  */
.title-tan-binh-nha-mon .title-stroke {
  top: 25px !important;
}
.title-tan-binh-nha-mon .title-text {
  top: 15px !important; 
}

 
/* -----  */
.avatar-block .title-stroke {
  top: 5px !important;
  font-size: 10px !important;
  text-wrap-mode: nowrap;
}
.avatar-block .title-text {
  position: absolute !important;
  top: 5px !important;
  font-size: 10px !important;
  text-wrap-mode: nowrap;
}


 

 
.avatar-block .title-stroke{
  top: 12px !important; 
  font-size: 9px !important 
}
.avatar-block .title-text{
  top: 12px !important;  
  font-size: 9px !important
}

/* -----  */
dl, ol, ul {
    margin-top: 0;
    margin-bottom: 1rem;
    list-style-type: none;
    padding: 0;
}
.avatar-block .title-tan-binh-nha-mon .title-stroke{
  top: 18px !important; 
}
.avatar-block .title-tan-binh-nha-mon .title-text{
  top: 18px !important; 
}

span.badge.badge-guild {
  color: #f2f4b2;
}
/* vo danh an the  */
 .title-vo-danh-an-the img#titleImage {
    left: 50%;
    transform: translateX(-50%);
}



/* -------  */
span#owner {
  font-size: 13px;
  padding: 4px;
  font-weight: lighter;
  text-align: left !important;
}
.detail {
  font-size: 13px;
  font-weight: lighter;
}
.input-group {
  border-radius: 30px;
  overflow: hidden;
  background-color: #2c2f3a;
  border: 1px solid #444;
}

.input-group-text,
#searchGuildInput,
.input-group .btn {
  background: transparent;
  border: none;
  color: #ccc;
}
.btn-outline-secondary {
  color: #b5b5b5;
  border-color: transparent !important;
  padding: 0 !important;
  margin: 0 5px;
}
.btn-outline-secondary:hover {
  color: #fff;
  background-color: transparent;
  border-color: #6c757d;
  border-radius: 20px;
}
a {
  color: #fff !important;
  text-decoration: none;
}
a:hover {
  color: #fff !important;
  text-decoration: none !important;
}
 


#viewJoinRequests strong,
#viewMembers strong {
  font-size: 17px !important;
  font-weight: bolder !important;
}
a.guild-invite-link
 {
    color: #ff9df7 !important ;
}

/* Private Chat Overlay (based on guild-chat-overlay) */
#pr-chat-overlay {
  position: absolute;
  inset: 0;
  background: rgb(26 26 35 / 64%);
  z-index: 999;
  transform: translateX(100%);
  transition: transform .25s ease-out;
  touch-action: pan-y;
}

#pr-chat-overlay.hide-right {
  transform: translateX(100%);
  transition: none;
}

#pr-chat-overlay.hide-left {
  transform: translateX(-100%);
  transition: none;
}

#pr-chat-overlay.active {
  transform: translateX(0);
  transition: transform .25s ease-out;
}

/* Private Chat Unlock Button */
#pr-chat-unlock-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 40px;
  color: #fff;
  background: rgba(0, 0, 0, .6);
  padding: 12px 20px;
  border-radius: 50%;
  user-select: none;
  cursor: pointer;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
}

#pr-chat-unlock-btn::after,
#pr-chat-unlock-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) scale(1);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35);
  opacity: .8;
  pointer-events: none;
  animation: 2.4s ease-out infinite pulseRipple;
}

#pr-chat-unlock-btn::after {
  animation-delay: 1.2s;
}

/* Private Chat Badge */
span.badge.badge-pr {
  color: #f2b2f4;
  background: rgba(242, 178, 244, 0.1);
  border: 1px solid rgba(242, 178, 244, 0.3);
}

/* Private Chat Links */
a.pr-invite-link {
  color: #9df7ff !important;
}

/* Private Chat Container */
.pr-chat-container {
  position: relative;
  overflow: hidden;
}

/* Private Chat Message List */
#pr-chat-box {
  scroll-behavior: smooth;
  position: relative;
  overflow-x: hidden;
}

/* Private Chat Form */
#pr-chat-form .emojionearea {
  background-color: #161c2a !important;
  border: 1px solid #515151 !important;
  text-align: left !important;
  height: 85px !important;
}

/* Private Chat Send Button */
#pr-chat-send {
  position: absolute;
  right: 8px;
  top: 72%;
  transform: translateY(-50%);
  background: #f7d274;
  border: none;
  border-radius: 4px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #373737;
  cursor: pointer;
  font-size: 14px;
}

#pr-chat-send:hover {
  filter: brightness(1.1);
}

/* Private Chat Scroll Button */
#pr-scroll-to-bottom {
  transition: opacity .3s;
  position: absolute;
  top: 51%;
  right: 12px;
  z-index: 999 !important;
  width: 50px;
  height: 50px;
}

#pr-scroll-btn {
  border: none;
  background: #ffffff56;
  border-radius: 50%;
  padding: 10px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.emojionearea .emojionearea-picker {
  z-index: 9999999 !important;
}
div#pr-pinned-summary-container {
    margin-top: 12px !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
}


 #noti-box {
  position: absolute;
  right: 160px;
  cursor: pointer;
 }
 #noti-box:hover {
  color: var(--main-color)
 }
.card .nav-tabs .nav-item.show .nav-link,
.card .nav-tabs .nav-link.active { 
  border-radius: 6px !important;
  margin-bottom: 8px !important; 
}
a.nav-link {
  color: #ffffff !important;
  background-color: #ffffff0d;
  padding: 6px 10px;
}
.nav-item + .nav-item {
  margin-left: 5px !important;
}

.alert-danger {
    color: #ff0018;
    background-color: #222937;
    border-color: #81818157;
}
 .nav-link.active.bg-anim-light,.nav-item.show .bg-anim-light  {
      animation: bg-anim 1s ease infinite alternate;
      background-image: linear-gradient(90deg, #d30000, #ff4e4e, #b50000) !important;
      background-size:200%  300% ; 
      color: #fff!important;
      
  }

  @keyframes bg-anim {
      0% {
          background-position: 0 0
      }

      to {
          background-position: 99% 99%
      }
  }
  .btn.btn-link {
    color: #fff;
    padding: 2px 0px !important;
    border-radius: 20px !important;
    min-width: 126px !important;
  }
.footer-basic.mt-2.py-4 {
    display: none;
}
  .box-red {
    background: linear-gradient(90deg, #000000, #c70606, #000000) !important;
}
.box-blue {
    background: linear-gradient(90deg, #000000, #0e4a6c, #000000) !important;
}
.box-yellow {
    background: linear-gradient(90deg, #000000, #bd8100, #000000) !important;
}
.box-purple {
    background: linear-gradient(90deg, #000000, #441778, #000000) !important;
}
.box-orange {
    background: linear-gradient(90deg, #000000, #ffc107, #000000) !important;
}
.box-gray {
    background: linear-gradient(90deg, #000000, #b7bdc1, #000000) !important;
}
/* Menu Modal Footer Styles */
.menu-modal-footer { 
    padding: 20px; 
    border-top: 1px solid #650000;
    border-radius: 0 0 12px 12px; 
}

/* Simple scrollable modal body */
#menuModal .modal-body {
    overflow-y: auto; 
}

.menu-modal-footer .footer-section {
    margin-bottom: 20px;
}

.menu-modal-footer .footer-section:last-child {
    margin-bottom: 0;
}

.menu-modal-footer .footer-title {
    color: #f7d274;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.menu-modal-footer .footer-title i {
    margin-right: 8px;
    font-size: 16px;
}

.menu-modal-footer .footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-modal-footer .footer-link {
    color: #e9ecef;
    text-decoration: none;
    font-size: 16px;
    padding: 6px 12px 6px 6px;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center; 
    text-transform: none;
}

.menu-modal-footer .footer-link:hover {
    color: #ffffff;
    background: linear-gradient(90deg, #ff3737ba 0%, rgb(255 0 0 / 0%) 90%) !important; 
    transform: translateX(2px);
    text-decoration: none; 
}
.menu-modal-footer .footer-link:hover img {
filter: brightness(0.3) invert(1);
}



.menu-modal-footer .footer-link i {
    width: 16px;
    margin-right: 8px;
    color: #8f51f1;
    opacity: 0.8;
}

.menu-modal-footer .footer-bottom {
    margin-top: 20px;
    padding-top: 15px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.menu-modal-footer .footer-copyright {
    color: #868e96;
    font-size: 11px;
    display: flex;
    align-items: center;
}

.menu-modal-footer .footer-copyright i {
    margin-right: 4px;
    opacity: 0.7;
}

.menu-modal-footer .footer-version {
    color: var(--main-color);
    font-size: 11px;
    font-weight: 600;
    background: #ffffff0d;
    padding: 4px 8px;
    border-radius: 12px;
}

/* Responsive adjustments for menu modal footer */
@media (max-width: 768px) {
    .menu-modal-footer {
        padding: 15px;
    }
    
    .menu-modal-footer .footer-title {
        font-size: 13px;
        margin-bottom: 10px;
    }
 
    .menu-modal-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .menu-modal-footer .footer-copyright,
    .menu-modal-footer .footer-version {
        font-size: 10px;
    }
}

/* Ensure footer is visible on very short screens */
@media (max-height: 600px) {
    .menu-modal-footer {
        padding: 12px 15px;
    }
    
    .menu-modal-footer .footer-section {
        margin-bottom: 15px;
    }
    
    .menu-modal-footer .footer-title {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .menu-modal-footer .footer-link {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .menu-modal-footer .footer-bottom {
        margin-top: 12px;
        padding-top: 10px;
    }
}

 

/* Mobile optimizations for menu modal */
@media (max-width: 768px) {
    #menuModal .modal-content { 
        border-radius: 0;
    }
    
    #menuModal .modal-dialog {
        margin: 0;
        height: 100vh;
        max-width: 100%;
    }
}

/* Ensure smooth scrolling */
#menuModal .modal-body {
    scroll-behavior: smooth;
}

/* Fix for very small screens */
@media (max-height: 500px) {
    .menu-modal-footer .footer-section {
        margin-bottom: 10px;
    }
    
    .menu-modal-footer .footer-title {
        font-size: 11px;
        margin-bottom: 6px;
    }
    
    .menu-modal-footer .footer-link {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .menu-modal-footer {
        padding: 10px 15px;
    }
}

#noti-box {
    position: fixed !important;
    right: 25px;
    top: 37%;
    cursor: pointer;
    background: #f2f2f282;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    z-index: 999;
}
#noti-box:hover {
  color: #fff !important;
  transform: scale(1.2);
}

.btn-outline-primary {
    color: var(--main-color) !important;
    border-color: var(--main-color) !important;
    min-width: 68px !important;
    border-radius: 20px !important;
}
.btn-outline-primary:hover {
    color: #fff !important;
    background-color: var(--main-color) !important;
    border-color: var(--main-color) !important;
}
 
   .mb-60 {
  margin-bottom: 60px ;
}
@media (max-width: 1640px) {
  .mb-60 {
    margin-bottom: 60px ;
  }
}
.sw-main#smartwizard {
  border-radius: 14px !important;
}

/* Form Control Styling */
.form-control, select.form-control {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    color: #fff !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.form-control:focus, select.form-control:focus {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--main-color) !important; 
    outline: none !important;
    color: #fff !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}

.form-control:hover:not(:focus), select.form-control:hover:not(:focus) {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Form Control Dark Theme */
.form-control[readonly], select.form-control[readonly] {
    background-color: rgba(255, 255, 255, 0.02) !important;
    opacity: 0.7 !important;
    cursor: not-allowed !important;
}

.form-control:disabled, select.form-control:disabled {
    background-color: rgba(255, 255, 255, 0.02) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    opacity: 0.5 !important;
}

/* Override Autocomplete Background */
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus,
.form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.05) inset !important;
    -webkit-text-fill-color: #fff !important;
    background-color: red !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

/* Firefox Autocomplete */
.form-control:-moz-autofill {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
}

/* IE/Edge Autocomplete */
.form-control:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}


.table {
    color: #ffffff;
    background-color: transparent;
    border-collapse: collapse;
    width: 100%;
}

.table th,
.table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #2e345b;
}

.table th {
    background-color: #09121b !important;
    color: #ffe197;
    font-weight: 600;
    font-size: 14px;
}
.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #3e4385 !important;
}


.table td {
    font-size: 14px;
    color: #ffffff;
}

/* ========== Responsive dạng list khi mobile ========== */
@media (max-width: 768px) {
    .table thead {
        display: none;
    }

    .table,
    .table tbody,
    .table tr,
    .table td {
        display: block;
        width: 100%;
    }

    .table tr {
        margin-bottom: 15px;
        border: 1px solid #262837;
        border-radius: 8px;
        background: linear-gradient(-120deg, #0d111a, #0d111a) !important;
        padding: 5px;
    }

    .table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        color: #fff;
        font-size: 14px;
        border: none;
        border-bottom: 1px solid #373737;
    }

    .table td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        top: 10px;
        font-weight: bold;
        color: var(--main-color);
        text-align: left;
        white-space: nowrap;
    }
}
.iziToast-message {
  font-weight: bold !important;
}
.card.payment-card {
  background:radial-gradient(87.89% 100% at 20% 0, #6d7e9d, #0f1c29 70.39%, #09121b) !important;
      border: unset !important;
}
.title-head {
      font-size: 19px;
    padding-bottom: 15px;
}
.badge-warning {
         color: #fff !important;
    background-color: #131313 !important;
    border-radius: 7px !important;
    min-width: 120px !important;
    padding: 8px 10px !important;
}
 .badge-warning-y{
   color: #000 !important;
    background-color: #fffa5d !important;
    border-radius: 7px !important;
    min-width: 120px !important;
 }
.badge-danger {
  color: #fff !important;
    background-color: #a91616 !important;
    border-radius: 7px !important;
    min-width: 120px !important;
}
.badge-primary {
  color: #ffffff !important;
    background-color: #1c6b99 !important;
    border-radius: 7px !important;
    min-width: 120px !important;
    padding: 4px 0;
}
.text-danger {
  color: #ff5a5a !important;
}
.btn-primary {
    color: #fff;
    background: linear-gradient(216deg, #c90000 0%, #ff4949 100%);
    color: #ffffff !important;
    border-radius: 0px !important;
    transition: all 0.2s  ease;
    padding: 5px 15px !important;
    font-size: 15px; 
    min-width: 110px !important;
    font-weight: 700 !important;
    border: 1px solid transparent !important;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn-primary:hover {
    transform: scale(1.05);
    color: #fff !important; 
}
.btn.btn-warning {
    color: #0e0e0e !important;
    background: linear-gradient(135deg, #ffaf29 0%, #fff688 100%); 
    border-radius: 25px !important;
    transition: all 0.2s ease;
    padding: 3px 10px !important;
    font-size: 15px;
    border: 1px solid transparent;
    min-width: 110px !important;
    font-weight: 700 !important; 
}
.btn-warning:hover {
    transform: scale(1.05);
    color: #000 !important; 
}

.btn.btn-danger {
    color: #fff !important;
    background: linear-gradient(135deg, #f50000 0%, #fb7575 100%); 
    border-radius: 25px !important;
    transition: all 0.2s ease;
    padding: 3px 10px !important;
    font-size: 15px;
    border: 1px solid transparent;
    min-width: 110px !important;
    font-weight: 700 !important;
      
}
.btn-danger:hover {
    transform: scale(1.05);
    color: #000 !important; 
}
.btn.btn-secondary {
    
     background: linear-gradient(216deg, #ffffff 0%, #777777 100%); 
    color: #000 !important;
    border-radius: 0px !important;
    transition: all 0.2s  ease;
    padding: 5px 15px !important;
    font-size: 15px; 
    min-width: 110px !important;
    font-weight: 700 !important;
    border: 1px solid transparent !important;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn.btn-success {
    color: #0e0e0e !important;
    background: linear-gradient(45deg, #28a745, #20c997); 
    border-radius: 25px !important;
    transition: all 0.2s ease;
    padding: 3px 10px !important;
    font-size: 15px;
    border: 1px solid transparent;
    min-width: 110px !important;
    font-weight: 700 !important; 
}


.btn-secondary:hover {
    transform: scale(1.05);
    color: #000 !important; 
}
/* Reward Boxes Styling */
        .reward-box {
            background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
 
            padding: 20px;
            display: flex;
            align-items: center;
            gap: 15px;
            border: 2px solid transparent;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(10px);
        }
        
        .reward-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
            transition: left 0.6s;
        }
        
        .reward-box:hover::before {
            left: 100%;
        }
        
       
        
       
        .reward-icon {
            flex-shrink: 0;
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255,255,255,0.2);
            border-radius: 50%;
            backdrop-filter: blur(5px);
        }
        
        .reward-content {
            flex: 1;
            color: white;
        }
        
        .reward-title {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 5px;
            color: #fff;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }
        
        .reward-percentage {
            font-size: 24px;
            font-weight: 900;
            color: #fff;
            text-shadow: 0 2px 8px rgba(0,0,0,0.5);
            margin-bottom: 5px;
        }
        
        .reward-description {
            font-size: 12px;
            color: rgba(255,255,255,0.9);
            margin: 0;
            font-weight: 500;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .reward-box {
                padding: 15px;
                gap: 12px;
            }
            
            .reward-icon {
                width: 50px;
                height: 50px;
            }
            
            .reward-title {
                font-size: 14px;
            }
            
            .reward-percentage {
                font-size: 20px;
            }
            
            .reward-description {
                font-size: 11px;
            }
        }
        .card-body {
          padding: 0 !important
        }
        .alert.alert-black.text-white.mt-2.text-center.fade.in.show p{
          font-weight: 50 !important;
        }
        .alert.alert-black.text-white.mt-2.text-center.fade.in.show p b {
          font-weight: bold !important
        }
        .text-purple {
    color: var(--main-color) !important
}

/* Input Group Styling */
.input-group {
    display: flex;
    position: relative;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.input-group .form-control {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.input-group-append {
    display: flex;
    margin-left: -1px;
}

.input-group-append .btn {
    position: relative;
    z-index: 2;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    background-color: rgba(7, 141, 210, 0.8) !important;
    border-color: rgba(7, 141, 210, 0.8) !important;
    color: #fff !important;
    transition: all 0.3s ease !important;
}

.input-group-append .btn:hover {
    background-color: var(--main-color) !important;
    border-color: var(--main-color) !important;
    transform: translateY(-1px);
}

.input-group-append .btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(7, 141, 210, 0.25) !important;
}

.input-group-append .btn.btn-outline-primary {
    background-color: transparent !important;
    border-color: rgba(7, 141, 210, 0.8) !important;
    color: var(--main-color) !important;
}

.input-group-append .btn.btn-outline-primary:hover {
    background-color: var(--main-color) !important;
    border-color: var(--main-color) !important;
    color: #fff !important;
}

.input-group .form-control:focus {
    z-index: 3;
    border-color: var(--main-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(7, 141, 210, 0.25) !important;
}

/* Enhanced Input Group for Modern Look */
.input-group {
    border-radius: 8px;
    overflow: hidden;
}

.input-group .form-control:first-child {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}

.input-group-append .btn:last-child {
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

/* Card Components for forms */
.career-form-card,
.friends-form-card {  
    padding: 0;
    margin-bottom: 20px;
}

/* Balance display styling */
.xu-balance {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color: white;
    margin-bottom: 20px;
}

.xu-balance h5 {
    margin: 0 0 10px 0;
    font-weight: 500;
    opacity: 0.9;
}

.balance-amount {
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Form layout improvements for transfer form */
.transfer-form-card .row {
    margin-bottom: 15px;
}

.transfer-form-card .form-group {
    margin-bottom: 20px;
}

.transfer-form-card .form-group:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .transfer-form-card .row .col-md-6 {
        margin-bottom: 15px;
    }
    
    .balance-amount {
        font-size: 1.5rem;
    }
}

/* =============================================================================
   PAGINATION STYLES (SHARED FOR REWARDS & UNCLAIMED)
   ============================================================================= */

.rewards-pagination,
.unclaimed-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 25px 0;  
}

/* Pagination controls container - flex in one row */
.rewards-pagination .pagination-controls,
.unclaimed-pagination .pagination-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Pagination buttons */
.rewards-pagination .pagination-btn,
.unclaimed-pagination .pagination-btn {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    min-width: 40px;
    text-align: center;
}

.rewards-pagination .pagination-btn:hover:not(.disabled),
.unclaimed-pagination .pagination-btn:hover:not(.disabled) { 
    transform: translateY(-1px); 
}

.rewards-pagination .pagination-btn.active,
.unclaimed-pagination .pagination-btn.active {
   background: #c50000;
    border-color: #ff7d7d;
}

.rewards-pagination .pagination-btn.disabled,
.unclaimed-pagination .pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Pagination info - separate row below */
.rewards-pagination .pagination-info,
.unclaimed-pagination .pagination-info {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    font-weight: 400;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .rewards-pagination,
    .unclaimed-pagination {
        padding: 12px;
        margin: 15px 0;
        gap: 8px;
    }
    
    .rewards-pagination .pagination-controls,
    .unclaimed-pagination .pagination-controls {
        gap: 6px;
    }
    
    .rewards-pagination .pagination-btn,
    .unclaimed-pagination .pagination-btn {
        padding: 6px 12px;
        font-size: 13px;
        min-width: 35px;
    }
    
    .rewards-pagination .pagination-info,
    .unclaimed-pagination .pagination-info {
        font-size: 12px;
        padding: 4px 8px;
    }
}

/* =============================================================================
   PAGE TRANSITION EFFECTS FOR REWARDS SECTION
   ============================================================================= */

/* Fade transition for rewards list */
.rewards-list {
    transition: all 0.4s ease-in-out;
}

.rewards-list.page-transitioning {
    opacity: 0;
    transform: translateY(20px);
}

/* Stagger animation for reward items */
.reward-item {
    transition: all 0.3s ease;
    animation: slideInUp 0.5s ease forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading state during page transition */
.rewards-list-loading {
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rewards-list-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--main-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Page transition effects for pagination buttons */
.rewards-pagination .pagination-btn,
.unclaimed-pagination .pagination-btn {
    position: relative;
    overflow: hidden;
}

.rewards-pagination .pagination-btn::before,
.unclaimed-pagination .pagination-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.rewards-pagination .pagination-btn:active::before,
.unclaimed-pagination .pagination-btn:active::before {
    width: 100px;
    height: 100px;
}

/* =============================================================================
   UNCLAIMED ITEMS TRANSITION EFFECTS
   ============================================================================= */

/* Fade transition for unclaimed items list */
.unclaimed-items-list {
    transition: all 0.3s ease-in-out;
}

.unclaimed-item {
    transition: all 0.3s ease;
    animation: slideInUp 0.5s ease forwards;
}

/* Stagger animation delay for unclaimed items */
.unclaimed-item:nth-child(1) { animation-delay: 0.1s; }
.unclaimed-item:nth-child(2) { animation-delay: 0.2s; }
.unclaimed-item:nth-child(3) { animation-delay: 0.3s; }
.unclaimed-item:nth-child(4) { animation-delay: 0.4s; }
.unclaimed-item:nth-child(5) { animation-delay: 0.5s; }

/* ===========================================
   🔄 REFRESH TOP BUTTON STYLES
   =========================================== */

.btn-refresh-top {
    background: linear-gradient(135deg, #e07e40 0%, #f1dd65 100%);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #161e2c;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-refresh-top:hover { 
    transform: translateY(-2px);  
}

.btn-refresh-top:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 194, 255, 0.3);
}

/* Spinning animation when refreshing */
.btn-refresh-top.refreshing {
    pointer-events: none;
}

.btn-refresh-top.refreshing i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Ripple effect on click */
.btn-refresh-top::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
    transform: translate(-50%, -50%);
}

.btn-refresh-top:active::before {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .btn-refresh-top {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    .list-group-item .badge-info, .list-group-item .badge-success, .list-group-item .badge-danger {
    width: 100% !important;
    display: inline-block !important;
  }
  span#payment_id{
    display: block !important;
  }
}
button.close {
    font-weight: lighter;
    font-size: 20px;
    color: #fff !important;
    opacity: 1;
}

        /* 🎨 GRADIENT MODAL FRAMEMODAL STYLES */
        .gradient-modal-frame {
            background: linear-gradient(145deg, #1a1f3a 0%, #2d1b69 25%, #4a0e4e 50%, #2d1b69 75%, #1a1f3a 100%);
            border: none;
            
            overflow: hidden;
            position: relative;
            animation: modalGlow 2s ease-in-out infinite alternate;
             webkit-clip-path:polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
    clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
        }
        
        .gradient-modal-frame::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background:radial-gradient(72.12% 50% at 50% 0, rgb(207 207 207 / 20%) 0, transparent 100%), linear-gradient(173deg, #45454580 1.04%, #00000080 94.54%), #212121 !important;
 
            pointer-events: none;
            z-index: 1;
            webkit-clip-path:polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
    clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
        }
        
      
        
        .gradient-modal-header {
          
            border: none;
            padding: 8px 16px;
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .gradient-header-content {
            display: flex;
            align-items: center;
            gap: 15px;
            z-index: 9999;
        }
        
        .gradient-icon-wrapper {
            width: 50px;
            height: 50px;
           
            display: flex;
            align-items: center;
            justify-content: center;
            animation: iconFloat 3s ease-in-out infinite;
        }
        
        @keyframes iconFloat {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-5px); }
        }
        
        .gradient-icon {
            font-size: 24px;
            color: white;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }
        
        .gradient-modal-title {
            color: #fff;
            font-size: 22px;
            font-weight: 700;
            margin: 0; 
            background: linear-gradient(45deg, #fff, #fda01a, #fff);
            background-size: 200% 200%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent; 
            animation: titleShine 3s ease-in-out infinite;
        }
        
        @keyframes titleShine {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }
        
        
        
        .gradient-modal-body {
            padding: 0 10px;
            position: relative;
            z-index: 2;
            max-height: 400px;
            overflow-y: auto;
        }
        
        /* Custom scrollbar for gradient modal */
        .gradient-modal-body::-webkit-scrollbar {
            width: 8px;
        }
        
        .gradient-modal-body::-webkit-scrollbar-track,::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
        }
        .gradient-close-btn{
            background: transparent;
            border: none;
            color: #fff;
            font-size: 24px;
            cursor: pointer;
            z-index: 3;
            font-weight: lighter;
        }
       
        .gradient-modal-body::-webkit-scrollbar-thumb,body::-webkit-scrollbar-thumb, ::-webkit-scrollbar-thumb {
                background: linear-gradient(45deg, #414141, #414141) !important;
            border-radius: 10px !important;
        }

        .gradient-modal-body::-webkit-scrollbar-thumb:hover,body::-webkit-scrollbar-thumb:hover, ::-webkit-scrollbar-thumb:hover {
                background: linear-gradient(45deg, #414141, #414141) !important;
        }
        
        .gradient-frame-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 15px;
        }
        
        .gradient-modal-footer { 
            border: none;
            padding: 20px 25px;
            position: relative;
            z-index: 2;
            display: flex;
            justify-content: center;
            gap: 15px;
        }
        
        
        
        /* Responsive */
        @media (max-width: 576px) {
            .gradient-modal-frame {
                margin: 10px;
                border-radius: 15px;
            }
            
 
            
            .gradient-modal-title {
                font-size: 18px;
            }
            
            .gradient-icon-wrapper {
                width: 40px;
                height: 40px;
            }
            
            .gradient-icon {
                font-size: 20px;
            }
        }

        #frameModal .modal-footer button {
        background: linear-gradient(216deg, var(--main-color) 0%, #0f2a3f 100%);
        border-radius: 8px;
        min-width: 125px; 
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        font-weight: bold;
        border: 1px solid transparent;
        }

        #frameModal .modal-footer button:hover {
            background-color: linear-gradient(22deg, var(--main-color) 0%, #0f2a3f 100%);
        }


        #frameModal .modal-body {
            max-height: 400px;
            overflow-y: auto;
        }

        /* Fix column padding để không bị thụt vào */
.form-row .col-md-6 {
    padding-left: 0;
    padding-right: 7.5px;
}

.form-row .col-md-6:last-child {
    padding-right: 0;
    padding-left: 7.5px;
}

/* Mobile responsive - trên mobile thì bỏ padding hết */
@media (max-width: 767.98px) {
    .form-row .col-md-6 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .form-row .col-md-6:last-child {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.alert-success {
    background: linear-gradient(45deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1)) !important;
    border-color: rgba(34, 197, 94, 0.4) !important;
    color: #22c55e !important;
}

.alert-warning {
    background: linear-gradient(45deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1)) !important;
    border-color: rgba(245, 158, 11, 0.4) !important;
    color: #f59e0b !important;
}

.alert-info {
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1)) !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
    color: #3b82f6 !important;
}
.alert-black {
    background: #0000006b !important;
    border-color: rgb(159 159 159 / 18%) !important; 
}

@media (max-width: 769.98px) {
  .shop-container ul.nav.nav-tabs .nav-item {
          width: 47% !important;
        margin-bottom: -1px; 
        position: relative;
        margin: 0 5px !important;
    margin-bottom: -2px !important;
  }
  .nav-tabs { 
    padding-left: 3px !important;
}
}
@media (max-width: 400px) {
      .shop-container ul.nav.nav-tabs .nav-item {
        width: 100% !important;
 
    }
}
.dropdown-toggle::after {
  display: none !important;
}
/* Bootstrap Pagination Styles - đồng bộ với xoaruongdo.php */
.custom-pagination .page-item .page-link {
    background-color: #63636347;
    border-color: #44444400;
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    margin: 0 2px;
}

.custom-pagination .page-item .page-link:hover {
        color: #fff;
        background-color: #fdfdfd4a;
    border-color: #ffe8e861;
}

.custom-pagination .page-item.active .page-link {
    background-color: #d30303 !important ;
    border-color: var(--main-color) !important;
    color: white;
    font-weight: bold;
}

.custom-pagination .page-item.disabled .page-link {
        color: #666;
    background-color: #1b2438;
    border-color: #49454500;
}
 .status-success {
        background: linear-gradient(45deg, #28a745, #20c997);
        color: #051e00;
            padding: 5px;
    border-radius: 5px;
        display: block;
    }
    #weaponOptions input[type="radio"],
    #xeomList input[type="radio"] {
      display: inline-block !important;
    }


    /* tran thuong nhan  */
    .title-tran-thuong-nhan .title-stroke {
        text-shadow: -1px -1px 0 #974600, 1px -1px 0 #0e0c0a, -1px 1px 0 #612500, 1px 1px 0 #470945 !important;
  
    }
    .title-tran-thuong-nhan  .title-text { 
        background-clip: text !important;
    }
/* title-cuu-phu-thuong-nhan  */
    .title-cuu-phu-thuong-nhan .title-text {
    background: linear-gradient(to top, #fff200, #ffffff) !important;
    background-clip: text !important; 
}
/* title-kim-chu-thien-ha  */
  .title-kim-chu-thien-ha .title-text {
    background: linear-gradient(to top, #fff200, #ffffff) !important;
    background-clip: text !important; 
}
/* title-tan-binh-nha-mon  */
  .title-tan-binh-nha-mon .title-text {
    background: linear-gradient(to top, #fff200, #ffffff) !important;
    background-clip: text !important; 
}
 
 
/* ---------------------------  */
 
 
/* Animation zoom nhẹ nhàng cho title */
@keyframes titlePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.title-text,
.title-stroke {
  animation: titlePulse 3s ease-in-out infinite;
}
 
 
 
 
/* -----------xử lý riêng cho 5 cấp cuối----------------  */
.title-truong-lao-quy-gioi img ,
.title-van-ly-phien-vu img  {
    height: 114px !important;
    position: absolute;
    top: -34px !important;
}
.avatar-block .title-truong-lao-quy-gioi .title-stroke,
.avatar-block .title-truong-lao-quy-gioi .title-text,
.avatar-block .title-van-ly-phien-vu .title-stroke,
.avatar-block .title-van-ly-phien-vu .title-text {
    top: 19px !important;
    font-size: 9px !important;
}
.avatar-block .title-truong-lao-quy-gioi img.no-lazy,
.avatar-block .title-van-ly-phien-vu img.no-lazy {
    height: 54px !important;
    display: block;
    top: 0px !important;
}
/* ------------------------  */
.title-thanh-thu-than-y #titleBadge img,
.title-pho-duong-chu-y-coc #titleBadge img,
.title-thien-y-dao-chu #titleBadge img,
.title-cuu-thien-y-thanh #titleBadge img,
.title-van-co-y-de #titleBadge img ,
.title-thai-co-y-to #titleBadge img ,
.title-hong-hoang-y-tien #titleBadge img ,
.title-tap-y-dong-tu #titleBadge img,
 .title-tuan-sai-tran-le #titleBadge img ,
.title-bo-khoai-phu-huyen #titleBadge img,
.title-ho-ve-ngu-pham #titleBadge img,
.title-pho-lanh-ho-su #titleBadge img,
 .title-chanh-lanh-su #titleBadge img ,
 .title-tu-cam-y-ve #titleBadge img , 
 .title-thuong-thu-bo-hinh #titleBadge img,
 .title-do-thong-than-loi-doanh #titleBadge img ,
 .title-tran-quoc-thai-uy #titleBadge img,
  .title-chuong-an-u-anh-giao #titleBadge img,
  .title-van-ly-hac-van #titleBadge img 
  {
    height: 54px;
    position: absolute;
    top: 1px;
}
 

.avatar-block .title-thien-y-dao-chu img,
.avatar-block .title-cuu-thien-y-thanh img,
.avatar-block .title-van-co-y-de img,
.avatar-block .title-thai-co-y-to img,
.avatar-block .title-hong-hoang-y-tien img,
.avatar-block .title-tap-y-dong-tu img ,
.avatar-block .title-tuan-sai-tran-le img ,
.avatar-block .title-bo-khoai-phu-huyen img,
.avatar-block .title-ho-ve-ngu-pham img,
.avatar-block .title-pho-lanh-ho-su img,
.avatar-block .title-chanh-lanh-su img,
.avatar-block .title-tu-cam-y-ve img, 
.avatar-block .title-thuong-thu-bo-hinh img,
.avatar-block .title-do-thong-than-loi-doanh img,
.avatar-block .title-tran-quoc-thai-uy img,
.avatar-block .title-chuong-an-u-anh-giao img,
.avatar-block .title-van-ly-hac-van img
 {
    height: 31px;
    display: block;
    top: 6px;
    position: relative;
}


 

 .badge-congan .title-text,
 .title-cam-y-mon-su .title-text,
 .title-tu-cam-y-ve .title-text,
 .title-thong-linh-kieu-sat .title-text,
  .title-thuong-thu-bo-hinh .title-text,
  .title-do-thong-than-loi-doanh .title-text,
  .title-tran-quoc-thai-uy .title-text,
  .title-quoc-su-ho-phap .title-text,
 .avatar-block .title-tuan-sai-tran-le .title-text,
 .avatar-block .title-bo-khoai-phu-huyen .title-text,
 .avatar-block .title-ho-ve-ngu-pham .title-text,
  .avatar-block .title-troc-na-bo-su .title-text,
  .avatar-block .title-cam-ty-hinh-an .title-text,
  .avatar-block .title-cam-y-mon-su .title-text ,
  .avatar-block .title-pho-lanh-ho-su .title-text ,
  .avatar-block .title-chanh-lanh-su .title-text
  {
    background: linear-gradient(to top, #f57d00, #fff441);
    background-clip: text;
}

.badge-buonlau .title-text,
.title-tieu-tot-cho-am .title-text,
.title-dao-khach-vung-bien .title-text,
.title-tin-do-am-gioi .title-text,
.title-truyen-lo-gia .title-text,
.title-ta-thuong-hanh-dao .title-text,
  .title-ho-lenh-u-mon .title-text,
  .title-ta-su-minh-duong .title-text,
   .title-pho-duong-chu-hac-giao .title-text,
   .title-ho-phap-huyet-an .title-text,
   .title-truong-lao-quy-gioi .title-text,
   .title-ta-vuong-am-hoi .title-text,
   .title-chuong-an-u-anh-giao .title-text,
   .title-giao-chu-hac-van-mon .title-text,
   .title-toi-thuong-am-giao .title-text
   {
  background: linear-gradient(to top, #ff0018, #fff28b) !important;
    background-clip: text !important;
}
 .badge-xeom .title-text,
 .title-van-ly-doc-hanh .title-text,
  .title-van-ly-dang-vu .title-text,  
   .title-van-ly-sieu-quang .title-text,
   .title-van-ly-bon-tieu .title-text,  
    .title-van-ly-hiep-duc .title-text,
    .title-van-ly-dich-lo .title-text,
    .title-van-ly-bach-nghia .title-text,
    .title-van-ly-kim-mao .title-text,
    .title-van-ly-hac-van .title-text,
    .title-van-ly-o-chuy .title-text,
    .title-van-ly-tinh-van .title-text,
    .title-van-ly-o-van .title-text,
    .title-van-ly-xich-tho .title-text,
    .title-van-ly-tuyet-anh .title-text,
    .title-van-ly-chieu-da .title-text,
    .title-van-ly-phien-vu .title-text
 {
  background: linear-gradient(to top, #00d010, #ffffff);
    background-clip: text;  
 }

/* ===============================================
   📝 FORM CONTROL SELECT STYLES
   =============================================== */
 
 

/* Style cho các option trong select */
select.form-control option {
    background-color: #515151 !important;
    color: #ffffff !important;
    padding: 8px 12px;
    border: 1px solid transparent !important;
}s

select.form-control option:hover {
    background: #f39999 !important;
    background-color:#f39999 !important;
    color: #ffffff !important;
}

select.form-control option:checked {
    background-color: #737373 !important;
    color: #ffffff !important;
}

select.form-control option:selected {
    background-color: #737373 !important;
    color: #ffffff !important;
}

 
.swal-user-info-popup .badge-wrapper.title-pho-lanh-ho-su img,
.swal-user-info-popup .badge-wrapper.title-tuan-sai-tran-le img {
  height: 60px !important;
  top: 0 !important
} 

/* ===============================================
   📁 CUSTOM FILE INPUT STYLES
   =============================================== */

/* Modern File Input Styling */
input[type="file"].form-control {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    padding: 12px 16px;
    background: linear-gradient(135deg, #0f1f2d 0%, #1a2539 50%, #0f1f2d 100%);
    border: 2px solid #00c2ff30;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 194, 255, 0.1);
}

input[type="file"].form-control:hover {
    background: linear-gradient(135deg, #1a2539 0%, #00c2ff20 50%, #1a2539 100%);
    border-color: #00c2ff;
    box-shadow: 0 4px 16px rgba(0, 194, 255, 0.2);
    transform: translateY(-1px);
}

input[type="file"].form-control:focus {
    outline: none;
    background: linear-gradient(135deg, #1a2539 0%, #00c2ff30 50%, #1a2539 100%);
    border-color: #00c2ff;
    box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.2), 0 4px 16px rgba(0, 194, 255, 0.3);
}

/* File Input with Custom Button Style */
input[type="file"].form-control::file-selector-button {
    background: linear-gradient(135deg, #00c2ff 0%, #0088cc 100%);
    border: none;
    border-radius: 6px;
    color: #ffffff;
    padding: 8px 16px;
    margin-right: 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input[type="file"].form-control::file-selector-button:hover {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(0, 194, 255, 0.4);
}

/* Webkit browsers (Chrome, Safari, Edge) */
input[type="file"].form-control::-webkit-file-upload-button {
    background: linear-gradient(135deg, #00c2ff 0%, #0088cc 100%);
    border: none;
    border-radius: 6px;
    color: #ffffff;
    padding: 8px 16px;
    margin-right: 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input[type="file"].form-control::-webkit-file-upload-button:hover {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(0, 194, 255, 0.4);
}

/* Firefox */
input[type="file"].form-control::-moz-file-upload-button {
    background: linear-gradient(135deg, #00c2ff 0%, #0088cc 100%);
    border: none;
    border-radius: 6px;
    color: #ffffff;
    padding: 8px 16px;
    margin-right: 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input[type="file"].form-control::-moz-file-upload-button:hover {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(0, 194, 255, 0.4);
}

/* Custom File Input Animation */
@keyframes fileInputGlow {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(0, 194, 255, 0.1);
    }
    50% {
        box-shadow: 0 2px 8px rgba(0, 194, 255, 0.3);
    }
}

input[type="file"].form-control:focus {
    animation: fileInputGlow 2s ease-in-out infinite;
}

/* File Input with Icon Enhancement */
.file-input-wrapper {
    position: relative;
    display: block;
}

.file-input-wrapper::before {
    content: "📁";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.7;
}

.file-input-wrapper input[type="file"].form-control {
    padding-left: 40px;
}

/* File Input Drag & Drop Styling */
input[type="file"].form-control.dragover {
    background: linear-gradient(135deg, #00c2ff20 0%, #1a2539 50%, #00c2ff20 100%);
    border-color: #00c2ff;
    border-style: dashed;
    animation: fileInputGlow 1s ease-in-out infinite;
}

/* Facebook Quest Specific File Input */
#facebookQuestTabs input[type="file"].form-control,
.facebook-quest-section input[type="file"].form-control {
    background: linear-gradient(135deg, #1a2539 0%, #078dd2 20%, #2c476c 100%);
    border-color: #078dd2;
}

#facebookQuestTabs input[type="file"].form-control:hover,
.facebook-quest-section input[type="file"].form-control:hover {
    background: linear-gradient(135deg, #078dd2 0%, #1a2539 50%, #078dd2 100%);
    border-color: #078dd2;
    box-shadow: 0 4px 16px rgba(7, 141, 210, 0.3);
}

/* Responsive File Input */
@media (max-width: 768px) {
    input[type="file"].form-control {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    input[type="file"].form-control::file-selector-button,
    input[type="file"].form-control::-webkit-file-upload-button,
    input[type="file"].form-control::-moz-file-upload-button {
        padding: 6px 12px;
        font-size: 12px;
        margin-right: 8px;
    }
    
    .file-input-wrapper::before {
        left: 8px;
        font-size: 14px;
    }
    
    .file-input-wrapper input[type="file"].form-control {
        padding-left: 32px;
    }
}

.list-group-item {
    border: 1px solid transparent !important;
}
div:where(.swal2-container) div:where(.swal2-validation-message) {
    background: #091421 !important;
    color: #a7a7a7 !important;
}
div:where(.swal2-container) div:where(.swal2-html-container)  {
  padding: 10px 10px !important;
  font-size: 16px !important;
}                              