/* =========================================================
   GLOBAL BACKGROUND + OVERLAY (ALL PAGES)
   Safe layering: overlay is ALWAYS behind content
   ========================================================= */

html{
  background: #0b0b0b;   /* only a solid fallback */
  min-height: 100%;
}
#admin_container .well {background-color:transparent;}
#admin_container .well tbody tr{background-color:transparent;}
/* ==============================
   GLOBAL BACKGROUND (ALL PAGES)
   EXCEPT the market page
   ============================== */
body{
  background-color:#0b0707;
  background-image:
    radial-gradient(1100px 650px at 50% -220px, rgba(227,196,110,.08), transparent 60%),
    linear-gradient(180deg, rgba(20,12,12,.92) 0%, rgba(10,6,6,.96) 55%, rgba(5,3,3,.98) 100%);
  background-repeat:no-repeat;
  background-attachment:scroll;
}




#combat .myButton {
    box-shadow: inset 0 1px 0 0 #9e9a99;
    background: linear-gradient(to bottom, #12100d 5%, #634b30 100%);
    border-radius: 3px;
    border: 1px solid #54381e;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 15px;
    padding: 6px 24px;
    text-decoration: none;
    text-shadow: 0 1px 0 #141110;
    width: 100%;
    text-align: center !important;
}

#combat .myButton:hover {
    background: linear-gradient(to bottom, #634b30 5%, #12100d 100%);
}

#combat .myButton:active {
    position: relative;
    top: 1px;
}

.input-group {
    margin-top: 2px;
    padding: 3px;
}

.float-right {
    float: right;
}

.status-online {
    color: green;
}

.status-offline {
    color: red;
}

footer {

    display: block;
 background: radial-gradient(120% 90% at 50% 0%, rgba(227, 196, 110, .08), transparent 62%), linear-gradient(180deg, #4a0b08 0%, #1a1311 55%, #070405 100%) !important;
}

footer a,
footer p {
    color: #fff;
    padding: 15px 0 10px 0;
}



.col-md-9 form input {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
	background-color:transparent;
}

.col-md-9 form input[type="submit"] {
    width: 100%;
    background-color: #4caf50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#timestamp {
    font-size: 25px;
    font-weight: bold;
}

table.product_listing {
    width: 100%;
}

table.product_listing thead {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
}

table.product_listing th,
table.product_listing td {
    padding: 10px;
}

p.description {
    color: #000;
    font-size: 15px;
    letter-spacing: 1px;
    padding: 10px 0;
}

.no-border {
    border: none;
}

.mt-5 {
    margin-top: 5px;
}

#terms_conditions p {
    color: #181810;
}

.product_listing tr td img {
    width: 40px;
}

.col-md-9 .description {
    color: #008000;
    font-size: 18px;
}

.donation_points {
    font-weight: bold;
}

.donation_points span {
    font-weight: normal;
}

.panel-body {
    font-size: 16px;

}

.fa-2x {
    vertical-align: middle;
    margin-right: 2px;
    width: 35px;
    text-align: center;
}

.panel-heading h4 {
    margin: 2px 0;
}

.sidebar-nav-fixed .list-group-item {
    padding: 6px 12px;
}

.sidebar-nav-fixed .list-group-item .badge {
    top: 2px;
    position: relative;
}

.help-block {
    margin-top: 0;
    padding-top: 0;
}

div.container > div.panel-default {
    border: none !important;
}

.fa {
    min-width: 15px;
    text-align: center;
}

@media (min-width: 768px) {
    .karma_table {
        display: inline-block;
        width: 49%;
    }

    .navbar-nav {
        display: table;
        width: 100%;
    }

    .navbar-nav > li {
        display: table-cell;
        float: none;
    }
}

@media (max-width: 768px) {
    #fade {
        display: none;
    }
}

.shop_filter {
    text-align: center;
}

.shop_filter .filter_bnt {
    display: inline-block;
    padding: 25px;
}

.new_player_cos {
    margin-bottom: 20px;
}

.new_player_cos img {
    width: 100%;
}

.events-list {
    padding: 5px 0;
    color: black;
}

.events-list-li {
    padding: 0 0 5px 0;
    color: black;
}



.active,
.accordion:hover {
    background-color: #ccc;
}


