/*RESET STYLES*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
    font-family: sans-serif;
}

.app-container {
    /* The app can only be the height of the viewport */
    display: flex;
    flex-direction: column;
    height: 100vh;
    /* Do NOT allow the app to scroll off the screen */
    overflow: hidden;
}

/* HEADER STYLES */
header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    /* Give the header a subtle drop shadow */
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2)
}

header h1 {
    font-size: 1.2em;
}

header img {
    width: 40px;
    height: 40px;
    /*  Rounded corners  */
    border-radius: 100%;
    /*   margin: 10px */
}

main {
    /* Take up all free space on the screen between header and footer */
    flex: 1 1 auto;
    overflow-y: scroll;
}

/* FOOTER STYLES */
footer {
    /* Give the footer a shadow too */
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2)
}

footer nav ul {
    display: flex;
    /*  Put everything on one line  */
    flex-direction: row;
    /* Equally space everything  */
    justify-content: space-around;
    align-items: center;
}

footer nav ul li {
    /* Stop everything from hitting the edges of the footer   */
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* THIS IS JUST FOR DEMO PURPOSES - FORCING THE CENTRAL CONTAINER TO BE LARGER THAN THE SCREEN */
.spacer {
    min-height: 1000px;
}

.navbar-default {
    background-color: #fff;
    border-color: #fff;
    color: #0a0e14;
}


.carousel-control.left, .carousel-control.right {
    background-image: none;
}


.img-responsive {
    width: 100%;
    height: auto;
}

@media (min-width: 992px ) {
    .carousel-inner .active.left {
        left: -25%;
    }

    .carousel-inner .next {
        left: 25%;
    }

    .carousel-inner .prev {
        left: -25%;
    }
}

@media (min-width: 768px) and (max-width: 991px ) {
    .carousel-inner .active.left {
        left: -33.3%;
    }

    .carousel-inner .next {
        left: 33.3%;
    }

    .carousel-inner .prev {
        left: -33.3%;
    }

    /*.active > div:first-child {*/
    /*    display: block;*/
    /*}*/

    /*.active > div:first-child + div {*/
    /*    display: block;*/
    /*}*/

    /*.active > div:last-child {*/
    /*    display: none;*/
    /*}*/
}

@media (max-width: 767px) {
    .carousel-inner .active.left {
        left: -100%;
    }

    .carousel-inner .next {
        left: 100%;
    }

    .carousel-inner .prev {
        left: -100%;
    }

    /*.active > div {*/
    /*    display: none;*/
    /*}*/

    /*.active > div:first-child {*/
    /*    display: block;*/
    /*}*/
}

.panel-login {
    border-color: #ccc;
    -webkit-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.2);
    /* background-color: #2c2443; */
}

.panel-login > .panel-heading {
    /* color: #fff;
    background-color: #2c2443;
    border-color: #fff; */
    text-align: center;
}

.panel-login > .panel-heading a {
    text-decoration: none;
    color: #666;
    font-weight: bold;
    font-size: 15px;
    -webkit-transition: all 0.1s linear;
    -moz-transition: all 0.1s linear;
    transition: all 0.1s linear;
}

.panel-login > .panel-heading a.active {
    color: #000;
    font-size: 18px;
}

.panel-login > .panel-heading hr {
    margin-top: 10px;
    margin-bottom: 0px;
    clear: both;
    border: 0;
    height: 1px;
    background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
    background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
    background-image: -ms-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
    background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
}

.panel-login input[type="text"], .panel-login input[type="email"], .panel-login input[type="password"] {
    height: 45px;
    border: 1px solid #ddd;
    font-size: 16px;
    -webkit-transition: all 0.1s linear;
    -moz-transition: all 0.1s linear;
    transition: all 0.1s linear;
}

.panel-login input:hover,
.panel-login input:focus {
    outline: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-color: #ccc;
}

.btn-login {
    background-color: rgb(19, 48, 171) !important;
    outline: none;
    color: #fff;
    font-size: 14px;
    height: auto;
    font-weight: normal;
    padding: 14px 0;
    text-transform: uppercase;
    border-color: rgb(19, 48, 171) !important;
}

