
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter/v20/UcCm3FwrK3iLTcvnUwkT9mI1F55MKw.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter/v20/UcCm3FwrK3iLTcvnUwAT9mI1F55MKw.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter/v20/UcCm3FwrK3iLTcvnUwgT9mI1F55MKw.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter/v20/UcCm3FwrK3iLTcvnUwcT9mI1F55MKw.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter/v20/UcCm3FwrK3iLTcvnUwsT9mI1F55MKw.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter/v20/UcCm3FwrK3iLTcvnUwoT9mI1F55MKw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter/v20/UcCm3FwrK3iLTcvnUwQT9mI1F54.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter/v20/UcCo3FwrK3iLTcvvYwYZ8UA3J58.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter/v20/UcCo3FwrK3iLTcvmYwYZ8UA3J58.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter/v20/UcCo3FwrK3iLTcvuYwYZ8UA3J58.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter/v20/UcCo3FwrK3iLTcvhYwYZ8UA3J58.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter/v20/UcCo3FwrK3iLTcvtYwYZ8UA3J58.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter/v20/UcCo3FwrK3iLTcvsYwYZ8UA3J58.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/inter/v20/UcCo3FwrK3iLTcviYwYZ8UA3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
    margin: 0;
}
header {
    width: 100%;
    height: 117px;
    background: #15101B;
    box-shadow: 0px 10px 10.3px rgba(0, 0, 0, 0.25);
}

header .header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 88px;
}

header .settings-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 282px;
    height: 67px;

    background: #FB6A1C;
    box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 13px;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    /* identical to box height */

    color: #FFFFFF;
    text-decoration: none;

    cursor: pointer;    
}

main {
    background: linear-gradient(230.03deg, #0B080F 10.41%, #120F16 87.66%);
}

.up {
    display: flex;
    flex-direction: row-reverse;
}

.up .running-task {
    display: flex;
    align-items: center;
    gap: 10px;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;

    color: #FFFFFF;

    margin-top: 23px;
    margin-right: 23px;      
}

.up .running-task:not(.active) .running {
    display: none;
}

.up .or-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #FF8400;
    filter: blur(3.1px);  
}

.dash {
    display: flex;
    gap: 150px;
    width: calc(100% - 154px);
    padding-left: 77px;
    padding-right: 77px;
    align-items: stretch;
}

.dash .col-title {
    align-items: center;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 40px;
    line-height: 48px;

    color: #FFFFFF;

    display: flex;
    gap: 17px;
}

.dash .dash-col {
    display: flex;
    flex-direction: column;
}

.dash .dash-col .col-content {
    background: #1B1A20;
    box-shadow: 0px 5px 6px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    flex-grow: 1;
    padding: 29px 24px;
    margin-top: 11px;
    border-radius: 15px;
}

.dash .state-col {
    width: 241px;
}

.dash .market-col {
    width: 661px;
    align-self: baseline;
}

.dash .market-choose-col {
    flex-grow: 1;
}