.support_ticket_btn {
    box-shadow: inset 0 1px 0 0 #ffffff;
    background: linear-gradient(to bottom, #f9f9f9 5%, #e9e9e9 100%);
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    display: inline-block;
    cursor: pointer;
    color: #666666;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
    padding: 6px 24px;
    text-decoration: none;
    text-shadow: 0 1px 0 #ffffff;
}

.support_ticket_btn:hover {
    background: linear-gradient(to bottom, #e9e9e9 5%, #f9f9f9 100%);
}

.support_ticket_btn:active {
    position: relative;
    top: 1px;
}

.accordion:after {
    content: '\02795'; /* Unicode character for "plus" sign (+) */
    font-size: 13px;
    color: #777;
    float: right;
    margin-left: 5px;
}

.accordion_panel p {
    color: #333;
}

.label {
    color: white;
    padding: 8px;
}

.new {
    background-color: #04AA6D;
}


.mobile-box {
    width: 49%;
    background-color: #f5f5f5;
}

.shop-filter {
    font-size: 20px;
}

@media screen and (max-width: 768px) {
    .mobile-box {
        width: 100%;
    }

    .shop-filter {
        font-size: 11px;
        margin: 0 8px;
    }
}

.winter_hunt img {
    width: 100%;
}

.col-md-9 div img {
    width: 100%;
}

/* below accordion */
/* # The Rotating Marker # */
details summary::-webkit-details-marker {
    display: none;
}
summary::before {
    font-family: "Hiragino Mincho ProN", "Open Sans", sans-serif;
    content: "▶";
    position: absolute;
    top: 1rem;
    left: 0.4rem;
    transform: rotate(0);
    transform-origin: center;
    transition: 0.2s transform ease;
}
details[open] > summary:before {
    transform: rotate(90deg);
    transition: 0.45s transform ease;
}

/* # The Sliding Summary # */
details {
    overflow: hidden;
}
details summary {
    position: relative;
    z-index: 10;
}
@keyframes details-show {
    from {
        margin-bottom: -80%;
        opacity: 0;
        transform: translateY(-100%);
    }
}
details > *:not(summary) {
    animation: details-show 500ms ease-in-out;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease-in-out;
    color: transparent;
    overflow: hidden;
}
details[open] > *:not(summary) {
    color: inherit;
}

/* # Style 2 # */
details.style2 summary::before {
    content: "×";
    color: #fff;
    font-size: 2rem;
    line-height: 1rem;
    transform: rotate(-45deg);
    top: 1.2rem;
    left: 0.5rem;
}
details[open].style2 > summary:before {
    transform: rotate(90deg);
    color: #f00 !important;
    transition: color ease 2s, transform ease 1s;
}

/* # Style 3 # */
details.style3 summary::before {
    content: "›";
    font-size: 2.5rem;
    line-height: 1rem;
    top: 1.3rem;
    left: 0;
    margin: -0.5rem -0.5rem 0 0.5rem;
    transform-origin: bottom center;
    transition: margin linear 0.05s;
}
details.style3:hover > summary:before {
    color: #fff;
}
details[open].style3 > summary:before {
    left: 0;
    color: #ccc;
    transform: rotate(90deg);
    margin-left: 0.4rem;
    transition: color ease 2s, transform ease 1s, margin ease 1s;
}
@supports (-webkit-touch-callout: none) {
    details.style3 summary::before {
        top: 1.6rem;
    }
    details[open].style3 > summary:before {
        top: 1.3rem;
        transition: all 0.8s;
    }
}

/* # Style 4 # */
details.style4 summary {
    padding-right: 2.2rem;
    padding-left: 1rem;
}
details.style4 summary::before {
    content: "×";
    color: #fff;
    font-size: 2rem;
    line-height: 1rem;
    transform: rotate(-45deg);
    top: 1.2rem;
    left: unset;
    right: 0.6rem;
}
details[open].style4 > summary:before {
    transform: rotate(90deg);
    color: #f00 !important;
    transition: color ease 2s, transform ease 1s;
}

/* # Style 5 # */
details.style5 summary {
    padding-right: 2.2rem;
    padding-left: 1rem;
}
details.style5 summary::before {
    content: "🙈";
    font-size: 1.5rem;
    top: 0.5rem;
    left: unset;
    right: 0.5rem;
    transform: rotate(0);
}
details.style5:hover > summary::before {
    content: "🙊";
}
details[open].style5 > summary::before {
    content: "🐵";
    transform: rotate(0deg);
}
details[open].style5 > summary:hover::before {
    content: "🙉";
}
details .monkey-see {
    display: inline;
}
details .monkey-hide {
    display: none;
}
details[open] .monkey-see {
    display: none;
}
details[open] .monkey-hide {
    display: inline;
}

/* # Style 6 # */
details.style6 summary {
    padding-right: 2.2rem;
    padding-left: 1rem;
}
details.style6 summary::before {
    content: "❔";
    font-size: 1.5rem;
    top: 0.5rem;
    left: unset;
    right: 0.5rem;
    transform: rotate(0);
}
details.style6:hover > summary:before {
    content: "👁️‍🗨️";
}
details[open].style6 > summary:before {
    content: "❌";
    transform: rotate(0deg);
}

/* # Style 7 # */
details.style7 summary {
    padding-left: 3rem;
}
details[open].style7 summary,
details.style7:hover summary {
    background: #000;
    color: #ccc;
}
details[open].style7 summary strong,
details.style7:hover summary strong {
    color: #fdce4c;
}
details.style7:hover summary strong {
    color: #ffdf87;
}
details.style7 summary::before {
    content: "🌑";
    font-size: 1.5rem;
    top: 0.5rem;
    left: 0.5rem;
    transform: rotate(0);
}
details.style7:hover > summary::before {
    content: "🌕";
}
details[open].style7 > summary::before {
    content: "🌕";
    transform: rotate(0deg);
}
details[open].style7 > summary:hover::before {
    content: "🌕";
}
details .moon-new {
    display: inline;
}
details .moon-full {
    display: none;
}
details[open] .moon-new {
    display: none;
}
details[open] .moon-full {
    display: inline;
}
details.style7 .content {
    background: #ddd;
}

/* # Just Some Pretty Styles # */
body {
    font-family: "Open Sans", sans-serif;
    padding-bottom: 10px;
}
img {
    max-width: 100%;
}
p {
    margin: 0;
    padding-bottom: 10px;
}
p:last-child {
    padding: 0;
}
details {
    box-sizing: border-box;
    margin-top: 5px;
    background: white;
}
summary {
    border: 4px solid transparent;
    outline: none;
    padding: 1rem;
    display: block;
    background: #666;
    color: white;
    padding-left: 2.2rem;
    position: relative;
    cursor: pointer;
    font-size: 20px;
}
details[open] summary,
summary:hover {
    color: #ffca28;
    background: #444;
}
summary:hover strong,
details[open] summary strong,
summary:hover::before,
details[open] summary::before {
    color: #ffa128;
}
.content {
    padding: 10px;
    border: 2px solid #888;
    border-top: none;
}

.myButton {
    box-shadow: inset 0 1px 3px 0 #91b8b3;
    background: linear-gradient(to bottom, #768d87 5%, #6c7c7c 100%);
    border-radius: 5px;
    border: 1px solid #566963;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
    padding: 11px 23px;
    text-decoration: none;
    text-shadow: 0 -1px 0 #2b665e;
}

.myButton:hover {
    background: linear-gradient(to bottom, #6c7c7c 5%, #768d87 100%);
}

.myButton:active {
    position: relative;
    top: 1px;
}

a.button6 {
    display: inline-block;
    padding: 0.7em 1.4em;
    margin: 0 0.3em 0.3em 0;
    border-radius: 0.15em;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    color: #ffffff;
    background-color: #3369ff;
    box-shadow: inset 0 -0.6em 0 -0.35em rgba(0, 0, 0, 0.17);
    text-align: center;
    position: relative;
}

a.button6:active {
    top: 0.1em;
}

@media all and (max-width: 30em) {
    a.button6 {
        display: block;
        margin: 0.4em auto;
    }
}

.fb-like span {
    width: 100px !important;
}

.fb-like span iframe {
    width: 100px !important;
}

.buff_container {
    background-color: #04aa6d !important;
    border: 2px solid black;
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: white;
    padding: 10px;
    
}


/* General styling for all banner containers */
.banner-container,
#content_event_id {
    background-color: black;
    color: white;
    border: none;
}

/* Ensure all text within the banner containers is white */
.banner-container * {
    color: white;
}

/* Styling for the video content button container */
.video_content_button {
    padding-bottom: 30px;
    width: 100%;
}

/* Hide the mobile/tablet banner on desktops and show the desktop banner */
.event-banner-desktop {
    display: none;
}

.event-banner-mobile {
    display: flex;
    flex-direction: column; /* Ensure stacking on smaller screens */
}

/* Responsive adjustments */
@media (min-width: 768px) {


.unique-info-row {
    display: flex;
    flex-wrap: wrap;
}

.unique-info-box-container {
    flex: 1;
    padding: 15px; /* Add some padding around the box container for spacing */
    box-sizing: border-box; /* Ensure padding doesn't affect box size */
}

.unique-info-box {
    background: rgba(0, 0, 0, .18);
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 20px; /* Padding inside each box */
    border-radius: 10px; /* Rounded corners */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center; /* Center text within the box */
    height: 100%;
}

/* Ensure all boxes within the row have the same height */
.unique-info-row {
    align-items: stretch;
}

.unique-info-box h4, .unique-info-box h5 {
    font-weight: bold;
    margin-bottom: 10px;
}

.unique-info-box p {
    flex-grow: 1; /* Allow the paragraph to take up available space */
    margin-bottom: 0; /* Remove margin at the bottom to avoid unnecessary spacing */
}

/* Set a consistent width for all boxes */
.unique-info-box {
    width: 100%; /* All boxes will take the full width of their container */
}

/* Ensure the boxes are all the same height */
.unique-info-box-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.unique-info-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/*///////////////////// */
    .event-banner-desktop {
        display: block;
    }

    .event-banner-mobile {
        display: none;
    }
}

/* Styling for mobile/tablet images */
.event-image-left, .event-image-right {
    width: 100%;
    height: auto;
}

/* Ensuring full-width for the image containers on mobile */
.event-banner-mobile .col-xs-6 {
    width: 100%;
    padding: 0; /* Remove padding to ensure images are flush */
}

/* Styling for the button */
.event-btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    background-color: white;
    color: black;
}

/* Mobile-specific styles */
@media (max-width: 767px) {

    #unique-content-container-info {
        background-color: black;
        color: white;
        padding: 15px; /* Optional: Add some padding for better readability */
    }

    /* Ensure all text within #unique-content-container-info is white */
    #unique-content-container-info p,
    #unique-content-container-info h2,
    #unique-content-container-info h3,
    #unique-content-container-info h4,
    #unique-content-container-info h5,
    #unique-content-container-info a,
    #unique-content-container-info ul,
    #unique-content-container-info li {
        color: white;
    }

    /* Style links within #unique-content-container-info to have white text */
    #unique-content-container-info a {
        color: white;
        text-decoration: underline; /* Optional: Make sure links are distinguishable */
    }

    /* Ensure that the links within #unique-content-container-info change color on hover for better accessibility */
    #unique-content-container-info a:hover {
        color: #ddd; /* Optional: Slightly lighter shade on hover */
    }

  

    .event-banner-mobile {
        flex-direction: column;
    }

    .event-image-left, .event-image-right {
        width: 100%; /* Full width on mobile */
    }

    .event-btn {
        width: 100%;
        padding: 15px 0;
        font-size: 18px;
    }

    /* Make the button container full-width on mobile */
    .text-center {
        width: 100%;
        text-align: center; /* Ensure text alignment is centered */
    }

    /* Apply background color black and text color white only to #content_event_id on mobile */
    #content_event_id {
        background-color: black;
        color: white;
        padding: 15px; /* Optional: Add some padding for better readability */
    }

    /* Ensure content within #content_event_id stays within boundaries and has spacing */
    #content_event_id .content-section {
        overflow: hidden;
        word-wrap: break-word;
        margin-bottom: 20px;
    }

    /* Ensure the event images and containers are full width */
    .event-banner-mobile .col-xs-6,
    .banner-container,
    #content_event_id {
        width: 100%;
    }

    #content_event_id p {
        color: white;
    }
	
	
	 /* Apply background color black and text color white only to #content_container_info on mobile */
    #content_container_info {
        background-color: black;
        color: white;
        padding: 15px; /* Optional: Add some padding for better readability */
    }

    /* Ensure all text within #content_container_info is white */
    #content_container_info p,
    #content_container_info h2,
    #content_container_info h3,
    #content_container_info h4,
    #content_container_info h5,
    #content_container_info a,
    #content_container_info ul,
    #content_container_info li {
        color: white;
    }

    /* Style links within #content_container_info to have white text */
    #content_container_info a {
        color: white;
        text-decoration: underline; /* Optional: Make sure links are distinguishable */
    }

    /* Ensure that the links within #content_container_info change color on hover for better accessibility */
    #content_container_info a:hover {
        color: #ddd; /* Optional: Slightly lighter shade on hover */
    }
	
	
}

