:root {
    --body-bg: #ffffff;
    --body-text: #101828;
    --icon-bg: #eab308;
    --icon-text: #ffffff;
    --btn-bg: #facc15;
    --btn-border: #facc15;
    --btn-text: #000000;
    --btn-bg-hover: #facc15;
    --btn-bg2: #ffffff;
    --btn-border2: #facc15;
    --btn-text2: #000000;
    --btn-bg2-hover: #facc15;
}
.ptfybtn {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-width: 1px;
    border-style: solid;
    border-radius: 0.375rem;
    font-size: 1rem;
    line-height: normal;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
body {
    color: var(--body-text);
}
.ptfybtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
/*sortable table*/
.sortable-table th {
    cursor: pointer;
    position: relative;
    user-select: none;
}
.sortable-table th.sortable::after {
    content: "↕";
    position: absolute;
    margin-left: 0.4rem;
    color: #565656;
}
.sortable-table th.asc::after {
    content: "↑";
    opacity: 1;
    color: #565656;
}
.sortable-table th.desc::after {
    content: "↓";
    opacity: 1;
    color: #565656;
}
/* table */
.ptfy_inside_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    line-height: normal;
    color: var(--body-text);
}
.ptfy_inside_table th {
    border-bottom: 2px solid #dee2e6;
    padding: 0.6rem 0.5rem;
    text-align: left;
    vertical-align: top;
}
.ptfy_inside_table td {
    padding: 0.3rem 0.5rem;
    text-align: left;
    vertical-align: top;
}
.ptfy_inside_table th {
    background-color: #f3f4f6;
    font-weight: 600;
}
.ptfy_inside_table tr:hover {
    background-color: #f9fafb;
}
.ptfy_inside_tablefixed {
    max-height: 60vh;
    overflow-y: auto;
    width: 100%;
    border-collapse: collapse;
}
.ptfy_inside_tablefixed thead th {
    position: sticky;
    top: 0;
    background-color: #f8f9fa;
    z-index: 2;
    padding: 8px;
    border-bottom: 2px solid #dee2e6;
    text-align: left;
}
/*All title bar*/
.ptfy_inside_title_bar {
    background-color: #e1f8ff;
    border: 1px solid #b3e5ff;
    border-radius: 0.25rem;
    padding: 0.7rem 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.ptfy_inside_title_bar .cont {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: flex-start;
    gap: 0.8rem;
}
.ptfy_inside_title_bar .icon {
    color: #0084aa;
}
.ptfy_inside_title_bar h2 {
    font-size: 1.25rem;
    line-height: 1.2;
    font-weight: 600;
    color: var(--body-text);
}
.ptfy_inside_title_bar p {
    font-size: 0.9rem;
    line-height: normal;
    font-weight: 400;
    color: var(--body-text);
}

.ptfy-scrl::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 3px;
    -webkit-overflow-scrolling: scroll;
}
.ptfy-scrl::-webkit-scrollbar:horizontal {
    -webkit-appearance: none;
    height: 3px;
    -webkit-overflow-scrolling: scroll;
}
.ptfy-scrl::-webkit-scrollbar-track {
    background-color: #eee;
}
.ptfy-scrl::-webkit-scrollbar-thumb {
    background-color: #888888;
    border-radius: 20px;
}
.ptfy-scrl {
    scrollbar-color: #888888 #eee;
    scrollbar-width: thin;
}
/********************************************************************/

/*start PAN verification*/
.ptfy_inside_kyc {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.ptfy_inside_kyc h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--body-text);
    margin-bottom: 0.7rem;
}
.ptfy_inside_kyc label {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--body-text);
    opacity: 0.8;
    margin-bottom: 0.5rem;
}
.ptfy_inside_kyc input[type="text"],
.ptfy_inside_kyc input[type="email"],
.ptfy_inside_kyc input[type="number"],
.ptfy_inside_kyc select {
    width: 100%;
    padding: 0.4rem 0.5rem;
    border: 1px solid #bdbdbd;
    border-radius: 0.37rem;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--body-text);
    background-color: #ffffff;
}
.ptfy_inside_kyc input[type="text"]:focus,
.ptfy_inside_kyc input[type="email"]:focus,
.ptfy_inside_kyc input[type="number"]:focus,
.ptfy_inside_kyc select:focus {
    outline: none;
    border: 1px solid #b6cbee;
    box-shadow: 0 0 5px rgba(66, 133, 244, 0.5);
}
.ptfy_inside_kyc .star {
    color: red;
    margin-left: 0.2rem;
}
.ptfy_inside_kyc .error {
    color: red;
    font-size: 0.8rem;
    margin-top: 0.3rem;
}
.ptfy_inside_kyc_btn {
    background-color: var(--btn-bg);
    color: var(--btn-text);
    border-color: var(--btn-border);
}
.ptfy_inside_kyc_btn:hover {
    background-color: var(--btn-bg-hover);
    color: var(--btn-text);
}
/*end PAN verification*/