.dash .state-cur {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dash .state-cur .cur-alloc {
    /* Allocated: */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;

    color: #FFFFFF;
}

.dash .state-cur .cur-name {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 30px;
    line-height: 25px;
    color: #FFFFFF;
    width: fit-content;
}

.dash .state-cur .cur-name.green {
    background: rgba(77, 255, 0, 0.3);
}

.dash .state-cur .cur-name.red {
    background: rgba(234, 81, 11, 0.3);
}

.dash .state-cur span {
    opacity: 0.8;
}


.dash .state-cur .cur-amount {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 30px;
    line-height: 36px;
    color: #FFFFFF;
}


.dash .state-cur {
    padding-bottom: 27px;
    border-bottom: 1px solid #111111;
}

.dash .state-col .col-content {
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.dash .market-field {
    display: flex;
    flex-direction: column;
    gap: 27px;
}

.dash .market-field .market-label {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 24px;

    color: #FFFFFF;
}



.dash .market-field .market-input {
    height: 29px;
    padding: 15px 8px;
    background: #151517;
    box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 10px;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;

    color: #FFFFFF;
}


.dash .market-col .col-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
}

.dash .market-col .market-fields {
    padding: 29px 24px;

    background: #19181E;
    box-shadow: 0px 8px 4.5px rgba(0, 0, 0, 0.25);
    border-radius: 10px;

    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dash .market-label {
    width: fit-content;
}


.dash .market-label.green {
    background: rgba(77, 255, 0, 0.3);
}

.dash .market-label.red {
    background: rgba(234, 81, 11, 0.3);
}

.dash .market-label span {
    opacity: 0.8;
}


.dash .market-btns {
    display: flex;
    justify-content: flex-end;
    gap: 17px;
    padding-right: 24px;
    padding-bottom: 24px;
}

.dash .market-btns .start-btn {
    /* start */

    width: 142px;
    height: 61px;
    background: #EA510B;
    box-shadow: 0px 6px 5px rgba(0, 0, 0, 0.25);
    border-radius: 10px;

    display: flex;
    justify-content: center;
    align-items: center;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    /* identical to box height */

    color: #FFFFFF;
    cursor: pointer;    
}

.dash .market-btns .stop-btn {
    width: 142px;
    height: 61px;

    background: #1C1B21;
    box-shadow: 0px 6px 5px rgba(0, 0, 0, 0.25);
    border-radius: 10px;

    display: flex;
    justify-content: center;
    align-items: center;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    /* identical to box height */

    color: #FFFFFF;
    cursor: pointer;    
}

.dash .market-btns .start-btn:hover,
header .settings-btn:hover,
.dash .market-item .market-start:hover {
    background: #ECE1D4;
    box-shadow: 0px 6px 5px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    color: #EA510B;
}

.dash .market-btns .stop-btn:hover {
    background: #EA510B;
    box-shadow: 0px 6px 5px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    color: #FFFFFF;

}


.dash .col-content > .state-cur:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.dash .state-col {
    align-self: baseline;
}

.dash .markets-list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 10px;
    height: 729px;
    overflow-y: auto;    
}

.dash .market-item {
    display: flex;
    gap: 15px;
}

.dash .market-item .market-left {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    color: #FFFFFF;

    background: #151517;
    box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 10px;

    flex-grow: 1;

    display: flex;
    align-items: center;
}

.dash .market-item .market-start {
    width: 142px;
    height: 61px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #EA510B;
    box-shadow: 0px 6px 5px rgba(0, 0, 0, 0.25);
    border-radius: 10px;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    color: #FFFFFF;
    cursor: pointer;    
}

.logs {
    width: calc(100% - 154px);
    padding-left: 77px;
    padding-right: 77px;
    margin-top: 45px;
    padding-bottom: 45px;
}

.logs .col-title {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 40px;
    line-height: 48px;

    color: #FFFFFF;

    display: flex;
    gap: 17px;
}

.logs .col-content {
    background: #1B1A20;
    box-shadow: 0px 5px 6px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    flex-grow: 1;
    padding: 29px 24px;
    margin-top: 11px;
    border-radius: 15px;
    height: 365px;
    overflow-y: auto;
}

.logs .log-entries {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.logs .log-entry {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;

    color: #FFFFFF;
}

.logs .log-entry .level {
    text-transform: capitalize;
}

.logs .log-entry .info {
    color: #7277B2;
}

.logs .log-entry .warning {
    color: #FB6A1C;
}

.dash.loading .col-title,
.dash.loading .col-content > * {
    opacity: 0.75;
}

.dash .market-choose-col .col-content {
    max-width: 557px;
}

/* Custom scrollbar styling for markets list and logs */
.markets-list::-webkit-scrollbar,
.logs .col-content::-webkit-scrollbar {
    width: 12px;
}

.markets-list::-webkit-scrollbar-track,
.logs .col-content::-webkit-scrollbar-track {
    background: #0B080F;
    border-radius: 6px;
}

.markets-list::-webkit-scrollbar-thumb,
.logs .col-content::-webkit-scrollbar-thumb {
    background: #2A2A2A;
    border-radius: 6px;
    border: 2px solid #0B080F;
}

.markets-list::-webkit-scrollbar-thumb:hover,
.logs .col-content::-webkit-scrollbar-thumb:hover {
    background: #3A3A3A;
}

/* Firefox scrollbar styling */
.markets-list,
.logs .col-content {
    scrollbar-width: thin;
    scrollbar-color: #2A2A2A #0B080F;
}

.market-choose-col .refresh-btn {
    width: 142px;
    height: 61px;
    background: #1C1B21;
    box-shadow: 0px 6px 5px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    gap: 7px;
    align-items: center;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    color: #FFFFFF;
    cursor: pointer;
}

.dash .market-choose-col .col-title {
    justify-content: space-between;
}