﻿@font-face {
    font-family: '';
    src: url('../fonts/NotoSansJP-Regular-Alphabetic.eot');
    src: url('../fonts/NotoSansJP-Regular-Alphabetic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/NotoSansJP-Regular-Alphabetic.woff2') format('woff2'),
        url('../fonts/NotoSansJP-Regular-Alphabetic.woff') format('woff'),
        url('../fonts/NotoSansJP-Regular-Alphabetic.ttf') format('truetype'),
        url('../fonts/NotoSansJP-Regular-Alphabetic.svg#NotoSansJP-Regular-Alphabetic') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: '';
    src: url('../fonts/NotoSansJP-Bold-Alphabetic.eot');
    src: url('../fonts/NotoSansJP-Bold-Alphabetic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/NotoSansJP-Bold-Alphabetic.woff2') format('woff2'),
        url('../fonts/NotoSansJP-Bold-Alphabetic.woff') format('woff'),
        url('../fonts/NotoSansJP-Bold-Alphabetic.ttf') format('truetype'),
        url('../fonts/NotoSansJP-Bold-Alphabetic.svg#NotoSansJP-Bold-Alphabetic') format('svg');
    font-weight: bold;
    font-style: normal;
}
.svgi.logo:before/** Generated by less 2.5.1 */
/** COLORS */
/** MIXINS */
/** COMMON */
#bsw_loader {
    background: #141517;
}

#bsw_loader:before {
    border-top-color: #93959a;
    border-bottom-color: #93959a;
}

#bsw_loader:after {
    background: #93959a;
}

#bsw_loader > div {
    color: #93959a;
}

#container {
    position: relative;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: row nowrap;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
}

.scroll {
    width: 100%;
    height: 100%;
    padding: 1px 0 0 0;
}

.scroll:before,
.scroll:after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    left: 0;
    z-index: 1;
    height: 50px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .5s ease, visibility .5s ease;
    transition: opacity .5s ease, visibility .5s ease;
}

.scroll:before {
    top: 0;
    background: -moz-linear-gradient(top, #141517 0%, rgba(38, 47, 61, 0) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #141517), color-stop(100%, rgba(38, 47, 61, 0)));
    background: -webkit-linear-gradient(top, #141517 0%, rgba(38, 47, 61, 0) 100%);
    background: -o-linear-gradient(top, #141517 0%, rgba(38, 47, 61, 0) 100%);
    background: -ms-linear-gradient(top, #141517 0%, rgba(38, 47, 61, 0) 100%);
    background: linear-gradient(to bottom, #141517 0%, rgba(38, 47, 61, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#141517', endColorstr='#00262f3d', GradientType=0);
}

.scroll:after {
    bottom: 0;
    background: -moz-linear-gradient(top, rgba(38, 47, 61, 0) 0%, #141517 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(38, 47, 61, 0)), color-stop(100%, #141517));
    background: -webkit-linear-gradient(top, rgba(38, 47, 61, 0) 0%, #141517 100%);
    background: -o-linear-gradient(top, rgba(38, 47, 61, 0) 0%, #141517 100%);
    background: -ms-linear-gradient(top, rgba(38, 47, 61, 0) 0%, #141517 100%);
    background: linear-gradient(to bottom, rgba(38, 47, 61, 0) 0%, #141517 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00262f3d', endColorstr='#141517', GradientType=0);
}

.scroll.shaded.on_top:before,
.scroll.shaded.on_top:after {
    opacity: 1;
    visibility: visible;
}

.scroll.no_shade:before,
.scroll.no_shade:after {
    display: none;
}

.slimScrollBar,
.slimScrollRail {
    -webkit-transition: visibility .5s ease, opacity .5s ease;
    transition: visibility .5s ease, opacity .5s ease;
    opacity: 0;
    visibility: hidden;
}

.slimScrollBar.show,
.slimScrollRail.show {
    opacity: 1;
    visibility: visible;
}

.slimScrollBar {
    -webkit-transition: height .3s ease;
    transition: height .3s ease;
}

.slimScrollBar:after {
    content: '';
    display: block;
    width: 100%;
    left: 0;
    right: 0;
    top: 10px;
    bottom: 10px;
    position: absolute;
    background: #141517;
    border-radius: 2px;
    -webkit-transition: background .1s ease;
    transition: background .1s ease;
}

.slimScrollBar:hover:after {
    background: #fff !important;
}

.slimScrollRail {
    background: #141517 !important;
}

.eur:after {
    content: '€';
    font-family: 'PT Sans';
}

.usd:after {
    content: '$';
    font-family: 'PT Sans';
}

.jpy:after {
    content: "¥";
    font-family: 'PT Sans';
}

.gbp:after {
    content: "£";
    font-family: 'PT Sans';
}

.idr:after {
    content: 'Rp';
    font-family: 'PT Sans';
}

.thb:after {
    content: '฿';
    font-family: 'PT Sans';
}

.krw:after {
    content: '₩';
    font-family: 'PT Sans';
}

.vnd:after {
    content: '₫';
    font-family: 'PT Sans';
}

/** BUTTONS */
.button {
    display: inline-block;
    border: 0;
    border-radius: 4px;
    padding: 12px 45px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 11px;
    color: #1c1d20;
    background: #ffffff;
    cursor: pointer;
    font-family: 'Open Sans';
    -webkit-transition: background .1s ease;
    transition: background .1s ease;
}

.button:hover {
    background: #d0d5da;
}

.button[disabled] {
    background: gray !important;
}

/* DROPDOWN TRIGGERS */
.drop_trigger .drop {
    display: none;
}

.drop_trigger.active .drop {
    display: block;
}

/** BODY */
html,
body {
    width: 100%;
    height: 100%;
    min-width: 1024px;
    min-height: 650px;
    background: #141517;
    font-family:'Noto Sans JP', sans-serif ;
    font-size: 12px;
    color: #ffffff;
}

/** WRAPPER */
#wrapper {
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#wrapper #overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 77;
    background: rgba(59, 61, 66, 0.75);
    display: none;
}

#wrapper #overlay.show {
    display: block;
}

#wrapper #screen_shade {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    background: rgba(32, 43, 51, 0.5);
    display: none;
}

#wrapper #screen_shade.show {
    display: block;
}

/** //WRAPPER */
/** HEADER */
#header {
    position: relative;
    z-index: 100;
    padding: 6px;
}

.header_item {
    display: block;
    float: left;
    height: 46px;
    position: relative;
}

.header_item .item_container {
    display: block;
    padding: 8px 20px;
}

.header_item:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 2px;
    height: 30px;
    background: #1c1d20;
}

.header_item:before {
    right: 0;
}

.header_item:first-child .item_container {
    padding-left: 12px;
}

.header_item:last-child:before {
    display: none;
}

.header_item:last-child .item_container {
    padding-right: 12px;
}

/** LOGO */
#logo {
    background-image: url('../i/zentrader_reverse_sm.png');
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    width: 123px;
    height: 40px;
    margin-top: -5px;
}

/** LENGTH counters */
.length_counter {
    margin-bottom: 3px;
    white-space: nowrap;
}

.length_counter > div {
    display: inline-block;
}

.length_counter .icon {
    width: 19px;
    height: 16px;
    margin-right: 3px;
    vertical-align: bottom;
}

.length_counter .value {
    font-size: 16px;
    font-weight: 700;
    color: #141517;
}

.length_name, .current_date {
    font-size: 10px;
    font-weight: 700;
    color: #141517;
    text-transform: uppercase;
}

.current_time {
    font-size: 10px;
    font-weight: 700;
    color: #141517;
    text-transform: uppercase;
}

/** WIDGETS MENU */
#widgets_menu_trigger {
    width: 24px;
    height: 30px;
    position: relative;
    cursor: pointer;
}

    #widgets_menu_trigger:before {
        content: '';
        display: block;
        width: 6px;
        height: 6px;
        background: #93959a;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        border-radius: 1px;
        transition: all .1s ease;
        box-shadow: -9px -9px 0 0 #93959a, 0 -9px 0 0 #93959a, 9px -9px 0 0 #93959a, -9px 0 0 0 #93959a, 9px 0 0 0 #93959a, -9px 9px 0 0 #93959a, 0 9px 0 0 #93959a, 9px 9px 0 0 #93959a;
    }

#widgets_menu_trigger:hover:before {
    background: #ffffff;
    box-shadow: -9px -9px 0 0 #ffffff, 0 -9px 0 0 #ffffff, 9px -9px 0 0 #ffffff, -9px 0 0 0 #ffffff, 9px 0 0 0 #ffffff, -9px 9px 0 0 #ffffff, 0 9px 0 0 #ffffff, 9px 9px 0 0 #ffffff;
}