/*start holding fetch*/
.ptfy_inside_holding {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.ptfy_inside_holding_fetch {
    background: #cce5ff;
    border: 1px solid #b8daff;
    text-align: center;
    padding: 0.6rem 1rem;
    margin-top: 10px;
    border-radius: 0.25rem;
}
.ptfy_inside_holding_fetch p {
    font-size: 0.9rem;
    line-height: normal;
    color: #004085;
    font-weight: 600;
    margin-bottom: 8px;
}
.ptfy_inside_holding_fetch .icon {
    background-color: #2a77c8;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 8px;
    color: #ffffff;
    margin-bottom: 7px;
}
.ptfy_inside_holding_fetch_btn {
    background-color: #0072eb;
    color: #ffffff;
    border-color: #0072eb;
}
#dynamic-message {
    font-size: 0.95rem;
    line-height: normal;
    color: var(--body-text);
    font-style: italic;
    min-height: normal;
    transition: opacity 0.3s ease;
}
.message-fade-in {
    animation: fadeInUp 0.5s ease-out;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
#timer-display {
    display: inline-block;
    margin-top: 20px;
    text-align: center;
    padding: 8px 5px;
    background: #f6f6f6;
    background: linear-gradient(
        180deg,
        rgba(246, 246, 246, 1) 0%,
        rgba(255, 255, 255, 1) 100%
    );
    border-top: 1px solid #e1e1e1;
    border-radius: 0.25rem;
    font-size: 0.9rem;
    line-height: normal;
    color: var(--body-text);
}
#dynamic-message {
    font-size: 0.9rem;
    color: var(--body-text);
}
#timer-countdown {
    font-weight: bold;
}
.ptfy_inside_steps_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    position: relative;
    width: 100%;
    background-color: #ffffff;
}
.ptfy_inside_steps_container .step {
    flex: 1;
    text-align: center;
    position: relative;
}
.ptfy_inside_steps_container .step-h3 {
    margin-top: 3px;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 600;
    color: var(--body-text);
    margin-bottom: 5px;
}
.ptfy_inside_steps_container .step-p {
    margin-top: 2px;
    font-size: 0.85rem;
    color: var(--body-text);
    opacity: 0.8;
}
.ptfy_inside_steps_container .step-title {
    background-color: #947010;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    border-radius: 50%;
    font-weight: 700;
    color: #fff;
    margin-top: 20px;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.ptfy_inside_steps_container .step-title i {
    font-size: 1.2rem;
    line-height: 1;
    display: inline-block;
    color: #fff;
}
.ptfy_inside_steps_container .step-line {
    position: absolute;
    top: 38px; /* aligned with center of step-title */
    left: 0;
    right: 0;
    height: 3px;
    background-color: #ccc;
    z-index: 1;
    border-radius: 2px;
}
.step:first-child .step-line {
    left: 50%;
}
.step:last-child .step-line {
    right: 50%;
}
.step:first-child .step-line.active {
    background-color: #2a7fff;
}
.step:last-child .step-line.active {
    background-color: #2a7fff;
}
/* Step transitions and states */
.step-line.active {
    background-color: #2a7fff;
    transition: background-color 0.5s ease;
}
.step.active .step-title {
    background-color: #2a7fff;
    transform: scale(1.15);
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(42, 127, 255, 0.3);
    animation: pulse-glow 2s infinite;
}
.step.completed .step-title {
    background-color: #208738;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}
.step.completed .step-line {
    background-color: #208738;
    transition: background-color 0.5s ease;
}
.step .step-title {
    transition: all 0.4s ease;
}
.step-item.active .step-title {
    background-color: #2a7fff;
    transform: scale(1.15);
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(42, 127, 255, 0.3);
    animation: pulse-glow 2s infinite;
}
.step-item.completed .step-title {
    background-color: #208738;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}
.step-item.completed .step-line {
    background-color: #208738;
    transition: background-color 0.5s ease;
}
.step-item.active .step-line {
    background-color: #2a7fff;
    transition: background-color 0.5s ease;
}
/* Loading animations */
@keyframes pulse-glow {
    0%,
    100% {
        transform: scale(1.15);
        box-shadow: 0 4px 12px rgba(42, 127, 255, 0.3);
    }
    50% {
        transform: scale(1.25);
        box-shadow: 0 6px 20px rgba(42, 127, 255, 0.5);
    }
}
/* Active step icon spinning animation */
.step.active .step-title i,
.step-item.active .step-title i {
    animation: spin-icon 2s linear infinite;
}
.ptfy_inside_holding_success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    text-align: center;
    padding: 1rem 1rem;
    margin-top: 25px;
    border-radius: 0.25rem;
}
.ptfy_inside_holding_success p {
    font-size: 0.9rem;
    line-height: normal;
    color: #155724;
    font-weight: 600;
    margin-bottom: 10px;
}
.ptfy_inside_holding_success .icon {
    background-color: #25873c;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 8px;
    color: #ffffff;
    margin-bottom: 15px;
}
.ptfy_inside_holding_success_btn {
    background-color: #208738;
    color: #ffffff;
    border-color: #208738;
}
.ptfy_inside_holding_error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    text-align: center;
    padding: 1rem 1rem;
    margin-top: 25px;
    border-radius: 0.25rem;
}
.ptfy_inside_holding_error p {
    font-size: 0.9rem;
    line-height: normal;
    color: #721c24;
    font-weight: 600;
    margin-bottom: 10px;
}
.ptfy_inside_holding_error .icon {
    background-color: #c94a56;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 8px;
    color: #ffffff;
    margin-bottom: 15px;
}
.ptfy_inside_holding_error_btn {
    background-color: #dc3545;
    color: #ffffff;
    border-color: #dc3545;
}
/*end holding fetch*/

/*start stocks execute*/
.ptfy_inside_execute {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    padding: 0.9rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.ptfy_inside_execute_table {
    font-weight: 600;
    background-color: #f5f5f5;
    border: 1px solid #d6d6d6;
}
.ptfy_inside_execute_table .imgs {
    height: 24px;
    width: 24px;
    margin-right: 5px;
    vertical-align: middle;
}
.ptfy_inside_execute_table span {
    display: block;
    opacity: 0.6;
    font-weight: 600;
}
.ptfy_inside_execute_table .status-completed {
    color: #208738;
}
.ptfy_inside_execute_table .status-filled {
    color: #ffc107;
}
.ptfy_inside_execute_table .status-failed {
    color: #dc3545;
}
.ptfy_inside_execute_btn_sec {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}
/*end stocks execute*/

.chart-component {
    width: 100%;
}
.chart-title {
    font-size: 1.2rem;
    line-height: normal;
    color: var(--body-text);
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}
.chart-container {
    position: relative;
    height: 200px !important;
}
/*start stock review*/
.ptfy_inside_stk_review_cont {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    padding: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.ptfy_inside_stk_review_procd {
    background: #e2f0d9;
    border: 1px solid #c3e6cb;
    text-align: center;
    padding: 0.8rem 0.5rem;
    border-radius: 0.25rem;
}
.ptfy_inside_stk_review_procd h2 {
    font-size: 1.3rem;
    line-height: 1.2;
    color: #155724;
    font-weight: 600;
}
.ptfy_inside_stk_review_procd p {
    font-size: 0.9rem;
    line-height: normal;
    color: #155724;
    font-weight: 400;
}
.ptfy_inside_stk_review_procd_btn {
    background-color: #208738;
    color: #ffffff;
    border-color: #208738;
}
.ptfy_inside_stk_review_procd .info {
    font-size: 0.85rem;
    line-height: normal;
    font-weight: 400;
    color: #155724;
    opacity: 0.8;
}
.ptfy_inside_stk_review_sum {
    background-color: #e1f8ff;
    border: 1px solid #b3e5ff;
    padding: 0.8rem 0.5rem;
    border-radius: 0.25rem;
}
.ptfy_inside_stk_review_sum_cont {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 1%;
}
.ptfy_inside_stk_review_sum_cont .items {
    font-size: 0.9rem;
    line-height: normal;
    font-weight: 400;
    color: var(--body-text);
    text-align: center;
    flex: 1;
}
.ptfy_inside_stk_review_sum_cont .items span {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
}
.ptfy_inside_stk_review_head {
    background-color: #e1f8ff;
    border-bottom: 1px solid #b1d4de;
    padding: 0.5rem 0.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.ptfy_inside_stk_review_head .items {
    text-align: center;
    font-size: 0.9rem;
    line-height: normal;
    font-weight: 400;
}
.ptfy_inside_stk_review_head .items span {
    font-weight: 800;
}
/*end stock review*/

/*start basket execute*/
.ptfy_inside_basket_exec_usercode {
    background-color: #ffffff;
    border: 1px solid #a1dcff;
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    border-radius: 0.2rem;
    padding: 0.5rem;
}
.ptfy_inside_basket_exec_usercode p {
    font-size: 0.9rem;
    line-height: normal;
    font-weight: 400;
    margin-left: 2px;
}
.ptfy_inside_basket_exec_ft {
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    gap: 15px;
    border-radius: 0.25rem;
    border: 1px solid #e9e9e9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.ptfy_inside_title_bar_order {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ptfy_inside_basket_order_accor .card {
    border: 0px;
}
.ptfy_inside_basket_order_accor .card-header {
    padding: 4px 0px;
    background-color: transparent;
    border-bottom: 0px;
}
.ptfy_inside_basket_order_accor .card-header button {
    border: none;
    background-color: #ffffff;
}
.ptfy_inside_basket_order_accor .card-body {
    padding: 0.5rem 0.5rem;
    background-color: #f5f5f5;
}
.ptfy_inside_basket_order_accor .accor-head {
    list-style: none;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    margin-bottom: 10px;
}
.ptfy_inside_basket_order_accor .accor-head li {
    font-size: 0.9rem;
    line-height: normal;
    color: var(--body-text);
    opacity: 0.8;
    padding: 0;
    margin: 0;
    text-align: center;
}
.ptfy_inside_basket_order_accor .accor-hd {
    list-style: none;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    margin: 0px;
    padding: 0px;
    background-color: transparent;
}
.ptfy_inside_basket_order_accor .accor-hd li {
    font-size: 0.9rem;
    padding: 0;
    margin: 0;
    text-align: center;
}
.ptfy_inside_basket_order_accor .order-type {
    text-align: center;
    font-size: 0.7rem;
    padding: 2px 4px;
    border-radius: 2px;
    font-weight: 600;
}
.ptfy_inside_basket_order_accor .green {
    background-color: #048917;
    color: #ffffff;
}
.ptfy_inside_basket_order_accor .red {
    background-color: #ec0909;
    color: #ffffff;
}
.accor-hd .scptname {
    font-weight: 600;
    margin-right: 5px;
    float: left;
}
.accor-hd .tg span {
    font-size: 0.7rem;
    border: 1px solid #9e9e9e;
    border-radius: 2px;
    padding: 1px 2px;
    background-color: #ffffff;
}
.accor-hd .arrow {
    font-size: 12px;
}
.ptfy_inside_basket_order_accor .accor-inside {
    list-style: none;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    margin: 0px;
    padding: 0px;
}
.ptfy_inside_basket_order_accor .accor-inside li {
    font-size: 0.9rem;
    padding: 0;
    margin: 0;
    color: var(--body-text);
    margin-right: 15px;
}
.ptfy_inside_basket_order_accor .accor-inside li span {
    font-weight: 600;
    margin-left: 3px;
}
.ptfy_inside_basket_order_accor .order-type {
    text-align: center;
    font-size: 0.7rem;
    padding: 2px 4px;
    border-radius: 2px;
    font-weight: 600;
}

.ptfy_inside_order_scroll {
    width: 100%;
    overflow: auto;
    max-height: 45vh;
}
/*end basket execute*/

/*Start Stock preview*/
.ptfy_inside_stck_prev_tab {
    border: 1px solid #947010;
    width: fit-content;
    border-radius: 0.375rem;
    margin: 0 auto;
    margin-bottom: 0.8rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.ptfy_inside_stck_prev_tab .nav-link {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    text-transform: uppercase;
    gap: 0.3rem;
    color: var(--body-text);
    border-radius: 0rem;
    margin-bottom: 0;
    border: none;
}
.ptfy_inside_stck_prev_tab .nav-link.active {
    background-color: #947010;
    border-color: #947010;
    color: var(--body-text);
}
.ptfy_inside_stck_summary {
    width: fit-content;
    margin: 0 auto 1.8rem;
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.ptfy_inside_stck_summary li {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.95rem;
    line-height: normal;
    font-weight: 500;
    color: #595959;
    white-space: nowrap;
}
.ptfy_inside_stck_summary li span:last-child {
    font-size: 1rem;
    color: #2f4baf;
    font-weight: 700;
}
.ptfy_inside_stck_mid_sec {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}
.ptfy_inside_stck_mid_sec_left,
.ptfy_inside_stck_mid_sec_right {
    padding: 1rem;
    border-radius: 6px;
    background-color: #ffffff;
    border: 1px solid #e6e6e7;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    flex: 1;
}
.ptfy_inside_stck_mid_sec_left {
    max-height: calc(100vh - 220px);
    overflow-y: auto;
}
.ptfy_inside_stck_head {
    font-size: 1.1rem;
    line-height: normal;
    font-weight: 600;
    color: #34478d;
}

.ptfy_inside_stck_rtbtns {
    display: flex;
    justify-content: space-between;
    align-items: left;
    gap: 5px;
}
.ptfy_inside_stck_rtbtns_btngrp {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
}

.ptfy_inside_stck_table-container {
    position: relative;
    max-height: calc(80vh - 100px);
    overflow-y: auto;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.ptfy_inside_stck_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    line-height: normal;
    color: var(--body-text);
}

.ptfy_inside_stck_table thead th {
    position: sticky;
    top: 0;
    background-color: #f3f4f6;
    z-index: 3;
}

.ptfy_inside_stck_table th {
    border-bottom: 2px solid #dee2e6;
    padding: 0.6rem 0.5rem;
    text-align: left;
    vertical-align: top;
}

.ptfy_inside_stck_table td {
    padding: 0.5rem 0.5rem;
    text-align: left;
    vertical-align: middle;
}

.ptfy_inside_stck_table td:first-child {
    font-weight: 600;
}

.ptfy_inside_stck_table thead tr:first-child h5 {
    margin: 0;
    font-size: 1rem;
}

.ptfy_inside_stck_table tbody tr:nth-child(even) {
    background-color: #fcfcfd;
}

.ptfy_inside_stck_table th {
    background-color: #f3f4f6;
    font-weight: 600;
}

.ptfy_inside_stck_table .badge {
    font-size: 0.75rem;
    border-radius: 999px;
    letter-spacing: 0.3px;
    padding: 0.35em 0.6em;
}
/*End Stock preview*/

/* Start MF Preview Tab */
.ptfy_mf_inside_portfolio_preview_mid {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}
.ptfy_mf_inside_portfolio_preview_left,
.ptfy_mf_inside_portfolio_preview_right {
    padding: 1rem;
    border-radius: 6px;
    background-color: #ffffff;
    border: 1px solid #e6e6e7;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    flex: 1;
}
.ptfy_mf_inside_portfolio_preview_left {
    max-height: calc(100vh - 180px);
    overflow-y: auto;
}
.ptfy_mf_inside_portfolio_preview_left::-webkit-scrollbar {
    width: 6px;
}
.ptfy_mf_inside_portfolio_preview_left::-webkit-scrollbar-thumb {
    background: #d1d1d1;
    border-radius: 4px;
}
.ptfy_mf_inside_portfolio_preview_right > div {
    margin-bottom: 1rem;
}
.ptfy_mf_inside_portfolio_preview_right hr {
    margin: 1rem 0;
}
.ptfy_mf_table_wrapper {
    position: relative;
    max-height: 60vh;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}
.ptfy_mf_inside_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    line-height: normal;
    color: var(--body-text);
}
.ptfy_mf_inside_table thead th {
    position: sticky;
    top: 0;
    background-color: #f3f4f6;
    z-index: 3;
}
.ptfy_mf_inside_table th {
    border-bottom: 2px solid #dee2e6;
    padding: 0.6rem 0.5rem;
    text-align: left;
    vertical-align: top;
}
.ptfy_mf_inside_table td {
    padding: 0.5rem 0.5rem;
    text-align: left;
    vertical-align: middle;
}
.ptfy_mf_inside_table td:first-child {
    font-weight: 600;
}
.ptfy_mf_inside_table thead tr:first-child h5 {
    margin: 0;
    font-size: 1rem;
}
.ptfy_mf_inside_table tbody tr:nth-child(even) {
    background-color: #fcfcfd;
}
.ptfy_mf_inside_table th {
    background-color: #f3f4f6;
    font-weight: 600;
}
.ptfy_mf_inside_tablefixed {
    max-height: 60vh;
    overflow-y: auto;
    width: 100%;
    border-collapse: collapse;
}
.ptfy_mf_inside_tablefixed thead th {
    position: sticky;
    top: 0;
    background-color: #f8f9fa;
    z-index: 2;
    padding: 8px;
    border-bottom: 2px solid #dee2e6;
    text-align: left;
}
.ptfy_mf_inside_table td.text-right {
    white-space: nowrap;
}
.ptfy_mf_inside_table .text-right {
    font-variant-numeric: tabular-nums;
}
.ptfy_mf_inside_table tr:hover {
    background-color: #f5f7fa;
}
.ptfy_mf_inside_table .badge {
    font-size: 0.75rem;
    border-radius: 999px;
    letter-spacing: 0.3px;
    padding: 0.35em 0.6em;
}
.ptfy_mf_inside_table .fa-info-circle {
    margin-left: 4px;
    cursor: pointer;
}
.ptfy_mf_inside_table thead tr:last-child th {
    box-shadow: inset 0 -1px 0 #e5e7eb;
}
.ptfy_mf_inside_table tr:focus-within {
    outline: 2px solid #c7d2fe;
    outline-offset: -2px;
}
/* End MF Preview Tab */
/*************************************** Media Query *********************************************/

@media (max-width: 320px) {
    .ptfybtn {
        font-size: 0.85rem;
    }
}
@media (max-width: 576px) {
    /* Start MF Preview Tab */
    .ptfy_mf_table_wrapper {
        overflow-x: auto;
    }
    /* End MF Preview Tab */
}

@media (max-width: 768px) {
    /*All title bar*/
    .ptfy_inside_title_bar h2 {
        font-size: 1.1rem;
    }
    .ptfy_inside_title_bar p {
        font-size: 0.9rem;
    }
    /*start table*/
    .ptfy_inside_table {
        font-size: 0.8rem;
    }
    .ptfy_inside_table th,
    .ptfy_inside_table td {
        border: 1px solid #dee2e6;
    }
    /*end table*/

    /*Start Stock preview*/
    .ptfy_inside_stck_summary li {
        flex-direction: column;
        font-size: 0.8rem;
        gap: 2px;
        flex-basis: auto;
    }
    .ptfy_inside_stck_mid_sec {
        flex-direction: column;
    }
    .ptfy_inside_stck_mid_sec_left,
    .ptfy_inside_stck_mid_sec_right {
        max-height: none;
        overflow: visible;
    }
    .ptfy_inside_stck_rtbtns {
        flex-direction: column;
    }
    .ptfy_inside_stck_table {
        font-size: 0.8rem;
    }
    .ptfy_inside_stck_head {
        font-size: 1rem;
    }
    /*End Stock preview*/

    /*start stocks execute*/
    .ptfy_inside_execute_btn_sec {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
    }
    .ptfy_inside_execute_btn_sec .btn {
        width: 100%;
        margin-bottom: 7px;
    }
    /*end stocks execute*/
    /*start holding fetch*/
    .ptfy_inside_steps_container .step-title {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    .ptfy_inside_steps_container .step-title i {
        font-size: 1rem;
        line-height: 1;
    }
    .ptfy_inside_steps_container .step {
        flex: auto;
    }
    .ptfy_inside_steps_container .step-h3 {
        font-size: 0.85rem;
    }
    .ptfy_inside_steps_container .step-p {
        font-size: 0.7rem;
    }
    #timer-display {
        font-size: 0.85rem;
    }
    #dynamic-message {
        font-size: 0.85rem;
    }
    /*end holding fetch*/

    /*start stock review*/
    .ptfy_inside_stk_review_procd h2 {
        font-size: 1.2rem;
    }
    .ptfy_inside_stk_review_sum_cont .items {
        font-size: 0.85rem;
    }
    .ptfy_inside_stk_review_sum_cont .items span {
        font-size: 0.9rem;
    }
    .ptfy_inside_stk_review_head {
        justify-content: center;
    }
    .ptfy_inside_stk_review_head .items {
        width: 50%;
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }
    /*end stock review*/
    .ptfy_inside_basket_order_accor .accor-head li {
        font-size: 0.8rem;
    }
    .ptfy_inside_basket_order_accor .accor-hd li {
        font-size: 0.8rem;
    }
    .ptfy_inside_basket_order_accor .accor-inside li {
        font-size: 0.8rem;
    }
    /* Start MF Preview Tab */
    .ptfy_mf_inside_portfolio_preview_mid {
        flex-direction: column;
    }
    .ptfy_mf_inside_portfolio_preview_left,
    .ptfy_mf_inside_portfolio_preview_right {
        max-height: none;
        overflow: visible;
    }
    /* mobile card view for small device */
    .ptfy_mf_table_wrapper {
        max-height: none;
        overflow: visible;
        border: none;
    }
    .ptfy_mf_inside_table {
        border: 0;
    }
    .ptfy_mf_inside_table thead {
        display: none;
    }
    .ptfy_mf_inside_table,
    .ptfy_mf_inside_table tbody,
    .ptfy_mf_inside_table tr,
    .ptfy_mf_inside_table td {
        display: block;
        width: 100%;
    }
    .ptfy_mf_inside_table tbody tr {
        background: #ffffff;
        border: 1px solid #e6e6e7;
        border-radius: 8px;
        margin-bottom: 0.75rem;
        padding: 0.5rem 0.75rem;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    }
    .ptfy_mf_inside_table td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 0.4rem 0;
        border: none;
        font-size: 0.8rem;
    }
    .ptfy_mf_inside_table td::before {
        font-size: 0.8rem;
        color: #6c757d;
        font-weight: 500;
        padding-right: 1rem;
        white-space: nowrap;
    }
    .ptfy_mf_inside_table td.text-right,
    .ptfy_mf_inside_table td.text-center {
        text-align: right;
    }
    .ptfy_mf_inside_table td:first-child {
        font-weight: 600;
        font-size: 0.85rem;
        padding-bottom: 0.6rem;
        border-bottom: 1px solid #e5e7eb;
        margin-bottom: 0.5rem;
    }
    .ptfy_mf_inside_table tr:hover {
        background: #ffffff;
    }
    .ptfy_mf_inside_table td:first-child::before {
        content: "";
    }
    .ptfy_mf_inside_table td:nth-child(1)::before {
        content: "Fund";
    }
    .ptfy_mf_inside_table td:nth-child(2)::before {
        content: "Category";
    }
    .ptfy_mf_inside_table td:nth-child(3)::before {
        content: "Sub Category";
    }
    .ptfy_mf_inside_table td:nth-child(4)::before {
        content: "Units";
    }
    .ptfy_mf_inside_table td:nth-child(5)::before {
        content: "NAV";
    }
    .ptfy_mf_inside_table td:nth-child(6)::before {
        content: "Current Value";
    }
    .ptfy_mf_inside_table td:nth-child(7)::before {
        content: "Recommendation";
    }
    .ptfy_mf_inside_table .badge {
        white-space: nowrap;
        align-self: flex-end;
    }
    /* End MF Preview Tab */
}

@media (min-width: 768px) and (max-width: 991px) {
    /* Start MF Preview Tab */
    .ptfy_mf_inside_table th,
    .ptfy_mf_inside_table td {
        padding: 0.4rem 0.3rem;
        font-size: 0.85rem;
    }
    /* End MF Preview Tab */
}

@media (min-width: 769px) and (max-width: 1024px) {
    /*start table*/
    .ptfy_inside_table {
        font-size: 0.8rem;
    }
    .ptfy_inside_table th,
    .ptfy_inside_table td {
        border: 1px solid #dee2e6;
    }
    /*end table*/
}
