body {
    min-height: 100vh;
    position: relative;
    margin: 0;
    padding-bottom: 0;
    box-sizing: border-box;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

.wrapper {
    max-width: 100%;
}

footer {
    position: absolute;
    bottom: 0;
    height: 100px;
    padding-top: 50px;
}

.responsive {
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

.almostwhite {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 450;
    line-height: 1.9em;
    color: #e8e8e8;
}

.pcdata {
    font-family: 'Poppins', sans-serif;
    font-size: .8em;
    font-weight: 500;
    line-height: 1.1em;
    color: #e8e8e8;
}

.almostwhitetable {
    font-family: 'Poppins', sans-serif;
    font-size: .8em;
    font-weight: 450;
    line-height: 1.9em;
    text-align: center;
    color: #e8e8e8;
}

.almostwhitenotabutton {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 450;
    background: none;
    border: none;
    line-height: 1.9em;
    text-align: center;
    color: rgb(136, 136, 234);
}

.almostwhitenotabutton:focus {
    outline: none;
}

#almostwhitebutton:hover {
    outline: none;
    text-shadow: #f5f5f5 0px 0px 8px;
}

.graphButtonsP {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 450;
    background: none;
    border: none;
    line-height: 1.9em;
    text-align: center;
    color: rgb(136, 136, 234);
}

.purpletableheader {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 450;
    line-height: 1.9em;
    text-align: center;
    color: #5865f2;
}

.almostwhitedisclaimer {
    margin-left: 25%;
    margin-right: 25%;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: .7em;
    font-weight: 350;
    line-height: 80%;
    color: rgb(223, 217, 251);
}

.disclaimerbox {
    position: absolute;
    max-width: 700px;
    height: auto;
    margin-left: 15%;
    margin-right: 10%;
    object-fit: scale-down;
    float: right;
    text-align: justify;
    color: rgb(223, 217, 251);
    font-family: 'Poppins', sans-serif;
    font-size: .7em;
    font-weight: 350;
    line-height: 1.1em;
    border-radius: 10px;
}

.almostwhiteheader {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5em;
    font-weight: 450;
    line-height: 1.0em;
    color: rgb(223, 217, 251);
    text-shadow: #5865f2 0px 0px 10px;
}


.almostwhite2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 450;
    line-height: 1.9em;
    text-align: right;
    color: rgb(223, 217, 251);
}

.textindent {
    text-indent: 20px;
}

.textindent40 {
    text-indent: 40px;
}