/* New Player Gear Bar Styles */
.new_player_gear_toggle {
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center vertically */
    background-color: #00b8b8; /* Default blue background */
    color: white;
    padding: 10px 20px;
    gap: 20px; /* Add space between the title and button */
    width: 100%;
    z-index: 9999; /* Ensure the bar appears above other content */
    transition: background-color 1s ease-in-out; /* Add smooth background color transition */
}

.new_player_gear_title {
    font-size: 16px;
    text-align: center; /* Centers the title text */
    margin: 0; /* Remove margin */
}

.new_player_gear_button {
    color: #fff;
    background-color: #ec971f;
    border-color: #d58512;
    border: none;
    padding: 5px 20px;
    cursor: pointer;
    border-radius: 20px;
    font-size: 16px;
}

.new_player_gear_button:hover {
    background-color: #e07a00;
}

/* Fixed position class to show the bar fixed at the top */
.new_player_gear_fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

/* Details container */
.new_player_gear_details {
    background-color: #f9f9f9;
    padding: 20px;
}

/* Flexbox layout for image and text */
.new_player_gear_content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure both containers take 100% width */
}

/* Image container styling */
.new_player_gear_image_container {
    flex: 1;
    width: 100%; /* Ensure full width for the image container in mobile */
    max-width: 100%; /* Ensure the image container takes full width on all devices */
}

.new_player_gear_image {
    width: 100% !important; /* Ensure image takes full width */
    height: auto !important; /* Maintain aspect ratio */
    border-radius: 10px;
}

/* Text container styling */
.new_player_gear_text {
    flex: 1; /* Ensure the text container also takes full width in mobile */
    max-width: 100%; /* Set max-width to 100% for mobile view */
    padding: 20px;

    border-radius: 5px;

}

/* Mobile specific adjustments */
@media (max-width: 768px) {
	#guides .panel-body .col-md-3 {width:100% !important;}
	.new_player_gear_text {
    color: white; /* Ensure the text color is white in mobile */
    background-color: black; /* Ensure black background in mobile */
}

    .new_player_gear_content {
        flex-direction: column; /* Stack image and text vertically on mobile */
        gap: 0; /* Remove gap between items */
    }

    .new_player_gear_image_container, .new_player_gear_text {
        max-width: 100%; /* Ensure both image and text take full width on mobile */
        width: 100% !important; /* Force full width for both containers */
    }

    .new_player_gear_image {
        width: 100% !important; /* Ensure the image takes full width */
        height: auto !important; /* Maintain aspect ratio */
    }

    .new_player_gear_text {
        margin-top: 10px; /* Add some space between image and text */
    }

    #new_player_gear_details {
        background-color: black;
    }
    
    /* Add space between bar and next section */
    .new_player_gear_toggle + div {
        margin-top: 20px; /* Increase spacing between the bar and login menu */
    }
}


/* Sidebar Text Container */
.sidebar-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Title (Bold Main Text) */
.sidebar-text .title {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}