#widgets_menu_trigger.active:before {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    background: #f8f6f0;
    box-shadow: -9px -9px 0 0 transparent, 0 -9px 0 0 #f8f6f0, 9px -9px 0 0 transparent, -9px 0 0 0 #f8f6f0, 9px 0 0 0 #f8f6f0, -9px 9px 0 0 transparent, 0 9px 0 0 #f8f6f0, 9px 9px 0 0 transparent;
}

#widgets_menu_trigger #widgets_menu {
    position: fixed;
    z-index: 99;
    top: 100%;
    bottom: auto;
    right: 6px;
    padding: 6px;
    padding-bottom: 0;
    min-width: 283px;
    cursor: default;
    display: none;
}

#widgets_menu_trigger #widgets_menu .widgets_menu_item {
    padding: 12px;
    background: #141517;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    color: #ffffff;
    cursor: pointer;
    border-bottom: 2px solid #141517;
    -webkit-transition: color .1s ease;
    transition: color .1s ease;
    display: none;
}

#widgets_menu_trigger #widgets_menu .widgets_menu_item#add_widget {
    display: block;
    cursor: default;
    position: relative;
}

#widgets_menu_trigger #widgets_menu .widgets_menu_item i {
    opacity: 0;
}

#widgets_menu_trigger #widgets_menu .widgets_menu_item:hover {
    color: #d0d5da;
}

#widgets_menu_trigger #widgets_menu .widgets_menu_item.inactive {
    color: #141517;
    cursor: default;
}

#widgets_menu_trigger #widgets_menu .widgets_menu_item.checked i {
    opacity: 1;
}

#widgets_menu_trigger #widgets_menu.no_checked #add_widget {
    display: block;
}

#widgets_menu_trigger #widgets_menu.no_checked #add_widget .button {
    opacity: .2;
    cursor: default;
}

#widgets_menu_trigger #widgets_menu.no_items #add_widget:before,
#widgets_menu_trigger #widgets_menu.no_checked #add_widget:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

#widgets_menu_trigger #widgets_menu.no_items #add_widget {
    display: none;
}

#widgets_menu_trigger.active #widgets_menu {
    display: block;
    top: auto;
    bottom: 0;
}

/** USER MENU */
#user_menu {
    cursor: pointer;
    color: #141517;
    border-radius: 6px 6px 0 0;
    position: relative;
    z-index: 1;
    margin-left: -2px;
    /** USER MENU */
}

#user_menu #user_menu_trigger > div {
    float: left;
}

#user_menu #user_menu_trigger .icon {
    width: 19px;
    height: 20px;
    margin-top: 5px;
}

#user_menu #user_menu_trigger .arr {
    line-height: 30px;
    margin-left: 5px;
    -webkit-transition: -webkit-transform 0.1s ease;
    transition: transform .1s ease;
}

#user_menu_trigger:hover {
    color: #F8F6F0;
}
.fi-rr-menu-burger:hover {
    color: #F8F6F0;
}

#user_menu:hover,
#user_menu.active {
    color: #F8F6F0;
}

#user_menu.active {
    background: #141517;
}

#user_menu.active .icon {
    color: #ffcb31;
}

#user_menu.active .arr {
    color: #F8F6F0;
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

#user_menu #user_menu_dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    background: #1c1d20;
    border-radius: 6px;
    cursor: default;
}

#user_menu #user_menu_dropdown a {
    color: #ffffff;
    text-decoration:none;
}

#user_menu #user_menu_dropdown .title {
    padding: 12px;
    text-align: center;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    border-bottom: 2px solid #1c1d20;
}

#user_menu #user_menu_dropdown .title .button {
    display: block;
    width: 100%;
    margin: 0 0 10px 0;
    border-radius: 3px;
    font-weight: 400;
    color: #ffffff;
    background: #1c1d20;
    box-shadow: inset 0 0 0 1px #ffffff;
    opacity: .5;
}

#user_menu #user_menu_dropdown .title .button:hover {
    opacity: 1;
    box-shadow: inset 0 0 0 1px #697989;
    background: #3B3D42;
    color: #F8F6F0
}

#user_menu #user_menu_dropdown .title .button:last-child {
    margin-bottom: 0;
}

#user_menu #user_menu_dropdown .item {
    padding: 12px;
    font-size: 13px;
    background: #141517;
    white-space: nowrap;
    border-bottom: 2px solid #1c1d20;
    cursor: pointer;
}

#user_menu #user_menu_dropdown .item:last-child {
    border-bottom: none;
    border-radius: 0 0 6px 6px;
}

#user_menu #user_menu_dropdown .item:hover {
    background: #3b3d42;
}

#user_menu #user_menu_dropdown .item.centered {
    text-transform: uppercase;
    color: #b2b8bf;
    font-size: 11px;
}

#user_menu #user_menu_dropdown .item .icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: text-bottom;
    font-size: 0;
    margin-right: 10px;
}

/** ACCOUNT BLOCK */
#account_inf {
    padding-top: 5px;
    padding-bottom: 6px;
}

    #account_inf #account_name {
        font-size: 10px;
        font-weight: 700;
        color: #AFAFAF;
        text-transform: uppercase;
        margin-bottom: 3px;
    }

    #bonusAccount_inf #bonusAccount_name {
        font-size: 10px;
        font-weight: 700;
        color: #AFAFAF;
        text-transform: uppercase;
        margin-bottom: 3px;
    }

#account_inf #balance {
    white-space: nowrap;
}

    #account_inf #balance > span {
        color: #fff;
        font-size: 18px;
        font-weight: 700;
    }

#account_inf #balance > span#balance_refresh {
    display: inline-block;
    margin-left: 5px;
    font-size: 22px;
    padding: 0;
    color: #141517;
    cursor: pointer;
    -webkit-transition: color 0.1s ease, -webkit-transform 0.3s ease;
    transition: color .1s ease, transform .3s ease;
}

#account_inf #balance > span#balance_refresh:hover {
    color: #ffffff;
}

#account_inf #balance > span#balance_refresh:active {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
}

#account_inf #balance #balance_val {
    font-family: 'Noto Sans JP', sans-serif;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
}

#account_btn {
    text-align: center;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 36px;
    border-radius: 3px;
    background: #ffcb31;
    color: #1c1d20;
    margin: 5px 12px 0 0;
    padding: 0 12px;
    cursor: pointer;
    min-width: 134px;
    -webkit-transition: background .1s ease;
    transition: background .1s ease;
}

    #account_btn:hover {
        background: #3B3D42;
        color: #F8F6F0
    }

/** SWITCHES */
.switch {
    float: left;
    margin: 5px 13px 0 0;
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.switch:last-child {
    margin-right: 0;
}

/** DESKTOP */
#desktop {
    position: absolute;
    top: 64px;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 6px;
    padding-top: 0;
}

/** COLUMNS */
.column {
    height: 100%;
}

.top_row {
    height: 444px;
}

/** LEFT CONTAINER (chart, signals, news, tops) */
/** CHART HEADER */
#chart_header {
    background: #1c1d20;
    border-radius: 6px 6px 0 0;
    padding: 12px;
    /** TREND */
}

#chart_header .select {
    float: left;
    margin-right: 12px;
    position: relative;
    padding: 6px;
    border: 1px solid #2c2e32;
    border-radius: 3px;
    background: #1c1d20;
    min-width: 150px;
    cursor: pointer;
    height: 27px;
}

#chart_header .select#select_timeframe {
    min-width: 130px;
}

#chart_header .select:last-child {
    margin-right: 0;
}

#chart_header .select .selected > div {
    float: left;
}

#chart_header .select .selected .icon {
    font-size: 13px;
    margin-right: 10px;
    color: #93959a;
}

#chart_header .select .selected .value {
    font-size: 13px;
    font-weight: 700;
}

#chart_header .select .selected .arr {
    float: right;
    width: 16px;
    height: 13px;
    margin-left: 10px;
    border-left: 1px solid #2c2e32;
    color: #2c2e32;
    position: relative;
}

