:root {
    /* Primary Color Palette */
    --ma-dark-a0: #000000;
    --ma-light-a0: #ffffff;
    --ma-primary-a0: #00318b;
    --bg-danger: #dc3545;
    --ma-primary-a10: #3c7ffd;
    --ma-primary-a20: #4e6c9d;
    --ma-primary-a30: #687fab;
    --ma-primary-a40: #cae0f3;
    --ma-primary-a50: #9aa8c6;
    --light-blue: #bfe2ff;
    /* Surface Color Palette */
    --ma-surface-a0: #000000;
    --ma-surface-a10: #1e1e1e;
    --ma-surface-a20: #353535;
    --ma-surface-a30: #4e4e4e;
    --ma-surface-a40: #696969;
    --ma-surface-a50: #858585;
    --ma-surface-a60: #a1a1a1;
    --ma-surface-custom: #f5f5f5;
    /* Theme Color Variants */
    --ma-blue-100: #e1f7f9;
    --ma-indigo-100: #e0cffc;
    --ma-purple-100: #f2efff;
    --ma-pink-100: #f7d6e6;
    --ma-red-100: #f9ebeb;
    --ma-orange-100: #fef2e2;
    --ma-yellow-100: #fefae1;
    --ma-green-100: #e6f3d9;
    --ma-ofwhite: #f5fbff;
    /* Alert/Utility Colors */
    --ma-red: #dc3545;
    --ma-green: #198754;
    --green: #4caf50;
    --dark-blue: #095a9e;
    --light-red: #ffcfcf;
    --light-purple: #E8E3FF;
    --light-green: #D2FFDB;
    --text-success: #115F39;
    --text-danger: #A01C2A;
}

body {
    font-family: 'Noto Sans', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--ma-dark-a0);
    font-size: 0.85rem;
    background-color: var(--ma-surface-custom);
}

/* text color */
/* Text Utilities */
.text-primary {
    color: var(--ma-primary-a0);
}

.text-secondary {
    color: var(--ma-primary-a30);
}

.textDanger {
    color: var(--ma-red);
}

.textSuccess {
    color: var(--ma-green);
}

.textSuccess-2 {
    color: var(--green);
}

.text-pause {
    color: var(--ma-primary-a30);
}

.bg-dark-red {
    background-color: var(--bg-danger);
}


.text-dark-blue {
    color: var(--dark-blue);
}

.text-desc-input {
    color: var(--ma-surface-a20);
}

.ma-surface-a40 {
    color: var(--ma-surface-a40);
}