/* Subtitle (Smaller Description) */
.sidebar-text .subtitle {
    font-size: 12px;
    color: #bbb;
    margin-top: 2px;
}



/* Mobile Navigation */
.mobile-menu {
    display: none;
    flex-direction: column;
     background-color: #2a2122; /* fallback */
  background: linear-gradient(135deg, #2a2122 0%, #1d1718 40%, #2e2526 100%);
    padding: 10px;
    border-radius: 5px;
}

.mobile-menu-button {
    display: none;
    background-color: #2e8b57;
    color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
}

/* Server Info Boxes */
.server-info-box {
    background: #333;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    border-left: 5px solid #f8d64e;
}

/* Highlight important information */
.highlight {
    color: #ff5555;
    font-weight: bold;
}

/* Stage Progression */
.stage-box {
    background: #292929;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border-left: 5px solid #4caf50;
}

/* Stage Titles */
.stage-box h4 {
    font-size: 18px;
    font-weight: bold;
    color: #4caf50;
}

/* Update Notice */
.update-info {
    color: #f8d64e;
    font-size: 14px;
    margin-top: 20px;
    text-align: center;
}


.server-info-box,
.stage-box {
    padding: 18px; /* Increase padding slightly */
    margin-bottom: 18px; /* More space between boxes */
}



/* Quick Links Container */
.quick-links-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

/* Quick Link Buttons */
.quick-link-btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: #333; /* Dark background */
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

/* Hover Effect */
.quick-link-btn:hover {
    background-color: #555; /* Slightly lighter background */
}


#guides .collectibles .item-slot img {
  width: 32px !important;
  height: 32px !important;
}
#guides .collectibles .item-slot {
  width: 32px !important;
  height: 32px !important;
}
/* Item Slot Container */
.item-slot {
    position: relative;
    display: inline-block;
    width: 64px; /* Adjust size if needed */
    height: 64px;
    margin: 5px;
    cursor: pointer;
}

/* Item Icon */
.item-slot img {
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Tooltip Styling */
.item-tooltip {
    display: none; /* Hidden by default */
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    text-align: left;
    padding: 8px;
    border-radius: 5px;
    white-space: normal; /* Allows text wrapping */
    word-wrap: break-word;
    width:250px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.2);
    font-size: 13px;
    line-height: 1.4; /* Improved readability */
    z-index: 100;


}

/* Prevent Tooltip Overflowing Offscreen */
@media (max-width: 500px) {
    .item-tooltip {
        max-width: 180px; /* Make it smaller for mobile */
        font-size: 12px;
        left: auto;
        right: 0;
        transform: none;
    }
}

/* Tooltip Arrow */
.item-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.9) transparent transparent transparent;
}

/* Show tooltip when hovering over item */
.item-slot:hover .item-tooltip {
    display: block;
}

/* Item Name Highlight */
.item-tooltip strong {
    color: #ffcc00;
    font-size: 14px;
}

/* Effects Section */
.item-tooltip .effects {
    color: #32cd32; /* Green text for effects */
    font-weight: bold;
}

/* Drop Location Section */
.item-tooltip .drop-location {
    color: #ff9900; /* Orange text for drop location */
    font-weight: bold;
}


/* NAV polish (Bootstrap 3 compatible) */
/* ====== NAVBAR SCOPE (won't touch rest of site) ====== */
/* =========================
   NAVBAR POLISH (no HTML changes)
   ========================= */

/* Undo your global table hack only inside the navbar */
nav.navbar .navbar-nav { display: block; width: auto; }
@media (min-width: 768px){
  nav.navbar .navbar-nav > li { float: left; display: block; }
}