#chart_header .select .selected .arr:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 2px;
    margin: auto;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-right-width: 3px;
    border-left-width: 3px;
    border-bottom: 0;
    border-top-color: inherit;
    -webkit-transition: -webkit-transform 0.1s ease;
    transition: transform .1s ease;
}

    #chart_header .select:hover {
        background: #1c1d20;
        border-color: #2c2e32;
    }

#chart_header .select:hover .selected .icon {
    color: #93959a;
}

#chart_header .select:hover .selected .arr {
    border-left-color: #F8F6F0;
    color: #F8F6F0;
}

#chart_header .select.active {
    background: #141517;
    border-color: #2c2e32;
}

#chart_header .select.active .selected .icon {
    color: #ffcb31;
}

#chart_header .select.active .selected .arr {
    border-left-color: #F8F6F0;
    color: #F8F6F0;
}

#chart_header .select.active .selected .arr:after {
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

#chart_header #trend {
    float: left;
    width: 180px;
}

#chart_header #trend #trend_numbers {
    margin-top: 3px;
    padding: 0 3px;
}

#chart_header #trend #trend_colors {
    margin-top: 6px;
}

#chart_header #trend .trend_number {
    float: left;
    width: 50%;
}

#chart_header #trend .trend_number > div {
    display: inline-block;
}

#chart_header #trend .trend_number .value {
    font-weight: 700;
}

#chart_header #trend .trend_number#put_number {
    text-align: left;
}

#chart_header #trend .trend_number#put_number .icon {
    color: #e44b5b;
    margin-right: 5px;
}

#chart_header #trend .trend_number#call_number {
    text-align: right;
}

#chart_header #trend .trend_number#call_number .icon {
    color: #65cf92;
    margin-left: 5px;
}

#chart_header #trend .trend_color {
    float: left;
    width: 50%;
    height: 2px;
    -webkit-transition: width .5s ease;
    transition: width .5s ease;
}

#chart_header #trend .trend_color#put_color {
    background: #e44b5b;
}

#chart_header #trend .trend_color#call_color {
    background: #65cf92;
}

/** Dropdowns */
.dropdown {
    position: absolute;
    z-index: 12;
    top: 100%;
    margin-top: 4px;
    left: -1px;
    border: 1px solid #2c2e32;
    border-radius: 3px;
    background: #1c1d20;
    box-sizing: content-box;
    cursor: default;
}

/** SYMBOL DROPDOWN */
#symbol_search_container {
    padding: 10px;
}

#symbol_search_container #symbol_search {
    position: relative;
    border: 1px solid #141517;
    border-radius: 2px;
}

#symbol_search_container #symbol_search .icon {
    position: absolute;
    left: 5px;
    top: 0;
    bottom: 0;
    line-height: 24px;
    color: #141517;
    font-size: 14px;
}

#symbol_search_container #symbol_search input {
    width: 100%;
    border: 0;
    font: inherit;
    font-size: 13px;
    color: #ffffff;
    line-height: 25px;
    padding: 0 10px 0 25px;
    background: none;
}

#symbol_search_container #symbol_search input::-webkit-input-placeholder {
    color: #141517;
}

#symbol_search_container #symbol_search input::-moz-placeholder {
    color: #141517;
}

#symbol_search_container #symbol_search input:-ms-input-placeholder {
    color: #141517;
}

#symbol_search_container #symbol_search input::placeholder {
    color: #141517;
}

/** SYMBOL FILTER */
#symbol_filter {
    margin-bottom: 10px;
}

#symbol_filter .symbol_filter_item {
    display: table-cell;
    padding: 0 10px;
    border-right: 1px solid #141517;
    color: #ffffff;
    font-size: 10px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    cursor: pointer;
}

#symbol_filter .symbol_filter_item:last-child {
    border-right: 0;
}

#symbol_filter .symbol_filter_item:hover {
    color: #ffcb31;
}

#symbol_filter .symbol_filter_item.active {
    color: #ffcb31;
    cursor: default;
}

/** DROPDOWN LIST */
.dropdown_list_holder#symbol_list_holder {
    height: 331px;
    border-top: 1px solid #141517;
}

.dropdown_list_holder .dropdown_list .dropdown_list_item {
    padding: 10px 15px 10px 10px;
    border-top: 1px solid #141517;
    cursor: pointer;
}

.dropdown_list_holder .dropdown_list .dropdown_list_item:first-child {
    border-top: 0;
}

.dropdown_list_holder .dropdown_list .dropdown_list_item > div {
    float: left;
}

.dropdown_list_holder .dropdown_list .dropdown_list_item .favorite {
    margin-right: 10px;
    color: #93959a;
    cursor: pointer;
}

.dropdown_list_holder .dropdown_list .dropdown_list_item .favorite:hover {
    transform: scale(1.5);
}

.dropdown_list_holder .dropdown_list .dropdown_list_item .profit {
    float: right;
}

.dropdown_list_holder .dropdown_list .dropdown_list_item .value {
    white-space: nowrap;
}

.dropdown_list_holder .dropdown_list .dropdown_list_item:hover {
    background: #141517;
}

.dropdown_list_holder .dropdown_list .dropdown_list_item:hover .favorite {
    color: #F8F6F0;
}

.dropdown_list_holder .dropdown_list .dropdown_list_item.active {
    background: none;
    cursor: default;
}

.dropdown_list_holder .dropdown_list .dropdown_list_item.active .favorite {
    color: #141517;
}

.dropdown_list_holder .dropdown_list .dropdown_list_item.active .value {
    color: #ffcb31;
}

.dropdown_list_holder .dropdown_list .dropdown_list_item.in_favorites .favorite {
    color: #FFCB31;
}

.dropdown_list_holder .dropdown_list .dropdown_list_item.disabled {
    cursor: default !important;
    color: #141517 !important;
    background: none !important;
}

.dropdown_list_holder .dropdown_list .dropdown_list_item.disabled .favorite {
    visibility: hidden;
}

/** CHART */
#chart_holder {
    background: #1c1d20;
}

#chart {
    width: 100%;
    height: 100%;
    position: relative;
    /*background: url('../img/chart.svg') no-repeat center;*/
    background-size: auto;
}

/** COLUMN ITEMS */
.sort_handle {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 9;
    cursor: move;
    width: 20px;
    height: 20px;
    background: #141517;
    box-shadow: 0 0 0 4px #141517;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    color: #141517;
    display: none;
}

.sort_handle:hover {
    background: #141517;
}

.close_widget {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 9;
    cursor: pointer;
    width: 21px;
    height: 21px;
    display: none;
}

.col_item {
    float: left;
    height: 100%;
    position: relative;
    padding: 6px;
}

.col_item .widget {
    width: 100%;
    height: 100%;
    position: relative;
}

/* WIDGET LOADING */
.wloading {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 8;
    background: #1c1d20;
    border-radius: 6px;
    display: none;
}

.wloading:before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9;
    margin: auto;
    border: 4px solid transparent;
    border-top-color: #93959a;
    border-right-color: #93959a;
    -webkit-animation: wloader_b .3s infinite linear;
    animation: wloader_b .3s infinite linear;
}

.wloading:after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9;
    margin: auto;
    background: #93959a;
    -webkit-animation: wloader_d .6s infinite linear;
    animation: wloader_d .6s infinite linear;
}

@keyframes wloader_b {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        -ms-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@keyframes wloader_d {
    0% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
    50% {
        -webkit-transform: scale(0.5);
        -ms-transform: scale(0.5);
        transform: scale(0.5);
    }
    100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
}

@-webkit-keyframes wloader_b {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        -ms-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@-webkit-keyframes wloader_d {
    0% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
    50% {
        -webkit-transform: scale(0.5);
        -ms-transform: scale(0.5);
        transform: scale(0.5);
    }
    100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
}

#social_row {
    position: relative;
}

#social_row.editing {
    z-index: 99;
}

#social_row.editing .close_widget,
#social_row.editing .sort_handle {
    display: block;
}

#chart_block,
#actions_block,
#options_block,
#news_block {
    width: 100%;
}

#signals_block {
    width: 225px;
}

#signals_block .widget {
    background: #1c1d20;
    border-radius: 6px;
}

/*#news_block {
    width: auto;
    min-width: 279px;
}*/

#news_block .widget {
    background: #1c1d20;
    border-radius: 6px;
}

#socials_block {
    width: 225px;
}

#socials_block .widget {
    background: #1c1d20;
    border-radius: 6px;
    overflow: hidden;
}

#options_block .widget {
    background: #1c1d20;
    border-radius: 6px;
}