.responsive2 {
    max-width: 10%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

/* this will display a rectangle box */
.responsive-box {
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    border: 1px solid black;
}

/* this will make the rectangle have rounded corners */
.responsive-box-rounded {
    max-width: 450px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    object-fit: contain;
    border-radius: 10px;
    background: linear-gradient(to bottom, #5865f2, #454FBF);
}

.rounded-item-image {
    max-width: 90px;
    height: auto;
    margin-left: 10%;
    margin-right: 15%;
    object-fit: contain;
    float: right;
    border-radius: 10px;
    transition: top ease 0.1s;
}

.topnavlogoimage {
    max-width: 70px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    border-radius: 10px;
}

.discordimage {
    max-width: 40px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    border-radius: 10px;
    transition: top ease 0.1s;
}

.rounded-image-frame {
    max-width: 300px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    border: 1px solid rgb(223, 217, 251);
    border-radius: 10px;
    background: linear-gradient(to bottom, #5865f2, #454FBF);
    transition: top ease 0.1s;
    object-fit: contain;
}

.rounded-image-frame:hover {
    transition: 0.2s;
    box-shadow: 0 0 13px #5865f2;
    text-shadow: 0 0 18px #5865f2;
    transform: scale(1.1);
}

.rounded-pfp-frame {
    width: 40px;
    height: 40px;
    margin-bottom: 1%;
    margin-top: 1%;
    margin-left: 3%;
    object-fit: contain;
    border: 1px solid rgb(223, 217, 251);
    border-radius: 10px;
    background: linear-gradient(to bottom, #5865f2, #454FBF);
}

.item-graph {
    max-width: 350px;
    float: right;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    box-shadow: 0 0 13px #5865f2;
    border-radius: 10px;
    transition: top ease 0.1s;
    object-fit: contain;
}

.item-graph:hover {
    transition: 0.2s;
    transform: scale(2.1);
    position: relative;
    z-index: 9999;
}

.searchBara1 input[type=text] {
    position: absolute;
    left: 20%;
    width: 58%;
    height: 26px;
    background-color: #343a40;
    border: 1px solid #454FBF;
    border-radius: 10px 0px 0px 10px;
    font-size: 16px;
    font: 'Poppins', sans-serif;
    color: rgb(223, 217, 251);
    z-index: 99;
}

.searchBara1 input[type=text]:focus {
    outline: none;
}

.searchButtona1 {
    position: absolute;
    left: 79%;
    max-width: 40%;
    height: 26px;
    border: 1px solid #454FBF;
    background: #5865f2;
    text-align: center;
    color: rgb(223, 217, 251);
    margin-top: 0px;
    margin-left: -110px;
    border-radius: 0px 10px 10px 0px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 450;
    z-index: 8000;
}


.searchBar2 input[type=text] {
    position: absolute;
    left: 20%;
    width: 58%;
    height: 59px;
    background-color: #343a40;
    border: 1px solid #454FBF;
    border-radius: 10px 0px 0px 10px;
    font-size: 16px;
    font: 'Poppins', sans-serif;
    color: rgb(223, 217, 251);
    z-index: 99;
}

.searchBar2 input[type=text]:focus {
    outline: none;
}

.searchButton2 {
    position: absolute;
    left: 79%;
    max-width: 40%;
    height: 59px;
    border: 1px solid #454FBF;
    background: #5865f2;
    text-align: center;
    color: rgb(223, 217, 251);
    margin-top: 0px;
    margin-left: -110px;
    border-radius: 0px 10px 10px 0px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 450;
    z-index: 8000;
}




.searchBar input[type=text] {
    position: absolute;
    left: 5%;
    width: 82%;
    height: 59px;
    background-color: #343a40;
    border: 1px solid #454FBF;
    border-radius: 10px 0px 0px 10px;
    font-size: 16px;
    font: 'Poppins', sans-serif;
    color: rgb(223, 217, 251);
    z-index: 99;
}

.searchBar input[type="text"]:focus {
    outline: none;
    border: 1px solid #454FBF;
}

.searchButton {
    position: absolute;
    left: 95%;
    max-width: 30%;
    float: inline-end;
    height: 59px;
    border: 1px solid #454FBF;
    background: #5865f2;
    text-align: center;
    color: rgb(223, 217, 251);
    margin-top: 0px;
    margin-left: -110px;
    border-radius: 0px 10px 10px 0px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 450;
    z-index: 8000;
}

#searchButton:focus {
    outline: none;
    border: 1px solid #454FBF;
}

#searchButton:hover {
    outline: none;
    background-color: #333979;
    text-align: center;
    text-shadow: 0 0 18px white;
    color: rgb(223, 217, 251);
}

.ui-autocomplete {
    position: absolute;
    z-index: 99999 !important;
    cursor: default;
    padding: 4px 0;
    margin-top: 2px;
    list-style: none;
    background: #1a1f2e !important;
    border: 1px solid rgba(251, 191, 36, 0.3) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
    outline: none !important;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* hover on an item */
.ui-autocomplete li:hover {
    background-color: rgba(251, 191, 36, 0.12) !important;
    color: #fbbf24 !important;
}

.ui-autocomplete ul:hover {
    background-color: rgba(251, 191, 36, 0.12) !important;
    color: #fbbf24 !important;
}

.ui-widget.ui-widget-content:focus {
    border: none;
    outline: none !important;
}


.ui-widget {
    border: none;
    outline: none !important;
}

.ui-widget-content {
    border: none;
    background: #1a1f2e !important;
    color: #e2e8f0;
    outline: none !important;
}

.ui-autocomplete>li.ui-menu-item {
    padding: 0;
    margin: 0;
    background: transparent !important;
    font-size: .75em;
    color: #e2e8f0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    outline: none !important;
}

.ui-menu-item .ui-menu-item-wrapper.ui-state-active {
    background: rgba(251, 191, 36, 0.12) !important;
    color: #fbbf24 !important;
    font-weight: bold;
    text-shadow: none;
    border: none;
    outline: none !important;
}


.ui-autocomplete .ui-menu-item a.ui-state-focus,
.ui-autocomplete .ui-menu-item .ui-state-active {
    background: rgba(251, 191, 36, 0.12) !important;
    color: #fbbf24 !important;
}

.ui-menu {
    border: none;
    outline: none !important;
}

.ui-helper-hidden-accessible {
    display: none;
}


@media (max-width: 767px) {
    .item-graph-mobile {
        max-width: 230px;
        float: right;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        object-fit: contain;
        box-shadow: 0 0 13px #5865f2;
        border-radius: 10px;
        transition: top ease 0.1s;
        object-fit: contain;
    }

    .item-graph-mobile:hover {
        transition: 0.2s;
        transform: scale(1.7);
        position: absolute;
        left: 21.5%;
        z-index: 9999;
    }

    .a1search input[type=text] {
        position: absolute;
        left: 9%;
        margin-left: -1%;
        width: 68%;
        height: 26px;
        background-color: #454FBF;
        border: 1px solid #454FBF;
        border-radius: 10px 0px 0px 10px;
        font-size: 16px;
        font: 'Poppins', sans-serif;
        color: rgb(223, 217, 251);
        z-index: 99;
    }

    .searchBara1mobile input[type=text]:focus {
        outline: none;
        border: 1px solid #454FBF;
    }

    .searchButtona1Mobile {
        position: absolute;
        left: 89%;
        max-width: 30%;
        float: inline-end;
        height: 26px;
        border: 1px solid #454FBF;
        background: #5865f2;
        text-align: center;
        color: rgb(223, 217, 251);
        margin-top: 0px;
        margin-left: -110px;
        border-radius: 0px 10px 10px 0px;
        cursor: pointer;
        font-size: 17px;
        font-weight: 450;
        z-index: 8000;
    }


    .searchBar2mobile input[type=text] {
        position: absolute;
        left: 9%;
        margin-left: -1%;
        width: 68%;
        height: 59px;
        background-color: #343a40;
        border: 1px solid #454FBF;
        border-radius: 10px 0px 0px 10px;
        font-size: 16px;
        font: 'Poppins', sans-serif;
        color: rgb(223, 217, 251);
        z-index: 99;
    }

    .searchBar2mobile input[type=text]:focus {
        outline: none;
        border: 1px solid #454FBF;
    }

    .searchButtonMobile {
        position: absolute;
        left: 89%;
        max-width: 30%;
        float: inline-end;
        height: 59px;
        border: 1px solid #454FBF;
        background: #5865f2;
        text-align: center;
        color: rgb(223, 217, 251);
        margin-top: 0px;
        margin-left: -110px;
        border-radius: 0px 10px 10px 0px;
        cursor: pointer;
        font-size: 17px;
        font-weight: 450;
        z-index: 8000;
    }
}

/* ========================================
   DARK THEMED LATEST TRADES DESIGN
   ======================================== */

/* Dark Hero Section */
.trades-dark-hero {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    padding: 11.25px 15px;
    margin: 0;
    border-bottom: 3px solid #5865f2;
    width: 100%;
    max-width: 100%;
}

.trades-hero-title {
    font-size: 1.8em;
    font-weight: 700;
    color: rgb(223, 217, 251);
    text-align: center;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.trades-hero-subtitle {
    font-size: 0.9em;
    color: rgba(223, 217, 251, 0.8);
    text-align: center;
    margin-bottom: 15px;
}

/* Dark Search Container */
.trades-search-container {
    max-width: 700px;
    margin: 0 auto 15px;
}

.trades-search-form-dark {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 6px;
    border: 1px solid rgba(88, 101, 242, 0.3);
}

.search-group-dark {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-icon-dark {
    width: 22px;
    height: 22px;
    color: #7289da;
    margin-left: 12px;
    flex-shrink: 0;
}

.search-group-dark input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    color: rgb(223, 217, 251);
    padding: 4.2px 16px;
    outline: none;
}

.search-group-dark input::placeholder {
    color: rgba(223, 217, 251, 0.5);
}

.search-btn-dark {
    background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 4.2px 24px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
}

.search-btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(88, 101, 242, 0.6);
}

/* Dark CTA Cards */
.trades-cta-dark {
    display: flex;
    gap: 15px;
    max-width: 700px;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-card-dark {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 8px;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.cta-card-dark:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #5865f2;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.3);
}

.cta-icon-dark {
    font-size: 1.5em;
    flex-shrink: 0;
}

.cta-title-dark {
    font-size: 0.9em;
    font-weight: 700;
    color: rgb(223, 217, 251);
    margin-bottom: 2px;
}

.cta-desc-dark {
    font-size: 0.75em;
    color: rgba(223, 217, 251, 0.7);
}

/* Dark Trades Container */
.trades-dark-container {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    padding: 30px 20px;
    margin: 0;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
}

.trades-dark-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Dark Trade Cards with Colored Gradients */
.trade-card-dark {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    border: 2px solid #5865f2;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    height: 150px;
    padding-bottom: 0px;
}

.trade-card-dark:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(88, 101, 242, 0.5);
    border-color: goldenrod;
}

.trade-card-header-dark {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(88, 101, 242, 0.3);
}

.trade-card-image-dark {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border: 1px solid rgba(88, 101, 242, 0.3);
    margin-right: 12px;
    /* Increased spacing between image and item name */
}

.trade-card-image-dark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.trade-card-title-dark {
    flex: 1;
    font-size: 0.95em;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.trade-card-dark-link {
    text-decoration: none;
    display: block;
}

.trade-card-title-dark {
    color: #e8e8e8;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease;
}

.trade-card-dark-link:hover .trade-card-title-dark {
    color: goldenrod;
    text-shadow: 0 0 10px rgba(218, 165, 32, 0.6);
}

.trade-card-body-dark {
    padding: 10px 12px 11px 12px;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

/* Dark Action Badges with Colored Gradients */
.trade-action-dark {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

.trade-action-buy-dark {
    background: linear-gradient(90deg, rgba(102, 159, 250, 0.3) 0%, rgba(102, 159, 250, 0.15) 100%);
    border: 1px solid rgba(102, 159, 250, 0.5);
    color: #669ff9;
    box-shadow: 0 0 10px rgba(102, 159, 250, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.trade-action-sell-dark {
    background: linear-gradient(90deg, rgba(252, 158, 25, 0.3) 0%, rgba(252, 158, 25, 0.15) 100%);
    border: 1px solid rgba(252, 158, 25, 0.5);
    color: #fc9e19;
    box-shadow: 0 0 10px rgba(252, 158, 25, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.action-type-dark {
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 0.85em;
    white-space: nowrap;
}

.action-price-dark {
    font-weight: 700;
    font-size: 0.95em;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.action-quantity-dark {
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 0.9em;
}

/* Dark Footer */
.trade-footer-dark {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0px;
    border-top: 1px solid rgba(88, 101, 242, 0.2);
    font-size: 0.8em;
}

.trade-user-dark {
    font-weight: 600;
    color: goldenrod;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.trade-time-dark {
    color: rgba(223, 217, 251, 0.7);
    font-style: italic;
}

/* Responsive Design for Dark Theme */
@media (max-width: 768px) {
    .trades-hero-title {
        font-size: 1.5em;
    }

    .trades-hero-subtitle {
        font-size: 0.85em;
    }

    .trades-dark-hero {
        padding: 10px 15px;
    }

    .trades-dark-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .trades-cta-dark {
        gap: 8px;
        flex-wrap: nowrap;
    }

    .cta-card-dark {
        flex: 1;
        padding: 6px;
        gap: 6px;
        min-width: 0;
        width: auto;
    }

    .cta-icon-dark {
        font-size: 1.2em;
    }

    .cta-title-dark {
        font-size: 0.75em;
    }

    .cta-desc-dark {
        font-size: 0.65em;
    }

    .search-group-dark {
        flex-direction: column;
        align-items: stretch;
    }

    .search-icon-dark {
        display: none;
    }

    .search-btn-dark {
        width: 100%;
        text-align: center;
        padding: 8px 20px;
    }

    .search-group-dark input {
        padding: 8px 16px;
        text-align: center;
    }

    .trade-card-header-dark {
        flex-direction: row;
        text-align: left;
        padding: 8px 10px;
    }

    .trade-card-image-dark {
        width: 40px;
        height: 40px;
    }

    .trade-card-title-dark {
        font-size: 0.9em;
    }

    .trade-card-dark {
        height: auto;
    }

    .trade-card-body-dark {
        padding: 8px 10px;
    }

    .trade-action-dark {
        font-size: 0.85em;
        padding: 6px 10px;
    }

    .action-type-dark,
    .action-price-dark,
    .action-quantity-dark {
        font-size: 0.75em;
    }
}

font-size: 1.4em;
}

.trade-footer-dark {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}
}

@media (max-width: 480px) and (min-width: 300px) {
    .trades-dark-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns for screens between 300-480px */
    }

    .trade-card-image-dark {
        width: 60px;
        height: 60px;
    }

    .trade-card-title-dark {
        font-size: 1.05em;
    }

    .price-value-dark {
        font-size: 1.3em;
    }

    .trade-action-dark {
        font-size: 1em;
    }
}

@media (max-width: 299px) {
    .trades-dark-grid {
        grid-template-columns: 1fr;
        /* 1 column for screens smaller than 300px */
    }
}

/* ========================================
   DARK THEMED TOP NAVIGATION
   ======================================== */

.topnav-dark {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%) !important;
    border-bottom: 2px solid #5865f2 !important;
    padding: 6px 20px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
    margin-bottom: 0 !important;
}

.navbar-brand-dark {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3em;
    font-weight: 700;
    color: rgb(223, 217, 251);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.navbar-brand-dark a {
    color: rgb(223, 217, 251);
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand-dark a:hover {
    color: #7289da;
    text-shadow: 0 0 10px rgba(114, 137, 218, 0.6);
}

.topnavlogoimage {
    max-width: 46px;
    height: auto;
    border-radius: 8px;
}

.discordimage {
    max-width: 28px;
    height: auto;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.discordimage:hover {
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(88, 101, 242, 0.6);
}

.topnav-dark .navbar-toggler {
    border-color: rgba(88, 101, 242, 0.5);
    background: rgba(88, 101, 242, 0.2);
    padding: 8px 12px;
}

.topnav-dark .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(88, 101, 242, 0.5);
}

.topnav-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(223, 217, 251, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link-dark {
    color: rgb(223, 217, 251) !important;
    font-weight: 500;
    font-size: 1.05em;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 0 4px;
}

.nav-link-dark:hover {
    color: #7289da !important;
    background: rgba(88, 101, 242, 0.15);
    text-shadow: 0 0 8px rgba(114, 137, 218, 0.6);
}

.topnav-dark .nav-item.active .nav-link-dark {
    background: rgba(88, 101, 242, 0.25);
    color: goldenrod !important;
    font-weight: 600;
}

/* Mobile Navigation Styling */
@media (max-width: 991px) {
    .topnav-dark {
        padding: 5px 15px !important;
    }

    .topnav-dark .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 32, 44, 0.98);
        margin-top: 0;
        padding: 0;
        border-radius: 0 0 8px 8px;
        border: 1px solid rgba(88, 101, 242, 0.3);
        border-top: none;
        z-index: 1000;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
        overflow: hidden;
    }

    /* Padding lives here so Bootstrap's height:0 + overflow:hidden collapses cleanly */
    .topnav-dark .navbar-collapse .navbar-nav {
        padding: 15px;
    }

    .nav-link-dark {
        padding: 12px 16px !important;
        margin: 4px 0;
        border-bottom: 1px solid rgba(88, 101, 242, 0.2);
    }

    .nav-link-dark:last-child {
        border-bottom: none;
    }

    .navbar-brand-dark {
        font-size: 1.1em;
    }

    .topnavlogoimage {
        max-width: 40px;
    }

    .discordimage {
        max-width: 24px;
    }
}

/* ========================================
   DARK THEMED PRICE CHECK PAGE
   ======================================== */

/* Price Check Dark Hero Section */
/* Price Check Page Wrapper - Centered Max-Width Layout */
.pc-page-wrapper {
    max-width: 960px;
    margin: 0 auto;
}

.pc-dark-hero {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    padding: 11.25px 15px;
    margin: 0;
    border-bottom: 3px solid #5865f2;
    width: 100%;
    max-width: 100%;
}

.pc-hero-content {
    max-width: 100%;
    margin: 0 auto;
}

.pc-hero-title {
    font-size: 1.8em;
    font-weight: 700;
    color: rgb(223, 217, 251);
    text-align: center;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.pc-hero-subtitle {
    font-size: 0.9em;
    color: rgba(223, 217, 251, 0.8);
    text-align: center;
    margin-bottom: 15px;
}

/* Price Check Search Container */
.pc-search-container {
    max-width: 100%;
    margin: 0 auto 15px;
}

.pc-search-form-dark {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 6px;
    border: 1px solid rgba(88, 101, 242, 0.3);
}

.pc-search-form-dark .search-group-dark input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    color: rgb(223, 217, 251);
    padding: 4.2px 16px;
    outline: none;
}

.pc-search-form-dark .search-group-dark input::placeholder {
    color: rgba(223, 217, 251, 0.5);
}

/* Price Check CTA Cards */
.pc-cta-dark {
    display: flex;
    gap: 10px;
    max-width: 700px;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
}

/* Price Check Chart Container */
.pc-chart-container {
    background: transparent;
    padding: 30px 20px;
    margin: 0;
    width: 100%;
    max-width: 100%;
}

.pc-chart-toggle-btn {
    display: none;
    /* Hidden on desktop */
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    margin: 0 auto 20px;
    width: calc(100% - 30px);
    max-width: 400px;
    min-height: 48px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.pc-chart-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(88, 101, 242, 0.4);
}

.pc-chart-toggle-btn:active {
    transform: translateY(0);
}

.pc-chart-toggle-btn:focus {
    outline: none;
}

.pc-chart-toggle-btn:focus-visible {
    outline: 2px solid rgba(88, 101, 242, 0.8);
    outline-offset: 2px;
}

.pc-chart-wrapper {
    margin: 0 auto 20px;
    background: rgba(30, 35, 45, 0.8);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid rgba(88, 101, 242, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.pc-chart-header {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(88, 101, 242, 0.3);
}

/* Chart controls integrated into chart area - 60% smaller */
.pc-chart-controls-integrated {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

.pc-chart-btn-small {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.2), rgba(88, 101, 242, 0.3));
    border: 1px solid rgba(88, 101, 242, 0.5);
    color: rgb(136, 136, 234);
    font-family: 'Poppins', sans-serif;
    font-size: 0.65em;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 42px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

.pc-chart-btn-small:hover {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.4), rgba(88, 101, 242, 0.5));
    border-color: rgba(88, 101, 242, 0.7);
    text-shadow: 0 0 8px rgb(223, 217, 251);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(88, 101, 242, 0.3);
}

.pc-chart-btn-small:focus {
    outline: none;
}

.pc-chart-btn-small:active {
    transform: translateY(0);
}

.pc-chart-btn-small.active {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.8), rgba(114, 137, 218, 0.8));
    border-color: #7289da;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.pc-chart-report-count {
    color: rgba(251, 191, 36, 0.95);
    font-size: 0.7em;
    font-weight: 600;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(20, 25, 35, 0.5));
    border-radius: 8px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    white-space: nowrap;
    line-height: 1.5;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.pc-volume-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 25px auto 15px;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.15), rgba(88, 101, 242, 0.25));
    border: 2px solid rgba(88, 101, 242, 0.4);
    color: rgba(167, 175, 255, 1);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95em;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

.pc-volume-toggle-btn:hover {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.25), rgba(88, 101, 242, 0.35));
    border-color: rgba(88, 101, 242, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(88, 101, 242, 0.3);
}

.pc-volume-toggle-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(88, 101, 242, 0.2);
}

.pc-volume-toggle-btn:focus {
    outline: none;
}

.pc-volume-toggle-btn:focus-visible {
    outline: 2px solid rgba(88, 101, 242, 0.8);
    outline-offset: 2px;
}

/* Volume icon - triangle shape with bars */
.volume-icon {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 16px;
}

.volume-icon .bar {
    display: block;
    width: 4px;
    background: currentColor;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.volume-icon .bar1 {
    height: 30%;
}

.volume-icon .bar2 {
    height: 50%;
}

.volume-icon .bar3 {
    height: 75%;
}

.volume-icon .bar4 {
    height: 100%;
}

.pc-volume-toggle-btn:hover .volume-icon .bar {
    background: rgba(167, 175, 255, 1);
}

.pc-volume-chart-container {
    position: relative;
    background: linear-gradient(135deg, rgba(25, 30, 40, 0.6), rgba(30, 35, 45, 0.5));
    border-radius: 12px;
    padding: 20px;
    border: 2px solid rgba(88, 101, 242, 0.4);
    margin-top: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.pc-volume-chart {
    width: 100% !important;
    max-width: 100% !important;
    height: 300px !important;
    min-height: 300px !important;
}


.pc-chart-wrapper {
    position: relative;
    background: linear-gradient(135deg, rgba(25, 30, 40, 0.6), rgba(30, 35, 45, 0.5));
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(88, 101, 242, 0.4);
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.pc-main-chart-container {
    height: 450px;
    min-height: 450px;
    max-height: 450px;
    position: relative;
    margin-bottom: 10px;
}

.pc-main-chart {
    width: 100% !important;
    max-width: 100% !important;
    height: 450px !important;
    min-height: 450px !important;
}

/* Compact transaction card price bar */
.pc-report-price-compact {
    margin-bottom: 10px;
    padding: 5px 8px;
    background: rgba(88, 101, 242, 0.1);
    border-radius: 8px;
}

/* Flex layout for content and image */
.pc-report-content-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.pc-report-details-compact {
    flex: 1;
    min-width: 0;
}

.pc-report-image-right {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
}

.pc-report-image-right img {
    max-width: 60px;
    max-height: 60px;
    border-radius: 8px;
    border: 1px solid rgba(88, 101, 242, 0.3);
    transition: all 0.3s ease;
    object-fit: cover;
}

.pc-report-card:hover .pc-report-image-right img {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.5);
}

.pc-report-footer-inline {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(88, 101, 242, 0.3);
}

.pc-chart-controls-integrated {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.pc-main-chart {
    width: 100% !important;
    max-width: 100% !important;
    height: 400px !important;
    background-image: url('https://cdn.discordapp.com/attachments/817848403857375262/1008147416576434256/watermark_pro_s3.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 90%;
}

.pc-pie-controls-wrapper {
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    background: rgba(30, 35, 45, 0.5);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(88, 101, 242, 0.3);
}

.pc-chart-btn {
    background: rgba(88, 101, 242, 0.2);
    border: 1px solid #5865f2;
    color: rgb(136, 136, 234);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9em;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pc-chart-btn:hover {
    background: rgba(88, 101, 242, 0.4);
    text-shadow: 0 0 8px rgb(223, 217, 251);
    transform: translateY(-2px);
}

.pc-chart-btn:focus {
    outline: none;
}

/* Price Check Statistics Card */
.pc-stats-card {
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    border: 2px solid #5865f2;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.pc-stats-layout {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.pc-stats-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    min-width: 160px;
}

.pc-stats-header {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 14px;
    gap: 10px;
}

.pc-stats-title {
    font-size: 1.15em;
    font-weight: 600;
    color: rgb(223, 217, 251);
    text-shadow: 0 0 10px #5865f2;
}

.pc-item-image-wrapper {
    flex-shrink: 0;
}

.pc-item-image {
    max-width: 60px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pc-item-image:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.6);
}

.pc-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
    flex: 1;
}

.pc-stat-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(88, 101, 242, 0.2);
}

.pc-stat-label {
    color: #b8b8ff;
    font-weight: 600;
    font-size: 0.75em;
    display: inline-block;
    margin-right: 5px;
    text-shadow: 0 0 2px rgba(88, 101, 242, 0.5);
}

.pc-stat-value {
    color: #e8e8e8;
    font-weight: 500;
    font-size: 0.72em;
}

.pc-marketplace-cta {
    text-align: center;
    margin-top: 10px;
    padding: 8px;
    background: rgba(218, 165, 32, 0.1);
    border-radius: 6px;
    border: 1px solid goldenrod;
}

.pc-marketplace-cta a {
    color: goldenrod;
    font-size: 0.95em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pc-marketplace-cta a:hover {
    text-shadow: 0 0 10px goldenrod;
}

.pc-listing-count {
    color: #5865f2;
    font-weight: 700;
}

/* Price Check Reports Container */
.pc-reports-container {
    background: transparent;
    border: 1px solid rgba(88, 101, 242, 0.4);
    border-radius: 12px;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
    box-shadow: #1a202c 0px 4px 12px;
}

.pc-reports-scroll-wrapper {
    max-height: 600px;
    overflow-y: auto;
    padding-top: 15px;
    padding-bottom: 20px;
}

.pc-reports-scroll-wrapper::-webkit-scrollbar {
    width: 10px;
}

.pc-reports-scroll-wrapper::-webkit-scrollbar-track {
    background: rgba(30, 35, 45, 0.5);
    border-radius: 10px;
}

.pc-reports-scroll-wrapper::-webkit-scrollbar-thumb {
    background: rgba(88, 101, 242, 0.5);
    border-radius: 10px;
}

.pc-reports-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(88, 101, 242, 0.8);
}

.pc-no-data {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(88, 101, 242, 0.3);
}

.pc-no-data p {
    color: rgb(223, 217, 251);
    font-size: 1.1em;
}

.pc-no-data a {
    color: rgb(136, 136, 234);
    text-decoration: none;
}

.pc-no-data a:hover {
    color: #7289da;
    text-shadow: 0 0 8px rgba(114, 137, 218, 0.6);
}

.pc-reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin: 0 auto;
    padding: 0 20px 10px;
}

.pc-reports-grid::-webkit-scrollbar {
    width: 10px;
}

.pc-reports-grid::-webkit-scrollbar-track {
    background: rgba(30, 35, 45, 0.5);
    border-radius: 10px;
}

.pc-reports-grid::-webkit-scrollbar-thumb {
    background: rgba(88, 101, 242, 0.5);
    border-radius: 10px;
}

.pc-reports-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(88, 101, 242, 0.8);
}

/* Price Check Report Cards */
.pc-report-card {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    border: 2px solid #5865f2;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    display: block;
    max-height: 180px;
}

.pc-report-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(88, 101, 242, 0.5);
    border-color: #5865f2;
}

.pc-report-buy {
    border-color: #5865f2;
}

.pc-report-sell {
    border-color: #5865f2;
}

.pc-report-header {
    padding: 10px 14px;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

.pc-report-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

.pc-action-buy {
    background: linear-gradient(90deg, rgba(102, 159, 250, 0.35) 0%, rgba(102, 159, 250, 0.20) 100%);
    border-left: none;
    border: 1px solid rgba(102, 159, 250, 0.5);
    box-shadow: 0 2px 10px rgba(102, 159, 250, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pc-action-sell {
    background: linear-gradient(90deg, rgba(252, 158, 25, 0.35) 0%, rgba(252, 158, 25, 0.20) 100%);
    border-left: none;
    border: 1px solid rgba(252, 158, 25, 0.5);
    box-shadow: 0 2px 10px rgba(252, 158, 25, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pc-report-body {
    padding: 10px 14px 11px 14px;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

.pc-report-price {
    margin-bottom: 12px;
    padding: 8px;
    background: rgba(88, 101, 242, 0.1);
    border-radius: 8px;
}

.pc-report-details {
    margin-bottom: 16px;
}

.pc-report-item {
    color: rgb(217, 226, 251);
    font-size: 1.1em;
    font-weight: 500;
    text-shadow: 0 0 5px rgb(136, 136, 234);
    margin-bottom: 8px;
}

.pc-report-time {
    color: rgba(223, 217, 251, 0.7);
    font-size: 0.9em;
    font-style: italic;
    margin-bottom: 8px;
}

.pc-report-footer {
    padding-top: 14px;
    border-top: 1px solid rgba(88, 101, 242, 0.3);
}

.pc-report-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.pc-report-details {
    flex: 1;
}

.pc-report-image {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    flex-shrink: 0;
}

.pc-report-image img {
    max-width: 80px;
    max-height: 80px;
    border-radius: 8px;
    border: 1px solid rgba(88, 101, 242, 0.3);
    transition: all 0.3s ease;
}

.pc-report-card:hover .pc-report-image img {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.5);
}

/* Price Check Suggestions */
.pc-suggestions {
    max-width: 100%;
    margin: 0 auto;
}

.pc-suggestions-title {
    text-align: center;
    color: goldenrod;
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.pc-suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.pc-suggestion-card {
    background: linear-gradient(135deg, #36393f 0%, #2f3136 100%);
    border: 2px solid #5865f2;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.pc-suggestion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(88, 101, 242, 0.5);
    border-color: goldenrod;
}

.pc-suggestion-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid rgba(88, 101, 242, 0.3);
}

.pc-suggestion-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pc-suggestion-content {
    flex: 1;
}

.pc-suggestion-title {
    color: #e8e8e8;
    font-weight: 600;
    font-size: 1.15em;
    margin-bottom: 5px;
    text-shadow: 0 0 3px rgb(136, 136, 234);
}

.pc-suggestion-link {
    color: goldenrod;
    font-size: 0.9em;
    margin: 0;
}

/* Responsive Design for Price Check Page */
@media (max-width: 768px) {
    .pc-hero-title {
        font-size: 1.5em;
    }

    .pc-hero-subtitle {
        font-size: 0.85em;
    }

    .pc-dark-hero {
        padding: 9px 11.25px;
    }

    .pc-chart-container {
        padding: 20px 15px;
    }

    .pc-chart-toggle-btn {
        display: inline-block;
        /* Show toggle button on mobile */
        width: calc(50% - 10px);
        /* Half width minus gap */
        margin-right: 10px;
        margin-bottom: 15px;
    }

    .pc-chart-wrapper {
        display: none;
        /* Hide chart by default on mobile */
    }

    .pc-chart-wrapper.show {
        display: block;
        /* Show when toggled */
    }

    .pc-main-chart-container {
        height: 500px;
        min-height: 500px;
        max-height: 500px;
    }

    .pc-main-chart {
        height: 500px !important;
    }

    .pc-chart-controls-integrated {
        flex-direction: row;
        gap: 3px;
        flex-wrap: nowrap;
    }

    .pc-chart-btn-small {
        font-size: 0.55em;
        padding: 5px 8px;
        min-width: 36px;
    }

    .pc-chart-report-count {
        font-size: 0.6em;
        padding: 5px 8px;
    }

    .pc-chart-btn {
        flex: 1;
        min-width: 100px;
        margin-bottom: 0;
    }

    .pc-pie-controls-wrapper {
        margin-top: 15px;
    }

    .pc-stats-toggle-btn {
        display: inline-block !important;
        /* Show toggle button on mobile */
        width: calc(50% - 10px);
        /* Half width minus gap */
        margin-bottom: 15px;
    }

    .pc-stats-card {
        padding: 12px;
        display: none;
        /* Hide stats by default on mobile */
    }

    .pc-stats-card.show {
        display: block;
        /* Show when toggled */
    }

    .pc-stats-layout {
        flex-direction: column;
    }

    .pc-stats-left {
        align-items: center;
        width: 100%;
    }

    .pc-stats-header {
        flex-direction: column;
        align-items: center;
    }

    .pc-item-image-wrapper {
        margin-left: 0;
        margin-top: 10px;
    }

    .pc-stats-grid {
        grid-template-columns: 1fr;
    }

    .pc-reports-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pc-suggestions-grid {
        grid-template-columns: 1fr;
    }

    .pc-report-content-wrapper {
        flex-direction: column;
    }

    .pc-report-image {
        justify-content: center;
        margin-top: 10px;
    }

    .pc-report-image img {
        max-width: 100px;
        max-height: 100px;
    }

    .pc-price-range-card {
        width: 100%;
    }

    .pc-price-range-values {
        font-size: 1.2em;
    }
}

/* Desktop - hide stats toggle button */
@media (min-width: 769px) {
    .pc-stats-toggle-btn {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .pc-hero-title {
        font-size: 1.3em;
    }

    .pc-hero-subtitle {
        font-size: 0.8em;
    }

    .pc-main-chart {
        height: 350px !important;
    }

    .pc-chart-controls-integrated {
        gap: 2px;
    }

    .pc-chart-btn-small {
        font-size: 0.5em;
        padding: 4px 6px;
        min-width: 32px;
    }

    .pc-chart-report-count {
        font-size: 0.55em;
        padding: 4px 6px;
    }

    .pc-stats-title {
        font-size: 1em;
    }

    .pc-item-image {
        max-width: 50px;
    }

    .pc-marketplace-cta a {
        font-size: 0.85em;
    }

    .pc-report-card {
        font-size: 0.95em;
    }

    .price-value-dark {
        font-size: 1.3em;
    }

    .pc-suggestion-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Alt1 Badge Styles */
.alt1-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 4px;
    color: #22c55e;
    font-size: 0.75em;
    font-weight: 500;
    margin-top: 0px;
}

.alt1-badge svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.alt1-badge-inline {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 6px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 3px;
    color: #22c55e;
    font-size: 0.7em;
    font-weight: 500;
    margin: 0 4px;
}

.alt1-badge-inline svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

/* GE Price / report-style inline badge (matches watchlist report-badge) */
.report-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 1px 5px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 3px;
    color: #22c55e;
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.report-badge svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* Mobile/desktop text variants for GE price badge */
.ge-badge-mobile {
    display: none;
}

@media (max-width: 480px) {
    .ge-badge-desktop {
        display: none;
    }

    .ge-badge-mobile {
        display: inline;
    }
}

/* Staff Verified Badge - circular design with SVG */
.staff-verified-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: auto;
}

.staff-verified-badge-svg {
    width: 68px;
    height: 68px;
    filter: drop-shadow(0 2px 8px rgba(34, 197, 94, 0.3));
}

.badge-fallback-hidden {
    display: none !important;
}

.pc-report-image-right .img-link-wrapper {
    display: block;
}



/* Stats Toggle Button - Base styles (will be shown/hidden by media queries) */
.pc-stats-toggle-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 15px;
    min-height: 48px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    display: none;
    /* Hidden by default */
}

.pc-stats-toggle-btn:hover {
    background: linear-gradient(135deg, #4752c4 0%, #3b44a0 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.pc-stats-toggle-btn:active {
    transform: translateY(0);
}

/* Price Range Card */
.pc-price-range-card {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    border: 2px solid #fbbf24;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
    position: relative;
    min-height: 130px;
}

.pc-item-image-wrapper-price {
    position: absolute;
    left: calc(50% - 150px);
    top: 50%;
    transform: translate(-50%, -50%);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-price-range-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    position: absolute;
    left: 50%;
    top: 50%;
    padding-top: 10px;
    padding-bottom: 10px;
    transform: translate(-50%, -50%);
    text-align: center;
}

.pc-price-range-title {
    font-size: 1em;
    font-weight: 600;
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
    margin: 0;
}

.pc-price-range-label {
    font-size: 0.85em;
    font-weight: 500;
    color: #9ca3af;
    text-align: center;
    margin-bottom: 0px;
    margin-top: 0;
}

.pc-price-range-values {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 1.3em;
    font-weight: 700;
    color: #ffffff;
}

.pc-price-low {
    color: #e5e7eb;
}

.pc-price-separator {
    color: #9ca3af;
}

.pc-price-high {
    color: #e5e7eb;
}

.pc-price-currency {
    color: #fbbf24;
    font-size: 0.9em;
}

.pc-price-single {
    color: #ffffff;
}

.pc-price-recency {
    font-size: 0.85em;
    padding: 4px 12px;
    background: rgba(156, 163, 175, 0.2);
    border-radius: 12px;
    color: #9ca3af;
}

.pc-price-new {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* User Icon Styles */
.user-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
    color: #9ca3af;
}

.pc-report-footer-inline {
    display: flex;
    align-items: center;
    gap: 4px;
}

.trade-user-with-icon {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Suppress the focus outline/ring that appears after a mouse-click or tap.
   Keyboard navigation still gets the :focus-visible ring for accessibility. */
button:focus:not(:focus-visible),
[role="button"]:focus:not(:focus-visible),
input[type="button"]:focus:not(:focus-visible),
input[type="submit"]:focus:not(:focus-visible),
input[type="reset"]:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}