/* Size & alignment of links */
nav.navbar .navbar-nav > li > a{
  padding: 12px 16px;               /* bigger tap target */
  line-height: 20px;
  display: flex;                     /* icon + label aligned */
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* Tame huge icons only in the navbar (you use .fa-2x there) */
nav.navbar .navbar-nav .fa-2x{
  font-size: 1.25em !important;      /* down from 2em */
  width: 20px;
  text-align: center;
  margin: 0;
  vertical-align: middle;
}

/* Hover/active feedback (keeps your dark theme) */
nav.navbar .navbar-nav > li > a:hover,
nav.navbar .navbar-nav > li > a:focus,
nav.navbar .navbar-nav > li.active > a{
  background: #111;
  color: #ffca28;                    /* gold accent */
}

/* Dropdown: nicer hit area & desktop hover open */
@media (min-width: 992px){
  nav.navbar .dropdown:hover > .dropdown-menu{ display:block; }
  nav.navbar .dropdown-menu{
    margin-top: 0;
    border-radius: 8px;
    overflow: hidden;
  }
  nav.navbar .dropdown-menu > li > a{ padding:10px 14px; }
}

/* Keep contact/register/login from looking like giant bars in the menu */
nav.navbar .navbar-nav > li > a.btn,
nav.navbar .navbar-nav > li > a[class*="btn-"]{
  padding: 8px 12px;
  border-radius: 6px;
  line-height: 1.2;
}

/* Make the fixed nav sit cleanly over the header */
body#market_index{ padding-top: 60px; } /* tiny bump to avoid overlap flicker */

/* Optional: subtle underline bar under hovered item */
@media (min-width: 768px){
  nav.navbar .navbar-nav > li > a{ position: relative; }
  nav.navbar .navbar-nav > li > a::after{
    content:""; position:absolute; left:12px; right:12px; bottom:6px; height:2px;
    background:#ffca28; opacity:0; transform:translateY(2px);
    transition:opacity .15s ease, transform .15s ease;
  }
  nav.navbar .navbar-nav > li > a:hover::after,
  nav.navbar .navbar-nav > li.active > a::after{
    opacity:1; transform:translateY(0);
  }
}

/* Collapsed (mobile) improvements */
@media (max-width: 767px){
  nav.navbar .navbar-collapse{ max-height: 70vh; overflow-y: auto; }
  nav.navbar .navbar-nav > li > a{ padding: 14px 16px; }
}

/* ================================
   Centered, larger, nicer navbar
   (Bootstrap 3 – no HTML changes)
   ================================ */

/* desktop/tablet: center the whole menu row */
@media (min-width: 992px){
  nav.navbar .navbar-collapse{
    display: flex !important;
    justify-content: center;   /* center the UL */
  }
  nav.navbar .navbar-nav{
    float: none;               /* kill BS3 left float */
    display: flex;
    justify-content: center;   /* center items */
    align-items: center;
    gap: 6px;                  /* space between items */
    margin: 0;                 /* remove default margins */
  }
  nav.navbar .navbar-nav > li{ float: none; }
}

/* bigger, cleaner links */
nav.navbar .navbar-nav > li > a{
  font-size: 18px;             /* bigger text */
  font-weight: 600;
  letter-spacing: .2px;
  padding: 14px 18px;          /* larger tap targets */
  line-height: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;         /* pill-ish look */
  transition: background .15s ease, color .15s ease, transform .05s ease;
  white-space: nowrap;
}

/* icons tidy (you used .fa-2x) */
nav.navbar .navbar-nav .fa-2x{
  font-size: 1.2em !important; /* smaller than 2x so text dominates */
  width: 22px;
  text-align: center;
  margin: 0;
}

/* hover/active styling */
nav.navbar .navbar-nav > li > a:hover,
nav.navbar .navbar-nav > li > a:focus{
  color: #ffe08a !important;
    background:
      radial-gradient(120% 70% at 50% 0%, rgba(255,255,255,.10), transparent 60%),
      linear-gradient(180deg, rgba(142,14,0,.35), rgba(0,0,0,0)) !important;
}
nav.navbar .navbar-nav > li.active > a{
  background: #111;
  color: #ffca28;
}

/* subtle underline accent */
@media (min-width: 992px){
  nav.navbar .navbar-nav > li > a{ position: relative; }
  nav.navbar .navbar-nav > li > a::after{
    content:""; position:absolute; left:12px; right:12px; bottom:6px; height:2px;
    background:#ffca28; opacity:0; transform:translateY(2px);
    transition: opacity .15s ease, transform .15s ease;
  }
  nav.navbar .navbar-nav > li > a:hover::after,
  nav.navbar .navbar-nav > li.active > a::after{
    opacity:1; transform:translateY(0);
  }
}

/* dropdown: open on hover (desktop), keep click on mobile */
@media (min-width: 992px){
  nav.navbar .dropdown:hover > .dropdown-menu{ display:block; }
  nav.navbar .dropdown-menu{
    margin-top: 0;
    border-radius: 10px;
    overflow: hidden;
  }
  nav.navbar .dropdown-menu > li > a{ padding:10px 14px; font-size: 16px; }
}

/* mobile: keep stack, just slightly larger taps */
@media (max-width: 991px){
  nav.navbar .navbar-nav > li > a{ font-size: 17px; padding: 14px 16px; }
  nav.navbar .navbar-collapse{ max-height: 70vh; overflow-y: auto; }
}

/* =========================================
   Polished, centered navbar (no HTML edits)
   ========================================= */

/* Center whole row on desktop/tablet */
@media (min-width: 992px){
  nav.navbar .navbar-collapse{
    display:flex !important;
    justify-content:center;
  }
  nav.navbar .navbar-nav{
    float:none; display:flex; align-items:center; gap:8px; margin:0;
  }
  nav.navbar .navbar-nav > li{ float:none; }
}

/* Typography & spacing (bigger, calmer) */
nav.navbar .navbar-nav > li > a{
  font-size:18px;            /* bigger labels */
  font-weight:600;
  letter-spacing:.2px;
  padding:12px 18px;         /* larger tap targets */
  line-height:22px;
  display:flex; align-items:center; gap:10px;
  border-radius:12px;
  transition:background .15s ease, color .15s ease, transform .05s ease;
  color:#FFF;                /* calmer default text */
}

/* Icon treatment: consistent size, subtle chip */
nav.navbar .navbar-nav .fa-2x{
  font-size:1.15em !important;
  width:auto; margin:0; text-align:center;

  color: rgba(227,196,110,.92) !important; /* gold */
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(180deg, rgba(142,14,0,.22), rgba(0,0,0,.18)) !important;

  border: 1px solid rgba(227,196,110,.22) !important;
  padding: 6px;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 6px 14px rgba(0,0,0,.35);

  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}


/* Hover / focus feedback */
nav.navbar .navbar-nav > li > a:hover,
nav.navbar .navbar-nav > li > a:focus{
  background:#2b2b2b; color:#ffe08a;
}
nav.navbar .navbar-nav > li > a:hover .fa-2x,
nav.navbar .navbar-nav > li > a:focus .fa-2x{
  background:#ffca28; color:#262018;
  border-color:#e2ad14;
  box-shadow:0 2px 8px rgba(0,0,0,.25), inset 0 0 0 1px rgba(255,255,255,.15);
}

/* Active tab = stronger but not loud */
nav.navbar .navbar-nav > li.active > a{
  background:#1a1a1a; color:#ffca28;
}
nav.navbar .navbar-nav > li.active > a .fa-2x{
  background:#ffca28; color:#262018;
  border-color:#d39e00;
}

/* Underline accent on hover/active (clean cue) */
@media (min-width: 992px){
  nav.navbar .navbar-nav > li > a{ position:relative; }
  nav.navbar .navbar-nav > li > a::after{
    content:""; position:absolute; left:16px; right:16px; bottom:6px; height:2px;
    background:#ffca28; opacity:0; transform:translateY(2px);
    transition:opacity .15s ease, transform .15s ease;
  }
  nav.navbar .navbar-nav > li > a:hover::after,
  nav.navbar .navbar-nav > li.active > a::after{ opacity:1; transform:translateY(0); }
}

/* Dropdown polish (desktop hover open, rounded menu) */
@media (min-width: 992px){
  nav.navbar .dropdown:hover > .dropdown-menu{ display:block; }
  nav.navbar .dropdown-menu{
    margin-top:0; border-radius:10px; overflow:hidden;
    border-color:#2e2e2e;
    background:#202020;
  }
  nav.navbar .dropdown-menu > li > a{ padding:10px 14px; color:#ddd; }
  nav.navbar .dropdown-menu > li > a:hover{  color: #ffe08a !important;
    background:
      radial-gradient(120% 70% at 50% 0%, rgba(255,255,255,.10), transparent 60%),
      linear-gradient(180deg, rgba(142,14,0,.35), rgba(0,0,0,0)) !important; box-shadow: inset 0 -2px 0 rgba(227,196,110,.55) !important; }
}

/* Mobile: slightly larger taps, keep behavior */
@media (max-width: 991px){
  nav.navbar .navbar-collapse{ max-height:70vh; overflow-y:auto; }
  nav.navbar .navbar-nav > li > a{ font-size:17px; padding:14px 16px; }
}



/* ===== QUICK RESCUE PACK ===== */

/* 1) Make the right content area a clean card */
.col-md-9.content-dark { /* add this class in your HTML */
  background: #1B1516;            /* deep warm dark */
  color: #F2ECE9;                 /* warm ivory text */
  border: 1px solid #332628;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
  margin-top: 10px;
}



/* 3) Section title (legend) – clean bar, no ugly line */
.content-dark legend {
  margin: 0 0 10px;
  padding: 4px 0 8px;
  border: 0;
  font-weight: 700;
  color: #FFD56A;
}

/* 4) Notices look intentional */
.content-dark .notice,
.content-dark .new {
  background: #2A2123;
  color: #FFEED6;
  border: 1px solid #3C2F31;
  padding: 8px 10px;
  border-radius: 8px;
  margin: 8px 0 12px;
}

/* 5) Download grid: consistent tiles & captions */
.download-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.download-grid .dl-card { flex: 1 1 calc(33.333% - 14px); min-width: 240px; }

.content-dark .thumbnail {
  background: #231B1C;
  border: 1px solid #3A2E30;
  border-radius: 10px;
  overflow: hidden;
}
.content-dark .thumbnail img {
  height: 220px;
  width: 100%;
  object-fit: cover;
  display: block;
}
.content-dark .thumbnail .caption {
  min-height: 88px;
  display: flex; flex-direction: column; justify-content: center;
}
.content-dark .thumbnail .caption p { color: #EDE6DF !important; }

/* 6) Links and headings pop on dark */
.content-dark a { color: #E3C46E; }
.content-dark a:hover { color: #F5DA96; }
.content-dark h3, .content-dark h4 { color: #FFC962; margin-top: 10px; }

/* 7) Remove extra seams from Bootstrap panel chrome in dark areas */
.panel.panel-default { border: 0; box-shadow: none; background: transparent; }

/* =========================================
   FIX: keep the global overlay BEHIND all content (incl. footer)
   ========================================= */
/* default: first container gets top padding */
body > .container:first-child {
  padding-top: 60px;
}




body:not(#market_index){
  position: relative;
}


/* keep the overlay below content but above the background image */
body:not(#market_index)::before{
  z-index: 0;
}

#market_index .swal2-container {position:fixed !important}


.home .container #main-sidebar {margin-top:15px;margin-right:10px;}
.container #main-sidebar {margin-top:0px;margin-right:10px;}
.navbar.navbar-inverse.navbar-fixed-top{
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(227,196,110,.08), transparent 62%),
    linear-gradient(180deg, #4a0b08 0%, #1a1311 55%, #070405 100%) !important;
}
nav.navbar .dropdown-menu {
	  background:
    radial-gradient(120% 90% at 50% 0%, rgba(227,196,110,.08), transparent 62%),
    linear-gradient(180deg, #4a0b08 0%, #1a1311 55%, #070405 100%) !important;
}

.navbar.navbar-inverse .navbar-nav > li > a:hover,
.navbar.navbar-inverse .navbar-nav > li > a:focus{
  color: #ffe08a;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(180deg, rgba(142,14,0,.35), rgba(0,0,0,0)) ;
  box-shadow: inset 0 -2px 0 rgba(227,196,110,.55);
}



/* floating tooltip appended to <body> */
body > .item-tooltip{
  position: fixed !important;
  left: 0;
  top: 0;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  z-index: 999999 !important;
  pointer-events: none !important;
}

/* Keep overlay between background and content */
body:not(#market_index)::before{
  z-index: 0;
}


	/* =========================
   DONATION PAGE — WUXIA THEME
   Scope: only donation.php
========================= */

body#donation_page .panel.panel-default{
  background: transparent;
  border: 0;
}

/* The main content area */
body#donation_page .col-md-9{
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(227,196,110,.08), transparent 62%),
    linear-gradient(180deg, rgba(74,11,8,.72) 0%, rgba(26,19,17,.72) 55%, rgba(7,4,5,.85) 100%);
  border: 1px solid rgba(255,210,127,.10);
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  padding: 16px 16px 18px;
}

/* Legend title */
body#donation_page #legend legend{
  border: 0;
  color: #ffdf73;
  font-weight: 900;
  letter-spacing: .2px;
  margin: 0 0 14px;
  padding: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}

/* Donation cards (your .well.shadow blocks) */
body#donation_page .well.shadow{
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,210,127,.12);
  border-radius: 14px;
  box-shadow:
    0 18px 40px rgba(0,0,0,.45),
    inset 0 0 0 1px rgba(0,0,0,.25);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

/* soft gold top glow */
body#donation_page .well.shadow::before{
  content:"";
  position:absolute;
  inset:-1px;
  background: radial-gradient(120% 60% at 50% 0%, rgba(255,210,127,.10), transparent 60%);
  pointer-events:none;
}

/* Points number */
body#donation_page .well.shadow h2 strong{
  color: #e8f6ff;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
}