/** RIGHT CONTAINER (actions, options) */
#right_container {
    width: 283px;
    min-width: 283px;
}

/** ACTIONS */
.actions_title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 5px;
}

/** Presets */
#presets {
    padding: 10px 12px 12px 12px;
    background: #1c1d20;
    border-radius: 6px 6px 0 0;
}

.preset {
    float: left;
}

.preset#invest_preset {
    width: 50%;
    margin-right: 3%;
}

.preset#timeframe_preset {
    width: 45%;
}

.preset .presets_input {
    position: relative;
    border: 1px solid #2c2e32;
    background: #1c1d20;
    border-radius: 3px;
    padding: 0px 6px 0px;
}

    .preset .presets_input input[type=text] {
        margin: 0;
        width: 100%;
        background: none;
        border: 0;
        font-family: inherit;
        font-size: 13px;
        font-weight: 400;
        color: #ffffff;
        padding: 7px 20px 7px 0;
        /*line-height: 18px;*/
        /*height: 20px;*/
        text-align: right;
    }

    .preset .presets_input .invest_currency {
        position: absolute;
        top: 0;
        bottom: 0;
        font-size: 13px;
        color: #ffffff;
        line-height: 29px;
        width: 20px;
        text-align: left;
    }

.preset .presets_input .input_triggers {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 21px;
}

.preset .presets_input .input_triggers:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 1px;
    background: #2c2e32;
}

.preset .presets_input .input_triggers .input_trigger {
    position: relative;
    height: 11px;
}

.preset .presets_input .input_triggers .input_trigger:before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    border: 5px solid transparent;
    border-right-width: 3px;
    border-left-width: 3px;
}

.preset .presets_input .input_triggers .input_trigger.up {
    margin-top: 2px;
    margin-bottom: 3px;
}

.preset .presets_input .input_triggers .input_trigger.up:before {
    border-top: 0;
    border-bottom-color: #2c2e32;
    bottom: 0;
}

.preset .presets_input .input_triggers .input_trigger.dn:before {
    border-bottom: 0;
    border-top-color: #2c2e32;
    top: 0;
}

    .preset .presets_input:hover {
        background: #1c1d20;
        border-color: #2c2e32;
    }

.preset .presets_input:hover .input_triggers:before {
    background: #F8F6F0;
}

.preset .presets_input:hover .input_triggers .input_trigger.up:before {
    border-bottom-color: #F8F6F0;
}

.preset .presets_input:hover .input_triggers .input_trigger.dn:before {
    border-top-color: #F8F6F0;
}

.preset .presets_input.active {
    background: #141517;
    border-color: #2c2e32;
}

.preset .presets_input.active .selected .arr {
    border-left-color: #141517;
    color: #1c1d20;
}

.preset .presets_input.active .input_triggers:before {
    background: #F8F6F0;
}

.preset .presets_input.active .input_triggers .input_trigger.up:before {
    border-bottom-color: #F8F6F0;
}

.preset .presets_input.active .input_triggers .input_trigger.dn:before {
    border-top-color: #F8F6F0;
}

/* ZW-192: Investment input focus state for custom entry */
.preset .presets_input.input-focused {
    background: #1c1d20;
    border-color: #ffcb31;
    box-shadow: 0 0 0 1px #ffcb31;
}

.preset .presets_input.input-focused .input_triggers {
    /* Keep clickable to allow dismissing keyboard */
    opacity: 0.7;
}

/* Hide dropdown when input is focused for typing */
.preset .presets_input.input-focused .dropdown {
    display: none !important;
}

/* ZW-192: Mobile-specific styles */
@media screen and (max-width: 768px) {
    .preset#invest_preset .presets_input input[type=text] {
        font-size: 16px; /* Prevent iOS zoom on focus */
        height: 29px; /* Match timeframe input height */
        padding: 0 20px; /* Reset padding, use height for sizing */
        touch-action: manipulation; /* Enable proper touch handling */
        -webkit-user-select: text; /* Allow text selection on iOS */
        user-select: text;
    }
}

.preset#timeframe_preset .presets_input {
    float: left;
}

.preset#timeframe_preset .presets_input:first-child {
    width: 47%;
    margin-right: 3%;
}

.preset#timeframe_preset .presets_input:last-child {
    width: 50%;
    cursor: pointer;

}

.preset#timeframe_preset .presets_input:last-child .selected .value {
    float: left;
}

.preset#timeframe_preset .presets_input:last-child .selected .arr {
    float: right;
    width: 16px;
    height: 13px;
    margin-left: 10px;
    border-left: 1px solid #141517;
    color: #141517;
    position: relative;
}

.preset#timeframe_preset .presets_input:last-child .selected .arr:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 2px;
    margin: auto;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-right-width: 3px;
    border-left-width: 3px;
    border-bottom: 0;
    border-top-color: inherit;
    -webkit-transition: -webkit-transform 0.1s ease;
    transition: transform .1s ease;
}

.preset#timeframe_preset .presets_input:last-child:hover .selected .arr {
    border-left-color: #141517;
    color: #141517;
}

.preset#timeframe_preset .presets_input:last-child.active {
    background: #141517;
}

.preset#timeframe_preset .presets_input:last-child.active .selected .arr {
    border-left-color: #141517;
    color: #1c1d20;
}

.preset#timeframe_preset .presets_input:last-child.active .selected .arr:after {
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

/** ONE CLICK */
#one_click_block {
    padding: 12px;
    background: #1c1d20;
    border-radius: 0 0 6px 6px;
    margin-top: 2px;
}

#one_click_block input[type=checkbox] {
    display: none;
}

#one_click_block label {
    color: #ffffff;
    font-size: 13px;
    cursor: pointer;
    display: inline-block;
    position: relative;
}

#one_click_block label span.check {
    position: relative;
    display: inline-block;
    width: 17px;
    height: 17px;
    border: 1px solid;
    border-radius: 3px;
    vertical-align: text-bottom;
    margin-right: 6px;
}

#one_click_block label span.check:after {
    font-family: 'FontAwesome';
    content: '\f00c';
    text-align: center;
    margin: auto;
    line-height: 15px;
    display: none;
}

#one_click_block label:hover {
    color: #ffffff;
}

#one_click_block input[type=checkbox]:checked + label span:after {
    display: block;
}

/** BUTTONS & RATE */
#buttons_n_rate {
    padding: 12px 0;
}

#buttons_n_rate #rate_holder {
    position: relative;
    height: 66px;
}

#buttons_n_rate #rate_holder #rate_value {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    height: 26px;
    text-align: center;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 26px;
    text-transform: uppercase;
    line-height: 26px;
    letter-spacing: 1px;
}

.error-message-popup-container .value.up span {
    color: #65cf92;
}

.error-message-popup-container .value.dn span {
    color: #e44b5b;
}

#buttons_n_rate .action_btn {
    height: 75px;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

#buttons_n_rate .action_btn.call {
    background: #65cf92;
}

#buttons_n_rate .action_btn.call:hover {
    background: #65cf92;
}

#buttons_n_rate .action_btn.put {
    background: #e44b5b;
}

#buttons_n_rate .action_btn.put:hover {
    background: #e44b5b;
}

#buttons_n_rate .action_btn.disabled {
    background: gray !important;
}

#buttons_n_rate .action_btn .action_btn_values {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    height: 29px;
}

#buttons_n_rate .action_btn .action_btn_values > div {
    float: left;
}

#buttons_n_rate .action_btn .action_btn_values .icon {
    width: 23%;
    opacity: .5;
}

/*
#buttons_n_rate .action_btn .action_btn_values .icon:before {
    content: '';
    display: block;
    width: 29px;
    height: 29px;
    margin: 0 auto;
    background: url('../i/sprite_drk.png') no-repeat;
}*/

#buttons_n_rate .action_btn .action_btn_values .value {
    width: 77%;
    color: #fff;
    padding-right: 10%;
    text-align: center;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    line-height: 29px;
    letter-spacing: 1px;
    font-weight:700;
}

#buttons_n_rate .action_btn:hover .action_btn_values .icon {
    opacity: 1;
}

#buttons_n_rate .action_btn.call .icon:before {
    background-position: 0 -31px;
}

#buttons_n_rate .action_btn.put .icon:before {
    background-position: -30px -31px;
}

/** PROFIT SUMMARY */
#profit_summary {
    background: #1c1d20;
    border-radius: 6px;
}

#profit_summary > div {
    float: left;
    padding: 22px 12px 22px 20px;
}

