/*.card {*/
    /*width: 25%;*/
    /*padding: .75rem;*/
    /*margin-bottom: 2rem;*/
    /*border: 0;*/
/*}*/

/*.card.two {*/
    /*width: 50%;*/
    /*padding: .75rem;*/
    /*margin-bottom: 2rem;*/
    /*border: 0;*/
/*}*/

/*.card.featured {*/
    /*width: 100%;*/
    /*padding: .75rem;*/
    /*margin-bottom: 2rem;*/
    /*border: 0;*/
/*}*/

/*.card.top5 {*/
    /*width: 20%;*/
    /*padding: .75rem;*/
    /*margin-bottom: 2rem;*/
    /*border: 0;*/
/*}*/

/*!* do two columns for tablets *!*/
/*@media (max-width: 991px) {*/
    /*.card {*/
        /*width: 50%;*/
        /*padding: .75rem;*/
        /*margin-bottom: 2rem;*/
        /*border: 0;*/
    /*}*/
/*}*/

/*!* do a single column for phones *!*/
/*@media (max-width: 767px) {*/
    /*.card {*/
        /*width: 100%;*/
        /*padding: .75rem;*/
        /*margin-bottom: 2rem;*/
        /*border: 0;*/
    /*}*/

    /*.card.top5 {*/
        /*width: 100%;*/
        /*padding: .75rem;*/
        /*margin-bottom: 2rem;*/
        /*border: 0;*/
    /*}*/
/*}*/

/*.collection-img {*/
    /*padding: 5%;*/
/*}*/

/*.card > img {*/
    /*margin-bottom: .75rem;*/
    /*width: 100%;*/

/*}*/

/*.card-text {*/
    /*text-align: center;*/
/*}*/

/*.collapse_icon {*/
    /*width: 15px;*/
    /*height: 15px;*/
/*}*/

/*.image-parent {*/
    /*width: 70px;*/
    /*max-height: 70px;*/
/*}*/

@media (min-width: 992px) {
  .w-lg-50 {
    max-width: 50%;
  }
}

.select2-container--default .select2-selection--multiple,
.select2-container--default .select2-selection--single {
  background: #f4f7fa !important;
  border: 1px solid #ced4da !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered,
.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #495057 !important;
}

.select2-dropdown.select2-dropdown--above,
.select2-dropdown.select2-dropdown--below {
  background: #f4f7fa !important;
  border: 1px solid #ced4da !important;
}

/* Tabbable tabs */
/* Hide tabbable panes to start, show them when `.active` */
.tab-content-no-box {
  background: #fff;
}
.tab-content-no-box > .tab-pane {
  display: none;
}
.tab-content-no-box > .active {
  display: block;
}

.tab-content {
    margin-bottom: 30px;
}

.popover {
    z-index: 99999999 !important;
    position: fixed;
}

/*.player-stat-modal {*/
/*    z-index: 10000000 !important;*/
/*    position: fixed;*/

/*}*/

/*.hero-modal {*/
/*    z-index: 99999998 !important;*/
/*    position: fixed;*/
/*}*/

/*.matchup-modal {*/
/*    z-index: 99999997 !important;*/
/*    position: fixed;*/
/*}*/

.modal { overflow: auto !important; }

.badge-qb {
  color: #fff;
  background-color: #dc3545;
}

.badge-qb-played {
  color: #dc3545;
  background-color: #f8f9fa;
}

.badge-rb {
  color: #fff;
  background-color: #28a745;
}

.badge-rb-played {
  color: #28a745;
  background-color: #f8f9fa;
}

.badge-wr {
  color: #fff;
  background-color: #007bff;
}

.badge-wr-played {
  color: #007bff;
  background-color: #f8f9fa;
}

.badge-te {
  color: #212529;
  background-color: #ffc107;
}

.badge-te-played {
  color: #ffc107;
  background-color: #f8f9fa;
}

.badge-other-pos {
  color: #fff;
  background-color: #17a2b8;
}

.badge-other-pos-played {
  color: #17a2b8;
  background-color: #f8f9fa;
}

.badge-non-starter {
  color: #fff;
  background-color: #6c757d;
}