/* "Points" label + bonus text */
body#donation_page .well.shadow h4{
  color: rgba(255,255,255,.70) !important;
  font-weight: 900 !important;
}
body#donation_page .well.shadow p{
  color: rgba(255,255,255,.65);
  margin: 6px 0 0;
}

/* Right price box: override your inline white background safely */
body#donation_page .well.shadow .col-xs-5.text-center{
  background: rgba(0,0,0,.25) !important;
  border: 1px solid rgba(255,210,127,.14);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.25);
  padding: 10px 8px;
}

/* Euro price */
body#donation_page .well.shadow .col-xs-5.text-center h4{
  color: #ffcf6a !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}

/* Donate button (override inline gradient) */
body#donation_page .well.shadow .btn.btn-primary.btn-lg{
  width: 100% !important;
  margin: 8px 0 0 !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,210,127,.35) !important;
  background: linear-gradient(180deg, rgba(255,180,60,1), rgba(220,120,20,1)) !important;
  color: #1a1208 !important;
  font-weight: 900 !important;
  letter-spacing: .2px;
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
}
body#donation_page .well.shadow .btn.btn-primary.btn-lg:hover{
  filter: brightness(1.06);
}

/* =========================
   MODAL — WUXIA THEME
========================= */

body#donation_page #myModal .modal-content{
  background: radial-gradient(circle at top, rgba(60,40,32,0.98), rgba(10,10,18,0.98));
  border: 1px solid rgba(255,210,127,0.22);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.75);
  color: #f5f5f5;
}

body#donation_page #myModal .modal-header{
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
body#donation_page #myModal .modal-title{
  color: #ffdf73;
  font-weight: 900;
}

body#donation_page #myModal .close{
  color: #fff;
  opacity: .75;
}

body#donation_page #myModal .modal-body a{
  color: #4FCAFF;
  font-weight: 800;
}
body#donation_page #myModal .modal-body ul li{
  margin-bottom: 10px;
  color: rgba(255,255,255,.82);
}

body#donation_page #myModal .modal-footer{
  border-top: 1px solid rgba(255,255,255,0.10);
}

/* Accept checkbox row */
body#donation_page #myModal label{
  color: rgba(255,255,255,.85);
}

/* Close button */
body#donation_page #myModal .btn.btn-default{
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  font-weight: 800;
}
body#donation_page #myModal .btn.btn-default:hover{
  background: rgba(255,255,255,.10);
}

/* PayPal container button wrapper (your existing button is transparent) */
body#donation_page #paypalButtonContainer{
  display:none;
  width: 220px;  /* bigger + nicer */
}



/* ==========================================
   WUXIA GLOBAL CONTENT THEME (Right Column)
   Works on most pages with .col-md-9 layout
   Excludes marketplace pages if they use body#market_index
========================================== */