#profit_summary > div > div {
    float: left;
}

#profit_summary > div .profit_summary_icon {
    width: 29px;
    height: 29px;
    margin: 6px 16px 0 6px;
    display: none;
}

    #profit_summary #profit {
        min-width: 50%;
        width: auto;
        border-right: 2px solid #141517;
    }

#profit_summary #profit #profit_percent {
    color: #65cf92;
}

#profit_summary #expiration {
    width: auto;
}

#profit_summary #expiration #time_name {
    font-weight: 400;
    font-family: 'Ubuntu';
    font-size: 16px;
    color: #141517;
}

#profit_summary .profit_value {
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    margin-top: 9px;
}

#profit_summary .profit_value .currency-container {
    color: #ffffff;
}

/**#profit_summary #profit_percent:before {
    content: "+ ";
}*/

/** TABS */
.widget_tabs {
    padding: 12px;
}

.widget_tabs .tab {
    float: left;
    margin-right: 2px;
    padding: 6px 10px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.widget_tabs .tab:last-child {
    margin-right: 0;
}

.widget_tabs .tab:hover {
    background: #141517;
}

.widget_tabs .tab.active {
    color: #1c1d20;
    background: #ffcb31;
    cursor: default;
}

/* Popout button for Active Deals */
.popout-options-btn {
    float: right;
    background: transparent;
    border: none;
    color: #8a8a8a;
    padding: 4px 6px;
    cursor: pointer;
    border-radius: 3px;
    transition: color 0.2s ease, background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popout-options-btn:hover {
    color: #ffcb31;
    background: #141517;
}

.popout-options-btn svg {
    display: block;
}

/* Hide popout button on mobile/tablet */
@media (max-width: 1199px) {
    .popout-options-btn {
        display: none;
    }
}

.tab_contents {
    position: absolute;
    top: 46px;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
}

.tab_contents .tab_content {
    width: 100%;
    height: 100%;
    position: relative;
    display: none;
}

.tab_contents .tab_content.active {
    display: block;
}

#options_block .tab_content {
    padding: 0 12px;
}

#options_block .tab_content#trade_history {
    padding: 0;
}

/** OPTION */
.option {
    position: relative;
    border-radius: 6px;
    border: 1px solid #141517;
    margin-bottom: 10px;
    background: #1c1d20;
    /** summary */
    /** actions */
    /** CLOSE DEAL */
}

    .option:hover {
        border-color: #ffcb31;
        box-shadow: 0 0 0 1px #ffcb31;
    }

.option.selected:before {
    visibility: visible;
}

.option .option_summary .table-cell {
    padding: 10px;
    vertical-align: top;
}

.option .option_summary .time_block {
    width: 1%;
    white-space: nowrap;
    color: #ffffff;
}

.option .option_summary .assets_block {
    text-align: center;
}

.option .option_summary .money_block {
    width: 1%;
    white-space: nowrap;
    text-align: right;
}

.option .option_summary .table-cell > div:first-child {
    margin-bottom: 5px;
}

.option .option_summary .assets_block .rate:after {
    display: none;
}

.option.win .money_block .payout {
    color: #65cf92;
}

.option.lose .money_block .payout {
    color: #e44b5b;
}

.option.lose .money_block .payout:before {
    content: ' ';
}

.early_close_payout_block {
    text-align: center;
}

.option.win .early_close_payout_block {
    color: white;

}

.option .early_close_payout {
    color: white;

}

.option .close_deal_message .early_close_payout {
    font-weight: bold;
}

.option.win .payout_block {
    color: #65cf92;
}

.option.win .early_close_payout:before {
    /* content: '- ';*/
}

.option.lose .early_close_payout_block {
    color: white;
}

.option.lose .payout_block {
    color: #e44b5b;
}

.option.lose .early_close_payout:before {
    /*content: '- ';*/
}

.option.call .assets_block .rate {
    color: #65cf92;
}

.option.call .assets_block .rate:after {
    border-top: 0;
    border-bottom-color: #65cf92;
}

.option.put .assets_block .rate {
    color: #e44b5b;
}

.option.put .assets_block .rate:after {
    border-bottom: 0;
    border-top-color: #e44b5b;
}

/* Direction symbol (▲/▼) */
.option .assets_block .direction-symbol {
    margin-right: 4px;
    font-size: 12px;
}

.option.call .assets_block .direction-symbol {
    color: #65cf92;
}

.option.put .assets_block .direction-symbol {
    color: #e44b5b;
}

/* Option info (timeframe + option kind) */
.option .assets_block .option-info {
    font-size: 10px;
    color: #888;
    white-space: nowrap;
}

.option .option_actions {
    background: #141517;
    border-radius: 0 0 6px 6px;
    border-top: 1px solid #141517;
}

.option .option_actions .table-cell {
    padding: 8px 10px;
    vertical-align: top;
    width: 33.3333333%;
}

.option .option_actions .time {
    font-size: 14px;
    line-height: 22px;
    padding-right: 8px;
    padding-left: 8px;
    white-space: nowrap;
    color: #fff;
}

.option .option_actions .time .figure {
    font-weight: 700;
    padding: 3px 6px;
    background: #1c1d20;
    border-radius: 2px;
}

.option .option_actions .time .figure:first-child {
    margin-right: -1px;
}

.option .option_actions .time .time_name {
    margin-left: 4px;
    line-height: 22px;
    color: #ffffff;
}

.option .option_actions .money {
    font-size: 14px;
    line-height: 22px;
    padding-right: 8px;
    padding-left: 8px;
    white-space: nowrap;
}

.option .option_actions .cancel {
    padding-left: 8px;
    text-align: right;
}

.option .option_actions .cancel .button {
    padding: 0 8px;
    font-size: 10px;
    line-height: 22px;
    color: #ffffff;
    background: #e44b5b;
    border-radius: 2px;
    -webkit-transition: background .1s ease;
    transition: background .1s ease;
}

.option .option_actions .cancel .button:hover {
    background: #e44b5b;
}

.option .close_deal {
    position: absolute;
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    z-index: 3;
    border-radius: 6px;
    border: 1px solid #7b4244;
    box-shadow: 0 0 0 1px #7b4244;
    background: #323336;
    padding: 10px;
    -webkit-transition: all .1s ease;
    transition: all .1s ease;
    opacity: 0;
    visibility: hidden;
}

.option .close_deal.show {
    opacity: 1;
    visibility: visible;
}

.option .close_deal .close {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    cursor: pointer;
    color: #ffffff;
    font-size: 22px;
    -webkit-transition: color .1s ease;
    transition: color .1s ease;
}

.profit_summary_icon .rub:after, .profit_summary_icon .usd:after, .profit_summary_icon .eur:after {
    content: '';
}

.option .close_deal .close:hover {
    color: #a2abb6;
}

.option .close_deal .vert_centerer {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.option .close_deal .close_deal_message {
    font-size: 13px;
    color: #141517;
    text-align: center;
    line-height: 18px;
}

.option .close_deal .close_deal_message span {

}

.option .close_deal .close_deal_message .close_deal_value {
    color: #ffffff;
}

.option .close_deal .centered {
    margin-top: 3px;
}

.option .close_deal .centered .button {
    padding: 0 8px;
    font-size: 10px;
    line-height: 22px;
    color: #ffffff;
    background: #e44b5b;
    border-radius: 2px;
    -webkit-transition: background .1s ease;
    transition: background .1s ease;
}

.option .close_deal .centered .button:hover {
    background: #e44b5b;
}

/** TRADE HISTORY */
#trade_history .option {
    border-radius: 0;
    border: 0;
    margin-bottom: 0;
    background: #141517;
}

#trade_history .option:nth-child(2n) {
    background: #1c1d20;
}

    #trade_history .option:hover {
        box-shadow: none;
        cursor: pointer;
        border-color: #ffcb31;
        box-shadow: 0 0 0 1px #ffcb31;
    }

#trade_history .option .option_summary .table-cell:first-child {
    padding-left: 12px;
}

#trade_history .option .option_summary .table-cell:last-child {
    padding-right: 12px;
}

/** NEWS */
.news {
    display: block;
    padding: 10px 12px;
    background: #141517;
    color: inherit;
    text-decoration: none;
}

.news:nth-child(2n) {
    background: #1c1d20;
}

    .news .news_date {
        color: #f3f3f3;
        margin-bottom: 6px;
    }

    .news .news_text {
        line-height: 18px;
        color: #ffcb31;
    }