.btn-login:hover,
.btn-login:focus {
    color: #fff;
    background-color: rgb(19, 48, 171) !important;
    border-color: rgb(19, 48, 171) !important;
}

.forgot-password {
    text-decoration: underline;
    color: #888;
}

.forgot-password:hover,
.forgot-password:focus {
    text-decoration: underline;
    color: #666;
}

.btn-register {
    background-color: rgb(19, 48, 171) !important;
    outline: none;
    color: #fff;
    font-size: 14px;
    height: auto;
    font-weight: normal;
    padding: 14px 0;
    text-transform: uppercase;
    border-color: rgb(19, 48, 171) !important;
}

.btn-register:hover,
.btn-register:focus {
    color: #fff;
    background-color: rgb(19, 48, 171) !important;
    border-color: rgb(19, 48, 171) !important;
}

a {
    color: #337ab7;
    text-decoration: none;
}

.login-margin-top {
    padding-top: 90px;
}
@media only screen and (max-device-width : 640px) {
    .login-margin-top {
        padding-top: 1px;
    }
}

/* CHART */
#chart_container {
    width: auto;
    height: 500px !important;
}

.text-warning {
    color: orange;
}

.menu-button {
    /*display: inline-grid;*/
}

.menu-button span {
    font-size: 20px;
}

.transaction-menu {
    position: fixed;
    height: 120px;
    bottom: 0;
    width: 100%;
}

footer {
    position: fixed;
    height: 70px;
    bottom: 0;
    width: 100%;
    background: rgb(6, 17, 33) !important;
}

.badge {
    padding: 10px;
}

