:root 
{
    --mango-color: #ffbc00;
    --mango-bg: #131d33;
    --mango-bg-dark: #0d1525;
    --mango-blue: #263148;
    --mango-green: #1FB197;
    --mango-gray: #8b8b8b80;
    --mango-white: #ffffff;
    --mango-red: #fd5d7b;
    --mango-light-gold: #ffd089b0;
    --mango-text-gray: #e7dcdc;
    --mango-dark-text: #27293D;
    --mango-gold: #ffd700;
    --mango-dark-blue: #0a1220;
    --mango-border-blue: #2B3448;
    --mango-panel-blue: #1A1E34;
    --mango-select-bg: #283349;
}

#loading { z-index: 99; text-align: center; display: block;}
#loading-image { z-index: 100}
.navbar { margin-bottom: 500px; }
#search-coins { width: 100%; height: 32px; border-radius: 5px; padding-left: 8px; padding-right: 25px; border: 1px solid #ced4da; }
.filters-row { display: flex; align-items: center; gap: 10px; }
.search-container { flex: 1; min-width: 200px; max-width: 500px; position: relative; margin-left: auto; padding-top: 4px; }
.clear-search { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); cursor: pointer; color: #999; font-weight: bold; font-size: 16px; background: none; border: none; padding: 0; }
.badge { font-size: 11.5px; line-height: 1.0; }
.trend-badge { width: 80px; font-weight: bold; padding: 5px 15px 5px 15px; color: var(--mango-dark-text); }
.trend-neutral { font-weight: bold; padding: 5px 15px 5px 15px; color: #cccedb; background-color: #3c3a5e; width: 80px; }
.btn-group-toggle { margin-right: 5px; }
.btn-group-toggle label {font-size: 0.8em;}
.btn-secondary:not(:disabled):not(.disabled):active,.btn-secondary:not(:disabled):not(.disabled).active,.show>.btn-secondary.dropdown-toggle { color:#ffbc00; }
.timeframe { font-size: 1.15em; margin-right: 6px; }
.timeframe-not-selected { color: var(--mango-white); }
.timeframe-not-available { color: #8b8b8b80; }
a {color: var(--mango-color); text-decoration: underline; }
a:hover, a:focus { color: var(--mango-white); text-decoration: underline; }
.link-a {color: #B6996F; }
.link-b {color: #686766; }
.hidden { display: none; }
.coin-icon { width: 20px; height: 20px; margin-right: 8px; display: inline-block; }
.premium-content { display: block; background-color: rgba(255, 255, 255, 0.08); height: 16px; width: 80px; }
.card-category { width: 70%; margin-left: auto; margin-right: auto; }
.most-popular { font-size: 9px; font-weight: bold; padding: 5px 5px 5px 5px; color: var(--mango-dark-text); background-color: var(--mango-color); width: 90px; }
.subscription th { vertical-align: bottom !important; text-align: center; }
.subscription-popular { border-right: 1px solid var(--mango-color) !important; border-left: 1px solid var(--mango-color) !important; }
.subscription-popular-top { border-top: 1px solid var(--mango-color) !important; }
.subscription-popular-bottom { border-bottom: 1px solid var(--mango-color) !important; height: 80px; }
.popular-plan { background: var(--mango-color); color: var(--mango-dark-text); }
.popular-plan:hover, .btn.popular-plan:focus, .btn.popular-plan:active { background: var(--mango-color) !important; color: var(--mango-dark-text) !important; background-image:none !important; }
.price-strike { opacity: 0.4; }
.btn { padding: 8px 20px 8px 20px; }
.btn.enable-pointer { pointer-events: auto; }
.center{ text-align: center; }
.referral-card { height: 300px;}
.referral-card-title { margin-top: 15px; }
.referral-body { margin-top: 50px; }
.gradient-circle { border-radius: 50%; height: 30px; width: 30px; display: inline-flex; text-align: center; align-items: center; font-weight: bold; justify-content:center; }
.gradient-square { border-radius: 10%; height: 30px; width: 30px; display: inline-flex; text-align: center; align-items: center; font-weight: bold; justify-content:center; }
.info-hover { color: #cfcfcf80; margin-left: 3px; }
.form-feedback { border: 1px solid #172955; }
.cancel-feedback { width: 60%; height: 200px; }
.custom-select { background-color: var(--mango-bg); width: 100px; margin-right: 10px; }
.filter-label { display:block; }
.home-datapoints-mobile { white-space: nowrap; }
.home-datapoint { padding: 2px; width: 200px; height: 26px; font-size: 13.5px; text-align: center; border-right: 2px solid #778094; margin-right: 10px; }
#landscape-required { color: rgb(200, 75, 75); font-weight: bold; font-size: large; }
.symbol-decorator { margin-right: 5px; }
.ps__rail-x, .ps__rail-y { opacity: 0.6; }

.terms-title { margin-bottom: 5px; }
.footer { font-size: .85em; }
a.link-no-style { text-decoration: none; color: inherit; }
#message.form-control { border: 1px solid #2b3553; border-radius: 0.4rem; }


/* Top Bar with market wide and countdown */
.top-bar-right {
    font-size: 14px;
    align-items: center;
    display: flex;
}

/* For anything but mobile */
@media (min-width: 991px) 
{
    .top-bar-right {
        float: right; 
    }
}

.top-bar-right > span {
    margin-right: 10px; 
}

.top-bar-right > span:last-child {
    margin-right: 0;
}

@media (max-width: 1600px) and (min-width: 800px) {
    .market-wide-and-countdown {
        margin-left: 12px;
        margin-bottom: 10px;
    }
}

.sticky-banner {
    background-color: var(--mango-color);
    color: var(--mango-bg);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 999;
    font-size: 15.5px;
    font-weight: bold;
    height: 35px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.sticky-banner a {
    color: #4b0082;
    font-weight: bold;
}

.feed-container 
{
    max-width: 600px;
}

.guide-container 
{
    max-width: 1250px;
}

.latest-video-container 
{
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.latest-video-container iframe 
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Table line height, letter spacing, font size */
#content-body > div > div > div > div > div.table-responsive.ps { line-height: 2.0; font-size:15px; letter-spacing:.115px; }

/* Table top border colour change */
body > div > div.main-panel.ps{ border-top: 2px solid var(--mango-color); }

/*short signal badge css*/
.badge-danger {background-image: linear-gradient(to right, var(--mango-red) 0%, #c1445b 51%, #000000  100%)}
.badge-danger 
{
    letter-spacing: 1.5px;
    margin: 0px;
    padding: 6px 5px;
    transition: 0.5s;
    background-size: 200% auto;
    color: var(--mango-text-gray);            
    border-radius: 5px;
    display: block;
}

/*red "Change 24hr" color*/
.returns-danger { color: var(--mango-red); }

/*long signal badge css*/
.badge-success {background-image: linear-gradient(to right, #21b99e 0%, #157b69 51%, #000000  100%)}
.badge-success 
{
    letter-spacing:1.5px;
    margin: 0px;
    padding: 6px 5px;
    transition: 0.5s;
    background-size: 200% auto;
    color: var(--mango-text-gray);            
    border-radius: 5px;
    display: block;
}

/*Table labels colour change*/
.text-primary {color: var(--mango-light-gold)!important;}

/*Background canvas colour change + table card colour change*/
.main-panel {background: linear-gradient(#071727,#09112b);}
.card {background: var(--mango-bg);}

/********************* Sidebar *********************/

.sidebar {
    height: 100%;
    min-height: 800px;
    overflow-y: auto;
}

@media (max-height: 800px)
{
    .sidebar-bottom { 
        position: relative; 
        margin-top: 10px;
    }
}

@media (min-height: 800px)
{
    .sidebar-bottom { position: absolute; bottom: 40px; width: 100%; }
}

/*Sidebar background colour change*/
.sidebar, .off-canvas-sidebar {background: linear-gradient(0deg,#352919 0%,#131d33 50%);}

/*Sidebar icon + text color change to yellow */
.sidebar .nav i, .off-canvas-sidebar .nav i { color: var(--mango-light-gold); }
.sidebar .nav li:hover:not(.active)>a i { color: var(--mango-color); }

.sidebar-header { text-transform: Uppercase; width: 90%; margin: auto; margin-bottom: 20px; margin-top: 20px; font-size: 11px; color: gray; }

.sidebar ul 
{
    line-height: 1px!important;
}

.sidebar-active a i { color: var(--mango-color)!important; }
.sidebar-active a p { color: var(--mango-white); }

.social-icons {
    display: flex;
    justify-content: left;
    gap: 5px; /* Space between the icons */
    margin-left: 20px;
  }
  
  .social-icons a {
    color: var(--mango-white); /* Default icon color */
    font-size: 20px; /* Icon size */
    transition: color 0.3s ease;
  }
  
  .social-icons a:hover {
    color: #1da1f2; /* Twitter blue for hover */
  }
  
  .social-icons a:nth-child(2):hover {
    color: #5865F2; /* Discord purple for hover */
  }
  

p { color: var(--mango-light-gold); }

.account-el { margin-bottom: 10px; }

table tr { white-space:nowrap; }

.mango-border { border-style: solid; border-width: 1px; border-color: var(--mango-color); }

/* Premium Sidebar button */

.premium-option a {
    background-color: var(--mango-color);
    border-radius: 5px;
}

.premium-option a p {
    color: var(--mango-bg-dark);
    font-weight: bold;
}

.premium-option a:hover {
    color: var(--mango-white);
    background-color: #e6b800;
}

.premium-option a:hover i::before {
    color: var(--mango-white);
}

.premium-option a i::before {
    color: var(--mango-bg-dark);
}

/* Special Sidebar button */

.special-sidebar-option a {
    background-color: var(--mango-green);
    border-radius: 5px;
    color: var(--mango-bg-dark);
}

.special-sidebar-option a p,
.special-sidebar-option a i::before,
.special-sidebar-option a:hover p,
.special-sidebar-option a:hover i::before {
    color: var(--mango-bg-dark) !important;
}

.special-sidebar-option a:hover {
    background-color: #2affd8;
}

/* Highlighted Sidebar button */

.highlighted-sidebar-option a {
    background-color: transparent;
    border: 2px solid var(--mango-color);
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.highlighted-sidebar-option a p,
.highlighted-sidebar-option a i::before {
    color: var(--mango-color) !important;
}

.highlighted-sidebar-option a:hover {
    background-color: var(--mango-color);
    color: var(--mango-bg-dark);
}

.highlighted-sidebar-option a:hover p,
.highlighted-sidebar-option a:hover i::before {
    color: var(--mango-bg-dark) !important;
}

/* Highlighted Sidebar button */

.gold-outline-btn {
    border: 2px solid var(--mango-gold);
    box-shadow: 0 0 5px var(--mango-gold);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.gold-outline-btn:hover {
    box-shadow: 0 0 10px var(--mango-gold);
    border-color: var(--mango-gold);
}

/* Mango color outlined button style */
.btn-outline-mango {
    border: 2px solid var(--mango-color);
    background-color: transparent;
    color: var(--mango-color);
    transition: background-color 0.3s, color 0.3s;
}

.btn-outline-mango:hover {
    background-color: var(--mango-color);
    color: var(--mango-bg-dark);
}

/********************* Mango View *********************/
.top-bar { background-color: var(--mango-dark-blue); } 
.top-bar-info { float: left; padding: 1px; width: 180px; height: 26px; font-size: 12px; text-align: center; }
.top-bar-border { border-right: 1px solid var(--mango-border-blue); }
.top-bar-symbol { font-weight: bold; color: var(--mango-color); text-transform: uppercase; margin-right: 3px;}
.top-bar-price { padding-right: 5px; }

.mangoview-ticker { padding: 10px; border-radius: 5px; background-color: var(--mango-panel-blue); margin-top: 15px; text-align: center; min-width: 200px;}
.mangoview-tickers-desktop { margin-left: 3px; margin-right: 3px; }
.mangoview-graph-container { margin-top: 5px; }
.mangoview-graph-container input {color: var(--mango-white); }

.mangoview-ticker-symbol { font-size: 15px; color: var(--mango-color); font-weight: bold; text-transform: uppercase;}
.mangoview-ticker-price { font-size: 25px; padding-right: 5px; }
.mangoview-ticker-change { font-size: 30px; }

.mangoview-mobile-ticker-symbol { font-size: 12px; color: var(--mango-color); font-weight: bold; text-transform: uppercase; float: left; position:absolute; background-color: #243046; padding: 5px; border-radius: 10px;}
.mangoview-mobile-ticker-price { font-size: 30px; padding-right: 5px; }
.mangoview-mobile-ticker-change { font-size: 30px; }
.mangoview-mobile-ticker-name { font-size: 12px; text-transform: uppercase; }
.mangoview-chart-button { margin-top: 15px; font-size: 25px; vertical-align: middle; text-decoration: none; }
.mangoview-chart-back { text-decoration: none; }
.mangoview-button { vertical-align: top; position: relative; margin-top: 10px; margin-right: 300px; float: right; z-index: 1; }

.Select { font-size: 12px; color: var(--mango-text-gray); }
.Select-value, .Select-input, .Select-menu-outer, .Select-value-label { color: var(--mango-text-gray)!important; background-color: var(--mango-select-bg); text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4); }

.tradfi-toggle .btn-secondary.active, .btn-secondary:active {
    background: var(--mango-color) !important;
    color: var(--mango-bg-dark) !important; /* Optional, if you also want to change the border color */
}

/* For mango view only */
@media (min-width: 991px)
{
    .mangview-symbol-dropdown { margin-left: 80px; }
    .mangoview-dropdown { vertical-align: top; width: 100px; position: relative; margin-top: 15px; float: left; z-index: 1; margin-right: 20px; }
}

/* TODO: Hack until we fix the tablet experience*/
@media (max-width: 1100px)
{
    .filters-row { flex-wrap: wrap; }
    .search-container { flex: 1 1 100%; min-width: auto; }
    .mobile-hidden { display: none; }
}

/* For Mobile */
@media (max-width: 991px) 
{
    .mobile-hidden { display: none; }
    .main-panel>.content { padding-top: 70px; }
}

/* ipad & tablet responsive*/
@media (min-width: 991px) and (max-width: 1450px)
{
    .tablet-hidden { display: none; }
}

/* For anything but mobile */
@media (min-width: 991px) 
{
    .mobile-only { display: none; }  
    .multi-timeframe-table { width: 100%; }
    .lower-panel { padding-top: 15px; }
}

/* Support and Resistance values in multi_timeframe */
.sr-values {
    background-color: var(--mango-blue);
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

#symbol-col {
    min-width: 100px;
}