/* Buttons */
.btn-primary {
    background-color: var(--ma-primary-a0);
    color: var(--ma-light-a0);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

    .btn-primary:hover {
        background-color: var(--ma-primary-a10);
    }


/* Buttons */
.btn-primary-exit {
    padding: 0.3rem 1rem !important;
}



.btn-bg-light {
    background-color: var(--ma-primary-a40);
    color: var(--ma-surface-a10);
}

/** bg color */
.bgWhite {
    background-color: var(--ma-light-a0);
}

.bgInput {
    background-color: var(--ma-surface-custom);
}

.bg-gray {
    background-color: var(--ma-surface-custom);
}

.bg-surface-a50 {
    background-color: var(--ma-surface-a50);
}

.bg-primary {
    color: var(--ma-primary-a50);
    background-color: var(--ma-surface-custom);
}

.bg-offwhite {
    background-color: var(--ma-ofwhite);
}

.bg-light-green {
    background-color: var(--light-green);
}


.input-blue {
    background-color: var(--ma-primary-a0);
    color: var(--ma-light-a0);
}

.lt-bg-red-200 {
    background-color: #f1aeb5;
}

.It-gray-200 {
    background-color: #e9ecef;
}

.bg-pause {
    background-color: var(--ma-primary-a30);
    color: var(--ma-surface-a0);
}

.bg-blue {
    background-color: var(--dark-blue);
}

.customCheckbox {
    padding: .48rem .75rem;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

    .customCheckbox .form-check {
        min-height: 0;
        margin-bottom: 0;
    }

.bg-primary-a30 {
    background-color: var(--ma-primary-a50);
}

.bg-light-blue {
    background-color: var(--light-blue);
}

.bg-light-red {
    background-color: var(--light-red);
}

.bg-purple100 {
    background-color: var(--ma-purple-100);
}

.bg-light-purple {
    background-color: var(--light-purple);
}

.lt-text-blue-200 {
    color: #9ec5fe;
}

.lt-text-indigo-200 {
    color: #c29ffa;
}

.lt-text-pink-200 {
    color: #efadce;
}

.lt-text-orange-200 {
    color: #fecba1;
}


/* badge  */
.text-bg-blue50 {
    background-color: #e3f2fd;
    color: #000;
}

.text-bg-purple50 {
    background-color: #f3e5f5;
    color: #000;
}

.text-bg-lightblue50 {
    background-color: #e7e6f3;
    color: #000;
}

/* global style */

.table {
    font-size: 0.85rem !important;
}

.section-title {
    color: var(--ma-primary-a0);
    font-size: 1.5rem;
}

.form-select {
    padding: .375rem 1.25rem .375rem .75rem;
    background-position: right .3rem center;
    background-size: 10px 10px;
}

.form-control,
.form-select {
    font-size: 0.85rem;
}

    .form-control[disabled]::placeholder,
    .form-select[disabled] {
        color: var(--ma-surface-a30) !important;
        opacity: 1;
    }

.custom-select {
    background-color: var(--ma-primary-a0) !important;
    color: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
}

.form-control:focus,
.form-select:focus,
.form-check:focus {
    border-color: var(--ma-primary-a0) !important;
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* .btn,
.form-control,
.form-select {
  font-size: inherit;
} */

/* .form-control::placeholder {
  color: var(--ma-dark-a0) !important;
} */

@media (min-width: 768px) {
    .w-md-auto {
        width: auto !important;
    }
}

a {
    text-decoration: none;
    color: var(--ma-primary-a0);
}

    a:hover {
        color: var(--ma-primary-a10);
    }

/*********************** 
|| title ||
************************/
.page-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ma-primary-a0);
    /* margin-bottom: 1rem; */
}

    .page-title .title-icon {
        width: 40px;
        height: auto;
    }

    .page-title .t-desc {
        font-size: 0.85rem;
        color: var(--ma-surface-a20);
        margin-top: 0.2rem;
        font-weight: 400;
    }

@media screen and (max-width: 768px) {
    .page-title h1 {
        font-size: 1rem;
    }

    .page-title .t-desc {
        font-size: 0.7rem;
    }
}

/*********************** 
|| top nav ||
************************/
.logo-wrap {
    width: 73px;
    height: auto;
    overflow: hidden;
    transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1), height 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

@media screen and (max-width: 768px) {
    .logo-wrap {
        width: 60px;
        height: auto;
    }
}

/*********************** 
|| page skeleton ||
************************/
.main-container {
    position: relative;
}

.right-content {
    min-height: 100vh;
    /*padding-left: 220px;*/
    padding-left: 185px;
    transition: all 0.3s;
    position: relative;
    /*overflow-x: auto;*/
}


/*@media (max-width: 767px) {
    .right-content {
        padding-left: 0 !important;
    }
}*/



/**/

.analytics-footer {
    padding-left: 220px;
}

@media (max-width: 767px) {
    .right-content {
        padding-left: 0 !important;
    }

    .analytics-footer {
        padding-left: 0 !important;
    }
}


/*********************** 
|| sidebar  ||
************************/
/* Navigation */
#side_nav {
    background: var(--ma-surface-custom);
    /*min-width: 220px;*/
    min-width: 185px;
    max-width: 220px;
    /* width: 13.2%; */
    padding-top: 70px;
    top: 0;
    left: 0;
    z-index: 1019;
    position: fixed;
    height: 100vh;
    transition: all 0.3s;
}

/*  hover sidebar */
.sidebar ul li {
    transition: all 0.3s;
}

    .sidebar ul li a i {
        padding: 2px 5px 2px 0;
    }


hr.h-color {
    background: #eee;
}

.sidebar li .subMenu > li > a {
    /* color: var(--ma-surface-a20); */
    text-decoration: none;
}

.sidebar li > .subMenu > li > a:hover {
    color: var(--dark-blue) !important;
}

.sidebar li > .subMenu > li.active > a {
    color: var(--dark-blue) !important;
}

.sidebar li a {
    color: #000;
}