/* Don’t apply to marketplace pages (your market uses body id) */
body:not(#market_index) .col-md-9{
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(227,196,110,.10), transparent 62%),
    linear-gradient(180deg, rgba(74,11,8,.70) 0%, rgba(26,19,17,.85) 55%, rgba(7,4,5,.92) 100%);
  border: 1px solid rgba(255,210,127,0.16);
  border-radius: 14px;
  padding: 18px 18px;
  box-shadow:
    0 18px 45px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.05);
  color: rgba(245,245,245,0.92);
}

/* Headings */
body:not(#market_index) .col-md-9 h1,
body:not(#market_index) .col-md-9 h2,
body:not(#market_index) .col-md-9 h3{
  color: #ffdf73;
  font-weight: 900;
  letter-spacing: .2px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.75);
  margin-top: 6px;
}

body:not(#market_index) .col-md-9 h2{
  font-size: 26px;
  border-bottom: 1px solid rgba(255,210,127,0.18);
  padding-bottom: 10px;
  margin-bottom: 14px;
}

body:not(#market_index) .col-md-9 h3{
  font-size: 18px;
  margin-top: 18px;
  margin-bottom: 10px;
}

/* Paragraphs + lists */
body:not(#market_index) .col-md-9 p,
body:not(#market_index) .col-md-9 li{
  color: rgba(245,245,245,0.88);
  line-height: 1.6;
}

body:not(#market_index) .col-md-9 ul{
  padding-left: 18px;
}



#guides {width:100%;}

/* ==========================================
   FAQ Accordion Styling (Your buttons)
========================================== */
body:not(#market_index) .col-md-9 .accordion{
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  margin: 8px 0;
  border-radius: 12px;
  border: 1px solid rgba(255,210,127,0.16);
  background: rgba(0,0,0,0.28);
  color: rgba(255,255,255,0.92);
  font-weight: 900;
  cursor: pointer;
  transition: transform .08s ease, background .12s ease, border-color .12s ease;
}

body:not(#market_index) .col-md-9 .accordion:hover{
  background: rgba(255,210,127,0.08);
  border-color: rgba(255,210,127,0.28);
}

body:not(#market_index) .col-md-9 .accordion.active{
  background: rgba(255,210,127,0.12);
  border-color: rgba(255,210,127,0.38);
  box-shadow: 0 0 14px rgba(255,210,127,0.12);
}

body:not(#market_index) .col-md-9 .accordion_panel{
  display: none;
  padding: 12px 14px;
  margin-top: -2px;
  border-radius: 0 0 12px 12px;
  border: 1px solid rgba(255,210,127,0.14);
  border-top: 0;
  background: rgba(0,0,0,0.22);
  color: rgba(245,245,245,0.88);
}

/* Mobile spacing */
@media (max-width: 991px){
  body:not(#market_index) .col-md-9{
    padding: 14px 12px;
    border-radius: 12px;
  }
}



/* =========================
   REGISTER PAGE (WUXIA THEME)
   Scope: only this form area
   No HTML changes required
========================= */

.col-md-9{
  /* Your global wuxia card already styles .col-md-9 on most pages,
     but this makes register feel extra polished */
  position: relative;
}

/* Center & limit width so it doesn't feel "wide" */
.col-md-9 form.form-horizontal[name="stmt"]{
  max-width: 760px;
  margin: 0 auto;
}

/* Legend / title */
.col-md-9 #legend legend{
  border: 0;
  margin: 0 0 14px;
  padding: 0 0 10px;
  color: #ffdf73;
  font-weight: 900;
  letter-spacing: .3px;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
  border-bottom: 1px solid rgba(255,210,127,.18);
}

/* Alerts (Bootstrap-compatible but themed) */
.col-md-9 .alert{
  border-radius: 12px;
  border: 1px solid rgba(255,210,127,.18);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.45));
  color: rgba(245,245,245,.92);
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
  padding: 12px 14px;
}
.col-md-9 .alert.alert-danger{
  border-color: rgba(255,90,70,.35);
  box-shadow: 0 12px 30px rgba(0,0,0,.45), 0 0 20px rgba(255,90,70,.10);
}
.col-md-9 .alert.alert-success{
  border-color: rgba(120,255,170,.26);
  box-shadow: 0 12px 30px rgba(0,0,0,.45), 0 0 20px rgba(120,255,170,.08);
}

/* Each field row becomes a neat "card" */
.col-md-9 .control-group{
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,210,127,.14);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.06), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,.42));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

/* Label styling (clean, gold, left-aligned) */
.col-md-9 .control-label{
  display: block;
  text-align: left;
  margin: 0 0 8px;
  font-weight: 900;
  letter-spacing: .2px;
  color: #ffd57a;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

/* Inputs (glossy dark wuxia style) */
.col-md-9 form.form-horizontal[name="stmt"] input[type="text"],
.col-md-9 form.form-horizontal[name="stmt"] input[type="email"],
.col-md-9 form.form-horizontal[name="stmt"] input[type="password"]{
  width: 100%;
  padding: 12px 14px !important;
  border-radius: 12px;
  border: 1px solid rgba(255,210,127,.18);
  outline: none;

  background:
    radial-gradient(140% 90% at 50% 0%, rgba(255,255,255,.10), transparent 55%),
    linear-gradient(180deg, rgba(10,8,9,.65), rgba(0,0,0,.82));
  color: rgba(245,245,245,.94);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 10px 22px rgba(0,0,0,.35);

  transition: border-color .15s ease, box-shadow .15s ease, filter .15s ease;
}

/* Placeholder */
.col-md-9 input::placeholder{
  color: rgba(255,255,255,.45);
}

/* Focus state */
.col-md-9 form.form-horizontal[name="stmt"] input:focus{
  border-color: rgba(255,210,127,.45);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 14px 28px rgba(0,0,0,.45),
    0 0 0 3px rgba(255,210,127,.10);
  filter: brightness(1.04);
}

/* Help text */
.col-md-9 .help-block{
  margin: 8px 2px 0;
  color: rgba(255,255,255,.65);
  font-size: 13px;
  line-height: 1.35;
}

/* Register button (gold wuxia pill) */
.col-md-9 button.btn.btn-success.btn-lg.btn-block{
  border: 0 !important;
  border-radius: 999px !important;
  padding: 14px 18px !important;
  font-weight: 900;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: #1a1208 !important;

  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,.18), transparent 55%),
    linear-gradient(180deg, #ffbe4d 0%, #f08a16 55%, #c9620b 100%) !important;

  box-shadow:
    0 16px 34px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.25);

  transition: transform .12s ease, filter .15s ease, box-shadow .15s ease;
}