.news .news_text.open {
    height: auto;
}

.news .news_text p {
    margin-bottom: 12px;
}

.news .news_text :last-child {
    margin-bottom: 0;
}

/** SIGNALS */
.signal {
    padding: 0 12px 10px 12px;
}

.signal .signal_container {
    border-radius: 6px;
    border: 1px solid #141517;
    background: #1c1d20;
    cursor: pointer;
}

.signal .signal_container:hover {
    border-color: #26795a;
    box-shadow: 0 0 0 1px #26795a;
}

.signal .signal_container .signal_chart img {
    width: 100% !important;
}

.signal .signal_container .signal_chart {
    padding: 2px;
    /*height: 65px;*/
}

.signal .signal_container .signal_inf {
    padding: 7px;
    font-size: 10px;
    text-transform: uppercase;
}

.signal .signal_container .signal_inf .signal_symbol {
    float: left;
    color: #ffffff;
    width: 33.3333333%;
}

.signal .signal_container .signal_inf .signal_forecast {
    float: left;
    width: 33.3333333%;
    text-align: center;
}

.signal .signal_container .signal_inf .signal_time {
    float: right;
    width: 33.3333333%;
    test-align: right;
}

.signal .signal_container .signal_inf .signal_time > div {
    float: right;
}

.signal .signal_container .signal_inf .signal_forecast .signal_dir {
    margin-top: 3px;
    margin-left: 5px;
    width: 10px;
    height: 10px;
    position: relative;
    float: left;
}

.signal .signal_container .signal_inf .signal_forecast .signal_dir:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-right-width: 3px;
    border-left-width: 3px;
}

.signal .signal_container .signal_inf .signal_forecast .signal_text {
    color: #141517;
    float: left;
    /**margin-right: 5px;*/
}

.signal.call .signal_container .signal_inf .signal_forecast .signal_dir:after {
    margin-bottom: -5px;
    bottom: 2px;
    border-top: 0;

    border-bottom-color: #65cf92 !important;
}

.signal.put .signal_container .signal_inf .signal_forecast .signal_dir:after {
    top: 2px;
    border-bottom: 0;
    border-top-color: #e44b5b !important;
}

/** TRENDS */
.trend {
    background: #141517;
    padding: 0 12px 10px 12px;
}

.trend:nth-child(2n) {
    background: #1c1d20;
}

.trend .trend_container {
    padding-top: 10px;
}

.trend .trend_title {
    margin-bottom: 5px;
}

.trend .trend_title > div {
    float: left;
}

.trend .trend_title .trend_dir {
    width: 10px;
    height: 10px;
    margin-left: 5px;
    position: relative;
}

/* Arrow is rendered via JavaScript Unicode character, not CSS ::after */

.trend .trend_values .table-cell {
    vertical-align: middle;
}

.trend .trend_values .trend_percent {
    width: 30px;
    text-align: center;
    font-size: 10px;
    color: #ffffff;
}

.trend .trend_values .colors_block {
    width: 100%;
    padding: 5px;
}

.trend .trend_values .colors_block .colors {
    height: 2px;
}

.trend .trend_values .colors_block .colors .color {
    width: 50%;
    height: 100%;
    float: left;
}

.trend .trend_values .colors_block .colors .color.call {
    background: #65cf92;
}

.trend .trend_values .colors_block .colors .color.put {
    background: #e44b5b;
}

/* Sentiment Indicator Enhancements - ZW-302 */
.trend .trend_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 0;
}

.trend .trend_name_wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.trend .trend_name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trend .trend_dir {
    font-size: 10px;
    font-weight: bold;
    min-width: 12px;
    text-align: center;
}

.trend .trend_dir.up {
    color: #65cf92;
}

.trend .trend_dir.down {
    color: #e44b5b;
}

.trend .trend_sentiment_label {
    font-size: 9px;
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    min-width: 75px;
    text-align: right;
}

.trend .trend_sentiment_label .sentiment_emoji {
    font-size: 11px;
}

.trend .trend_sentiment_label.hot {
    color: #ff9500;
}

.trend .trend_sentiment_label.crowded {
    color: #ff3b30;
}

.trend .trend_sentiment_label.balanced {
    color: #8e8e93;
}

.trend .trend_arrow_down {
    color: #e44b5b;
    font-size: 8px;
}

.trend .trend_arrow_up {
    color: #65cf92;
    font-size: 8px;
}

.trend .trend_values .trend_percent {
    width: 40px;
}

.trend .trend_values .trend_percent.put {
    text-align: left;
}

.trend .trend_values .trend_percent.call {
    text-align: right;
}

/** SOCIALS TOP */
#socials_filter_padder {
    padding: 8px 0;
    border-top: 2px solid #141517;
    border-bottom: 2px solid #141517;
}

#socials_filter .socials_filter_item {
    display: table-cell;
    padding: 0 10px;
    border-right: 2px solid #141517;
    color: #ffffff;
    font-size: 10px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    cursor: pointer;
}

#socials_filter .socials_filter_item:last-child {
    border-right: 0;
}

#socials_filter .socials_filter_item:hover {
    color: #ffcb31;
}

#socials_filter .socials_filter_item.active {
    color: #ffcb31;
    cursor: default;
}

#top_list {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 30px;
}

#top_list .top_item {
    background: #1c1d20;
    padding: 12px;
    line-height: 16px;
}

#top_list .top_item:nth-child(2n) {
    background: #141517;
}

#top_list .top_item > div {
    float: left;
}

#top_list .top_item .flag {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    background: url('../i/sprite_drk.png') no-repeat;
}

#top_list .top_item .flag.ru {
    background-position: -204px 0;
}

#top_list .top_item .flag.ua {
    background-position: -204px -21px;
}

#top_list .top_item .flag.by {
    background-position: -204px -42px;
}

#top_list .top_item .flag.none {
    background-position: -2px -133px;
}

#top_list .top_item .name {
    max-width: 45%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#top_list .top_item .value {
    float: right;
}

#top_list .top_item .value .rub {
    color: #141517;
}

/** LAST DEALS */
#last_deals {
    height: 100%;
}

#last_deals .last_deal {
    background: #141517;
}

#last_deals .last_deal:nth-child(2n) {
    background: #1c1d20;
}

#last_deals .last_deal > div {
    padding: 12px 10px;
    white-space: nowrap;
}

#last_deals .last_deal .symbol {
    min-width: 33.3333333%;
}

#last_deals .last_deal .symbol:after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-right-width: 3px;
    border-left-width: 3px;
}

#last_deals .last_deal .name {
    min-width: 33.3333333%;
    text-overflow: ellipsis;
    overflow: hidden;
}

#last_deals .last_deal .money {
    width: 33.3333333%;
    text-align: right;
}

#last_deals .last_deal.call .symbol:after {
    border-top: 0;
    border-bottom-color: #65cf92 !important;
}

#last_deals .last_deal.put .symbol:after {
    border-bottom: 0;
    border-top-color: #e44b5b !important;
}

#last_deals .last_deal.win .money {
    color: #65cf92;
}

#last_deals .last_deal.win .money:before {
    content: '+ ';
}

#last_deals .last_deal.lose .money {
    color: #e44b5b;
}

#last_deals .last_deal.lose .money:before {
    content: '- ';
}

.scroll.shaded .padding_right_when_scrollable {
    padding-right: 20px !important;
}

/* TUTORIAL */
#tutorial_plate {
    position: absolute;
    left: 0;
    padding: 24px;
    max-width: 280px;
    text-align: center;
    z-index: 100;
    border-radius: 6px;
    background: #141517;
}

#tutorial_plate.translated {
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

#tutorial_plate span {
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    bottom: 100%;
    left: 24px;
    border: 12px solid transparent;
    border-bottom-color: #141517;
}

#tutorial_plate span.to_center {
    left: 50%;
    margin-left: -12px;
}

#tutorial_plate.on_top span {
    top: 100%;
    bottom: auto;
    border-top-color: #141517;
    border-bottom-color: transparent;
}

#tutorial_plate.on_center {
    max-width: 360px;
    width: 360px;
    bottom: auto !important;
    left: 0 !important;
    right: 0 !important;
    margin: auto;
}

#tutorial_plate.on_center span {
    display: none;
}

#tutorial_plate #tutorial_txt {
    white-space: normal;
    width: 100%;
    color: #fff;
    font-size: 13px;
    line-height: 20px;
    margin-bottom: 20px;
}