@media (max-width: 767px) {
    #side_nav {
        margin-left: -220px;
        position: fixed;
        min-height: 100vh;
    }

        #side_nav.active {
            margin-left: 0;
        }
}


/*********************** 
|| onboarding/Login  ||
************************/
.loginWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.loginCard {
    width: 48rem;
    box-sizing: border-box;
}

    .loginCard .logo img {
        max-height: 45px;
    }

.editNumber span {
    font-size: large;
    display: inline-block;
}

.or_v_line {
    text-align: center;
    position: relative;
}

    .or_v_line span {
        background-color: white;
        display: inline-block;
        width: 40px;
        height: 20px;
        height: auto;
        position: relative;
        z-index: 2;
    }

    .or_v_line::after {
        content: "";
        position: absolute;
        z-index: 1;
        top: 10px;
        left: 0;
        height: 1px;
        border-top: 1px dashed #ccc;
        width: 100%;
    }

.brocker_login h3 {
    font-size: inherit;
}

.brocker_login .brocker_logo {
    flex-wrap: wrap;
}

    .brocker_login .brocker_logo a {
        width: 50px;
        height: 50px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 16px;
        font-size: 13px;
    }

.brocker_logo > * {
    flex: 1 1 70px;
}

.bLogoes {
    max-height: 215px;
}

    .bLogoes a {
        width: 50px !important;
        height: 65px !important;
    }

        .bLogoes a img {
            width: 40px;
            height: 40px;
        }

.brocker_login span a.morewithNumber {
    margin: 0;
    text-align: center;
    background-color: #f4f7ff;
    line-height: 50px;
    border-radius: 50%;
    color: #000;
    font-size: 17px;
    font-weight: var(--medium);
}

.input-group-icon i {
    position: absolute;
    z-index: 2;
    right: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    height: 45px;
    line-height: 45px;
    cursor: pointer;
    font-size: 15px;
}

.otp_text a {
    font-size: 0.8rem;
}

/* otp */
.input-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

    .input-container .form-control {
        min-width: 32px;
        margin-right: 2%;
        text-align: center;
    }

        .input-container .form-control:focus {
            outline: none;
            border-color: dodgerblue;
        }

    .input-container .placeholder {
        color: #aaa;
    }

/*********************** 
|| Analyst Profile Details ||
************************/
/* upload file */
.upload-container {
    width: 100%;
    margin: 0 auto;
}

.upload-box {
    width: 100%;
    height: 150px;
    border: 1px solid #ced4da;
    background-color: var(--ma-surface-custom);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

    .upload-box i {
        color: var(--ma-surface-a50);
    }

    .upload-box p {
        /* font-size: 0.9rem; */
        color: var(--ma-dark-a0);
        margin: 0;
    }

    .upload-box:hover {
        background-color: var(--ma-primary-a40);
        border-color: var(--ma-primary-a20);
    }

#fileInfo {
    display: flex;
    align-items: center;
    justify-content: center;
    /* font-size: 0.9rem; */
}

#fileName {
    color: var(--ma-dark-a0);
}

#deleteFile:hover {
    color: var(--ma-red);
}


/*********************** 
|| Analyst home ||
************************/
.strategies-container {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
}

/* Outer container padding and rounded corner like image */
.custom-table-wrapper {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 10px;
}

/* Strategy icon style */
.strategy-icon {
    width: 24px;
    height: 24px;
    background-color: #e8f0ff;
    border-radius: 8px;
    flex-shrink: 0;
}

/* Table header */
.custom-strategy-table thead th {
    /* background-color: #fff; */
    font-weight: 600;
    border-bottom: 1px solid #eaeaea;
    border-bottom-color: #eaeaea !important;
    /*white-space: nowrap;*/
}

/* Table body */
.custom-strategy-table tbody td {
    /* background-color: #fff; */
    border-top: 1px solid #f1f1f1;
    /*white-space: nowrap;*/
    padding: 12px 6px;
}

/* Align toggle to right edge */
.custom-strategy-table td .form-check {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}



.Toggle-input {
    width: 40px;
    height: 20px;
    cursor: pointer;
}

    .Toggle-input:checked {
        background-color: #22c55e;
        /* match green "On" from image */
        border-color: #22c55e;
    }

.Toggle:focus {
    box-shadow: none;
}

.stats-card {
    border-radius: 12px;
    overflow: hidden;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
    /* margin-bottom: 20px; */
    /* height: 100%; */
}

