.card {
  background: linear-gradient(135deg,
      rgba(25, 30, 45, 0.95),
      rgb(0 0 0 / 98%)) !important;
}

.btn {
  text-transform: none;
  margin-right: 5px;
}

.table th,
.table td {
  padding: 0.5rem;
}

.item_code_ajax {
  display: block;
  width: 100%;
}

.upgrades_to_img img {
  width: 12px;
}

.navbar-brand {
  text-transform: uppercase;
}

.rb-shop-price {
  margin-top: 4px;
  font-weight: bold;
}

.page-header {
  font-size: 1.8em;
  margin-top: 0;
  padding-bottom: 9px;
  border-bottom: 1px solid #ffffff26;
}

.level_0 {
  /*background: #f2f2f2;*/
  background: #000;
  color: #5d5d5e;
  /*border-left: 1px solid #f8f8f8;*/
  border-top: 1px solid #f8f8f8;
}

.level_1 {
  background-color: #47335b;
}

.level_2 {
  background-color: #4d4d25;
}

.level_3 {
  background-color: #001471;
}

.level_4 {
  color: #ffffff;
  background-color: #cc3300;
}

.level_5 {
  color: #ffffff;
  background-color: #cc0000;
}

.item_highlight {
  background-color: #c3c392;
  color: #ffffff;
}

/* *****************************************************
 * Auction House
 * *****************************************************/
.auction .panel {
  margin-top: 20px;
}

.label-seller {
  color: #686868;
  background-color: #e2e2e2;
}

.label-bell {
  background-color: #c0729e;
}

.label-cora {
  background-color: #8b539d;
}

.label-acc {
  background-color: #6a6a6a;
}

.auction .panel-body .bottom-labels {
  margin-top: 10px;
}

.auction .seller-label {
  position: absolute;
  margin-right: 14px;
  top: -1px;
}

.auction .special-labels {
  position: absolute;
  margin-right: 14px;
  top: -1px;
  right: 0;
}

.auction-item-img {
  margin-right: 10px;
}

.auction-bids {
  margin-top: 4px;
  font-weight: bold;
}

#auction-inventory-items {
  padding: 0;
  margin: 0;
}

.auction-starting-bid input {
  display: none;
}

.auction-list-time select {
  display: none;
}

footer {
  text-align: center;
}

.pull-right {
  float: right !important;
}

/*.navbar {
	padding: 0.5rem 0.5rem;
}*/
.gamecp-body {
  padding: 20px;
  /*margin: 20px;
    background-color: #9caab130;*/
  /*border: 2px solid #303030;
    border-radius: 5px;*/
}

/*.bg-dark {
    background-color: #ff4e4e !important;
}*/
/*select, select.form-control {*/
/*	padding: 0.5px;*/
/*}*/
.btn-default {
  color: #fff;
  background-color: #2fa4e7;
  border-color: #2fa4e7;
}

.btn-default:hover {
  color: #fff;
  background-color: #1887c7;
  border-color: #2fa4e7;
}

td.alt1-right {
  width: 40%;
}

/* Radio Button Style */
input[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  -ms-appearance: none;
  appearance: none;
  outline: none;
  cursor: pointer;
  padding: 0px 5px;
}

input[type="radio"]:after {
  display: inline-block;
  text-align: center;
  font-size: 0.875rem;
  content: attr(data-text);
  padding: 5px 15px;
  border-radius: 15px;
  color: #ff4e4e;
  transition: box-shadow 1s, color 1s;
}

input[type="radio"]:checked:after {
  transition: all 0.5s ease;
  box-shadow: 2px 2px 14px rgba(0, 0, 0, 0.4);
  background-color: #54b4eb;
  color: #ffffff;
}

input.form-control.banned-page {
  display: inline;
  width: calc(100% - 100px);
}

button.btn.btn-primary.btn-index.login,
a.btn.btn-success.btn-index,
a.btn.btn-warning.btn-index {
  margin: 0px 5px;
}

a.btn.btn-danger.btn-sm.btn-footer {
  text-transform: none;
  padding: 0px 6px;
}

button.btn.btn-success.btn-sm.btn-footer {
  text-transform: none;
  padding: 0px 6px;
}

.row-fluid {
  padding-left: 15px;
  padding-right: 15px;
  margin-right: auto;
  margin-left: auto;
}

