/* FONT FACE RULES */
@font-face {
  font-family: opensans-bold;
  src: url(../fonts/OpenSans_Condensed-Bold.woff);
}

@font-face {
  font-family: opensans-mediumbold;
  src: url(../fonts/OpenSans_Condensed-Medium.woff);
}

@font-face {
  font-family: opensans-regular;
  src: url(../fonts/OpenSans_Condensed-Regular.woff);
}

@font-face {
  font-family: opensans-semibold;
  src: url(../fonts/OpenSans_Condensed-SemiBold.woff);
}

/* Global CSS */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: opensans-bold;
    font-family: "Roboto"
}

html {
  scroll-behavior: smooth;
}

html::-webkit-scrollbar {
    display: none;
}

::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
box-shadow: inset 0 0 5px grey; 
border-radius: 2px;
}

a {
    text-decoration: none;
}

.btn-primary {
    border-color: rgb(176, 142, 69);
    box-shadow: none;
}

.btn-primary:hover {
    border-color: rgb(176, 142, 69);
}

.font-size12 {
    font-size: 12px !important;
}

.font-size14 {
    font-size: 14px !important;
}

.font-size16 {
    font-size: 16px !important;
}

.font-size18 {
    font-size: 18px !important;
}

.font-size20 {
    font-size: 20px !important;
}

.font-size24 {
    font-size: 24px !important;
}

.text-brown {
    color: brown;
}

.text-white-custom {
    color: white;
}

.cursor-pointer {
    cursor: pointer;
}

/* Main CSS */
.backgroundOne {
    background-color: #F2F2F2;
}

.backgroundTwo {
    background-color: #e2f0fe;
}

.iFrameApply {
    width: 100%;
    height: 90vh;
    max-width: 1024px;
    max-height: 820px;
    margin: auto;
    background-color: #000;
}

.mainFrame {
    height: 580px;
    overflow-y: scroll;
}

header {
    position: sticky;
    top: 0;
    background-color: #000;
    z-index: 999;
}

#dashboard-header {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

#dashboard-header .logo img {
    height: 80px;
    transition: transform 0.3s ease;
}

#dashboard-header .logo img:hover {
    transform: scale(1.05);
}

#dashboard-header .theme-toggle img {
    height: 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#dashboard-header .theme-toggle img:hover {
    transform: rotate(20deg) scale(1.1);
}

.navbar {
    background-color: #000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    padding: 0 0;
}

.navbar .list-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar .list-items li {
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 1px;
    position: relative;
    padding: 10px 5px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.navbar .list-items li.active {
    color: #28a745;
}

.navbar .list-items li::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 3px;
    background-color: #28a745; /* Green */
    transition: width 0.3s ease;
}

.navbar .list-items li.active::after {
    width: 100%;
}

.navbar .list-items li:hover {
    color: #28a745;
}

.navbar .list-items li:hover::after {
    width: 100%;
}

#mysearchbar {
    width: 100%;
    padding: 12px 16px;
    background-color: #111;
    color: #fff;
    border: none;
    outline: none;
    font-size: 16px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

#mysearchbar {
    border-radius: 0;
    background-color: #36474f;
}

#mysearchbar::placeholder {
    color: #fff;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#mysearchbar:focus {
    background-color: #1a1a1a;
}

/* MAIN CONTENT */
.market-info-tile {
    background-color: #000;
    box-shadow: 0 2px 8px rgba(0, 255, 0, 0.1);
}



.market-info-tile .futures_list_text h3 {
    color: #fff;
    font-size: 14px;
    font-family: opensans-regular;
    margin: 0;
    letter-spacing: 1px;
}

.market-info-tile .futures_list_text h5 {
    color: #fff;
    font-size: 12px;
    font-family: opensans-regular;
    margin: 0;
}

.market-info-tile .futures_list_text h6 {
    color: #fff;
    font-size: 12px;
    font-family: opensans-regular;
    margin-top: 6px;
    letter-spacing: 0.5px;
}

.market-info-tile .futures_lot_size h4 {
    color: #fff;
    font-size: 18px;
    font-family: opensans-regular;
    margin: 0;
    padding: 5px;
    letter-spacing: 1px;
}

.market-info-tile .futures_lot_size h5 {
    color: #fff;
    font-size: 14px;
    font-family: opensans-regular;
    margin-top: 5px;
    letter-spacing: 1px;
}

.market-info-tile .form-check-input {
    border-color: #28a745;
    background-color: transparent;
    width: 22px;
    height: 22px;
    cursor: pointer;
    box-shadow: none;
}

.market-info-tile .futures_Check .form-check-input:checked {
    background-color: #28a745;
    border-color: #28a745;
}

.market-info-tile .futures_Check h5 {
    color: #fff;
    font-size: 12px;
    font-family: opensans-semibold;
    margin-top: 5px;
}

/* FOOTER CONTENT */
footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #000b0f;
    padding: 10px 0 4px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
    z-index: 999;
    font-family: 'Segoe UI', sans-serif;
}

/* Footer menu */
.footer ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0;
    padding: 0;
}

.footer ul li {
    list-style: none;
    text-align: center;
}

.footer ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #28a745;
}

.footer ul li a .footer-icon {
    width: 30px;
    height: 30px;
    display: block;
    margin-bottom: 5px;
    background-image: url(../img/icon_menu3.png);
    background-size: 149px;
    background-repeat: no-repeat;
    background-position: -6px -1px;
    transition: transform 0.3s ease;
}

.footer ul li:nth-child(2) a .footer-icon {
    background-position: -42px -1px;
}