/** DEAL CLOSE POP-UP */
.deal_close_pop {
    position: fixed;
    left: 50%;
    top: 32%;
    z-index: 1000;
    width: 380px;
    margin-left: -190px;
    background: #141517;
    border-radius: 6px;
    text-align: center;
    display: none;
}

.deal_close_pop.show {
    display: block;
}

.deal_close_pop .header {
    color: #ffffff;
    font-size: 16px;
    font-family: 'Ubuntu';
    font-weight: 700;
    text-transform: uppercase;
    padding: 16px;
    border-bottom: 2px solid #1c1d20;
}

.deal_close_pop .content {
    padding: 24px 12px;
}

.deal_close_pop .title {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 10px;
}

.deal_close_pop .value {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Ubuntu';
}

.deal_close_pop .value .rub {
    font-size: 18px;
}

.deal_close_pop.win .value {
    color: #65cf92;
}

.deal_close_pop.win .value:before {
    content: '+ ';
}

.deal_close_pop.lose .value {
    color: #e44b5b;
}

.deal_close_pop.lose .value:before {
    content: '- ';
}

.deal_close_pop .actions {
    padding: 0 12px 16px 12px;
}

/** CLOASED DEAL INFO */
.closed_deal_info {

    background: #141517;
    z-index: 10001;

}

.closed_deal_info.show {
    display: block;
}

.closed_deal_info .header {
    padding: 16px;
    border-bottom: 2px solid #1c1d20;
}

.closed_deal_info .header > div {
    float: left;
}

.closed_deal_info .header .header_name {
    color: #ffffff;
    font-size: 16px;
    font-family: 'Ubuntu';
    font-weight: 700;
    text-transform: uppercase;
}

.closed_deal_info .header .header_time {
    color: #a4b1c0;
    font-family: 'Ubuntu';
    font-size: 13px;
    margin-left: 24px;
    line-height: 16px;
}

.closed_deal_info .header .header_time .date {
    margin-right: 10px;
}

.closed_deal_info .content {
    background: #1c1d20;
}

.closed_deal_info .content .table-cell {
    vertical-align: top;
}

.closed_deal_info .content .summary {
    min-width: 170px;
}

.closed_deal_info .content .summary .result {
    padding: 16px;
    border-bottom: 2px solid #141517;
}

.closed_deal_info .content .summary .result .symbol {
    color: #ffffff;
    font-size: 16px;
    font-family: 'Ubuntu';
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.closed_deal_info .content .summary .result .title {
    color: #a4b1c0;
    margin-bottom: 5px;
}

.closed_deal_info .content .summary .result .value {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Ubuntu';
}

.closed_deal_info .content .summary .result .value .rub {
    font-size: 18px;
}

.closed_deal_info .content .summary .item {
    padding: 16px;
    border-bottom: 2px solid #141517;
}

.closed_deal_info .content .summary .item:last-child {
    border-bottom: 0;
}

.closed_deal_info .content .summary .item > div {
    float: left;
}

.closed_deal_info .content .summary .item .icon {
    width: 30px;
    height: 32px;
    margin: 4px 10px 0 0;
}

.closed_deal_info .content .summary .item .values .title {
    margin-bottom: 5px;
}

.closed_deal_info .content .summary .item .values .value {
    font-size: 18px;
    font-family: 'Ubuntu';
    font-weight: 700;
}

.closed_deal_info .content .summary .item .values .value .measure {
    font-size: 16px;
    color: #a4b1c0;
}

.closed_deal_info .content .chart_holder {
    width: 430px;
    height: 100%;
    background: #141517;
    background-image: url('../i/tile_dark.png');
}

.closed_deal_info .content .chart_holder .chart {
    position: relative;
    height: 100%;
    height: 303px;
    /*background: url('../img/chart.svg') no-repeat center;*/
}

.closed_deal_info.win .summary .result .value {
    color: #65cf92;
}

.closed_deal_info.lose .summary .result .value {
    color: #e44b5b;
}

.closed_deal_info.lose .summary .result .value:before {
    content: ' ';
}

.closed_deal_info .footer {
    padding: 22px;
    text-align: center;
    border-top: 2px solid #1c1d20;
}

.closed_deal_info .footer .share {
    font-size: 0;
    display: inline-block;
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 3px;
    margin-right: 10px;
    -webkit-transition: background .2s ease;
    transition: background .2s ease;
}

.closed_deal_info .footer .share:last-child {
    margin-right: 0;
}

.closed_deal_info .footer .share > div {
    float: left;
    font-size: 11px;
    line-height: 18px;
}

.closed_deal_info .footer .share.fb {
    background: #49659f;
}

.closed_deal_info .footer .share.fb:hover {
    background: #647cad;
}

.closed_deal_info .footer .share.vk {
    background: #4d75a3;
}

.closed_deal_info .footer .share.vk:hover {
    background: #688ab1;
}

.closed_deal_info .footer .share .icon {
    margin-right: 10px;
    font-size: 18px;
}

.closed_deal_info .footer .share .text {
    font-weight: 700;
    text-transform: uppercase;
}

/** Close popup */
.close_popup {
    position: absolute;
    top: 13px;
    right: 13px;
    z-index: 9;
    cursor: pointer;
    font-size: 21px;
}

.close_popup:hover {
    color: #a2abb6;
}

#logo > img {
    width: 130px;
    margin-top: -5px;
    content: url('../i/zentrader_reverse_sm.png');
}

/* SPRITE ICONS */
.svgi {
    display: block;
    overflow: hidden;
    line-height: 1;
}

.svgi:before {
    content: url('../i/sprite_drk.svg');
    display: block;
    width: 216px;
    height: 182px;
    position: relative;
    top: 0;
    left: 0;
}

.svgi.logo:before {
    width: 123px;
    height: 30px;
    top: 0;
    left: 0;
	content:none;
}

.svgi.traders:before {
    width: 19px;
    height: 16px;
    top: -35px;
    left: 0;
}

.svgi.deals:before {
    width: 19px;
    height: 16px;
    top: -35px;
    left: -19px;
}

.svgi.clock:before {
    top: -187px;
    left: -140px;
    zoom: 0.68;
}

.svgi.date:before {
    width: 19px;
    height: 16px;
    top: -35px;
    left: -19px;
}

.svgi.sound:before {
    width: 22px;
    height: 22px;
    top: -56px;
    left: 0;
}

.svgi.background:before {
    width: 22px;
    height: 22px;
    top: -56px;
    left: -25px;
}

.svgi.help:before {
    width: 22px;
    height: 22px;
    top: -56px;
    left: -50px;
}

.svgi.user_menu:before {
    width: 19px;
    height: 20px;
    top: -56px;
    left: -85px;
}

.svgi.menu_icon_01:before {
    width: 18px;
    height: 18px;
    top: -131px;
    left: 0;
}

.svgi.menu_icon_02:before {
    width: 18px;
    height: 18px;
    top: -131px;
    left: -18px;
}

.svgi.menu_icon_03:before {
    width: 18px;
    height: 18px;
    top: -131px;
    left: -36px;
}

.svgi.menu_icon_04:before {
    width: 18px;
    height: 18px;
    top: -131px;
    left: -54px;
}

.svgi.menu_icon_05:before {
    width: 18px;
    height: 18px;
    top: -131px;
    left: -72px;
}

.svgi.menu_icon_06:before {
    width: 18px;
    height: 18px;
    top: -131px;
    left: -90px;
}

.svgi.menu_icon_07:before {
    width: 18px;
    height: 18px;
    top: -131px;
    left: -108px;
}

.svgi.menu_icon_08:before {
    width: 18px;
    height: 18px;
    top: -131px;
    left: -126px;
}

.svgi.menu_icon_09:before {
    width: 18px;
    height: 18px;
    top: -131px;
    left: -144px;
}

.svgi.menu_icon_10:before {
    width: 18px;
    height: 18px;
    top: -131px;
    left: -162px;
}

.svgi.menu_icon_11:before {
    width: 18px;
    height: 18px;
    top: -131px;
    left: -180px;
}

.svgi.menu_icon_12:before {
    width: 18px;
    height: 18px;
    top: -131px;
    left: -198px;
}

.svgi.close_w:before {
    width: 20px;
    height: 20px;
    top: -81px;
    left: -85px;
}

.fi-rr-arrow-alt-circle-up {
    margin: 0 auto;
    width: 29px;
    height: 29px;
}

