body {
    /* background: linear-gradient(180deg, #1e1e1e, #333); */
    color: #fff;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    /* margin-top: 10px; */
}

.container {
    padding: 0px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.platform-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #f8f8f8;
}

.platform-section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

.platforms {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.platform-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 300px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.platform-card:hover {
    transform: scale(1.00);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.platform-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.platform-card h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.platform-card p {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
}

.bigger-image {
    width: 150%;
    height: auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 100px;
}

.card {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.platform-card {
    display: none;
}

.platform-card.active {
    display: block;
}

.card:hover {
    transform: scale(1.05);
}

.button:hover {
    background: #f0b90b;
}

/* .footer {
    background-color: #222;
    color: #ccc;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
} */

.banner {
    position: relative;
    overflow: hidden;
    margin: 50px 0;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.slide-content {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 5px;
    font-size: 2em;
    text-align: left;
}

.prev,
.next {
    position: absolute;
    top: 60%;
    transform: translateY(calc(-50% + 20px));
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 20px;
    cursor: pointer;
    border-radius: 50%;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.subscription {
    background: #222;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    max-width: 500px;
    margin: 40px auto;
}

#subscribe-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

#email {
    padding: 10px;
    border: 1px solid #444;
    border-radius: 5px;
    outline: none;
    width: 60%;
    min-width: 200px;
}

#subscribe-form button {
    padding: 10px 20px;
    background: #f0b90b;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#subscribe-form button:hover {
    background: #d79b08;
}

.platform-card {
    position: relative;
    background-color: #000;
}

.scaled-image {
    transform: scale(1);
    transform-origin: center;
    display: block;
    margin: 0 auto;
}

.prev-platform,
.next-platform {
    background: none;
    border: none;
    color: white;
    padding: 0;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    font-weight: regular;
}

.prev-platform::after,
.next-platform::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #f0b90b;
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.prev-platform:hover::after,
.next-platform:hover::after {
    transform: scaleX(1);
}

.platform-section {
    background-color: #000;
    padding: 40px 20px;
    border-radius: 10px;
    color: white;
}

/* body {
    padding-top: 55px;
} */

.tab-container {
    text-align: left;
}

.tab {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    background-color: #0e1635;
    color: white;
    border: 1px solid #555;
    border-radius: 5px 5px 0 0;
    margin-right: -1px;
    transition: background-color 0.3s;
    font-weight: normal;
}

.tab.active {
    background-color: #f0b90b !important;
    color: #000;
    font-weight: bold;
}

.tradingview-widget-container {
    display: none;
    width: 100%;
}

.tradingview-widget-container.active {
    display: block;
}

.price {
    margin-left: 10px;
    font-weight: normal;
    font-size: 14px;
    color: #f0b90b;
}

.tab.active .price {
    color: #000;
    font-weight: bold;
}

.trade-section {
    /* background-color: #131722; */
    /* padding: 20px; */
    border-radius: 8px;
    color: white;
    width: 360px;
    height: 1128px;
}

.tabs {
    display: flex;
    width: 100%;
    margin-bottom: 20px;
    height: 30px;
}

.tab {
    flex-grow: 1;
    flex-basis: 0;
    flex-shrink: 0;
    text-align: center;
    padding: 10px;
    background: #131722 !important;
    color: white;
    border: none;
    cursor: pointer;
    margin-right: 1px;
    min-width: 0;
}

.input-group-prepend {
    display: flex;
    justify-content: flex-start;
}

.input-group-text {
    text-align: left;
    width: 100%;
}

.tab:last-child {
    margin-right: 0;
}

.input-group-prepend .input-group-text {
    text-align: left;
    width: auto;
    margin-left: 20px;
}

.slider-container {
    margin: 15px 0;
}

.slider {
    width: 100%;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
}

.sign-up-btn,
.log-in-btn {
    padding: 10px;
    width: 48%;
    border: none;
    cursor: pointer;
    background: #f0b90b;
    color: #fff;
    border-radius: 4px;
}

.log-in-btn {
    background: #555;
}

.trade-container {
    display: flex;
    justify-content: space-between;
    padding: 0px;
    gap: 0px;
}

.chart-section {
    flex-grow: 1;
    height: calc(90vh - 70px);
    max-height: calc(90vh - 70px);
    min-height: 400px;
    /* padding: 4px; */
}


.left-section.split {
    display: flex;
    flex-direction: column;
}

.left-section.split .chart-section {
    min-height: 300px;
}

.left-section.split .table-container {
    min-height: 200px;
}


#tv_chart_container {
    width: 100%;
    height: 100%;
}

.trade-section {
    /*    width: 100%;*/
    padding: 5px 10px 0px 10px;
    border-radius: 8px;
    color: white;
    box-sizing: border-box;
}

.form-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
}

.form-group label {
    /*    width: 200px;*/
    text-align: left;
    font-size: 0.8em;
}

.form-group1 label {
    width: 120px;
    text-align: left;
    font-size: 0.8em;
}

.input-group {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}

.input-group-prepend,
.input-group-append {
    flex-shrink: 0;
}

.input-field {
    background: transparent;
    box-sizing: border-box;
    flex-grow: 1;
    border: none;
    outline: none;
}

.input-number-stepper {
    display: flex;
    flex-direction: column;
    margin-left: 0px;
}

.step-btn {
    cursor: pointer;
    padding: 0px;
    color: #333;
    font-size: 1rem;
}

.input-group-append {
    display: flex;
    align-items: center;
    margin-left: 0;
}

.placeOrder__inputAmountSuffix {
    margin-left: 0;
}

.input-group-prepend,
.input-group-append {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.currency {
    margin-left: 5px;
    font-weight: bold;
}

.buy-sell-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.buy-btn {
    width: 48%;
    padding: 10px;
    font-size: 0.9em;
    background-color: #1D9A6C;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.sell-btn {
    width: 48%;
    padding: 10px;
    font-size: 0.9em;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* .sell-btn {
    background-color: #dc3545;
    width: 100px;
} */

.slider-container {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
}

button:hover {
    background-color: #f0b90b;
}

button:active {
    transform: scale(0.95);
}

.l-list__item {
    width: 100%;
    box-sizing: border-box;
}

.placeOrder__inputAmountValue {
    height: 26px;
    padding: 5px;
    box-sizing: border-box;
    background: #2b2d40;
}

body.light-theme .placeOrder__inputAmountValue {
    height: 26px;
    padding: 5px;
    box-sizing: border-box;
    /* background: #cbcbcb; */
    background: #fff !important;
    border: 1px solid #adadad;
    border-radius: 5px;
    margin-left: 10px;
    outline: none;
    font-size: 1em;
}

body.light-theme .placeOrder__inputAmountValue:focus {
    box-sizing: border-box;
    border: 1px solid #000;
    outline: none;
}

body.dark-theme .placeOrder__inputAmountValue {
    height: 26px;
    padding: 5px;
    box-sizing: border-box;
    border: 0;
    border-radius: 5px;
    margin-left: 10px;
    outline: none;
    font-size: 1em;
}

body.dark-theme .placeOrder__inputAmountValue:focus {
    box-sizing: border-box;
    border: 1px solid #fff;
    outline: none;
}

body.light-theme .input-number-stepper .step-btn {
    /* background: #cbcbcb; */
    background: #fff;
    color: #726e8e;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 13px;
    border: none;
    padding: 0;
    box-sizing: border-box;
}

.input-number {
    color: #fff;
    width: 16ch;
    padding: 5px;
    box-sizing: border-box;
    border: none;
}

body.light-theme .input-number {
    color: #000;
}

.order-type {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

.amountValue {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.order-type-btn {
    flex: 1;
    text-align: center;
    padding: 10px;
    background-color: #131722;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: normal;
    border: 1px solid #f0b90b;
}

.order-type-btn.active {
    background-color: #f0b90b;
    color: #000;
    font-weight: bold;
}

.order-type-btn:hover {
    background-color: #cfb439;
}

.order-type-btn.active:hover {
    background-color: #f0b90b;
    cursor: default;
}

.input-number-stepper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 26px;
}

.input-number-stepper .step-btn {
    background: #2b2d40;
    color: #514d6c;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 13px;
    border: none;
    padding: 0;
    box-sizing: border-box;
    width: 15px;
}

.input-number-stepper .step-btn:hover {
    /* background-color: #ffffff;  */
    color: #ffd000;
}

body.light-theme {
    background: #f8f8f8;
    color: #333;
}

body.light-theme .button:hover {
    background: #ff954e;
}

body.light-theme .platform-card {
    background: #ffffff;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

body.light-theme .menu-item {
    color: #333;
}

body.light-theme .menu-item:hover {
    color: #f0b90b;
}

body.light-theme .footer {
    background-color: #f0f0f0;
    color: #333;
}

body.light-theme .trade-section {
    background-color: #f8f8f8;
    color: #333;
    border: 1px solid #ccc;
}

body.light-theme .buy-btn {
    background: #1d9a6c;
    color: white;
}

body.light-theme .sell-btn {
    background: #e53e3e;
    color: white;
}

body.light-theme .sell-btn:hover {
    background: #8a2222;
    color: white;
}

body.light-theme .tab {
    background-color: #ffffff !important;
    border: 2px solid #9e9e9e;
    color: #000;
}

body.light-theme .price {
    color: #b63400;
}

body.light-theme .tab.active {
    /* background: rgb(255, 155, 88)!important; */
    border-left: 3px solid #ff954e;
    border-right: 3px solid #ff954e;
    border-top: 4px solid #ff954e;
    color: #000;
}

body.light-theme .order-type-btn.active {
    background-color: #ff954e;
    color: #000;
    font-weight: bold;
}

.slider-container {
    position: relative;
    width: 98%;
    margin-top: 10px;
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffc400;
    cursor: pointer;
}

.slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: transparent;
    border-radius: 5px;
}

.slider::-moz-range-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: transparent;
    border-radius: 5px;
}

body.light-theme .slider {
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: #cfd8dc;
    border-radius: 5px;
    outline: none;
    transition: background 0.3s;
}

body.light-theme .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff9148;
    cursor: pointer;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

body.light-theme .slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff9c50;
    cursor: pointer;
}

body.light-theme .order-type-btn {
    flex: 1;
    text-align: center;
    padding: 10px;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    border: 1px solid #000000;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: normal;
}

body.light-theme .order-type-btn:hover {
    /* border-color: #ff6600; */
    background-color: #ffa96f;
}

.auto-sell h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.toggle-buttons {
    gap: 10px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0;
}

.toggle-btn {
    flex-grow: 1;
    background-color: #ffc400;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1em;
}

.toggle-btn.active {
    background-color: #ff6600;
}

.toggle-btn:hover {
    background-color: #ff8600;
}

.calc-btn {
    width: 100%;
    background-color: #ff6600;
    border: 1px solid #ff6600;
    color: white;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    margin: 20px 0;
    font-size: 1.1em;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.calc-btn:hover {
    background-color: #ffa96f;
    color: #000;
}

.pricing {
    /* background-color: #2e6c91; */
    padding: 15px;
    border-radius: 10px;
}

.fybit-index {
    display: flex;
    justify-content: space-between;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    padding: 5px 0;
    border-bottom: 1px solid rgba(108, 158, 191, 0.5);
}

body.light-theme .pricing-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    padding: 5px 0;
    /* border-bottom: 2px solid #ffffff; */
    border-bottom: 2px solid #d9d9d9;
}

.pricing-list li span {
    font-weight: bold;
}

body.dark-theme .section {
    /* background-color: #1e1e1e; */
    color: white;
}

body.dark-theme .pricing {
    /* background-color: #2e2e2e; */
}

body.dark-theme .toggle-btn {
    background-color: #131722;
    border: 1px solid #ff6600!important;
    color: white;
    border: 1px solid #333;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

body.dark-theme .toggle-btn.active {
    background-color: #ff6600;
    border: 1px solid #000000;
    color: #fff !important;
}

body.dark-theme .toggle-btn:hover {
    color: #000;
}

body.light-theme .section {
    background-color: #f8f8f8;
    color: #333;
}

body.light-theme .pricing {
    background-color: #e0e0e0;
}

body.light-theme .toggle-btn {
    background-color: #cfd8dc;
    color: #000;
    border: 1px solid #cfd8dc;
}

body.light-theme .toggle-btn.active {
    background-color: #ff954e;
    border: 1px solid #000000;
}

body.light-theme .calc-btn {
    background-color: #ff954e;
    color: #000000;
    border: 1px solid #000000;
}

body.light-theme .calc-btn:hover {
    background-color: #f48338;
}

.toggle-buttons .toggle-btn:hover {
    background-color: #ffa96f;
}

body.light-theme .toggle-btn {
    background-color: #e0e0e0;
}

.graphic__nav_info {
    display: flex;
    justify-content: space-between;
}

.custom-balance {
    display: flex;
    gap: 5px;
    position: relative;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
}

.balance-text {
    display: inline-block;
    font-weight: 300;
}

.balance-text span {
    font-size: 14px;
    font-weight: 500;
}

.arrow-down {
    display: inline-block;
}

.balance-dropdown.open {
    display: block;
}

.balance-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    border: none;
    padding: 10px;
    background-color: transparent;
}

.balance-dropdown p {
    margin: 0;
}

.balance-item {
    cursor: pointer;
    padding: 5px 0;
}

.form-groupminmax {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.form-groupminmax label {
    margin: 0;
}

.graphic__nav_minmax {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.graphic__nav_min,
.graphic__nav_max {
    display: flex;
    align-items: center;
}

.graphic__nav_min p,
.graphic__nav_max p {
    margin-left: 5px;
}

.tab-content,
.tab-content .form-group label,
.tab-content .form-group1 label,
.tab-content .form-groupminmax label {
    font-size: calc(100% - 1px);
    margin-top: 10px;
}

.form-group .balance,
.form-group1 .balance {
    margin-left: 0;
    padding-left: 0;
}

.form-group1 {
    margin-bottom: 10px;
}

.common.text.amount {
    text-align: left;
}

.placeOrder__leverage {
    /* margin: 15px 0; */
    margin: 0;
    margin-top: 20px;
}

.leverageBar {
    position: relative;
    width: 100%;
    height: 50px;
}

.leverageBar__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.light-theme .leverageBar__positionsItem::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -4px;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #cfcfcf;
    border-radius: 50%;
    border: 2px solid #ffffff;
    transition: background-color 0.3s, border-color 0.3s;
}

.leverageBar__positionsItem {
    position: relative;
    text-align: center;
    flex: 1;
}

.leverageBar__positionsItemMark {
    opacity: 0;
    position: absolute;
    cursor: pointer;
}

.leverageBar__positionsItemTitle {
    margin-top: 12px;
}

.leverageBar__positionsItemMark:checked+.leverageBar__positionsItemTitle::after {
    content: '';
    position: absolute;
    top: -13.99px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ffbf00;
}

.leverageBar__line {
    transition: background-color 0.3s ease;
    height: 15px;
    border-radius: 5px;
}

.leverageBar__line {
    height: 15px;
    background-color: rgb(49, 60, 112);
    transition: background-color 0.3s ease;
}

.leverageBar__positionsItem:hover::before {
    border-color: #ff6a00;
    border: 3px solid #ffd000;
}

.leverageBar__line {
    position: absolute;
    top: -6px;
    left: 0;
    right: 0;
    height: 15px;
    background-color: #2a2b2f;
    border-radius: 5px;
}

.leverageBar__line {
    transition: background-color 0.3s ease;
}

body.light-theme .leverageBar__line {
    position: absolute;
    top: -6px;
    left: 0;
    right: 0;
    height: 15px;
    background-color: #cfcfcf;
    border-radius: 5px;
}

.buy-btn active :hover {
    background: #1e6d28;
}

.buy-sell-buttons :hover {
    background: #962530;
}

.buy-btn.active:hover {
    background: #0f6f39;
}

.sell-btn:hover {
    background: #962530;
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #ff892e 0%, rgba(108, 158, 191, 0.3) 0%);
    border-radius: 5px;
    outline: none;
    transition: background 0.3s;
    width: calc(100% - 20px);
    margin-left: 10px;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffc400;
    cursor: pointer;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    color: #888;
    max-width: calc (98%+ 20px);
    padding: 0 10px;
    font-size: 1em;
}

.slider-labels span {
    display: inline-block;
    text-align: center;
    width: 20px;
    white-space: nowrap;
}

.slider-tooltip {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffc400;
    color: #131722;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    pointer-events: none;
    /* transition: opacity 0.2s ease; */
    white-space: nowrap;
    z-index: 10;
}

.slider-tooltip::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #ffc400;
}

.slider-tooltip.show {
    opacity: 1;
}

body.light-theme .slider-tooltip {
    background: #ff9148;
    color: #fff;
}

body.light-theme .slider-tooltip::after {
    border-bottom-color: #ff9148;
}

.table-container {
    /* background-color: #222; */
    border-radius: 10px;
    padding: 0px;
    overflow-x: auto;
    width: auto;
}

.positions-table {
    width: auto;
    border-collapse: collapse;
    table-layout: auto;
}

.positions-table th,
.positions-table td {
    padding: 10px;
    border: 1px solid #555;
    text-align: left;
}

.positions-table td {
    border: 1px solid #000000;
}

.positions-table th:nth-child(6),
.positions-table td:nth-child(6),
.positions-table th:nth-child(7),
.positions-table td:nth-child(7) {
    /* width: auto; */
    text-align: center;
}

.positions-table th {
    background-color: #333;
    color: #f0b90b;
}

.positions-table td {
    background-color: #222;
    color: #fff;
}

.positions-table input[type="text"] {
    width: 70%;
    padding: 5px;
    color: #fff;
    border-radius: 5px;
    font-size: 15px;
}

.positive {
    color: #1D9A6C;
}

.negative {
    color: #dc3545;
}

.trade-container {
    display: flex;
    flex-direction: column;
}

.chart-section {
    width: 958px;
}

.trade-layout {
    display: flex;
    align-items: flex-start;
}

.left-section {
    flex: 4;
    display: flex;
    flex-direction: column;
}

.table-container {
    /* background-color: #222; */
    border-radius: 10px;
    padding: 20px;
    overflow-x: auto;
    width: auto;
    margin-right: -5px;
}

.positions-table {
    border-collapse: collapse;
}

.positions-table th,
.positions-table td {
    padding: 10px;
    border: 1px solid #3b3b3b;
    text-align: center;
    font-size: 15px;
    /* width: auto; */
}

.positions-table th {
    background-color: #333;
    color: #f0b90b;
}

.positions-table td {
    background-color: #222;
    color: #fff;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 150px;
    max-width: 150px;
    background-color: #2b2d40;
    border: 1px solid #555;
    border-radius: 5px;
    padding: 0 8px;
    box-sizing: border-box;
    height: 40px;
    margin: 0 auto;
    overflow: hidden;
}

body.light-theme .input-wrapper {
    background-color: #ffffff;
    border: 1px solid #adadad;
}

.input-wrapper:hover {
    border: 1px solid #ffffff;
    background-color: #191a24;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.input-field::placeholder {
    color: #ccc;
}

body.light-theme .input-field::placeholder {
    color: #595959;
}

.input-icons {
    display: flex;
    gap: 3px;
    margin-left: auto;
    flex-shrink: 0;
    align-items: center;
    width: 45px;
    justify-content: flex-end;
}

.input-icons i {
    cursor: pointer;
    padding: 2px;
    border-radius: 3px;
    font-size: 12px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.input-icons i:hover {
    background-color: rgba(255, 217, 0, 0.2);
    opacity: 1;
}


.input-icons .fa-pencil-alt {
    color: #a0a0a0;
}

.input-icons .fa-times {
    color: #dc3545;
}

.input-icons .fa-trash {
    color: #7d736c;
}


body.light-theme .input-icons .fa-pencil-alt {
    color: #4e4e4e;
}

body.light-theme .input-icons .fa-times {
    color: #dc3545;
}

body.light-theme .input-icons .fa-trash {
    color: #495057;
}

body.light-theme .input-icons i:hover {
    background-color: rgba(255, 217, 0, 0.3);
}



.input-wrapper.editing .input-icons i {
    opacity: 1 !important;
}


.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper .input-field {
    flex: 1;
    margin-right: 5px;
}




.input-field:focus {
    outline: none;
}

body.light-theme .input-field:focus {
    outline: none;
}

td {
    padding: 5px;
    border: 1px solid rgba(108, 158, 191, 0.5);
}

.positions-table .sell-btn {
    background-color: transparent;
    color: #fff;
    border: 1px solid #dc3545;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100px;
    height: 40px;
    display: block;
    margin: 0 auto;
}

.positions-table .sell-btn:hover {
    background-color: #dc3545;
    color: white;
    transform: scale(1.05);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

body.light-theme .table-container {
    background-color: #f8f8f8;
}

body.light-theme .positions-table {
    background-color: #ffffff;
}

body.light-theme .positions-table th {
    background-color: #e4e3e3;
    color: #333;
    text-align: center;
    border: 2px solid #e8e8e8;
}

body.light-theme .positions-table td {
    background-color: #ffffff;
    color: #333;
    border: 1px solid #e0e0e0;
    text-align: center;
}

body.light-theme .positions-table input[type="text"] {
    width: 80%;
    padding: 5px;
    color: #333;
    background-color: #f9f9f9;
    border-radius: 5px;
    text-align: center;
}

body.light-theme .positions-table .sell-btn {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    border: 2px solid rgb(206, 157, 157);
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

body.light-theme .positions-table .sell-btn:hover {
    background-color: #ff4a3a;
    transform: scale(1.05);
}

.sell-limit-btn {
    background-color: #ff954e;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-left: 5px;
}

.sell-limit-btn:hover {
    background-color: #e8843d;
}

body.light-theme .sell-limit-btn {
    background-color: #ff954e;
    color: #fff;
}

body.light-theme .sell-limit-btn:hover {
    background-color: #e8843d;
}

body.light-theme .positions-table .positive {
    color: #1d9a6c;
}

body.light-theme .positions-table .negative {
    color: #e53e3e;
}

body.dark-theme .positions-table .positive {
    color: #1d9a6c;
}

body.dark-theme .positions-table .negative {
    color: #e53e3e;
}

body.light-theme .input-icons i {
    font-size: 12px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

body.light-theme .input-icons i:hover {
    color: #ff9148;
    transform: scale(1.2);
}


.mobile-layout {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
}

.chart-section {
    width: 100%;
    height: auto;
}

.order-section,
.positions-section {
    display: flex;
    flex: 1;
    height: 50vh;
}

.positions-section {
    overflow-x: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
}

.positions-section .card {
    min-width: 250px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    background-color: #f9f9f9;
}

.positions-section .card span {
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

.positions-section .card span .value {
    color: green;
    font-weight: bold;
}

.mobile-positions {
    display: none;
}


.mobile-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 360px;
    /*    gap: 10px; 
    padding: 10px;
    background-color: #161928;*/
}

/* body.light-theme .mobile-container {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
      
        padding-left: 5px;
        background-color: #d6d6d6;
    } */

.mobile-positions {
    width: 50%;
    max-width: 100%;
    display: none; 
    border: 1px solid #241f3d;
    border-radius: 5px;
}

body.light-theme .mobile-positions {
    width: 50%;
    max-width: 100%;
    border: 1px solid #c4c4c4;
}

.mobile-table {
    width: 100%;
    font-size: 15px;
    border-collapse: collapse;
    color: #cfcfcf;
    border: 1px solid #3b3b3b;
}

.mobile-table th,
.mobile-table td {
    padding: 10px;
    text-align: center;
    border: 5px solid transparent;
    border-radius: 5px;
}

.tab-mobile-active {
    display: inline-block;
    padding: 8px 20px;
    background-color: #f0b90b;
    color: #000;
    font-weight: bold;
    margin-bottom: 0px;
    border-radius: 5px 5px 0 0;
    margin-top: 10px;
}

body.light-theme .tab-mobile-active {
    display: inline-block;
    padding: 8px 20px;
    background-color: rgb(255, 155, 88);
    color: #000;
    font-weight: bold;
    margin-bottom: 0px;
    border-radius: 5px 5px 0 0;
    margin-top: 10px;
}

.tab-mobile-bar {
    display: flex;
    align-items: flex-end;
}

.tab-mobile {
    display: inline-block;
    padding: 10px 20px;
    background-color: #141323;
    color: #fff;
    margin: 0;
    border: 1px solid #5a5a5a;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    transition: background-color 0.3s;
}


body.light-theme .tab-mobile {
    display: inline-block;
    padding: 10px 20px;
    background-color: #e1e1e1;
    color: #000000;
    margin: 0;
    border: 1px solid #e3e3e3;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

body.light-theme .mobile-table {
    color: #333;
    border: 1px solid #ddd;
}

body.light-theme .mobile-table th,
body.light-theme .mobile-table td {
    background-color: #fff;
    color: #333;
    border: 1px solid #ffffff;
}

.change {
    font-size: 14px;
}

.change-n {
    color: #c12e2e;
    font-size: 14px;
}

.custom-hr {
    border: none;
    height: 4px;
    margin: 10px 0;
    background: linear-gradient(to right, transparent, #5d5d5d, transparent);
}

body.light-theme .custom-hr {
    background: linear-gradient(to right, transparent, #9e9e9e, transparent);
}

.green-arrow {
    color: #1D9A6C;
}

body.light-theme .green-arrow {
    color: #0DA450;
}

.percentage-change {
    color: #1D9A6C;
    font-weight: 800 !important;
}

body.light-theme .percentage-change {
    color: #0DA450 !important;
}

.move-right {
    transform: translateX(-2px);
}

.step-btn.--up2 {
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease;
    transform: translateX(-2px);
}

.step-btn.--down2 {
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease;
    transform: translateX(-2px);
}

.step-btn.--up2 i,
.step-btn.--down2 i {
    margin: 0;
}

.search-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #131722;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(108, 158, 191, 0.5);
    margin: 20px auto;
    max-width: auto;
    min-width: 900px;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); */
}


body.light-theme .search-container {
    background-color: #ffffff;
    color: #000;
}

.search-container label {
    font-size: 14px;
    color: #fff;
    margin-right: 10px;
}

.search-container input[type="date"],
.search-container select,
.search-container input[type="text"] {
    /* background-color: #2b2d40; */
    background-color: #131722 !important;
    color: #fff;
    border: 1px solid #525252;
    border-radius: 5px;
    padding: 8px;
    font-size: 14px;
    width: auto;
    transition: all 0.3s ease;
}

.search-container input[type="date"]:focus,
.search-container select:focus,
.search-container input[type="text"]:focus {
    outline: none;
    border-color: #f0b90b;
    box-shadow: 0 0 5px rgba(240, 185, 11, 0.5);
}

.search-container button {
    padding: 8px 20px;
    background-color: #131722;
    color: #fff;
    border: 1px solid #f0b90b;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 120px;
}

.search-container button:hover {
    background-color: #f0b90b;
    color: #000;
    transform: scale(1.05);
}

.search-container .currency {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #222 !important;
}

body.light-theme .search-container .currency {
    background-color: white !important;
}

/* .search-container .currency {
    background-color: rgb(72, 72, 72)!important;
} */

.search-container .amount {
    display: flex;
    align-items: center;
    gap: 5px;
}


body.light-theme .search-container input[type="date"],
.search-container select,
.search-container input[type="text"] {
    background-color: #ffffff !important;
    color: #000000;
    border: 1px solid #525252;
    border-radius: 5px;
    padding: 8px;
    font-size: 14px;
    width: auto;
    transition: all 0.3s ease;
}

/* .search-container select, .search-container input[type="text"] {
    background-color: #222;
    color: #000000;
    border: 1px solid #525252!important;
    border-radius: 5px;
    padding: 8px;
    font-size: 14px;
    width: auto;
    transition: all 0.3s ease;
} */

body.light-theme .search-container button {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #000000;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 120px;
}

.search-container .amount span {
    color: #fff;
    font-size: 14px;
}

.positions-table {
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
}

.positions-table th,
.positions-table td {
    padding: 10px;
    border: 1px solid rgba(108, 158, 191, 0.5);
    text-align: left;
}

.positions-table th {
    background-color: #131722;
    color: #f0b90b;
}

.positions-table td {
    background-color: #131722;
    color: #fff;
}

.cancel-button {
    background-color: transparent;
    color: #fff;
    border: 1px solid #dc3545;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100px;
    height: 40px;
}

.cancel-button:hover {
    background-color: #dc3545;
    color: #fff;
    transform: scale(1.05);
}

.cancel-button:active {
    background-color: #962531;
    transform: scale(0.95);
}

body.light-theme .cancel-button {
    color: #000000;
}

.currency {
    display: flex;
    align-items: center;
    gap: 0 !important;
}

.currency select {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right: none;
}

.currency input {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-left: none;
}

.currency {
    display: flex;
    align-items: center;
    gap: 0;
}

.currency select,
.currency input {
    height: 40px;
    font-size: 16px;
    line-height: 1;
    padding: 0 10px;
    border: 1px solid #333;
    box-sizing: border-box;
}

.currency select {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.currency input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none;
    margin-right: 20px;
    height: 40px;
}

.search-container input[type="date"],
.search-container select,
.search-container input[type="text"] {
    background-color: #222;
}

.dropdown-container {
    position: relative;
    display: inline-block;
    /* margin-bottom: 20px; */
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.dropdown-header {
    background-color: #161928;
    color: #fff;
    padding: 10px;
    font-size: 12px;
    border: 1px solid #555;
    width: 100%;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #161928;
    width: auto;
    z-index: 1000;
    border: 1px solid rgba(108, 158, 191, 0.5);
    max-height: calc(100vh - 150px);
    min-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    scroll-behavior: smooth;
    overscroll-behavior: contain;
}


.dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: #2a2d47;
    border-radius: 4px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(108, 158, 191, 0.5);
    border-radius: 4px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(108, 158, 191, 0.7);
}

/* Light theme scrollbar */
body.light-theme .dropdown-menu::-webkit-scrollbar-track {
    background: #f0f0f0;
}

body.light-theme .dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(108, 158, 191, 0.6);
}

body.light-theme .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(108, 158, 191, 0.8);
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #777;
}

.dropdown-menu table {
    width: 100%;
    border-collapse: collapse;
}

.dropdown-menu th,
.dropdown-menu td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid rgba(108, 158, 191, 0.5);
    color: #fff;
    white-space: nowrap;
}

.dropdown-menu th {
    cursor: pointer;
    background-color: #161928;
    font-size: 14px;
}

.sort-arrow {
    font-size: 12px;
    margin-left: 5px;
    color: #aaa;
    transition: color 0.3s ease;
}

.sort-arrow.sort-asc {
    color: #4CAF50;
}

.sort-arrow.sort-desc {
    color: #f44336;
}

.dropdown-menu th {
    user-select: none;
    transition: background-color 0.2s ease;
}

.dropdown-menu th:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

body.light-theme .dropdown-menu th:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.dropdown-menu td.positive {
    color: #1D9A6C;
}

.dropdown-menu td.negative {
    color: #dc3545;
}

.dropdown-menu td.neutral {
    color: #aaa;
}

.dropdown-container .current-coin:hover ~ .dropdown-menu:not(.force-hidden),
.dropdown-container .dropdown-menu:hover:not(.force-hidden) {
    display: block;
}

.dropdown-menu.force-hidden {
    display: none !important;
}


.dropdown-container:hover .dropdown-menu[style*="display: block"]:not(.force-hidden) {
    display: block !important;
}

.crypto-info {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #ccc;
}

.crypto-info span {
    display: flex;
    align-items: center;
}

.crypto-info .positive {
    color: #1D9A6C;
}

.crypto-info .negative {
    color: #dc3545;
}

.dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    box-sizing: border-box;
    color: #fff;
    border: 1px solid #444;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
}


.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #161928;
    color: #fff;
    border: 1px solid rgba(108, 158, 191, 0.5);
    box-sizing: border-box;
    font-size: 12px;
}

.left-section-dropdown {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.current-coin {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.current-coin .favorite-star,
.current-coin .favorite-star-outline {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.right-section-dropdown {
    display: flex;
    font-size: 1rem;
    gap: 5px;
    align-items: flex-end;
}



.right-section-dropdown .positive{
    font-weight: 700 !important;
}
.right-section-dropdown .negative{
    font-weight: 700 !important;
}


.mobile-stats-grid {
    display: none;
}

.positive {
    color: #1D9A6C;
}

.negative {
    color: #dc3545;
}
.bold {
    font-weight: 700;
}

body.light-theme .dropdown-container {
    background-color: #ffffff;
    color: #333;
    border: 1px solid #ccc;
}

body.light-theme .dropdown-header {
    background-color: #f9f9f9;
    color: #000;
    border: 1px solid #ddd;
}

body.light-theme .dropdown-menu {
    background-color: #ffffff;
    color: #333;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - 150px);
    min-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
    position: absolute;
}

body.light-theme .dropdown-menu th {
    background-color: #f0f0f0;
    color: #333;
}

body.light-theme .dropdown-menu td {
    color: #555;
    border-bottom: 1px solid #c8c8c8;
    border-right: 1px solid #c8c8c8;
    border-left: 1px solid #c8c8c8;
    border-top: 1px solid #c8c8c8;
}

body.light-theme .dropdown-menu td.positive {
    color: #1D9A6C;
}

body.light-theme .dropdown-menu td.negative {
    color: #dc3545;
}

body.light-theme .dropdown-menu td.neutral {
    color: #777;
}


body.light-theme .dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
}

body.light-theme .dropdown-menu::-webkit-scrollbar-thumb {
    background: #ccc;
}

body.light-theme .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

body.light-theme .crypto-info {
    color: #555;
}

body.light-theme .crypto-info .positive {
    color: #1D9A6C;
}

body.light-theme .crypto-info .negative {
    color: #dc3545;
}

.gray-text {
    color: gray;
}

.small-text {
    font-size: 12px;
    vertical-align: middle;
}

body.light-theme .tab-btn.active {
    background-color: #ff954e;
    color: #000000;
    border: 1px solid #000000;
    cursor: pointer;
}


/* body.light-theme .trade-section {
    width: 300px;
    padding: 5px 0px 0px 10px;
   
    border-radius: 8px;
    
    box-sizing: border-box;
}  */

body.light-theme .table-container {
    padding-right: 0px;
    margin-right: 0px;
    padding: 20px;
    margin-right: -5px;
}

body.light-theme .pricing {
    background-color: white;
}

/* body.light-theme .trade-section {
    margin-top: 4px !important;
    /* padding-top:0px; */
/* height: 1150px; */
/* padding-right: 5px; */
/* margin-right:5px; */
/* padding: 0px 0px 0px 0px; */
/* } */

/* body.light-theme .trade-section {
    width: 300px!important;
} */

/* body.light-theme .l-list {
    width: 288px !important;
} */

body.light-theme .trade-section {
    border-color: #f8f8f8;
    
}

.chart-section {
    width: auto !important;
}

.coin-item-select {
    cursor: pointer;
}


.calc-tabs-container {
    /* margin-bottom: 15px; */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
}

.tab-btn {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    margin-right: 10px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}

body.light-theme .tab-btn {
    background-color: #cfcfcf;
    color: #000000;
    border: 1px solid #000000;
}

body.light-theme .tab-btn:hover {
    background-color: #ff954e;
    color: #000000;
}

.tab-btn.active {
    background-color: #f0b90b;
    color: #000;
    font-weight: bold;
}

.tab-btn:hover {
    background-color: #484848;
}

.tab-content {
    display: block;
}

.tab-content.active {
    display: block;
}

.tab-content.hidden {
    display: none;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    /* margin-bottom: 15px; */
}

.calc-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.calc-column input {
    width: 100%;
    padding: 5px;
    border: 1px solid #555;
    border-radius: 4px;
    background-color: #2b2d40;
    color: #fff;
}

body.light-theme .calc-column input {
    background-color: #f9f9f9;
    color: #333;
    border: 1px solid #ccc;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-overlay.active {
    display: flex;
}

.calc-modal {
    background-color: #222;
    border-radius: 10px;
    padding: 20px;
    width: 900px;
    max-width: 90%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    /* gap: 15px; */
}

html[lang="es"] .calc-modal {
    width: auto;
    max-width: 900px;
}

body.light-theme .calc-modal {
    background-color: #f8f8f8;
    color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.calc-header {
    display: flex;
    /* justify-content: space-between; */
    /* align-items: center; */
    /* margin-bottom: 10px; */
    /* border-bottom: 1px solid #3b3b3b; */
    /* padding-bottom: 10px; */
    justify-content: center;
}

.calc-header .title {
    font-size: 16px;
    color: #f0b90b;
}

body.light-theme .calc-header .title {
    color: #000000;
}

.calc-header .close-btn {
    background: none;
    border: 1px solid #dc3545;
    border-radius: 5px;
    color: #fff;
    font-size: 18px;
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: auto !important;
    height: 33px;
}

.close-btn {
    margin: 0px !important;
    height: 37px;
}

.calc-header .close-btn:hover {
    background-color: #dc3545;
    transform: scale(1.05);
}

body.light-theme .calc-header .close-btn {
    border: 2px solid rgb(206, 157, 157);
    color: #333;
}

body.light-theme .calc-header .close-btn:hover {
    background-color: #ff4a3a;
    color: #fff;
}

.calc-body {
    display: flex;
    gap: 20px;
}

.calc-left,
.calc-right {
    flex: 1;
    background-color: #222;
    border: 1px solid #3b3b3b;
    border-radius: 5px;
    padding: 10px;
}

.calc-left {
    flex: 2, 5;
    margin-right: 10px;
    background-color: #222;
    border: 1px solid #3b3b3b;
    border-radius: 5px;
    padding: 10px;
    justify-content: center;
    align-items: center;
}

.calc-right {
    flex: 1;
    width: 500px;
}

body.light-theme .calc-left,
body.light-theme .calc-right {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
}

.calc-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.calc-table th,
.calc-table td {
    padding: 10px;
    border: 1px solid #3b3b3b;
    text-align: center;
    background-color: #222;
    color: #fff;
    white-space: nowrap;
}

.calc-table th {
    background-color: #333;
    color: #f0b90b;
}

body.light-theme .calc-table th,
body.light-theme .calc-table td {
    background-color: #ffffff;
    color: #333;
    border: 1px solid #e0e0e0;
}

body.light-theme .calc-table th {
    background-color: #e4e3e3;
    color: #333;
}

.calc-tabs {
    display: flex;
    margin-bottom: 10px;
    justify-content: center;
    align-items: center;
}

.calc-tab {
    padding: 8px 16px;
    cursor: pointer;
    width: 150px;
    text-align: center;
    margin-right: 10px;
    background-color: #333;
    color: #f0b90b;
    border: 1px solid #3b3b3b;
    transition: background-color 0.3s;
    border-radius: 5px;
}

.calc-tab.active {
    background-color: #f0b90b;
    color: #000;
}

.calc-tab:hover {
    background-color: #484848;
    color: #fff;
}

body.light-theme .calc-tab {
    background-color: #e4e3e3;
    color: #333;
    border: 1px solid #000000;
}

body.light-theme .calc-tab.active {
    background-color: #ff954e;
    color: #000000;
    border: 1px solid #000000;
}

body.light-theme .calc-tab:hover {
    background-color: #ff954e;
    color: #000;
}

.calculate-btn {
    background-color: transparent;
    color: #fff;
    border: 1px solid #f0b90b;
    border-radius: 5px;
    padding: 10px;
    width: 150px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.calc-footer-left {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.calculate-btn:hover {
    background-color: #f0b90b;
    color: #000;
    transform: scale(1.05);
}

body.light-theme .calculate-btn {
    background-color: #ff954e;
    color: #000000;
    border: 1px solid #000000;
    cursor: pointer;
}

body.light-theme .calculate-btn:hover {
    background-color: #f48338;
}

.calc-table input[type="text"],
.calc-table input[type="number"] {
    width: 80px;
    border-radius: 4px;
    border: 1px solid #555;
    background-color: #2b2d40;
    color: #fff;
    padding: 5px;
    text-align: center;
}

.calc-table input[type="text"]::placeholder,
.calc-table input[type="number"]::placeholder {
    color: #ccc;
}

body.light-theme .calc-table input[type="text"],
body.light-theme .calc-table input[type="number"] {
    background-color: #f9f9f9;
    color: #333;
    border: 1px solid #adadad;
}

body.light-theme .calc-table input[type="text"]::placeholder,
body.light-theme .calc-table input[type="number"]::placeholder {
    color: #595959;
}

.calc-results {
    text-align: left;
}

.calc-results p {
    /* margin: 8px 0; */
    font-size: 15px;
    text-align: left;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 5px 0;
}

.calc-results p span:first-child {
    font-weight: bold;
    color: #f0b90b;
    text-align: left;
    min-width: 80px;
    display: inline-block;
}

.calc-results p span:not(:first-child) {
    font-weight: normal;
    color: #fff;
    text-align: left;
    margin-left: 5px;
}

body.light-theme .calc-results p span:first-child {
    color: #000000;
    text-align: left;
}

body.light-theme .calc-results p span:not(:first-child) {
    color: #333;
    text-align: left;
}


.tab-order-content {
    display: block;
}

/*.tab-content {
    display: none;
}*/

.tab-content.active {
    display: block;
}

.tab-btn {
    cursor: pointer;
    padding: 10px 20px;
    margin-right: 5px;
}

.tab-btn.active {
    background-color: #f0b90b;
    color: #000;
}

.calc-body h3 {
    text-align: center;
    margin: 10px;
}

.custom-select {
    position: relative;
    display: inline-block;
    width: 150px;
    font-family: 'Arial', sans-serif;
}

.custom-select select {
    display: none;
}

.select-selected {
    background-color: #222;
    color: #f0b90b;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #3b3b3b;
    border-radius: 5px;
    cursor: pointer;
    text-align: center !important;
    transition: background-color 0.3s ease;
    height: 14px;
}

.select-selected:hover {
    background-color: #f0b90b;
    color: #000;
}

.select-items {
    position: absolute;
    background-color: #333;
    border: 1px solid #3b3b3b;
    border-radius: 5px;
    width: 100%;
    z-index: 99;
    display: none;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
    max-height: 200px;
    overflow-y: auto;
}

.select-items div {
    padding: 10px;
    color: #fff;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}

.select-items div:hover {
    background-color: #f0b90b;
    color: #000;
}

.select-items.show {
    display: block;
}

body.light-theme .select-selected {
    background-color: #f8f8f8;
    color: #333;
    border: 1px solid #ccc;
}

body.light-theme .select-items {
    background-color: #fff;
    border: 1px solid #ddd;
    max-height: 200px;
    overflow-y: auto;
}

body.light-theme .select-items div {
    color: #333;
}

body.light-theme .select-items div:hover {
    background-color: #ffa800;
    color: #fff;
}

.tab-container {
    text-align: left;
}

.tab {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    background-color: #333;
    color: white;
    border: 1px solid rgba(108, 158, 191, 0.5);
    margin-bottom: -10px;
    padding-bottom: 17px;
    transition: background-color 0.3s, border-color 0.3s;
}

.tab:last-child {
    border-right: 1px solid #666;
}

.tab.active {
    color: #000;
    background-color: #484848;
    font-weight: bold;
    margin-bottom: -10px;
}

.tradingview-widget-container {
    display: none;
    width: 100%;
}

.tradingview-widget-container.active {
    display: block;
}

.calc-body h3 {
    font-weight: normal
}

.calc-tab-switcher {
    justify-content: center;
}

.sell-price {
    margin-top: 190px!important;
}

.account-email {
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    margin-top: 3px;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.light-theme .account-email {
    background-color: #e0e0e0;
}

body.dark-theme .account-email {
    background-color: #131722;
    border: 1px solid rgba(108, 158, 191, 0.5);
}

.current-coin {
    font-size: 1.4em;
    margin-right: 20px;
    font-weight: 600;
    align-items: center;
    display: flex;
    cursor: pointer;
}

.current-coin span {
    font-size: 0.7em;
    position: relative;
    /* top: -1px; */
    margin-left: 10px;
}

.coin-item {
    font-weight: 600;
}

.current-coin img,
.coin-item-select img {
    vertical-align: middle;
    margin-right: 5px;
    width: 25px;
}

.gutter {
    background-color: rgba(0, 0, 0, 0.2);
    background-repeat: no-repeat;
    background-position: 50%;
}

.gutter.gutter-vertical {
    cursor: s-resize;
    height: 7px !important;
    width: 100% !important;
    margin: 5 auto;
    transition: background-color 0.3s ease;
    position: relative;
}

body.dark-theme .gutter {
    background-color: rgba(108, 158, 191, 0.5);
}

.gutter.gutter-vertical:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 3px;
    background-color: #888;
    border-radius: 1px;
}

body.dark-theme .gutter.gutter-vertical:before {
    background-color: #131722;
}

/* .gutter.gutter-vertical:hover:before{
    background-color: #ff954e;
}

.gutter.gutter-vertical:hover {
    background-color: #ff954e;
} */

.chart-section,
.table-container {
    overflow: auto;
    min-height: 100px;
}

.split {
    display: flex;
    flex-direction: column;
    height: calc(100vh + 250px);
}

#tv_chart_container {
    height: 100%;
    opacity: 0.9;
}



.tab:hover:not(.active) {
    border-color: orange;
}

body.light-theme .tab {
    background-color: #ffffff !important;
    border: 2px solid #9e9e9e;
    color: #000;
}

body.light-theme .tab {
    background-color: #ffffff !important;
    border-width: 2px solid #9e9e9e;
    color: #000;
}


.input-wrapper.editing .input-field {
    
}

body.light-theme .input-wrapper.editing .input-field {
    color: #333 !important;
}

.input-wrapper .input-field {
    flex: 1;
    border: none;
    background: transparent;
    color: inherit;
    padding: 0;
    margin-right: 4px;
    font-size: 15px;
    min-width: 50px;
}


.order-badge {
    display: inline-flex;
    color: #ffffff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 8px;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
}


.token-symbol {
    cursor: pointer;
    /* color: #ffd900; */
    font-weight: bold;
    text-decoration: none;
    /* padding: 2px 4px; */
    /* border-radius: 3px; */
    /* transition: all 0.2s ease; */
    display: inline-block;
}

.token-symbol:hover {
    /* background-color: rgba(255, 217, 0, 0.1); */
    /* color: #fff; */
    /* transform: scale(1.05); */
    /* text-shadow: 0 0 8px rgba(255, 217, 0, 0.5); */
}

body.light-theme .token-symbol {
    /* color: #ff954e; */
}

body.light-theme .token-symbol:hover {
    /* background-color: rgba(255, 149, 78, 0.1); */
    /* color: #333; */
    /* text-shadow: 0 0 8px rgba(255, 149, 78, 0.5); */
}


body.light-theme .order-badge {
    background-color: #ff954e;
    color: #ffffff;
}

body.dark-theme .order-badge {
    background-color: #ff954e;
    color: #ffffff;
}


/* .order-badge {
    transition: all 0.3s ease;
    animation: badge-pulse 2s infinite;
} */

/* @keyframes badge-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
} */

/* .tab:hover .order-badge {
    transform: scale(1.1);
} */

body.light-theme .tab:hover .order-badge {
    background-color: #ff954e;
}

/* .tab:hover .order-badge {
    background-color: #1a1e2e;
} */


.tab-mobile .order-badge {
    font-size: 10px;
    width: 18px;
    height: 18px;
    margin-left: 6px;
}

.ls2 {
    letter-spacing: 2px;
}

.hide{
    display: none!important;
}
body.dark-theme .all-btn {
    cursor: pointer;
    color: #f0b90b;
}
body.dark-theme .all-btn:hover {
    color: #cfb439;
}

body.light-theme .all-btn {
    cursor: pointer;
    color: #ff954e;
}

body.light-theme .all-btn:hover {
    color: #ffa96f;
}

.currency-text {
    display: block;
    height: 38px;
    background-color: #fff;
    color: #222;
    padding: 0 10px;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    border: 1px solid #444;
    border-right: 0;
}
.currency-text span{
    line-height: 38px;
}

.chart__watermark {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.tv_chart_wrapper{
    display: block!important;
    height: 100%!important;
    width: 100%!important;
}
.position-relative {
    position: relative !important;
}


.chart__watermark img {
    /* display: none; */
    width: 50%;
    height: 20%;
    object-fit: contain;
    object-position: center;
}

.coin-item-select td:first-child:hover {
    transform: scale(1.2);
    transition: transform 0.2s;
}

.coin-item-select td:not(:first-child) {
    cursor: pointer;
}
.favorite-star {
    color: #f0b90b !important;
}
body.light-theme .favorite-star {
    color: #ff954e !important;
}

.favorite-star-outline {
    color: #666 !important; 
}
.favorite-star:hover,
.favorite-star-outline:hover {
    transform: scale(1.0);
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.5));
}

.favorite-star-header {
    color: #fff !important; 
}
body.light-theme .favorite-star-header {
    color: #737373 !important; 
}
body.light-theme .favorite-star-outline {
    color: #999 !important;
}


.dropdown-arrow-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    margin-left: 8px;
    border: 1px solid rgba(108, 158, 191, 0.5);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 1.2em;
    line-height: 1;
    vertical-align: middle;
}
.dropdown-arrow-box:hover {
    background-color: rgba(255, 149, 78, 0.2);
    border-color: #ff954e;
    /* transform: translateY(1px); */
}
body.light-theme .dropdown-arrow-box {
    border: 1px solid #999;
}

body.light-theme .dropdown-arrow-box:hover {
    background-color: rgba(255, 149, 78, 0.3);
    border-color: #ff954e;
}
.dropdown-arrow-box.active {
    background-color: rgba(255, 149, 78, 0.3);
    border-color: #ff954e;
}
body.light-theme .logo-dark-img {
    display: block;
}
body.light-theme .logo-light-img {
    display: none;
}
body.dark-theme .logo-dark-img {
    display: none;
}
body.dark-theme .logo-light-img {
    display: block;
}
body.light-theme #tv_chart_container {
    opacity: 0.85;
}
body.dark-theme {
    background-color: #131722;
}