/*================================================================================
	Item Name: Vuexy - Vuejs, HTML & Laravel Admin Dashboard Template
	Version: 2.0
	Author: PIXINVENT
	Author URL: http://www.themeforest.net/user/pixinvent
================================================================================

NOTE:
------
PLACE HERE YOUR OWN SCSS CODES AND IF NEEDED, OVERRIDE THE STYLES FROM THE OTHER STYLESHEETS.
WE WILL RELEASE FUTURE UPDATES SO IN ORDER TO NOT OVERWRITE YOUR STYLES IT'S BETTER LIKE THIS.  */


body {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.45;
    color: #6E6B7B;
    text-align: left;
    background-color: #F8F8F8;
}


#Slidepage_right {
    display: none;
}

#Slidepage_right {
    background: #fff;
    padding: 0px;
    border: 1px solid #E6E9ED;
}

    #Slidepage_right .button_block {
        border-top: 1px solid #cccccc6b;
        padding-top: 20px;
    }

.errorinput {
    border: 1px solid #E42D3F;
}

.error {
    color: #E42D3F;
}

.ff-select-control {
    position: relative;
}

    .ff-select-control i:not(.material-icons) {
        position: absolute;
        left: 0;
        top: 0;
        width: 34px;
        height: 100%;
        text-align: center;
        line-height: 40px;
        font-size: 15px;
        pointer-events: none;
    }



.btn-action {
    border: 2px solid #DBE3E8;
    height: 40px;
    width: 40px;
}


    .btn-action svg {
        fill: #A0B0C9;
    }

.btn-action-edit svg:hover {
    fill: #FFF;
}

.btn-action-edit {
}

    .btn-action-edit:hover {
        background-color: #243774;
        border-color: #243774;
    }

.btn-action-view {
}

    .btn-action-view:hover {
        background-color: #72B400;
        border-color: #72B400;
    }

.btn-action-delete {
}

    .btn-action-delete:hover {
        background-color: #ED2365;
        border-color: #ED2365;
    }

.vertical-layout.vertical-menu-modern.menu-expanded .main-menu .brand-logo {
    display: none !important
}

.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu .brand-text {
    display: none !important
}

.vertical-overlay-menu.menu-open .main-menu .brand-logo {
    display: none !important
}

a {
    font-size: 13px;
    font-weight: 800;
}

.titleGroup {
    background: #5c738b;
    color: #fff;
    padding: 10px;
    font-size: 17px;
}

.uploaded_img {
    position: relative;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 20px;
}

    .uploaded_img span {
        display: block;
        font-size: 14px;
        text-align: center;
        padding: 5px 0;
    }

    .uploaded_img .deleteimg {
        background-color: red;
        color: #fff;
        font-size: 14px;
        border-radius: 50%;
        display: inline-block;
        padding: 0px 7px;
        position: absolute;
        top: -8px;
        right: -5px;
    }

    .uploaded_img .progress {
        height: 8px;
    }

div#files div {
    margin-right: 10px;
    margin-top: 10px;
}

div#files {
    display: flex;
    flex-wrap: wrap;
}

/* ===== Dark Side Menu (matching login page palette) ===== */
.main-menu {
    background: linear-gradient(180deg, #0f0c29 0%, #302b63 60%, #24243e 100%) !important;
}
.main-menu .navbar-header {
    background: transparent !important;
    padding: 1rem 0.5rem;
}
.main-menu .navigation {
    background: transparent !important;
}
.main-menu .navigation li a {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: all 0.2s;
}
.main-menu .navigation li a:hover,
.main-menu .navigation li.active > a {
    color: #fff !important;
    background: rgba(115, 103, 240, 0.25) !important;
    border-radius: 6px;
    margin: 0 0.5rem;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
}
.main-menu .navigation li a i,
.main-menu .navigation li a svg {
    color: rgba(206, 159, 252, 0.7) !important;
    stroke: rgba(206, 159, 252, 0.7) !important;
}
.main-menu .navigation li.active > a i,
.main-menu .navigation li.active > a svg {
    color: #ce9ffc !important;
    stroke: #ce9ffc !important;
}
.main-menu .navigation .navigation-header {
    color: rgba(206, 159, 252, 0.5) !important;
}
.main-menu .shadow-bottom {
    display: none !important;
}
/* Hide menu text labels when sidebar is collapsed */
.menu-collapsed .main-menu:not(.expanded) .menu-title,
.menu-collapsed .main-menu:not(.expanded) .menu-item {
    display: none !important;
}

/* ===== Polished UI: neutral card headers, section gaps ===== */
.content-body > section + section { margin-top: 1.5rem; }
.content-body > section > .card,
.content-body > section > .row > div > .card {
    border: 1px solid #e6e6e6;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.card-header.ch-neutral {
    background: #fff;
    border-bottom: 1px solid #efefef;
    padding: 0.75rem 1.25rem;
}
.card-header.ch-neutral .card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 0;
}
.card-header.ch-neutral .card-title svg,
.card-header.ch-neutral .card-title i:not(.badge) {
    color: #999 !important;
    stroke: #999 !important;
}
/* Lighter row tints for state rows */
.row-state-zone { background: rgba(40,199,111,0.05) !important; }
.row-state-live-zone { background: rgba(0,168,150,0.05) !important; }
.row-state-order { background: rgba(0,123,255,0.05) !important; }
.row-state-position { background: rgba(128,0,255,0.04) !important; }
.row-state-target { background: rgba(255,193,7,0.06) !important; }
.row-state-stop { background: rgba(234,84,85,0.06) !important; }
.row-state-livesell { background: rgba(255,140,0,0.06) !important; }
.row-state-expired { background: rgba(130,130,130,0.05) !important; }

/* Sticky table headers inside scrollable wrappers */
.table-responsive thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f3f2f7;
}

/* Action cells in dashboard rows */
.td-actions { padding-top: 10px !important; padding-bottom: 10px !important; }
.td-actions .order-line { gap: 6px; margin-bottom: 8px; }
.td-actions .action-line { gap: 6px; }
.td-actions .order-line .btn,
.td-actions .action-line .btn { min-height: 30px; line-height: 1; }
.td-actions .order-line,
.td-actions .action-line { justify-content: center; }

/* Clickable order price */
.order-price { cursor: pointer; border-bottom: 1px dashed #aaa; }

/* Stock cell: symbol + name + sector */
.stock-cell { max-width: 220px; }
.stock-cell strong { font-size: 14px; }
.stock-name { display: block; font-size: 12px; color: #999; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.stock-sector { display: block; font-size: 11px; color: #bbb; }

/* Positions strip: 16px gap grid */
.positions-strip { margin: 0 !important; gap: 16px; display: flex; flex-wrap: wrap; }
.positions-strip > [class*="col-"] { padding: 0; flex: 0 0 auto; }
@media (min-width: 1200px) { .positions-strip > [class*="col-"] { width: calc(25% - 12px); } }
@media (min-width: 768px) and (max-width: 1199.98px) { .positions-strip > [class*="col-"] { width: calc(33.333% - 10.667px); } }
@media (min-width: 576px) and (max-width: 767.98px) { .positions-strip > [class*="col-"] { width: calc(50% - 8px); } }
@media (max-width: 575.98px) { .positions-strip > [class*="col-"] { width: 100%; } }
.positions-strip > [class*="col-"] > .card { margin-bottom: 0; }