.stats-card-body {
    background-color: var(--ma-yellow-100);
    padding: 20px;
    position: relative;
    min-height: 120px;
    color: var(--ma-surface-a30);
}

@media screen and (max-width: 768px) {
    .stats-card-body {
        min-height: 97px;
    }
}

.stats-card-footer {
    background-color: #f0f0f4;
    color: var(--ma-surface-a60);
    padding: 8px 15px;
    text-align: center;
}

.stats-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
    .stats-title {
        font-size: 1rem;
    }

    .stats-value {
        font-size: 1.7rem !important;
    }
}

.stats-value {
    /* position: absolute;
  right: 20px;
  bottom: 10px; */
    text-align: right;
    font-size: 60px;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1;
}

.view-details {
    color: var(--ma-surface-a30);
    text-decoration: none;
}

.strategyTools-card {
    background-color: #f5f5f5;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    text-align: center;
}

    .strategyTools-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    }

.icon-container {
    width: 80px;
    height: 57px;
    margin-bottom: .8rem;
}

    .icon-container svg {
        width: 100%;
        height: 100%;
    }

.strategyTools-title {
    /* font-size: 1rem; */
    font-weight: 500;
    /* margin-top: 0.5rem; */
}

.strategyTools-icon {
    stroke: #4CAF50;
    fill: none;
    stroke-width: 2;
}

@media (max-width: 767px) {
    .strategyTools-title {
        font-size: .7rem;
    }

    .icon-container {
        width: 65px;
        height: 65px;
        margin-bottom: 0;
    }

    .strategyTools-card {
        padding: 1rem;
    }
}



/***********************
|| Recommendation Engine ||
************************/
.scrollspy-200 {
    max-height: 200px;
    margin-top: .5rem;
    overflow: auto;
}

/* div-table mobile */
.css-table {
    display: table;
    width: 100%;
}

.css-table-header {
    display: table-header-group;
    text-transform: uppercase;
    font-size: 0.875em;
}

.css-table-body {
    display: table-row-group;
}

.css-table-row {
    display: table-row;
    /* padding: 0 8px; */
}

    .css-table-header div,
    .css-table-row .css-col {
        display: table-cell;
        padding: 3px 5px;
    }

    .css-table-row .css-col {
        background: var(--alice-blue);
        border-bottom: 5px solid #fff;
    }

@media (max-width: 768px) {
    .css-table-row {
        display: flex;
        flex-wrap: wrap;
        /* padding: 0 8px; */
    }
}

/* .css-col:first-child{
padding-left: 10px !important;
display: block !important;
} */
.css-table-row .rh {
    position: relative;
}

/* CSS border triangle trick */
.row_arrow:after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-top-color: black;
    z-index: 2;
    right: 10px;
    top: 22px;
    pointer-events: none;
}

/* Flip CSS border triangle on active */
.rh.active .row_arrow:after {
    border-top-color: transparent;
    border-bottom-color: black;
    top: 16px;
}

/* .css-table .input-group-text {
  background-color: #ffffff;
} */

.css-table .input-group input {
    width: 100%;
}

.css-table-row .rh {
    display: none;
}

@media only screen and (max-width: 768px) {
    .css-table-row .css-col {
        display: inline-flex;
        padding: 5px 12px;
        align-items: center;
        width: 100%;
        max-width: 100% !important;
        border-bottom: 0px solid #fff;
    }

        /* .css-table-row .rh.active ~ .css-col {
      display: inline-flex;
  } */

        /* .css-table-row .css-col::before {
    content: attr(data-header);
    float: left;
    width: 50%;
    display: block;
} */
        .css-table-row .css-col .form-label {
            width: 50% !important;
        }

        .css-table-row .css-col .form-control,
        .css-table-row .css-col .form-select,
        .css-table-row .css-col .input-group {
            width: 50% !important;
            max-width: 100% !important;
        }

    .css-table-header {
        display: none !important;
    }
}


/***********************
|| Market Place client|| 
************************/

.editNumber span {
    font-size: large;
    display: inline-block;
}

.brocker_login span a.morewithNumber {
    margin: 0;
    text-align: center;
    background-color: #f4f7ff;
    line-height: 50px;
    border-radius: 50%;
    color: #000;
    font-size: 17px;
    font-weight: var(--medium);
}