.tl{text-align: left}
.tc{text-align: center}
.tr{text-align: right}
.bold{font-weight: bold}
.ft12{font-size: 12px;}
.ft10{font-size: 10px;}
.ft14{font-size: 14px}
.ft15{font-size: 15px}
.ft16{font-size: 16px}
.ft18{font-size: 18px}
.ft20{font-size: 20px;}
.ft22{font-size: 22px}
.ft30{font-size: 30px}
.ft36{font-size: 36px}
/* 外边距 */
.tian{background-color: #f0b90b}
.mt5{margin-top: 5px}
.mt10{margin-top: 10px}
.ml12{margin: 0 12px;}
.ml10{margin-left: 10px}
.mt15{margin-top: 15px}
.mltian{background-color: #f0b90b}
.mt40{margin-top: 40px}
.ml15{margin-left: 15px}
.ml20{margin-left: 20px}
.ml40{margin-left: 40px;}
.mt20{margin-top: 20px}
.mt30{margin-top: 30px;}
.mr20{margin-right: 20px;}
.mr10{margin-right: 10px;}
.mr5{margin-right: 5px;}
.mb10{margin-bottom: 10px;}
.mb20{margin-bottom: 20px;}
.mb50{margin-bottom: 50px;}
.ml5{
    margin-left: 5px;
}
/* 内边距 */
.pl10{padding-left: 10px}
.pr5{padding-right: 5px}
.pb5{padding-bottom: 5px}
.pr10{padding-right: 10px}
.pl12{padding-left: 12px;padding-right: 12px;}
.pr30{padding-right: 30px}
.pb10{padding-bottom: 10px;}
.pt40{padding-top: 40px;}
.plr10{padding-left: 10px;padding-right: 10px;}
.plr15{padding-left: 15px;padding-right: 15px;}
.plr20{padding-left: 20px;padding-right: 20px;}
.ptb10{padding-top: 10px;padding-bottom: 10px;}
.ptb20{padding-top: 20px;padding-bottom: 20px;}
.ptb15{padding-top: 15px;padding-bottom: 15px;}
.pd5{padding: 5px;}

.form-control, .btn, .select2 {
    height: 50px;
    font-size: 16px;
}

.badge {
    height: 40px;
    border-radius: 0 !important;
    line-height: 40px;
}

table tr td {
    vertical-align: middle !important;
}

.select2-selection__rendered {
    line-height: 45px !important;
}
.select2-container .select2-selection--single {
    height: 50px !important;
}
.select2-selection__arrow {
    height: 50px !important;
}

td a {
    text-decoration: none !important;
}

a:hover {
    text-decoration: none !important;
}

.ftw{color: #fff !important;}
.color1{color: #333}
.color2{color: #000}
.color3{color: #666}
.color4{color: #666}
.color5{color: #2b343c}
.color1f{color: #1f3f59}
.color8{color: #828181}
.color9{color: #7d818a}
.baseBg2{background: #f0b90b;}
.baseBg3{background: #879BAA;}
.baseBg{background: #e8edf1}
.bgRed{background:#e3046f !important;}
.bgGreen{background: #00c087 !important;}
.white{color: #fff}
.white_gray{color: #7d818a}
.yellow{color: #f1cd78;}
.red{color:#e3046f}
.green{color: #00c087}
.blue{color: #f0b90b}
.blue2{color: #728DAF}
.ftColor{color: #f0b90b;}

.btn-danger {
    background:#e3046f !important;
}

.btn-primary {
    background: rgb(19, 48, 171) !important;
    border-color: rgb(19, 48, 171) !important;
}

.text-white {
    color: #fff !important;
}

/* NEW STYLE */

.text-color {
    /*color: rgb(244, 244, 244);*/
    /*color: #0a0e14;*/
    color: #fff !important;
}

.login-page-background {
    background-image: url('../images/bg/44416992_9038440.jpg') !important;
    background-position: center center;
			background-repeat:  no-repeat;
			background-attachment: fixed;
			background-size:  cover;
			background-color: #999;
}

.bg-color {
    background-color: rgb(11,88,216); 
    outline-color: #0055cc;
}

.table .table, table {
    /*color: rgb(244, 244, 244);*/
    /*background-color: rgb(6, 17, 33);*/
}

html, body, .table .table, .panel-body {
    /* background-color: rgb(6, 17, 33); */
}

.panels {
    /* background-color: rgb(6, 17, 33) !important; */
    width: 100%;
    border-radius: 3px;
    overflow: hidden;
}

.panel {
    margin-bottom: 20px;
    /* background-color: rgb(6, 17, 33) !important; */
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
}

.modal-body {
    position: relative;
    padding: 15px;
    /*background:  rgb(6, 17, 33) !important;*/
}

.jumbotron {
    padding-top: 30px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    color: #0a0e14;
    background-color: transparent;
}

.modal-header {
    border-bottom-color: #EEEEEE;
    /*background-color: rgb(6, 17, 33) !important;*/
    color: #fff;
}

.modal-content {
    position: relative;
    /*background-color: rgb(6, 17, 33) !important;*/
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #999;
    border-radius: 6px;
    outline: 0;
    -webkit-box-shadow: 0 3px 9px rgba(0,0,0,.5);
    box-shadow: 0 3px 9px rgba(0,0,0,.5);
}

.close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
}

.size {
    max-width: 100%;
}

.control-label {
    font-size: 20px;
}

.form-control {
    font-size: 18px;
}

.required {
    color: red;
}

.time {
    color: whitesmoke;
}

/* ================================================
   RESPONSIVE TYPOGRAPHY SYSTEM
   Improved font sizes for better readability
   across mobile and desktop devices
   ================================================ */

/* Base font size improvements */
html {
    font-size: 16px; /* Ensure minimum 16px base size for accessibility */
}

body {
    font-size: 1rem; /* 16px on mobile, scales up on larger screens */
    line-height: 1.6;
}

/* Responsive base font scaling */
@media (min-width: 768px) {
    html {
        font-size: 17px; /* Slightly larger on tablets */
    }
}

@media (min-width: 1024px) {
    html {
        font-size: 18px; /* Larger on desktops */
    }
}

/* Enhanced heading sizes with responsive scaling */
h1 {
    font-size: 2rem; /* 32px on mobile */
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.75rem; /* 28px on mobile */
    line-height: 1.3;
    margin-bottom: 0.875rem;
}

h3 {
    font-size: 1.5rem; /* 24px on mobile */
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.25rem; /* 20px on mobile */
    line-height: 1.4;
    margin-bottom: 0.625rem;
}

h5 {
    font-size: 1.125rem; /* 18px on mobile */
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

h6 {
    font-size: 1rem; /* 16px on mobile */
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

/* Larger headings on desktop */
@media (min-width: 768px) {
    h1 { font-size: 2.5rem; } /* 42.5px on tablet */
    h2 { font-size: 2rem; } /* 34px */
    h3 { font-size: 1.75rem; } /* 29.75px */
    h4 { font-size: 1.5rem; } /* 25.5px */
    h5 { font-size: 1.25rem; } /* 21.25px */
}

@media (min-width: 1024px) {
    h1 { font-size: 3rem; } /* 54px on desktop */
    h2 { font-size: 2.25rem; } /* 40.5px */
    h3 { font-size: 2rem; } /* 36px */
    h4 { font-size: 1.5rem; } /* 27px */
    h5 { font-size: 1.25rem; } /* 22.5px */
}

/* Enhanced paragraph and body text */
p {
    font-size: 1rem; /* Inherits from html, 16px minimum */
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Improved form control sizes */
.form-control, .btn, .select2 {
    height: 50px;
    font-size: 1.125rem !important; /* 18px on mobile, scales up */
    padding: 0.75rem 1rem;
}

@media (min-width: 768px) {
    .form-control, .btn, .select2 {
        font-size: 1.25rem !important; /* 21.25px on tablet */
        height: 54px;
    }
}

@media (min-width: 1024px) {
    .form-control, .btn, .select2 {
        font-size: 1.125rem !important; /* 20.25px on desktop */
        height: 56px;
    }
}

/* Enhanced control label sizes */
.control-label {
    font-size: 1.125rem !important; /* 18px minimum */
    font-weight: 600;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .control-label {
        font-size: 1.25rem !important; /* 21.25px */
    }
}

/* Improved table text sizes */
table {
    font-size: 1rem; /* 16px minimum */
}

table thead th {
    font-size: 1rem !important; /* 16px minimum */
    font-weight: 600;
    padding: 12px 8px !important;
}

table tbody td {
    font-size: 1rem !important; /* 16px minimum */
    padding: 12px 8px !important;
}

@media (min-width: 768px) {
    table thead th {
        font-size: 1.125rem !important; /* 19.125px */
        padding: 14px 10px !important;
    }

    table tbody td {
        font-size: 1.0625rem !important; /* 18.0625px */
        padding: 14px 10px !important;
    }
}

/* Enhanced navigation text */
.navbar-nav > li > a {
    font-size: 1rem !important; /* 16px minimum */
    padding: 20px 15px !important;
}

@media (min-width: 768px) {
    .navbar-nav > li > a {
        font-size: 1.0625rem !important; /* 18.0625px on tablet */
    }
}

@media (min-width: 1024px) {
    .navbar-nav > li > a {
        font-size: 1.125rem !important; /* 20.25px on desktop */
    }
}

.navbar-brand {
    font-size: 1.5rem !important; /* 24px minimum */
}

@media (min-width: 768px) {
    .navbar-brand {
        font-size: 1.75rem !important; /* 29.75px */
    }
}

@media (min-width: 1024px) {
    .navbar-brand {
        font-size: 2rem !important; /* 36px */
    }
}

/* Enhanced button text sizes */
button, .btn {
    font-size: 1.0625rem !important; /* 17px minimum */
    font-weight: 600;
    padding: 12px 24px;
}

@media (min-width: 768px) {
    button, .btn {
        font-size: 1.125rem !important; /* 19.125px */
        padding: 14px 28px;
    }
}

@media (min-width: 1024px) {
    button, .btn {
        font-size: 1.0625rem !important; /* 19.125px */
        padding: 14px 30px;
    }
}

/* Enhanced badge sizes */
.badge {
    font-size: 0.875rem !important; /* 14px minimum */
    padding: 6px 12px;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .badge {
        font-size: 0.9375rem !important; /* 15.9375px */
        padding: 7px 14px;
    }
}

/* Enhanced price display sizes */
.usdt {
    font-weight: bolder;
    font-size: 1.375rem !important; /* 22px minimum */
}

@media (min-width: 768px) {
    .usdt {
        font-size: 1.625rem !important; /* 27.625px */
    }
}

@media (min-width: 1024px) {
    .usdt {
        font-size: 1.75rem !important; /* 31.5px */
    }
}

/* Enhanced utility font classes - responsive versions */
.ft10 { font-size: 0.75rem !important; } /* 12px min */
.ft12 { font-size: 0.875rem !important; } /* 14px min */
.ft14 { font-size: 1rem !important; } /* 16px min */
.ft15 { font-size: 1.0625rem !important; } /* 17px min */
.ft16 { font-size: 1.125rem !important; } /* 18px min */
.ft18 { font-size: 1.25rem !important; } /* 20px min */
.ft20 { font-size: 1.375rem !important; } /* 22px min */
.ft22 { font-size: 1.5rem !important; } /* 24px min */
.ft30 { font-size: 2rem !important; } /* 32px min */
.ft36 { font-size: 2.5rem !important; } /* 40px min */

/* Desktop scaling for utility classes */
@media (min-width: 1024px) {
    .ft10 { font-size: 0.8125rem !important; } /* 14.625px */
    .ft12 { font-size: 0.9375rem !important; } /* 16.875px */
    .ft14 { font-size: 1.0625rem !important; } /* 19.125px */
    .ft15 { font-size: 1.125rem !important; } /* 20.25px */
    .ft16 { font-size: 1.1875rem !important; } /* 21.375px */
    .ft18 { font-size: 1.3125rem !important; } /* 23.625px */
    .ft20 { font-size: 1.4375rem !important; } /* 25.875px */
    .ft22 { font-size: 1.5625rem !important; } /* 28.125px */
    .ft30 { font-size: 2.125rem !important; } /* 38.25px */
    .ft36 { font-size: 2.625rem !important; } /* 47.25px */
}

/* Enhanced dropdown menu text */
.dropdown-menu > li > a {
    font-size: 1rem !important; /* 16px minimum */
    padding: 10px 15px !important;
}

@media (min-width: 768px) {
    .dropdown-menu > li > a {
        font-size: 1.0625rem !important; /* 18.0625px */
        padding: 12px 18px !important;
    }
}

/* Enhanced modal text sizes */
.modal-title {
    font-size: 1.5rem !important; /* 24px minimum */
    font-weight: 600;
}

@media (min-width: 768px) {
    .modal-title {
        font-size: 1.75rem !important; /* 29.75px */
    }
}

.modal-body {
    font-size: 1rem !important; /* 16px minimum */
}

@media (min-width: 768px) {
    .modal-body {
        font-size: 1.0625rem !important; /* 18.0625px */
    }
}

/* Enhanced alert/message text */
.alert {
    font-size: 1rem !important; /* 16px minimum */
    padding: 15px 20px;
}

@media (min-width: 768px) {
    .alert {
        font-size: 1.0625rem !important; /* 18.0625px */
        padding: 18px 24px;
    }
}

/* Enhanced list text */
ul li, ol li {
    font-size: 1rem; /* 16px minimum */
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    ul li, ol li {
        font-size: 1.0625rem; /* 18.0625px */
    }
}

/* Enhanced panel text */
.panel-heading {
    font-size: 1.125rem !important; /* 18px minimum */
    font-weight: 600;
    padding: 12px 16px !important;
}

@media (min-width: 768px) {
    .panel-heading {
        font-size: 1.25rem !important; /* 21.25px */
        padding: 14px 18px !important;
    }
}

.panel-body {
    font-size: 1rem !important; /* 16px minimum */
}

@media (min-width: 768px) {
    .panel-body {
        font-size: 1.0625rem !important; /* 18.0625px */
    }
}

/* Improved link text sizes */
a {
    font-size: inherit; /* Inherit from parent but ensure minimum readability */
}

/* Enhanced footer text */
footer {
    font-size: 1rem; /* 16px minimum */
}

@media (min-width: 768px) {
    footer {
        font-size: 1.0625rem; /* 18.0625px */
    }
}

/* Small text should still be readable */
small, .small {
    font-size: 0.875rem !important; /* 14px minimum, was often too small */
}

@media (min-width: 768px) {
    small, .small {
        font-size: 0.9375rem !important; /* 15.9375px */
    }
}