.badge-non-starter-played {
  color: #6c757d;
  background-color: #f8f9fa;
}

td.wrapok {
  white-space: normal;
}

.playerStatTable > tbody > tr > td, .playerStatTable > tbody > tr > th, .playerStatTable > tfoot > tr > td, .playerStatTable > tfoot > tr > th, .playerStatTable > thead > tr > td, .playerStatTable > thead > tr > th {
  padding-left: 7px;
  padding-right: 7px;
  padding-top: 0;
  padding-bottom: 0;
}

.border-common {
  border-color: #ffffff !important; /* white */
}

.border-uncommon {
  border-color: #1eff00 !important; /* green */
}

.border-rare {
  border-color: #0070dd !important; /* blue */
}

.border-epic {
  border-color: #a335ee !important; /* purple */
}

.border-legendary {
  border-color: #ff8000 !important; /* orange */
}

.border-artifact {
  border-color: #e6cc80 !important; /* light gold */
}

/* Target emoji elements */
.info-emoji {
    font-size: 10px;  /* Set the size you want */
    line-height: 1;   /* Ensure proper spacing */
    vertical-align: middle; /* Align with text */
}

/* if color changes, make sure to update this in dark_custom.css as well */
.b-brand .b-bg {
  background: linear-gradient(-135deg, #1de9b6 0%, #1dc4e9 100%);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.b-bg .brand-icon {
    width: 34px;  /* adjust size as needed */
    height: 34px;
    display: block;
}

.b-title .brand-text {
    height: 40px;  /* adjust size as needed */
    display: block;
}

/* Override default collapse behavior for brand icon */
.pcoded-navbar.navbar-collapsed .header-logo img.brand-icon {
    transform: rotateY(0deg) !important;
    opacity: 1 !important;
    transition: none !important;
}

/* Ensure icon stays visible in all states */
.pcoded-navbar .header-logo img.brand-icon {
    transform: rotateY(0deg) !important;
    opacity: 1 !important;
    position: relative !important;
    transition: none !important;
}

/* Item icon styling */
.item-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.item-icon {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.item-icon img {
  position: relative;
  z-index: 2;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.item-icon .icon-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.item-icon .icon-bg {
  border: 1px solid transparent; /* Add this to see if element exists */
}

/* Fallback colors in case images don't load */
.item-icon.rarity-common .icon-bg {
  background-image: url('../images/icon_backgrounds/common_bg.png');
  background-color: #9d9d9d; /* Gray fallback */
}

.item-icon.rarity-uncommon .icon-bg {
  background-image: url('../images/icon_backgrounds/uncommon_bg.png');
  background-color: #1eff00; /* Green fallback */
}

.item-icon.rarity-rare .icon-bg {
  background-image: url('../images/icon_backgrounds/rare_bg.png');
  background-color: #0070dd; /* Blue fallback */
}

.item-icon.rarity-epic .icon-bg {
  background-image: url('../images/icon_backgrounds/epic_bg.png');
  background-color: #a335ee; /* Purple fallback */
}

.item-icon.rarity-legendary .icon-bg {
  background-image: url('../images/icon_backgrounds/legendary_bg.png');
  background-color: #ff8000; /* Orange fallback */
}

.item-icon.rarity-artifact .icon-bg {
  background-image: url('../images/icon_backgrounds/artifact_bg.png');
  background-color: #e6cc80; /* Light gold fallback */
}

.item-quantity {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 4px;
  min-width: 16px;
  height: 16px;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  padding: 0 3px;
  font-weight: bold;
  z-index: 3;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

/* For quantities over 99 */
.item-quantity.large {
  font-size: 9px;
}

.buff-icon-container {
  display: inline-block;
  position: relative;
}

.buff-icon {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  border: 2px solid;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.1);
}

.buff-icon img {
  max-width: 90%;
  max-height: 90%;
  z-index: 2;
}

.border-success {
  border-color: #28a745;
  box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
}

.border-danger {
  border-color: #dc3545;
  box-shadow: 0 0 5px rgba(220, 53, 69, 0.5);
}

.border-secondary {
  border-color: #6c757d;
  box-shadow: 0 0 5px rgba(108, 117, 125, 0.5);
}