.brocker_login .brocker_logo a {
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 16px;
    /* font-size: 12px; */
    color: var(--ma-primary-a0);
    text-decoration: none;
}

.brocker_login span a.morewithNumber {
    margin: 0;
    text-align: center;
    background-color: #f4f7ff;
    line-height: 50px;
    border-radius: 50%;
    color: #000;
    font-size: 17px;
    font-weight: var(--medium);
}



/** User Consent Agreement **/
/* Analyst Details */
.feature-links a {
    font-size: 0.7rem;
}

.box {
    /* border: 1px solid #ccc; */
    background-color: #f4f7ff;
    border-radius: 15px;
    padding: 20px;
}

.quantity {
    display: flex;
    align-items: center;
    justify-content: end;
    padding: 0;
}

.ConsentText {
    font-size: 12px;
    max-height: calc(100vh - 380px);
    padding: 10px;
    overflow: auto;
}

.terms_box h5 {
    color: #30b54b;
}

@media (max-width: 575px) {
    .terms_box h5 {
        font-size: 1rem;
    }

    .ConsentText,
    .terms_box {
        padding: 0.5rem;
    }

    .box {
        padding: 10px;
    }

    .agreeCheck label {
        font-size: 0.8rem;
    }
}

/* ripple effect  */

.circle-ripple {
    width: 1em;
    height: 1em;
    border-radius: 10%;
    -webkit-animation: ripple 0.9s linear infinite;
    animation: ripple 0.9s linear infinite;
}

@-webkit-keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgb(102, 186, 255, 0.4), 0 0 0 0.5em rgba(102, 186, 255, 0.2);
    }

    100% {
        box-shadow: 0 0 0 0.5em rgba(102, 186, 255, 0.4), 0 0 0 0.5em rgba(102, 186, 255, 0.4, 0);
    }
}

@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 186, 255, 0.4), 0 0 0 0.5em rgba(102, 186, 255, 0.2);
    }

    100% {
        box-shadow: 0 0 0 0.5em rgba(102, 186, 255, 0.4), 0 0 0 0.5em rgba(102, 186, 255, 0);
    }
}

.dot-10 {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    /* margin-top: 5px; */
}

.p-height-full {
    min-height: 85vh;
}

.visually-hidden {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.sr-only {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


.text-center-d {
    text-align: center;
}

@media (max-width: 768px) {
    .text-center-d {
        text-align: left;
    }
}

/* subscriberDetails */
table.dataTable > tbody > tr.child span.dtr-title {
    min-width: 50%;
}

.child td ul.dtr-details {
    width: 100%;
}

div.dt-container.dt-empty-footer tbody > tr:last-child > * {
    border-bottom: none !important;
}

@media screen and (max-width: 767px) {
    div.dt-container .row:first-child {
        display: none;
    }
}

/* down */
table.dataTable.dtr-inline.collapsed > tbody > tr.dtr-expanded > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr.dtr-expanded > th.dtr-control:before {
    content: "\F229";
    font-family: bootstrap-icons;
}
/* up */
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
    margin-right: 0.5em;
    display: inline-block;
    box-sizing: border-box;
    content: "\F231";
    font-family: bootstrap-icons;
    border: 0 solid transparent !important;
}

.table.dataTable > tbody > tr.child ul.dtr-details > li:last-child {
    display: flex;
}


/*********************** 
|| market place dashboard ||
************************/

.m_dshboard .nav-underline .nav-link.active {
    color: #0d6efd;
    font-weight: bold;
    border-bottom: 3px solid #0d6efd !important;
}

.m_dshboard .nav-underline .nav-link {
    color: #6c757d;
    font-weight: normal;
    border-bottom: 3px solid transparent;
}

@media screen and (max-width: 991px) {
    .m_dshboard .nav-underline {
        border-bottom: 1px solid #dee2e6;
        justify-content: space-evenly;
    }
}

.analysts_logo {
    width: 80px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .m-dashboard .card-title {
        font-size: 0.85rem !important;
    }

    .m-dashboard .card-text {
        font-size: 1.2rem !important;
    }

    .card-footer {
        height: 20px !important;
    }
}

.strategies_logo {
    width: 60px;
    height: 60px;
}

/*********************** 
||user dashboard ||
************************/
#dashborardTable.table.dataTable > tbody > tr.child ul.dtr-details > li:last-child .dtr-title {
    display: none;
}

