: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: #3598ff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 8px;
  color: #ffffff;
  margin-bottom: 7px;
}
.ptfy_inside_holding_fetch_btn {
  background-color: #007bff;
  color: #ffffff;
  border-color: #007bff;
}
#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: #f7bb1a;
  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: #28a745;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}
.step.completed .step-line {
  background-color: #28a745;
  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: #28a745;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}
.step-item.completed .step-line {
  background-color: #28a745;
  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: #31b450;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 8px;
  color: #ffffff;
  margin-bottom: 15px;
}
.ptfy_inside_holding_success_btn {
  background-color: #28a745;
  color: #ffffff;
  border-color: #28a745;
}
.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: #ff5e6d;
  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*/

/*User Portfolio preview*/
.ptfy_inside_portfolio_preview_mid {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: 1%;
  max-height: 85vh;
}
.ptfy_inside_portfolio_preview_left,
.ptfy_inside_portfolio_preview_right {
  padding: 1rem;
  border-radius: 0.25rem;
  background-color: #ffffff;
  border: 1px solid #e6e6e7;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.ptfy_inside_portfolio_preview_left {
  width: 60%;
  overflow-y: auto;
}
.ptfy_inside_portfolio_preview_right {
  width: 39%;
}
/*end user portfolio preview*/
/*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: #28a745;
}
.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.25rem;
  line-height: normal;
  color: var(--body-text);
  font-weight: 800;
  margin-bottom: 20px;
  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: #28a745;
  color: #ffffff;
  border-color: #28a745;
}
.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: #05ae1d;
  color: #ffffff;
}
.ptfy_inside_basket_order_accor .red {
  background-color: #ee0909;
  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*/

/* ***************************************************************************************  */
@media (max-width: 320px) {
  .ptfybtn {
    font-size: 0.85rem;
  }
}
@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 user portfolio preview*/
  .ptfy_inside_portfolio_preview_mid {
    flex-direction: column;
    align-items: flex-start;
    max-height: 100%;
  }
  .ptfy_inside_portfolio_preview_left {
    width: 100%;
    margin-bottom: 20px;
  }
  .ptfy_inside_portfolio_preview_right {
    width: 100%;
  }
  /*end user portfolio 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;
  }
}
@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*/
}