.footer ul li:nth-child(3) a .footer-icon {
    background-position: -82px -1px;
}

.footer ul li:nth-child(4) a .footer-icon {
    background-position: -120px -1px;
}

.footer ul li a:hover .footer-icon {
    transform: scale(1.2);
}

.footer ul li a span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* TRADES PAGE CONTENT */
.cancel-btn {
    background-color: rgb(237, 0, 23);
    color: white;
    border: none;
    padding: 5px 10px;
    font-size: 11px;
    letter-spacing: 0.5px;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.cancel-btn:hover {
    transform: scale(1.05);
}

.trades-pending {
    text-align: center;
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.1);
}

/* PORTFOLIO PAGE CONTENT */
.account-summary {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    max-width: 95%;
    margin: 0 auto;
    padding: 20px;
}

.account-summary .label {
    font-size: 16px;
    color: #222;
    margin-bottom: 5px;
}

.account-summary .value {
    font-size: 24px;
    color: #000;
    margin: 0;
    font-family: 'opensans-semibold';
}

.portfolio-market-info {
    max-width: 97%;
    background-color: #000;
    margin-bottom: 70px;
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.05);
}

.portfolio-card {
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.futures_lot_size h5 {
    font-size: 1.1rem;
}

.btn {
    min-width: 120px;
}

.btn-danger {
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-danger:hover {
    background-color: #c82333;
}

/* ACCOUNT PAGE STYLING */
.account-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.logo-card {
    max-width: 300px;
    width: 100%;
}

.login_user_details h4,
.login_user_details h5 {
    color: #bd9e52;
    font-size: 20px;
}

/* List item wrapper */
.login_nav_list {
    margin-bottom: 65px;
}

.login_nav_list li {
    transition: background-color 0.3s ease, transform 0.3s ease;
    border-left: 5px solid transparent;
    margin-bottom: 1.2px;
}

.login_nav_list li:nth-last-child(1) {
    margin-bottom: 0;
}

.login_nav_list li a {
    color: #000;
    font-size: 20px;
}

.login_nav_list li a span {
    color: #222;
    font-size: 16px;
    font-family: 'opensans-semibold';
}

/* Link hover effect */
.nav-link-item:hover {
    color: #bd9e52 !important;
}

.nav-link-item:hover span {
    color: #bd9e52 !important;
}

/* WALLET HISTORY PAGE STYLING */
.dashboard_header {
    background-color: transparent !important;
}

.dashboard_header a,
.dashboard_header h4,
.dashboard_header i,
.dashboard_header button {
    color: white !important;
    box-shadow: none !important;
}

.ui_dropdown .dropdown-menu {
    background-color: #111;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 0;
}

.ui_dropdown .dropdown-menu a {
    padding: 0.5rem 1rem;
    transition: background 0.3s, color 0.3s;
}

.ui_dropdown .dropdown-menu a:hover {
    background-color: gold;
    color: black !important;
}

.market_tab_col_custom {
    margin: 0 auto;
    max-width: 100%;
}

.market_tab_card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.market_tab_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.history_tab_list ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.history_tab_list ul li {
    display: inline-block;
    font-size: 16px;
    margin-bottom: 8px;
    color: #111;
}

.history_tab_list ul li:last-child {
    display: block;
}

.history_tab_list ul li span i {
    margin-left: 4px;
}

.amount_time_block h3 {
    font-size: 20px;
    color: green;
    margin-bottom: 5px;
}

.amount_time_block h3 i {
    font-size: 18px;
    color: #111;
    margin-bottom: 5px;
}

.amount_time_block h5 {
    font-size: 15px;
    color: #333;
    letter-spacing: 0.5px;
}

/* PROFILE PAGE STYLING */





@media (max-width: 768px) {
    /* WALLET HISTORY PAGE STYLING */
    .market_tab_grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .amount_time_block {
        text-align: center !important;
    }
}



@media (max-width: 576px) {
    /* HEADER STYLING */
    #dashboard-header .logo img {
        height: 80px;
    }

    #dashboard-header .theme-toggle img {
        height: 30px;
    }

    header .navbar .list-items {
        flex-direction: column;
    }

    header .navbar .list-items li {
        text-align: center;
        padding: 10px;
    }

    /* FOOTER STYLING */
    .footer ul li a span {
        font-size: 10px;
    }

    .footer ul li a .footer-icon {
        width: 28px;
        height: 28px;
    }

    /* PORTFOLIO PAGE STYLING */
    .account-summary {
        padding: 15px;
    }

    .account-summary .value {
        font-size: 20px;
    }

    .portfolio-card {
        text-align: center;
    }

    .futures_lot_size {
        text-align: center !important;
    }

    .btn-danger {
        width: 100%;
        margin-top: 10px;
    }

    /* ACCOUNT PAGE STYLING */
    .logo-card {
        padding: 20px 15px;
    }

    .logo-img img {
        max-width: 100px;
    }

    .nav-link-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-link-item i {
        align-self: flex-end;
        margin-top: 5px;
    }
}

.dNone {
    display: none;
}

.BOTAck {
    position: absolute;
	bottom: 5%;
	left: 5%;
	z-index: 9999;
}

.BOTImg {
	width: 45px;
	margin-left: -20px;
	margin-top: -4px;
}

.transaction-button {
    position: absolute;
    width: 90%; 
    bottom: 10%; 
    left: 5%;   
}

.backwardClass {
    bottom: 12%;
    right: 8%;
}

.backwardClass button {
    width: 60px;
    height: 60px;
    font-size: 24px;
    border-radius: 100%;
    border-color: red;
}

.font-color-goldenBrown {
    color: #a98467 !important;
}