#dashborardTable.table.dataTable > tbody > tr.child ul.dtr-details > li:last-child .dtr-data {
    width: 100%;
}

@media screen and (max-width: 768px) {
    .fs-sm-6 {
        font-size: 1rem !important;
    }

    .w-md-40px {
        width: 20px;
    }
}


/* 29-05-25 */
/*--------------------------------------------------------------
# Dashboard: summer page
--------------------------------------------------------------*/
/* tabs */
.custom-card {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 10px;
}

.tabbable-panel .nav-underline .nav-link {
    color: black;
    font-size: 1rem;
}

    .tabbable-panel .nav-underline .nav-link.active, .nav-underline .show > .nav-link {
        color: #0059ff;
        /* border-bottom-color: var(--dark-blue); */
        border-bottom: 2px solid #0059ff;
    }

.tabbable-panel h5.heading {
    font-size: 1rem;
}

#your_strateres h5, #net_position h5, #order_book h5 {
    font-size: 1.2rem;
}

.f-mo {
    font-weight: bold;
}

.fs-1r {
    font-size: 1rem;
}

@media (max-width: 768px) {
    #your_strateres h5, #net_position h5, #order_book h5 {
        font-size: 1rem;
    }

    .tabbable-panel .nav-underline .nav-link {
        font-size: 0.8rem;
        padding: .5rem 8px .6rem;
    }

    .f-mo {
        font-weight: normal;
    }

    .fs-1r {
        font-size: .8rem;
    }

    .fs-2r {
        font-size: 0.7rem;
    }
}

#netPositon_accordion .accordion-button:not(.collapsed) {
    background-color: transparent;
    box-shadow: none;
}

#netPositon_accordion .accordion-button {
    font-size: inherit;
    /* padding-bottom: 0; */
}

#netPositon_accordion .accordion-button {
    max-width: 61px;
}

@media (max-width: 768px) {
    #netPositon_accordion .accordion-button {
        padding-bottom: 0;
    }

    #netPositon_accordion .fw-bold {
        font-weight: normal !important;
    }

    #netPositon_accordion .accordion-button {
        max-width: 123px !important;
    }
}

#netPositon_accordion .accordion-button::after {
    height: 14px;
    width: 14px;
    margin-left: 6px;
    background-size: cover;
}

.bg-transparent {
    background: transparent;
    --bs-table-bg: transparent;
}

/* net position responsive table */
#netPositon_accordion table {
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    /* table-layout: fixed; */
}


    #netPositon_accordion table tr {
        padding: .35em;
    }

    #netPositon_accordion table th,
    #netPositon_accordion table td {
        padding: .625em;
        color: var(--default-color);
        border-color: #e1e1e1;
    }

    #netPositon_accordion table th {
        letter-spacing: normal;
    }

@media (min-width: 992px) {
    .gap-6 {
        gap: 4rem !important;
    }
}

@media (max-width: 992px) {
    .fw-lg-semibold {
        font-weight: normal !important;
    }
}

@media screen and (max-width: 768px) {
    .accordion-body {
        padding: 1.5rem;
    }

    #netPositon_accordion {
        overflow-x: auto;
        white-space: nowrap;
        padding: 0;
    }

        #netPositon_accordion table {
            border: 0;
            width: 100%;
            display: block;
            overflow: auto;
        }

            #netPositon_accordion table thead {
                display: none;
            }

            #netPositon_accordion table tr {
                display: inline-block;
                width: calc(100vw - 150px);
                margin-right: 20px;
                padding: 0;
            }

                #netPositon_accordion table tr:last-child {
                    margin-right: 0;
                }

            #netPositon_accordion table td {
                display: block;
                text-align: right;
                font-size: 0.9em;
                font-weight: normal;
                position: relative;
                padding-right: 0;
                padding-left: 0;
                border-color: #e9e9e9;
            }

                #netPositon_accordion table td::before {
                    content: attr(data-label);
                    position: absolute;
                    left: 0;
                    font-weight: normal;
                    /* text-transform: uppercase; */
                    margin-bottom: 4px;
                    color: #555;
                    text-align: left;
                }

                #netPositon_accordion table td:last-child {
                    margin-bottom: 0;
                }

    .header-text {
        font-size: 0.8rem;
        font-weight: normal !important;
    }
}