.col-md-9 button.btn.btn-success.btn-lg.btn-block:hover{
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow:
    0 18px 40px rgba(0,0,0,.52),
    0 0 18px rgba(255,210,127,.14),
    inset 0 1px 0 rgba(255,255,255,.25);
}

.col-md-9 button.btn.btn-success.btn-lg.btn-block:active{
  transform: translateY(1px);
  filter: brightness(.98);
}

/* Mobile: keep it tight and readable */
@media (max-width: 768px){
  .col-md-9 form.form-horizontal[name="stmt"]{
    max-width: 100%;
  }
  .col-md-9 .control-group{
    padding: 12px 12px;
  }
  .col-md-9 #legend legend{
    font-size: 24px;
  }
}

.quick-link-container{margin-top:10px;}


/* =========================================
   SHOP PAGE — WUXIA STYLE (SCOPED)
   Keeps small icons + 2-column layout
   ========================================= */

body#shop_page .col-md-9{
  /* keep your global wuxia content card if you want,
     but ensure spacing and layout remain clean */
  padding: 14px !important;
}

/* FILTER BAR (Wuxia) */
body#shop_page .shop-filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content: space-between;

  padding: 12px 12px;
  border-radius: 14px;

  background:
    radial-gradient(120% 90% at 50% 0%, rgba(227,196,110,.10), transparent 62%),
    linear-gradient(180deg, rgba(74,11,8,.55) 0%, rgba(0,0,0,.35) 100%);

  border: 1px solid rgba(227,196,110,.18);
  box-shadow: 0 12px 26px rgba(0,0,0,.35);
  margin-bottom: 14px;
}

body#shop_page .shop-filter{
  flex: 1 1 auto;
  min-width: 150px;
  text-align:center;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding: 12px 14px;
  border-radius: 12px;
  text-decoration:none !important;

  font-weight: 900;
  letter-spacing: .2px;
  color: rgba(255,255,255,.92);

  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.10);

  transition: transform .12s ease, filter .12s ease, border-color .12s ease;
}

body#shop_page .shop-filter:hover{
  transform: translateY(-1px);
  filter: brightness(1.06);
  border-color: rgba(227,196,110,.35);
}

body#shop_page .shop-filter.is-active{
  color: #1a1208 !important;
  border-color: rgba(255,210,127,.55);
  background: linear-gradient(180deg, #ffbe4d 0%, #f08a16 55%, #c9620b 100%);
}

/* GRID: 2 columns like your screenshot */
body#shop_page .shop-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 768px){
  body#shop_page .shop-grid{
    grid-template-columns: 1fr;
  }
}

/* CARD: light “paper” but still wuxia framed */
body#shop_page .shop-card{
  border-radius: 14px;
  background: rgba(242,242,239,.96);            /* similar to your current look */
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 12px 24px rgba(0,0,0,.28);
  overflow: hidden;

  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

body#shop_page .shop-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,.35);
  border-color: rgba(140,20,20,.20);
}

/* top row */
body#shop_page .shop-card-top{
  display:flex;
  gap: 14px;
  padding: 14px 14px 10px;
  align-items:flex-start;
}

/* ICON (small, not big) */
body#shop_page .shop-icon{
  width: 64px;
  height: 64px;
  flex: 0 0 auto;

  display:flex;
  align-items:center;
  justify-content:center;

  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 8px;
  text-decoration:none;
}

body#shop_page .shop-icon img{
  width: 40px;
  height: 40px;
  image-rendering: auto;
  object-fit: contain;
  display:block;
}

/* NAME */
body#shop_page .shop-info{
  flex: 1 1 auto;
  min-width: 0;
}

body#shop_page .shop-title{
  display:block;
  font-weight: 900;
  font-size: 20px;
  line-height: 1.15;

  color: #1b1b1b !important;
  text-decoration:none !important;
}

body#shop_page .shop-title:hover{
  color: #8f1c1c !important;
}

/* bottom row */
body#shop_page .shop-card-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;

  padding: 10px 14px 14px;
}

/* price */
body#shop_page .shop-price{
  color: #111;
  font-weight: 700;
  display:flex;
  align-items:baseline;
  gap: 8px;
  flex-wrap: wrap;
}

body#shop_page .shop-price .old{
  color: rgba(0,0,0,.45);
  text-decoration: line-through;
  font-weight: 800;
}

body#shop_page .shop-price .disc{
  background: rgba(200,58,58,.16);
  border: 1px solid rgba(200,58,58,.35);
  color: #8f1c1c;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
}

body#shop_page .shop-price .new{
 background: linear-gradient(180deg, #3a0a0a 0%, #6b0f1a 50%, #2a0606 100%);
color: #b8fff4;
border: 1px solid #b8fff4;
border-radius:3px;
padding:4px;
}

body#shop_page .shop-price .dp{
  color: rgba(0,0,0,.65);
  font-weight: 700;
}

/* View button (wuxia gold) */
body#shop_page .shop-view{
  flex: 0 0 auto;
  padding: 9px 14px;
  border-radius: 10px;
  text-decoration:none !important;
  font-weight: 900;

  color: #1a1208 !important;
  background: linear-gradient(180deg, #ffbe4d 0%, #f08a16 55%, #c9620b 100%);
  border: 1px solid rgba(120,60,10,.25);


  transition: transform .12s ease, filter .12s ease;
}

body#shop_page .shop-view:hover{
  transform: translateY(-1px);
  filter: brightness(1.06);
}

/* Empty state */
body#shop_page .shop-empty{
  padding: 16px;
  border-radius: 14px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(245,245,245,.85);
}

.swal2-container{position:fixed !important;}
/* =========================================
   PERF MODE (Mobile + low power)
   Disables expensive effects
   ========================================= */
@media (max-width: 900px){

  /* kill fixed background jank */
  body:not(#market_index){
    background-attachment: scroll !important;
  }

  /* full-screen blur overlay is expensive */
  body:not(#market_index)::before{
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* reduce heavy shadows/filter work */
  body:not(#market_index) .fa-2x,
  body:not(#market_index) img{
    filter: none !important;
  }
}


/* 1. Change the checkbox border and background color */
#cookiescript_injected .mdc-checkbox__background {
    border: 2px solid #f44336 !important; /* Your Red primary color */
    background-color: transparent !important;
}

/* 2. Change the background color when the checkbox is CHECKED */
#cookiescript_injected .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background {
    background-color: #f44336 !important;
    border-color: #f44336 !important;
}

/* 3. Ensure the SVG checkmark is white for contrast */
#cookiescript_injected .mdc-checkbox__checkmark {
    color: #ffffff !important;
}

/* 4. Optional: Fix the "Strictly Necessary" (disabled) checkbox visibility */
#cookiescript_injected .mdc-checkbox__native-control:disabled ~ .mdc-checkbox__background {
    border-color: rgba(244, 67, 54, 0.5) !important; /* Faded red for disabled */
    opacity: 0.8;
}