body.bg-nitro {
  background: url(https://i.imgur.com/re1DGVv.jpeg) !important;
  background-attachment: fixed !important;
  background-position: bottom !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  min-height: 100%;
}

@-webkit-keyframes progress-bar-stripes {
  from {
    background-position: 40px 0;
  }

  to {
    background-position: 0 0;
  }
}

@keyframes progress-bar-stripes {
  from {
    background-position: 40px 0;
  }

  to {
    background-position: 0 0;
  }
}

.progress {
  height: 21px;
  margin-bottom: 10px;
  overflow: hidden;
  background-color: #cdbbbb7d;
  border-radius: 0;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-bar {
  float: left;
  width: 0%;
  height: 100%;
  font-size: 12px;
  line-height: 21px;
  color: #ffffff;
  text-align: center;
  /*background-color:#3459e6;*/
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  transition: width 0.6s ease;
}

.progress-striped .progress-bar,
.progress-bar-striped {
  background-image: linear-gradient(45deg,
      rgba(255, 255, 255, 0.15) 25%,
      transparent 25%,
      transparent 50%,
      rgba(255, 255, 255, 0.15) 50%,
      rgba(255, 255, 255, 0.15) 75%,
      transparent 75%,
      transparent);
  background-size: 40px 40px;
}

.progress.active .progress-bar,
.progress-bar.active {
  -webkit-animation: progress-bar-stripes 2s linear infinite;
  animation: progress-bar-stripes 2s linear infinite;
}

.progress-bar-success {
  background-color: #5cb85c;
}

.progress-striped .progress-bar-success {
  background-image: linear-gradient(45deg,
      rgba(255, 255, 255, 0.15) 25%,
      transparent 25%,
      transparent 50%,
      rgba(255, 255, 255, 0.15) 50%,
      rgba(255, 255, 255, 0.15) 75%,
      transparent 75%,
      transparent);
}

.progress-bar-info {
  background-color: #5bc0de;
}

.progress-striped .progress-bar-info {
  background-image: linear-gradient(45deg,
      rgba(255, 255, 255, 0.15) 25%,
      transparent 25%,
      transparent 50%,
      rgba(255, 255, 255, 0.15) 50%,
      rgba(255, 255, 255, 0.15) 75%,
      transparent 75%,
      transparent);
}

.progress-bar-warning {
  background-color: #f0ad4e;
}

.progress-striped .progress-bar-warning {
  background-image: linear-gradient(45deg,
      rgba(255, 255, 255, 0.15) 25%,
      transparent 25%,
      transparent 50%,
      rgba(255, 255, 255, 0.15) 50%,
      rgba(255, 255, 255, 0.15) 75%,
      transparent 75%,
      transparent);
}

.progress-bar-danger {
  background-color: #d9534f;
}

.progress-striped .progress-bar-danger {
  background-image: linear-gradient(45deg,
      rgba(255, 255, 255, 0.15) 25%,
      transparent 25%,
      transparent 50%,
      rgba(255, 255, 255, 0.15) 50%,
      rgba(255, 255, 255, 0.15) 75%,
      transparent 75%,
      transparent);
}

.navbar-nav {
  flex-wrap: wrap;
}

/*.table > thead > tr > td.pink,
.table > tbody > tr > td.pink,
.table > tfoot > tr > td.pink,
.table > thead > tr > th.pink,
.table > tbody > tr > th.pink,
.table > tfoot > tr > th.pink,
.table > thead > tr.pink > td,
.table > tbody > tr.pink > td,
.table > tfoot > tr.pink > td,
.table > thead > tr.pink > th,
.table > tbody > tr.pink > th,
.table > tfoot > tr.pink > th {
  background-color: #EE09A9;
}*/

.popover-item {
  position: relative;
}

.popover-content {
  color: var(--white);
  display: none;
  position: absolute;
  border: 1.5px solid #4681ff48;
  background-color: rgb(23 26 28/85%);
  padding: 10px 20px;
  z-index: 9;
  width: 500px;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
}

.popover-contents::after {
  content: "";
  position: absolute;
  bottom: -10px;
  /* Position the arrow 10px below the tooltip */
  left: 50%;
  /* Position it in the center */
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #4681ff48;
  /* Tooltip background color */
}

.popover-content.s32px {
  left: 32px;
}

.popover-content.s64px {
  left: 400px;
}

.left32 {
  left: 32px;
}

.left64 {
  left: 64px;
}

.right32 {
  right: 32px;
}

.right64 {
  right: 64px;
}

.popover-content:hover {
  display: none !important;
}

.popover-item:hover .popover-content {
  display: block;
}

.popover-content h1 {
  font-size: 20px;
}

.show-equipment>div>div:not(:hover) {
  z-index: unset;
}

.popover-equipment-img>.equipment-img-description {
  height: fit-content;
  width: fit-content;
  background-color: #101010;
  border: 1px solid #999;
}

.show-equipment {
  position: relative;
  width: 222px;
  height: 351px;
  margin-left: auto;
  margin-right: auto;
  background: url(../images/equipment.png) no-repeat;
}

.show-equipment>.money-text {
  position: absolute;
  font-size: 14px;
  width: 100%;
  height: 24px;
  z-index: 1;
}

.show-equipment>.money-text>.bag-money-text {
  position: absolute;
  right: 5px;
  top: 282px;
  display: flex;
  align-items: center;
  /* Align items vertically */
}

.bag-gold-text {
  position: absolute;
  font-size: 14px;
  right: 45px;
  top: 280px;
  transform: translate(-30%, -5%);
}

.bag-golds-text {
  position: absolute;
  font-size: 14px;
  right: 5px;
  top: 328px;
  display: flex;
  align-items: center;
  /* Align items vertically */
}

.money-text,
.bag-golds-text {
  display: flex;
  /* Use flexbox for flexible layouts */
  align-items: center;
  /* Vertically align items */
  font-size: 14px;
}

.bag-money-text .dalant-number {
  margin-right: 10px;
  /* Adds space between the number and the text */
}

.bag-golds-text .gold-number {
  margin-right: 10px;
  /* Adds space between the number and the "Gold" text */
}

.tab-pane {
  position: relative;
  margin-bottom: 20px;
}

.show-equipment>div>div.preview {
  cursor: pointer;
}

.item-equipment .equipment-bg-black {
  background-color: #101010;
}

.item-equipment>div.armors,
.item-equipment>div.armors>img {
  height: 64px;
  width: 64px;
  z-index: 1;
  background-color: #101010;
}

.item-equipment>div.accessories,
.item-equipment>div.accessories>img {
  height: 32px;
  width: 32px;
  z-index: 1;
  background-color: #101010;
}

.item-equipment>.equipment-helmet {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
  top: 32px;
}

.item-equipment>.equipment-upper {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
  top: 102px;
}

.item-equipment>.equipment-lower {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
  top: 172px;
}

.item-equipment>.equipment-gauntlet {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: -140px;
  right: 0;
  text-align: center;
  top: 172px;
}

.item-equipment>.equipment-shoe {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
  top: 242px;
}

.item-equipment>.equipment-weapon {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: -140px;
  right: 0;
  text-align: center;
  top: 102px;
}

.item-equipment>.equipment-shield {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 140px;
  right: 0;
  text-align: center;
  top: 102px;
}

.item-equipment>.equipment-cloak {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 140px;
  right: 0;
  text-align: center;
  top: 172px;
}

.item-equipment>.equipment-ring-0 {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: -108px;
  right: 0;
  text-align: center;
  top: 242px;
}

.item-equipment>.equipment-ring-1 {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 108px;
  right: 0;
  text-align: center;
  top: 242px;
}

.item-equipment>.equipment-amulet-0 {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 104px;
  right: 0;
  text-align: center;
  top: 64px;
}

.item-equipment>.equipment-amulet-1 {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 175px;
  right: 0;
  text-align: center;
  top: 64px;
}

.item-equipment>.equipment-wing0 {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 104px;
  right: 0;
  text-align: center;
  top: 32px;
}

.item-equipment>.equipment-bullet-0 {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: -104px;
  right: 0;
  text-align: center;
  top: 64px;
}

.item-equipment>.equipment-bullet-1 {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: -173px;
  right: 0;
  text-align: center;
  top: 64px;
}

.item-equipment>.equipment-bullet-2 {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: -104px;
  right: 0;
  text-align: center;
  top: 29px;
}

.inventory-bag-item {
  position: relative;
  width: 228px;
  height: 176px;
  bottom: 0;
  /* display: none; */
}

.inventory-bag-item>.bag-num-view-text {
  position: absolute;
  font-size: 14px;
  width: 100%;
  height: 24px;
  z-index: 1;
}

.inventory-bag-item>.bag-num-view-text>.bag-num-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #cbc7c7;
}

.inventory-layout {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.inventory-bag-item {
  background: url(../images/bag.png) no-repeat;
}

.inventory-bag-item>.bag-item-list.bag-view {
  display: inherit;
}

.inventory-bag-item>.bag-item-list>div {
  height: 32px;
  width: 32px;
  position: absolute;
  z-index: 999;
}

.inventory-bag-item>.bag-item-list>div>.item-amount {
  position: absolute;
  top: 28px;
  font-size: 12px;
  line-height: 0;
  text-shadow: 1px 1px 2px #000;
  z-index: 9999;
}

.inventory-bag-item>.bag-item-list>div:nth-child(1) {
  left: 19px;
  top: 26px;
}

.inventory-bag-item>.bag-item-list>div:nth-child(2) {
  left: 58px;
  top: 26px;
}

.inventory-bag-item>.bag-item-list>div:nth-child(3) {
  left: 97px;
  top: 26px;
}

.inventory-bag-item>.bag-item-list>div:nth-child(4) {
  left: 136px;
  top: 26px;
}

.inventory-bag-item>.bag-item-list>div:nth-child(5) {
  left: 175px;
  top: 26px;
}

.inventory-bag-item>.bag-item-list>div:nth-child(6) {
  left: 19px;
  top: 62px;
}

.inventory-bag-item>.bag-item-list>div:nth-child(7) {
  left: 58px;
  top: 62px;
}

.inventory-bag-item>.bag-item-list>div:nth-child(8) {
  left: 97px;
  top: 62px;
}

.inventory-bag-item>.bag-item-list>div:nth-child(9) {
  left: 136px;
  top: 62px;
}

.inventory-bag-item>.bag-item-list>div:nth-child(10) {
  left: 175px;
  top: 62px;
}

.inventory-bag-item>.bag-item-list>div:nth-child(11) {
  left: 19px;
  top: 98px;
}

.inventory-bag-item>.bag-item-list>div:nth-child(12) {
  left: 58px;
  top: 98px;
}

.inventory-bag-item>.bag-item-list>div:nth-child(13) {
  left: 97px;
  top: 98px;
}

.inventory-bag-item>.bag-item-list>div:nth-child(14) {
  left: 136px;
  top: 98px;
}

.inventory-bag-item>.bag-item-list>div:nth-child(15) {
  left: 175px;
  top: 98px;
}

.inventory-bag-item>.bag-item-list>div:nth-child(16) {
  left: 19px;
  top: 134px;
}

.inventory-bag-item>.bag-item-list>div:nth-child(17) {
  left: 58px;
  top: 134px;
}

.inventory-bag-item>.bag-item-list>div:nth-child(18) {
  left: 97px;
  top: 134px;
}

.inventory-bag-item>.bag-item-list>div:nth-child(19) {
  left: 136px;
  top: 134px;
}

.inventory-bag-item>.bag-item-list>div:nth-child(20) {
  left: 175px;
  top: 134px;
}

.invetory-item-tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.invetory-item-tooltip .tooltiptext {
  visibility: hidden;
  width: 228px;
  background-color: #111820e6;
  color: #fff;
  text-align: center;
  border: 1px solid #4681ff48;
  padding: 5px;
  position: absolute;
  /* top: 50%; */
  left: 50%;
  /* transform: translateY(-50%); */
  transform: translateX(-50%) translateY(-100%);
  z-index: 1;
  font-size: 12px;
}

.invetory-item-tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  border-width: 5px;
  border-style: solid;
}

.invetory-item-tooltip:hover .tooltiptext {
  visibility: visible;
}

.invetory-item-tooltip:hover .tooltiptext.hide-hover:hover {
  visibility: hidden;
}

.tooltipTop {
  bottom: 150%;
  left: 50%;
  margin-left: -60px;
}

.tooltipTop::after {
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-color: #00bcd4 transparent transparent transparent;
}

.tooltipBottom {
  top: 150%;
  left: 50%;
  margin-left: -60px;
}

.tooltipBottom:after {
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-color: transparent transparent #00bcd4 transparent;
}

.tooltipLeft {
  top: -5px;
  right: 140%;
}

.tooltipLeft::after {
  top: 50%;
  left: 100%;
  margin-top: -5px;
  border-color: transparent transparent transparent #00bcd4;
}

.tooltipRight {
  top: -5px;
  left: 130%;
}

.tooltipRight::after {
  top: 50%;
  right: 100%;
  margin-top: -5px;
  border-color: transparent transparent transparent transparent;
}

.tooltiptext>.tooltip-item-upgrades .item-upgrades-image>img {
  height: 16px;
}

.tooltiptext {
  white-space: nowrap;
}

.col-form-label-sm {
  background-color: var(--bs-body-bg);
  border-color: transparent;
  padding: 0.5rem 1rem;
}

.m-0 {
  margin: 0 !important;
}

.mt-0,
.my-0 {
  margin-top: 0 !important;
}

.mr-0,
.mx-0 {
  margin-right: 0 !important;
}

.mb-0,
.my-0 {
  margin-bottom: 0 !important;
}

.ml-0,
.mx-0 {
  margin-left: 0 !important;
}

.m-1 {
  margin: 0.25rem !important;
}

.mt-1,
.my-1 {
  margin-top: 0.25rem !important;
}

.mr-1,
.mx-1 {
  margin-right: 0.25rem !important;
}

.mb-1,
.my-1 {
  margin-bottom: 0.25rem !important;
}

.ml-1,
.mx-1 {
  margin-left: 0.25rem !important;
}

.m-2 {
  margin: 0.5rem !important;
}

.mt-2,
.my-2 {
  margin-top: 0.5rem !important;
}

.mr-2,
.mx-2 {
  margin-right: 0.5rem !important;
}

.mb-2,
.my-2 {
  margin-bottom: 0.5rem !important;
}

.ml-2,
.mx-2 {
  margin-left: 0.5rem !important;
}

.m-3 {
  margin: 1rem !important;
}

.mt-3,
.my-3 {
  margin-top: 1rem !important;
}

.mr-3,
.mx-3 {
  margin-right: 1rem !important;
}

.mb-3,
.my-3 {
  margin-bottom: 1rem !important;
}

.ml-3,
.mx-3 {
  margin-left: 1rem !important;
}

.m-4 {
  margin: 1.5rem !important;
}

.mt-4,
.my-4 {
  margin-top: 1.5rem !important;
}

.mr-4,
.mx-4 {
  margin-right: 1.5rem !important;
}

.mb-4,
.my-4 {
  margin-bottom: 1.5rem !important;
}

.ml-4,
.mx-4 {
  margin-left: 1.5rem !important;
}

.m-5 {
  margin: 3rem !important;
}

.mt-5,
.my-5 {
  margin-top: 3rem !important;
}

.mr-5,
.mx-5 {
  margin-right: 3rem !important;
}

.mb-5,
.my-5 {
  margin-bottom: 3rem !important;
}

.form-check .form-check-input {
  /* float: left; */
  /* margin-left: -1.5em; */
  position: absolute;
  margin-top: 0.3rem;
  margin-left: -1.25rem;
}

/* Invoice Status Formatting */

.invoice-status {
  margin: 20px 0 0 0;
  text-transform: uppercase;
  font-size: 24px;
  font-weight: bold;
}

.reset-font-size {
  font-size: unset;
}

/* Invoice Status Colors */

.draft {
  color: #888;
}

.unpaid {
  color: #cc0000;
}

.paid,
.approved {
  color: #4caf50;
}

.deny,
.failed,
.declined {
  color: #ffa600;
}

.refunded {
  color: #224488;
}

.cancelled,
.canceled {
  color: #888;
}

.expired {
  color: #ff6600;
}

.collections {
  color: #ffcc00;
}

.pending {
  color: #ffd000;
}

select.request-status,
select.request-status:focus {
  background-color: #444;
}

select.request-status.pending:focus {
  color: #ff00aa;
}

select.request-status.approved:focus {
  color: #ccff00;
}

select.request-status.declined:focus {
  color: #ffa600;
}

select.request-status.cancelled:focus {
  color: #888;
}

/* Payment Button Formatting */

.invoice-container .payment-btn-container {
  margin-top: 5px;
  text-align: center;
}

.invoice-container .payment-btn-container table {
  margin: 0 auto;
}

/* Text Formatting */

.invoice-container .small-text {
  font-size: 0.9em;
}

/* Invoice Items Table Formatting */

.invoice-container td.total-row {
  background-color: #f8f8f8;
}

.invoice-container td.no-line {
  border: 0;
}

.invoice-container .invoice-header img {
  max-width: 100%;
}

.pos-relative {
  position: relative;
}

.badge.badge-light-primary {
  background-color: rgba(111, 98, 245, 0.12);
  color: #9f97f3 !important;
}

.badge.badge-light-secondary {
  background-color: rgba(130, 135, 143, 0.12);
  color: #82868b !important;
}

.badge.badge-light-success {
  background-color: rgba(33, 202, 109, 0.12);
  color: #28c76f !important;
}

.badge.badge-light-danger {
  background-color: rgba(243, 72, 72, 0.12);
  color: #ff5b5c !important;
}

.badge.badge-light-warning {
  background-color: rgba(248, 141, 41, 0.12);
  color: #ff9f43 !important;
}

.badge.badge-light-info {
  background-color: rgba(3, 198, 219, 0.12);
  color: #00cfe8 !important;
}

.badge.badge-light-dark {
  background-color: rgba(66, 66, 66, 0.12);
  color: #e1e1e1 !important;
}

svg.races.bellato .race-logo {
  fill: #03a9f4;
}

svg.races.cora .race-logo {
  fill: #9575cd;
}

svg.races.accretia .race-logo {
  fill: #f44336;
}

svg.race-winner .race-logo {
  fill: #00ff40e3;
}

svg.race-loser .race-logo {
  fill: #ff0000;
}

svg.race-draw>.chipwar-draw-text {
  fill: #03a9f4;
}

svg.race-draw>.chipbreaker-draw2 {
  fill: #00bfff;
}

.race-draws {
  filter: brightness(0) saturate(100%) invert(60%) sepia(80%) saturate(500%) hue-rotate(150deg) brightness(95%) contrast(95%);
}

.archon-race-accretia {
  filter: brightness(0) saturate(100%) invert(22%) sepia(94%) saturate(7480%) hue-rotate(357deg) brightness(101%) contrast(102%);
}

.archon-race-bellato {
  filter: brightness(0) saturate(100%) invert(60%) sepia(72%) saturate(6480%) hue-rotate(180deg) brightness(102%) contrast(103%);
}

.archon-race-cora {
  filter: brightness(0) saturate(100%) invert(50%) sepia(20%) saturate(6500%) hue-rotate(230deg) brightness(100%) contrast(105%);
}

.council {
  filter: brightness(0) saturate(100%) invert(60%) sepia(80%) saturate(500%) hue-rotate(150deg) brightness(95%) contrast(95%);
}

.card.chipwar-statistics {
  border: none;
  border-radius: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px;
  color: #dfe6f0;
  overflow: hidden;
  margin-top: 16px;
  background: linear-gradient(135deg,
      rgba(20, 25, 35, 0.9),
      rgba(10, 15, 25, 0.95));
}

/* Header */
.chipwar-statistics>.card-header {
  display: flex;
  justify-content: flex-start;
  /* align to left */
  align-items: center;
  border: none;
  background: transparent;
  /* keep transparent */
  margin-bottom: 14px;
  padding: 0;
  /* remove extra padding */
}

/* Date Label */
.chipwar-date {
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 8px;
  color: #64b5f6;
  background: rgba(100, 181, 246, 0.08);
  border: 1px solid rgba(100, 181, 246, 0.25);
}

/* Log Card */
.chipwar-log {
  background: linear-gradient(135deg,
      rgba(25, 30, 45, 0.95),
      rgba(15, 20, 30, 0.98));
  border-radius: 12px;
  /* smaller corner radius */
  padding: 12px 14px;
  /* less padding */
  margin-bottom: 14px;
  /* tighter spacing between cards */
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.chipwar-log:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 16px rgba(33, 150, 243, 0.35);
}

/* Top Badges */
.chipwar-log>.chipwar-time {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  color: #fff;
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
}

.chipwar-time.first {
  background: linear-gradient(135deg, #42a5f5, #ffee00);
}

.chipwar-time.second {
  background: linear-gradient(135deg, #5c6bc0, #00d1ac);
}

.chipwar-time.third {
  background: linear-gradient(135deg, #26c6da, #10008b);
}

/* Time & Runtime */
.chipwar-hour {
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.runtime {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64b5f6;
}

.chipwar-log .row {
  margin-top: 10px;
}

.chipwar-log .col-4 p {
  font-size: 0.8rem;
  margin-bottom: 4px;
  color: #b0bec5;
}

/* Chipbreaker Data */
.chipbreaker-data {
  font-size: 0.8rem;
}

.chipbreaker-user {
  margin: 4px 0;
  padding: 4px 8px;
  font-size: 0.8rem;
}

.chipbreaker-user.delivered {
  border-bottom: #00fa0c 3px solid;
}

.chipbreaker-user.death {
  border: 1px solid rgba(3, 169, 244, 0.25);
}

.chipwar-log-count {
  top: -12px;
  padding: 4px 10px;
  font-size: 0.75rem;
  border-radius: 6px;
}

.chipwar-log-count.win {
  background: linear-gradient(135deg, #64b5f6, #2196f3);
  color: #fff;
  box-shadow: 0 0 15px rgba(33, 150, 243, 0.4);
}

.chipwar-log-count.lose {
  background: linear-gradient(135deg, #90a4ae, #546e7a);
  color: #fff;
  box-shadow: 0 0 15px rgba(84, 110, 122, 0.3);
}

.container-member-guild {
  display: flex;
}

.guild-emblem-layout {
  display: flex;
}

.color-green {
  color: rgb(5, 236, 36);
}

.color-red {
  color: rgb(182, 13, 13);
}

.single-option {
  pointer-events: none;
}

.sprite-placeholder {
  background-image: none;
  background-color: white;
}

/* .character-state.offline {
  padding-left: 2px;
  border-left: 4px solid #9e9e9e;
}

.character-state.online {
  padding-left: 2px;
  border-left: 4px solid #7cff00;
} */

.character-state.online::before {
  content: "●";
  color: #10b981;
  margin-right: 1px;
  /* font-size: 20px; */
  text-shadow: 0 0 8px #10b981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

.character-state.offline::before {
  content: "●";
  color: #64748b;
  margin-right: 1px;
  /* font-size: 20px; */
}

/* th.success {
  background: linear-gradient(135deg, #0f2027, #2c5364, #00bf8f);
}

th.info {
  background: linear-gradient(135deg, #1a2980, #26d0ce);
}

th.danger {
  background: linear-gradient(135deg, #93291e, #ed213a);
} */

.skill-center {
  display: flex;
}

.overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(122 109 109);
  /* Darker red with higher opacity */
  mix-blend-mode: multiply;
  /* Blends the overlay color with the sprite */
  pointer-events: none;
  /* Prevents the overlay from blocking interaction */
}

.btn-gradient-primary {
  background: linear-gradient(45deg, #6a11cb, #2575fc);
  border: none;
  transition: background 0.3s ease;
}

.btn-gradient-primary:hover {
  background: linear-gradient(45deg, #2575fc, #6a11cb);
}

.bg-gradient-light {
  background: linear-gradient(135deg, #e0eafc, #cfdef3);
}

.btn-gradient-success {
  background: linear-gradient(90deg, #a8e063, #56ab2f);
  border: none;
  transition: background 0.3s ease;
}

.btn-gradient-success:hover {
  background: linear-gradient(90deg, #56ab2f, #a8e063);
}

.btn-gradient-danger {
  background: linear-gradient(90deg, #dc3545, #b02a37);
  border: none;
  color: #fff;
  transition: background 0.3s ease;
}

.btn-gradient-danger:hover {
  background: linear-gradient(90deg, #b02a37, #dc3545);
}

.icon-glow {
  text-shadow: 0 0 8px #a8e063, 0 0 15px #56ab2f, 0 0 20px #a8e063,
    0 0 30px #56ab2f;
}

.glass-card {
  background: rgba(20, 20, 30, 0.65);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

.char-name {
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.level-badge {
  background: linear-gradient(135deg, #0077ff, #ff758c);
  border-radius: 50px;
  font-size: 0.9rem;
  padding: 6px 14px;
  color: #fff;
  box-shadow: 0 0 12px rgb(20 3 3 / 50%);
}

.race-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.btn-glass {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #f1f5f9;
  padding: 8px 20px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-glass-success {
  background: linear-gradient(135deg, #00f260, #0575e6);
  border: none;
  color: #fff;
  border-radius: 50px;
  padding: 10px 24px;
  transition: all 0.3s ease;
}

.btn-glass-info {
  background: linear-gradient(135deg, #43cea2, #185a9d);
  border: none;
  color: #fff;
  border-radius: 50px;
  padding: 10px 24px;
  transition: all 0.3s ease;
}

.btn-glass-success:hover,
.btn-glass-info:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Wrapper */
.gamecp-login {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 1300px;
  margin: 20px auto;
  background: linear-gradient(135deg,
      rgba(25, 30, 45, 0.95),
      rgba(15, 20, 30, 0.98));
  border: #000000;
  border-radius: 14px;
  overflow: hidden;
  color: #e2e2e2;
}

/* Left Panel */
.gamecp-panel-left {
  flex: 1;
  padding: 40px;
  background: linear-gradient(135deg,
      rgba(25, 30, 45, 0.95),
      rgba(15, 20, 30, 0.98));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gamecp-panel-left h2 {
  margin-bottom: 25px;
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
}

/* Form Group */
.gamecp-field {
  margin-bottom: 20px;
}

.gamecp-field label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #a5a5a5;
}

/* Input Group */
.gamecp-inputbox {
  display: flex;
  align-items: center;
  background: #2a2d33;
  border: 1px solid #3c4048;
  border-radius: 6px;
}

.gamecp-input-icon {
  padding: 10px 12px;
  color: #bbb;
  font-size: 14px;
}

.gamecp-input {
  flex: 1;
  padding: 10px 12px;
  background: transparent;
  border: none;
  outline: none;
  color: #e2e2e2;
  font-size: 14px;
}

.gamecp-input::placeholder {
  color: #777;
}

/* Dropdown */
.gamecp-select {
  width: 100%;
  padding: 10px 12px;
  background: linear-gradient(135deg,
      rgba(2, 2, 2, 0.95),
      rgba(15, 20, 30, 0.98));
  border: #000000;
  border-radius: 6px;
  color: #e2e2e2;
  font-size: 14px;
  appearance: none;
  cursor: pointer;
}

.gamecp-select:focus {
  border-color: #3a7bd5;
}

.gamecp-select option {
  color: #fff;
  /* black text */
  background: #000;
  /* white option background */
}

/* Buttons Row */
.gamecp-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  /* margin-top: 20px; */
}

/* Button Base */
.gamecp-btn {
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Button Colors */
.gamecp-btn-blue {
  background: #3a7bd5;
  color: #fff;
}

.gamecp-btn-blue:hover {
  background: #326bb8;
}

.gamecp-btn-green {
  background: #4caf50;
  color: #fff;
}

.gamecp-btn-green:hover {
  background: #3f9143;
}

.gamecp-btn-yellow {
  background: #d69c21;
  color: #fff;
}

.gamecp-btn-yellow:hover {
  background: #b68118;
}

.gamecp-btn-red {
  background: #b3261e;
  color: #fff;
}

.gamecp-btn-red:hover {
  background: #911e17;
}

/* Right Panel */
.gamecp-panel-right {
  flex: 1;
  /* background: #181a1f; */
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.gamecp-panel-right img {
  max-width: 160px;
  margin-bottom: 20px;
}

.gamecp-panel-right h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #ffffff;
}

.gamecp-panel-right p {
  font-size: 14px;
  color: #9a9a9a;
  line-height: 1.5;
  max-width: 80%;
}

/* Field container */
.gamecp-field-pro {
  margin-bottom: 24px;
  position: relative;
}

/* Input wrapper */
.gamecp-inputbox-pro {
  position: relative;
  display: flex;
  align-items: center;
}

/* Input field */
.gamecp-input-pro {
  width: 100%;
  padding: 10px 12px 10px 42px;
  /* smaller padding */
  background: linear-gradient(135deg,
      rgba(2, 2, 2, 0.95),
      rgba(15, 20, 30, 0.98));
  border: #000;
  border-radius: 8px;
  /* slightly smaller radius */
  color: #eee;
  font-size: 14px;
  /* smaller font size */
  outline: none;
  transition: all 0.3s ease;
}

.gamecp-input-pro:focus {
  border-color: #00000000;
  background: linear-gradient(135deg,
      rgba(2, 2, 2, 0.95),
      rgba(15, 20, 30, 0.98));
}

/* Label style */
.gamecp-inputbox-pro label {
  position: absolute;
  left: 48px;
  /* after icon */
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #888;
  /* neutral gray */
  pointer-events: none;
  transition: all 0.3s ease;
}

.gamecp-input-pro:focus~label,
.gamecp-input-pro:not(:placeholder-shown)~label {
  color: transparent;
}

/* Floating effect */
/* .gamecp-input-pro:focus ~ label,
.gamecp-input-pro:not(:placeholder-shown) ~ label {
  top: -14px;
  left: 44px;
  font-size: 13px;
  color: #aaa; 
  background: #111;
  padding: 0 6px;
  border-radius: 4px;
} */

/* Icon */
.gamecp-input-icon-pro {
  position: absolute;
  left: 16px;
  color: #ffffff;
  font-size: 18px;
  pointer-events: none;
  transition: color 0.3s ease;
}

.gamecp-input-pro:focus~.gamecp-input-icon-pro {
  color: #aaa;
}

/* Discord Widget - GameCP Style */
.discord-widget {
  width: 100%;
  /* max-width: 420px; */
  /* border: 1px solid #2b2b2b; */
  border-radius: 8px;
  overflow: hidden;
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: #1b1b1b;
  color: #dcdcdc;
}

/* Header */
.discord-header {
  background: linear-gradient(296deg,
      rgba(25, 30, 45, 0.95),
      rgba(15, 20, 30, 0.98));
  color: #f0f0f0;
  font-weight: 600;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  /* border-bottom: 1px solid #3a3a3a; */
}

.discord-join-btn {
  background: #3c8d5b;
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}

.discord-join-btn:hover {
  background: #327349;
  transform: translateY(-1px);
}

.discord-member {
  display: flex;
  align-items: center;
  gap: 10px;
  /* spacing between avatar and username */
  padding: 8px 12px;
  /* border-bottom: 1px solid #2a2a2a; */
  background: linear-gradient(78deg, rgb(16 18 24 / 95%), rgb(24 33 51 / 98%));
}

.discord-avatar-wrapper {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  /* fixed size */
}

.discord-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #2b2b2b;
  object-fit: cover;
}

.discord-status {
  position: absolute;
  right: 0px;
  bottom: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #1f1f1f;
}

/* Status Colors */
.discord-status.online {
  background: #43b581;
  /* green */
}

.discord-status.idle {
  background: #faa61a;
  /* yellow */
}

.discord-status.dnd {
  background: #f04747;
  /* red */
}

.discord-status.offline {
  background: #747f8d;
  /* gray */
}

/* Username will always sit BESIDE the avatar */
.discord-username {
  color: #dcdcdc;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.discord-members {
  max-height: 300px;
  /* Adjust this value based on your desired maximum height */
  overflow-y: auto;
  background: linear-gradient(143deg,
      rgb(49 57 81 / 95%),
      rgba(15, 20, 30, 0.98));
}

/* Scrollbar - GameCP Style */
.discord-members::-webkit-scrollbar {
  width: 6px;
}

.discord-members::-webkit-scrollbar-track {
  background: #1a1a1a;
}

.discord-members::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 3px;
}

.discord-members::-webkit-scrollbar-thumb:hover {
  background: #666;
}

/* Error */
.discord-error {
  padding: 12px;
  text-align: center;
  color: #e57373;
  background: #262626;
  font-size: 0.9rem;
}

/* Fix for MacBook and other screens below 1300px */
@media (max-width: 1366px) {
  .gamecp-login {
    width: 95%;
    max-width: 1200px;
  }
}

@media (max-width: 992px) {
  .gamecp-login {
    flex-direction: column;
    width: 95%;
    margin: 20px auto;
  }

  .gamecp-panel-left,
  .gamecp-panel-right {
    width: 100%;
    padding: 30px 24px;
  }

  .gamecp-buttons {
    flex-wrap: wrap;
    justify-content: center;
  }

  .gamecp-btn {
    flex: 1 1 45%;
    text-align: center;
    justify-content: center;
  }

  .discord-widget {
    width: 100%;
  }

  .discord-members {
    max-height: 260px;
  }
}

/* === Tablet Devices === */
@media (max-width: 768px) {
  .gamecp-panel-left h2 {
    font-size: 20px;
    text-align: center;
  }

  .gamecp-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .gamecp-btn {
    width: 100%;
  }

  .gamecp-input,
  .gamecp-input-pro {
    font-size: 13px;
    padding: 10px;
  }

  .gamecp-inputbox-pro label {
    font-size: 14px;
    left: 42px;
  }

  .gamecp-input-icon-pro {
    font-size: 16px;
    left: 14px;
  }

  .gamecp-select {
    font-size: 13px;
  }

  .discord-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .discord-join-btn {
    width: 100%;
    text-align: center;
  }
}

/* === Small Phones and Narrow Devices === */
@media (max-width: 480px) {
  .gamecp-login {
    width: 100%;
    border-radius: 0;
    margin: 10px auto;
  }

  .gamecp-panel-left,
  .gamecp-panel-right {
    padding: 20px 16px;
  }

  .gamecp-panel-right h3 {
    font-size: 16px;
  }

  .gamecp-panel-right p {
    font-size: 13px;
    max-width: 100%;
  }

  .gamecp-panel-right img {
    max-width: 100px;
  }

  .discord-member {
    padding: 6px 10px;
    gap: 8px;
  }

  .discord-username {
    font-size: 0.8rem;
  }

  .discord-avatar-wrapper {
    width: 28px;
    height: 28px;
  }

  .discord-status {
    width: 8px;
    height: 8px;
  }
}

/* === Responsive Input Adjustments === */
@media (max-width: 992px) {
  .gamecp-input-pro {
    font-size: 14px;
    padding: 10px 12px 10px 38px;
  }

  .gamecp-inputbox-pro label {
    font-size: 15px;
    left: 40px;
  }

  .gamecp-input-icon-pro {
    font-size: 16px;
    left: 14px;
  }
}

@media (max-width: 768px) {
  .gamecp-input-pro {
    font-size: 13px;
    padding: 9px 10px 9px 36px;
    border-radius: 6px;
  }

  .gamecp-inputbox-pro label {
    font-size: 14px;
    left: 38px;
  }

  .gamecp-input-icon-pro {
    font-size: 15px;
    left: 12px;
  }
}

@media (max-width: 480px) {
  .gamecp-input-pro {
    font-size: 12px;
    padding: 8px 10px 8px 32px;
    border-radius: 5px;
  }

  .gamecp-inputbox-pro label {
    font-size: 13px;
    left: 34px;
  }

  .gamecp-input-icon-pro {
    font-size: 14px;
    left: 10px;
  }
}

.rf-stat-panel {
  display: flex;
  align-items: center;
  font-family: 'Verdana', sans-serif;
}

.rf-orb-wrapper {
  position: relative;
  z-index: 2;
  width: 70px;
  height: 70px;
  margin-right: -10px;
}

.rf-orb {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #4a89ff, #001f5c);
  border: 3px solid rgb(97, 74, 74);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.rf-orb::before {
  content: '';
  position: absolute;
  top: -5px;
  bottom: -5px;
  left: -5px;
  right: -5px;
  border-radius: 50%;
  border: 2px solid #555;
  z-index: -1;
  background: linear-gradient(to bottom, #888, #222);
}

.rf-level-text {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 5px #00aaff;
}

.rf-bars-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  z-index: 1;
}

.rf-bar-row {
  display: flex;
  align-items: center;
}

.rf-bar-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #222;
  border: 2px solid #555;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  color: #fff;
  font-weight: bold;
  margin-right: -5px;
  z-index: 2;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.icon-h {
  color: #5bff5b;
  border-color: #5bff5b;
}

.icon-f {
  color: #5bc0ff;
  border-color: #5bc0ff;
}

.icon-s {
  color: #ffca5b;
  border-color: #ffca5b;
}

.rf-bar-tube {
  flex: 1;
  height: 18px;
  background: #111;
  border: 1px solid #444;
  border-radius: 0 4px 4px 0;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.8);
}

@keyframes fillBar {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

.rf-bar-fill {
  height: 100%;
  width: 100%;
  position: relative;
  animation: fillBar 1.5s ease-out forwards;
}

.fill-hp {
  background: linear-gradient(to bottom, #ff5b5b, #990000, #ff5b5b);
}

.fill-fp {
  background: linear-gradient(to bottom, #5bc0ff, #005c99, #5bc0ff);
}

.fill-sp {
  background: linear-gradient(to bottom, #ffca5b, #997a00, #ffca5b);
}

.rf-bar-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 11px;
  color: #fff;
  font-weight: bold;
  text-shadow: 1px 1px 0 #000;
  letter-spacing: 1px;
}

.rf-pvp-panel {
  margin-top: 15px;
  background: rgba(30, 30, 30, 0.9);
  border: 1px solid #444;
  border-radius: 6px;
  padding: 12px;
  display: flex;
  gap: 15px;
  font-family: 'Tahoma', sans-serif;
  font-size: 13px;
  color: #ddd;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
}

.rf-class-box {
  width: 90px;
  /* height: 70px; */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Placeholder for class icon */
.rf-class-icon-img {
  width: 50px;
  height: 50px;
  background: radial-gradient(circle, #333, #000);
  border-radius: 4px;
}

.rf-pvp-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  line-height: 1.4;
}

.rf-pvp-kd {
  font-weight: bold;
  margin-bottom: 4px;
}

.rf-label-kill {
  color: #ff6b6b;
  font-weight: bold;
}

.rf-label-death {
  color: #6bafff;
  font-weight: bold;
}

.rf-point-row {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #eee;
  font-weight: 500;
}

.rf-tri {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 7px solid #ff4444;
  display: inline-block;
}

.rf-buff-panel {
  background: rgba(30, 30, 30, 0.9);
  border: 1px solid #444;
  border-radius: 6px;
  padding: 10px;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
}

.rf-buff-header {
  color: #88aaff;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid #444;
  letter-spacing: 1px;
}

.rf-buff-item {
  display: flex;
  align-items: center;
  /* padding: 4px 6px; */
  margin-bottom: 2px;
  transition: all 0.2s ease;
}

.rf-buff-item.buff-dark {
  border-left-color: #9933ff;
}

.rf-buff-item.buff-holy {
  border-left-color: #ecc900;
}

.rf-buff-item.buff-fire {
  border-left-color: #ff3333;
}

.rf-buff-item.buff-aqua {
  border-left-color: #3388ff;
}

.rf-buff-item.buff-terra {
  border-left-color: #33cc33;
}

.rf-buff-item.buff-wind {
  border-left-color: #b366ff;
}

.rf-buff-icon {
  width: 64px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.rf-buff-info {
  flex: 1;
  min-width: 0;
}

.rf-buff-name {
  color: #e0e0e0;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rf-buff-level {
  color: #e6b800;
  font-size: 10px;
  font-weight: bold;
}

.rf-skill-card {
  background: linear-gradient(135deg, #16181b 0%, #1a1c20 100%);
  border: 1px solid #2a2e33;
  border-left: 3px solid #333;
  /* Default left accent */
  border-radius: 4px;
  padding: 6px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  margin-bottom: 6px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.rf-skill-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
  pointer-events: none;
}

.rf-skill-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
  border-color: #444;
  border-left-color: #0077ff;
}

/* Specific Force Type Hover Colors */
.rf-skill-card.force-holy:hover {
  border-left-color: #ecc900d0;
  /* Light/Gold */
}

.rf-skill-card.force-fire:hover {
  border-left-color: #ff3333;
  /* Red */
}

.rf-skill-card.force-aqua:hover {
  border-left-color: #3388ff;
  /* Blue */
}

.rf-skill-card.force-terra:hover {
  border-left-color: #33ff33;
  /* Green */
}

.rf-skill-card.force-wind:hover {
  border-left-color: #b366ff;
  /* Purple */
}

.rf-skill-card.force-dark:hover {
  border-left-color: #9933ff;
  /* Dark Purple/Black theme */
}

.rf-skill-icon-container {
  width: 42px;
  height: 42px;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 12px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8), 0 0 0 1px #333;
  border-radius: 4px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.rf-skill-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

.rf-skill-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  line-height: normal;
  margin-bottom: 4px;
}

.rf-skill-name {
  font-weight: 600;
  font-size: 13px;
  color: #e0e0e0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.3px;
}

.rf-skill-level {
  font-weight: bold;
  font-size: 12px;
  color: #e6b800;
}

.rf-skill-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2px;
}

.rf-progress-container {
  display: flex;
  gap: 3px;
  flex-grow: 1;
  margin-right: 10px;
  align-items: center;
  height: 6px;
  /* background: rgba(0,0,0,0.3); */
  padding: 1px;
  border-radius: 2px;
}

.rf-progress-block {
  height: 4px;
  flex-grow: 1;
  background-color: #8b7474;
  border-radius: 1px;
  transition: background-color 0.3s ease;
}

.rf-progress-block.filled {
  background-color: #0077ff;
  box-shadow: 0 0 4px #0077ff;
}

.rf-progress-text {
  font-size: 11px;
  color: #eee0aa;
  white-space: nowrap;
  font-family: 'Consolas', monospace;
  font-weight: bold;
}

.skill-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.85);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(1px);
  border-radius: 3px;
}

.rf-combat-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 4px;
  background: transparent;
  font-family: 'Segoe UI', sans-serif;
  margin-bottom: 10px;
}

.rf-combat-header {
  background: #287bb5;
  color: #dedede;
  text-align: left;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid #0077ff;
  margin-bottom: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.rf-combat-row {
  background: linear-gradient(to right, #1a1a1a, #222);
  display: flex;
  align-items: center;
  border: 1px solid #333;
  border-radius: 3px;
  margin-bottom: 6px;
  padding: 4px 8px;
  height: 32px;
  transition: border-color 0.2s;
}

.rf-combat-row:hover {
  border-color: #555;
  background: linear-gradient(to right, #222, #2a2a2a);
}

.rf-combat-label {
  width: 90px;
  font-size: 12px;
  color: #ccc;
  font-weight: 600;
}

.rf-combat-bar-container {
  flex-grow: 1;
  height: 12px;
  background: #080808;
  /* border-radius: 6px; */
  position: relative;
  margin: 0 10px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

@keyframes expandWidth {
  from {
    width: 0%;
  }
}

.rf-combat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #359fdd 74%, #0030bd 100%);
  width: 0%;
  /* border-radius: 6px; */
  box-shadow: 0 0 5px rgba(41, 137, 216, 0.5);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: expandWidth 1.5s ease-out;
}

.rf-combat-bar-text {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 9px;
  font-weight: bold;
  text-shadow: 0 1px 2px #000;
  z-index: 10;
}

.rf-combat-value {
  width: 50px;
  text-align: right;
  font-size: 13px;
  color: #fff;
  font-weight: bold;
  font-family: 'Consolas', monospace;
}

.rf-gm-text {
  color: #97b3ff;
  text-align: center;
  width: 100%;
  font-weight: bold;
  /* text-shadow: 0 0 5px rgba(0, 119, 255, 0.6); */
}

.rf-combat-bar-fill.red {
  background: linear-gradient(90deg, #991e1e 0%, #d82929 100%);
}

.rf-combat-bar-fill.green {
  background: linear-gradient(90deg, #1e992b 0%, #29d846 100%);
}