@media screen and (max-width: 430px) {
    #netPositon_accordion table tr {
        width: calc(100vw - 102px);
    }
}


/* 14-05-25 */
/* trade picks */
.css-table-header div, .css-table-row .css-col {
    display: table-cell;
    padding: 6px 5px;
}

@media only screen and (max-width: 768px) {
    .css-table-row .css-col::before {
        content: attr(data-header);
        float: left;
        width: 50%;
        display: block !important;
    }

    .css-table-row .rh {
        display: block !important;
        font-weight: 600;
    }

    .css-table-header div, .css-table-row .css-col {
        padding: 5px 10px;
    }

    .m_hide {
        display: none !important;
    }
}

/* Create Plan*/
.days-btn > ul > li {
    text-align: center;
    vertical-align: middle;
    margin: 0 2px;
    display: inline-block;
    flex: 1;
}

    .days-btn > ul > li > a {
        border: 01px solid #e0e0e0;
        display: block;
        cursor: pointer;
        line-height: 25px;
        color: #000000;
        transition: all 0.5s ease;
        width: 100%;
        min-width: 35px;
        /* font-size: 14px; */
        border-radius: 5px;
        background-color: var(--ma-surface-custom);
        padding: 4px 5px;
    }

        .days-btn > ul > li > a.active {
            background-color: var(--ma-primary-a0);
            color: var(--ma-light-a0);
        }


.edit-profile-card .nav-underline .nav-link.active {
    color: #0d6efd;
    font-weight: bold;
    border-bottom: 3px solid #0d6efd !important;
}

.edit-profile-card .nav-underline .nav-link {
    font-size: 1rem;
    color: #464646;
    border-bottom: 3px solid transparent;
}

@media screen and (max-width: 768px) {
    .edit-profile-card .nav-underline {
        font-size: 0.8rem;
        border-bottom: 1px solid #dee2e6;
        justify-content: space-evenly;
    }
}

.bg_green {
    background-color: var(--ma-green);
}


/*26-05-2025 ===> home and analyst-details page*/
.text-wrap-new {
    /*word-wrap: break-word;*/ /* Forces long words to break and wrap to the next line */
    /*overflow-wrap: break-word;*/ /* Ensures wrapping in modern browsers */
    /*word-break: break-all;*/ /* Allows breaking at any point if necessary */
    /*white-space: normal;*/ /* Ensures normal line breaking behavior */


    word-wrap: break-word; /* Forces long words to break and wrap to the next line */
    overflow-wrap: break-word; /* Ensures wrapping in modern browsers */
    /* word-break: break-all; Allows breaking at any point if necessary */
    overflow-wrap: anywhere;
    white-space: normal; /* Ensures normal line breaking behavior */
}

/*Manually added*/
/*.aliceBlue {
    background-color: var(--alice-blue) !important;
}*/


.ellipsis-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    white-space: normal;
}

.strategies_dt_logo {
    width: 100px;
    height: auto;
}

.day-box-wrap {
    background-color: #f8f9fa;
}

.day-box {
    width: 40px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #ddd;
    font-weight: 500;
    color: #6c757d;
}

    .day-box.active {
        /*color: #28a745;*/ /* Bootstrap green */

        color: #74ed08;
    }

    .day-box:first-child {
        border-left: 1px solid transparent !important;
    }

    .day-box:last-child {
        border-right: 1px solid transparent !important;
    }

@media (max-width:767px) {
    .bg-gray-mob {
        background-color: var(--ma-surface-custom);
    }

    .img-sm {
        max-width: 50px !important;
    }

    .text-mobile {
        font-size: 0.7rem;
    }
}

.text-success {
    color: var(--text-success) !important;
}

.text-danger {
    color: var(--text-danger) !important;
}


/********* 
|| Order Book ||
********/
.nav-underline .nav-link.active, .nav-underline .show > .nav-link {
    font-weight: 600;
    color: var(--ma-primary-a0) !important;
    border-bottom: 2px solid var(--ma-primary-a0);
}

.nav-underline .nav-link {
    color: var(--ma-surface-a20)
}

.table-stripedBG-gray > tbody > tr:nth-of-type(odd) > * {
    --bs-table-accent-bg: var(--bg-gray);
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control {
    white-space: nowrap;
}