.fi-rr-arrow-alt-circle-up:before {
    top: -154px;
    left: 0px;
}

.fi-rr-arrow-alt-circle-down {
    margin: 0 auto;
    width: 29px;
    height: 29px;
}

.fi-rr-arrow-alt-circle-down:before {
    top: -154px;
    left: -34px;
}

.svgi.psum_money.usd:before {
    width: 30px;
    height: 30px;
    top: -186px;
    left: -105px;
}

.svgi.psum_money.rub:before {
    width: 30px;
    height: 30px;
    top: -186px;
    left: -105px;
}

.svgi.psum_money:before {
    width: 32px;
    height: 32px;
    top: -186px;
    left: -105px;
}
.svgi.psum_time:before {
    width: 32px;
    height: 32px;
    top: -186px;
    left: -140px;
}

.svgi.pop_icn_1:before {
    width: 30px;
    height: 30px;
    top: -186px;
    left: 0;
}

.svgi.pop_icn_2:before {
    width: 30px;
    height: 30px;
    top: -186px;
    left: -35px;
}

.svgi.pop_icn_3:before {
    width: 30px;
    height: 30px;
    top: -186px;
    left: -70px;
}

#sound:hover .svgi:before {
    top: -81px;
    left: 0;
}

#sound.active .svgi:before {
    top: -106px;
    left: 0;
}

#sound:hover .fi-rr-volume:before {
    color: #F8F6F0;
}

#sound.active .fi-rr-volume:before {
    color: #ffcb31;
}

#background:hover .svgi:before {
    top: -81px;
    left: -25px;
}

#background.active .svgi:before {
    top: -106px;
    left: -25px;
}

#get_help:hover .svgi:before {
    top: -81px;
    left: -50px;
}

#get_help.active .svgi:before {
    top: -106px;
    left: -50px;
}

#get_help:hover .fi-rr-interrogation:before {
    color: #F8F6F0;
}

#get_help.active .fi-rr-interrogation:before {
    color: #ffcb31;
}

#user_menu:hover .user_menu:before {
    top: -56px;
    left: -110px;
}

#user_menu.active .user_menu:before {
    top: -56px;
    left: -135px;
}

.close_widget:hover .svgi:before {
    top: -81px;
    left: -110px;
}

.flot-tick-label {
    color: #9ba8b7;
}

.option-chart-time {
    background-color: #1c1d20;
}

.chart-loading, .chart-overlay {
    background-color: #1c1d20;
}

.closed_deal_chart .flot-x-axis {
    background-color: #141517;
    border-top: 1px solid #1c1d20;
}
.scroll.shaded.on_top:before, .scroll.shaded.on_btm:after {
    opacity: 1;
    visibility: visible;
}

.option:hover { border-color: #ffcb31; box-shadow: 0 0 0 1px #ffcb31; }
.option .close_deal .close_deal_message, .currency-container.jpy {color: #fff;}

@media all and (max-width: 572px){
.preset .presets_input input[type=text]{text-align:left;padding: 7px 20px 7px 20px;}
/*#profit_summary #expiration{width:50%;padding: 20px 12px 20px 20px;}*/
}
/*
@media all and (max-width: 400px){
#profit_summary #expiration{padding: 13px 12px 20px 20px;}
}*/

/* Pulse effect animation for the price marker in dark theme */
#float_rate.pulse-effect {
    animation: pulse-animation-dark 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 9999 !important; /* Ensure it's visible above other elements */
}

/* Dark theme chart point pulse */
.chart-point-pulse-circle {
    background-color: rgba(255, 162, 0, 0.5);
    border: 2px solid rgba(255, 162, 0, 0.8);
}

@keyframes pulse-animation-dark {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 162, 0, 0.8);
        transform: scale(1);
        background-color: rgba(255, 162, 0, 0.3);
    }
    20% {
        transform: scale(1.15);
        background-color: rgba(255, 162, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 15px 5px rgba(255, 162, 0, 0.7);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 162, 0, 0);
        transform: scale(1);
    }
}

/* Fast mode timer styles for countdown < 10 seconds */
.option_time_cell.fast-mode {
    color: #e44b5b !important;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/** FEEDBACK POPUP */
.feedback-popup-container {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    width: 440px;
    background: #141517;
    border-radius: 6px;
    display: none;
}

.feedback-popup-container.show {
    display: block;
}

.feedback-popup-container .header {
    padding: 16px;
    border-bottom: 2px solid #1c1d20;
    color: #ffffff;
    font-size: 16px;
    font-family: 'Ubuntu';
    font-weight: 700;
    text-transform: uppercase;
}

.feedback-popup-container .content {
    padding: 20px;
    background: #1c1d20;
}

.feedback-popup-container .feedback-subtitle {
    color: #93959a;
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.feedback-popup-container .feedback-rating {
    text-align: center;
    margin-bottom: 20px;
}

.feedback-popup-container .rating-star {
    font-size: 24px;
    color: #93959a;
    cursor: pointer;
    margin: 0 5px;
    transition: color 0.2s ease;
}

.feedback-popup-container .rating-star:hover {
    color: #ffcb31;
}

.feedback-popup-container .rating-star.selected {
    color: #ffcb31;
}

.feedback-popup-container .feedback-input-container {
    position: relative;
}

.feedback-popup-container .feedback-input {
    width: 100%;
    height: 80px;
    padding: 10px;
    border: 1px solid #2c2e32;
    background: #141517;
    color: #ffffff;
    border-radius: 3px;
    resize: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    box-sizing: border-box;
}

.feedback-popup-container .feedback-input::placeholder {
    color: #93959a;
}

.feedback-popup-container .feedback-counter {
    position: absolute;
    bottom: 5px;
    right: 10px;
    color: #93959a;
    font-size: 11px;
}

.feedback-popup-container .actions {
    padding: 0 20px 20px 20px;
    background: #1c1d20;
    text-align: center;
}

.feedback-popup-container .actions .button {
    margin: 0 5px;
}

.feedback-popup-container .actions .button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/** AUTH REQUIRED MODAL */
.auth-required-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    width: 440px;
    background: #141517;
    border-radius: 6px;
    display: none;
}

.auth-required-modal.show {
    display: block;
}

.auth-required-modal .header {
    padding: 16px;
    border-bottom: 2px solid #1c1d20;
    color: #ffffff;
    font-size: 16px;
    font-family: 'Ubuntu';
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

.auth-required-modal .icon {
    text-align: center;
    font-size: 48px;
    padding: 30px 0 20px 0;
    background: #1c1d20;
}

.auth-required-modal .content {
    padding: 0 30px 25px 30px;
    background: #1c1d20;
    text-align: center;
}

.auth-required-modal .message {
    color: #93959a;
    font-size: 14px;
    line-height: 1.6;
}

.auth-required-modal .actions {
    padding: 0 20px 20px 20px;
    background: #1c1d20;
    text-align: center;
}

.auth-required-modal .actions .button {
    margin: 0 5px;
    min-width: 140px;
}

/** CONNECTION LOST MODAL */
.connection-lost-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    width: 440px;
    background: #141517;
    border-radius: 6px;
    display: none;
}

.connection-lost-modal.show {
    display: block;
}

.connection-lost-modal .header {
    padding: 16px;
    border-bottom: 2px solid #1c1d20;
    color: #ffffff;
    font-size: 16px;
    font-family: 'Ubuntu';
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

.connection-lost-modal .icon {
    text-align: center;
    font-size: 48px;
    padding: 30px 0 20px 0;
    background: #1c1d20;
}

.connection-lost-modal .content {
    padding: 0 30px 25px 30px;
    background: #1c1d20;
    text-align: center;
}

.connection-lost-modal .message {
    color: #93959a;
    font-size: 14px;
    line-height: 1.6;
}

.connection-lost-modal .actions {
    padding: 0 20px 20px 20px;
    background: #1c1d20;
    text-align: center;
}

.connection-lost-modal .actions .button {
    margin: 0 5px;
    min-width: 140px;
}

/* Connection lost - disabled button state */
.buybutton-control.connection-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(50%);
}

/* Connection banner mobile adjustments */
@media (max-width: 768px) {
    #connection_lost_banner {
        top: 55px !important;
        padding: 12px 15px !important;
        font-size: 13px !important;
    }

    #connection_lost_banner span {
        display: block;
        margin-bottom: 10px;
        margin-right: 0 !important;
    }

    #connection_lost_banner button {
        width: 100%;
        padding: 10px 15px !important;
    }
}
