:root {
  --primary-50: #B8EBF9;
  --primary-100: #7ED8F1;
  --primary-200: #39C6EF;
  --primary-300: #0AA5D1;
  --primary-400: #038DB5;
  --primary-500: #007A9D;
  --primary-600: #006785;
  --primary-700: #00536B;
  --primary-800: #003747;
  --primary-900: #002833;

  --secondary-50: #FFF4D6;
  --secondary-100: #FFECB8;
  --secondary-200: #FEE08B;
  --secondary-300: #FACD4C;
  --secondary-400: #F9C224;
  --secondary-500: #F3B400;
  --secondary-600: #C29000;
  --secondary-700: #8A6600;
  --secondary-800: #574000;
  --secondary-900: #1F1700;

  --gray-100: #F7F7F7;
  --gray-200: #E8E8E8;
  --gray-300: #E0E0E0;
  --gray-400: #C7C7C7;
  --gray-500: #ABABAB;
  --gray-600: #838383;
  --gray-700: #6A6A6A;
  --gray-800: #4F4F4F;
  --gray-900: #363636;

  --black: #1C1C1C;
  --white: #fff;

  --link: #3D76CA;

  --negative: #EC2D2D;
  --positive: #1D8727;



  --primary-white: #FFFFFF;
  --secondary-blue: #072F4A;
  --heading-color: #0061A2;
  --neutral-font: #555555;
  --neutral-bg: #F5F5F5;
  --thover-bg: #F7F7F7;
  --thead-bg: rgb(240, 240, 240);
  --primary-green: #018E47;
  --btn-green: #2E6C4D;
  --primary-red: #E82A2A;
  --stroke: #D1D1D1;
  --light-blue: #D1E8F5;
  --table-font: #414141;
  --secondary-btn-blue: #E0F2FE;
  --footer-blue: #006AB1;
  --br-hover: #F6F6F8;
}


.btn-div ul li {
  cursor: pointer;
}

/* Desktops & laptops */
@media (min-width: 992px) and (max-width: 1199.98px) {
  #chart {
    max-width: 550px;
  }
}

/* Tablets (landscape) */
@media (min-width: 768px) and (max-width: 991.98px) {
  #chart {
    max-width: 100%;
    padding: 0 20px;
  }
}

/* Tablets (portrait) & small devices */
@media (min-width: 576px) and (max-width: 767.98px) {
  #chart {
    max-width: 100%;
    padding: 0 15px;
  }
}

/* Mobile phones */
@media (max-width: 575.98px) {
  #chart {
    max-width: 100%;
    padding: 0 10px;
  }
}



.common-ul li.tertiary-active-btn a,
.common-ul.top-ul li.tertiary-active-btn a {
  color: var(--heading-color) !important;
}

.common-ul li:last-child {
  margin-right: 0;
}

.common-ul li a.tertiary-active-btn li {
  border: none !important;
}

.common-ul li a.tertiary-active-btn {
  padding: 8px 12px;
  background: var(--secondary-btn-blue);
  border-radius: 28px;
  color: var(--heading-color) !important;
}

.common-ul li a.tertiary-active-btn:hover {
  background: var(--secondary-btn-blue);
}

.border {
  padding: 10px 14px;
  vertical-align: middle;
  line-height: normal;
}

.first-text {
  color: var(--table-font) !important;
  font-weight: lighter;
}


.left-align {
  text-align: left !important;
}

.right-align {
  text-align: right !important;
}

/* .dropdown:hover > .dropdown-menu {
  display: block;
  margin-top: 0; 
} */


.dropdown-menu {
  transition: visibility 0.7s ease, opacity 0.7s ease;
}

.dropdown-menu[data-bs-popper] {
  top: 85% !important;
}

@media (max-width: 768px) {
  .ipos_container {
    flex-direction: column;
    /* stack vertically */
  }

  .ipos_container .image-content {
    order: -1;
    /* put image first */
  }
}


[x-cloak] {
  display: none !important;
}

.table-responsive {
  transition: opacity 0.4s ease;
}

.modal-content {
  background-color: #E0F2FE !important;
}

.modal-body li {
  margin-bottom: 10px;
}

.modal-header {
  border-bottom: var(--bs-modal-header-border-width) solid #b5c5d6;
}

.blk {
  margin: 6px;
  border: 1px solid #b1cbe4;
  padding: 6px;
  background: #5bb4d2;
  color: white;
}

.draft-data {
  cursor: pointer;
}

.top_issues_info {
  cursor: pointer;
}

.square-bullets {
  list-style-type: square !important;
  padding-left: 1.5rem !important;
  font-size: 15px !important;
}

.square-bullets li {
  margin-bottom: 1rem !important;
  padding-left: 1.5rem !important;
}

.square-bullets li::marker {
  content: "■" !important;
  position: absolute !important;
  font-size: 0.8rem;
  color: #007bff !important;
  position: absolute;
}

[x-cloak] {
  display: none !important;
}

[x-show] {
  transition: all 0.3s ease-in-out;
}


.queryFiltersCnb .common-selectb{
  border-radius: 8px;
  border: 1px solid var(--neutral-font);
}

.queryFiltersCnb {
  display: inline;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 42px;
  width: 80%;
  gap: 18px;
}


.common-selectb {
  position: relative;
  border: 1px solid var(--stroke);
  border-radius: 22px;
  width: fit-content;
  transition: all 0.1s ease-in-out;
}

.common-selectb::before {
  content: "";
  display: block;
  position: absolute;
  background-image: url('data:image/svg+xml,<svg width="8" height="6" viewBox="0 0 8 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M3.99397 5.78357L8 0.216406H0L3.99397 5.78357Z" fill="%23767474"/></svg>');
  background-size: 100% 100%;
  width: 10px;
  height: 5px;
  right: 10px;
  top: 50%;
  pointer-events: none;
  transform: translate(0, -50%);
  transition: all 0.1s ease-in-out;
}

.common-selectb select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  border: none;
  background-color: transparent;
  padding: 11px 12px;
  padding-right: 30px;
  font-size: 16px;
  color: var(--body-text);
  font-weight: 500;
  line-height: normal;
  border: 0;
  outline: 0;
  transition: all 0.1s ease-in-out;
}

.common-selectb.w-100,
.common-selectb.w-100 select {
  width: 100%;
}


@media screen and (min-width: 1200px) {
  .queryFiltersCnb {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
  }

  .queryFiltersCnb .common-selectb {
    flex: 1;
  }
}

.common-selectb select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  border: none;
  background-color: transparent;
  padding: 11px 12px;
  padding-right: 30px;
  font-size: 16px;
  color: var(--body-text);
  font-weight: 500;
  line-height: normal;
  border: 0;
  outline: 0;
  transition: all 0.1s ease-in-out;
}


@media screen and (min-width: 1200px) and (max-width: 1399.9px) {
  .common-selectb select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    border: none;
    background-color: transparent;
    padding: 11px 12px;
    padding-right: 30px;
    font-size: 16px;
    color: var(--body-text);
    font-weight: 500;
    line-height: normal;
    border: 0;
    outline: 0;
    transition: all 0.1s ease-in-out;
  }

  .queryFiltersCnb .common-selectb select {
    width: 240px;
  }
}


/* Apply this globally (outside any media query) */
.common-selectb select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  border: none;
  background-color: transparent;
  padding: 0.7rem 0.9rem;
  padding-right: 2rem;
  font-size: 1rem;
  color: var(--body-text);
  font-weight: 500;
  line-height: normal;
  outline: 0;
  transition: all 0.1s ease-in-out;
  width: 100%;
  /* Make it fill its container */
  box-sizing: border-box;
}

/* Responsive container width — optional */
.common-selectb {
  width: 100%;
  max-width: 100%;
  /* Optional: control width limit */
}


@media screen and (min-width: 1200px) {
  .queryFiltersCnb .common-selectb select {
    max-width: 240px;
    /* Limit width on larger screens */
  }
}




.text-justify {
  text-align: justify;
}

.error {
  color: red;
}

.common-modal-heading {
  background: var(--thead-bg);
  color: var(--neutral-font);
  font-weight: normal;
  padding: 9px 12px;
  text-align: start;
  width: 100%;
}


.ticker-wrapper {
  overflow: hidden;
  width: 100%;
}

.ticker-wrapper marquee {
  display: block;
  width: 100%;
  white-space: nowrap;
}

.ticker-list {
  display: flex;
  gap: 30px;
  /* spacing between items */
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  white-space: nowrap;
}

.ticker-list li {
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1.5;
}






.sensex-chart {
  width: 100%;
  height: 400px;
  /* default height for desktop */
}

@media (max-width: 992px) {

  /* tablets */
  .sensex-chart {
    height: 300px;
  }

  .vision_sc .grid_container {
    margin: 0;
  }
}

@media (max-width: 576px) {

  /* mobile */
  .sensex-chart {
    height: 250px;
  }
}

.min-height {
  min-height: 130px;
  /* enough to account for 1 error label */
}

label.error {
  color: red;
}

/* #gowithbutton {
  margin-top: 4% !important; 
} */

.queryFiltersCnt .bttn {
  height: 45px;
  padding: 0 16px;
  line-height: 1;
  box-sizing: border-box;
  font-size: 18px;
  width: fit-content;
  overflow: hidden;
}

.error-text {
  visibility: hidden;
  color: red;
  font-size: 0.9rem;
  margin-top: 4px;
  min-height: 1em;
}



.vision_sc {
  padding: 40px 0 24px 0;
  background: #F6F6F8;
  text-align: center;
}

.vision_sc p {
  padding: 6px 0 30px 0;
}

.vision_sc .grid_container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  text-align: start;
  padding-top: 30px;
  margin: 0 80px;
  gap: 20px;
  border-top: 1px dashed #DFDFDF;

}

.vision_sc .grid_container h6 {
  font-weight: 600;
  font-size: 18px;
  color: #000000;
  padding-bottom: 8px;
}


@media (max-width: 767.98px) {
  .img-card:nth-child(2) h3 {
    margin-top: 75px;
  }

  .vision_sc .grid_container {
    grid-template-columns: repeat(1, 1fr);
    gap: 0;
  }

  .vision_sc .grid_container h6 {
    padding-bottom: 0px;
  }
}


@media(max-width:575px) {
  .vision_sc .grid_container {
    padding-top: 16px;
  }

  .vision_sc p {
    padding: 6px 0 16px 0;
  }

  .vision_sc p>br {
    display: none;
  }

  .vision_sc .grid_container h6 {
    font-size: 15px;
  }
  .paginationContainer{
    position: static;
    display: flex;
    justify-content: center;
  }
}


@media (max-width: 767px) {
  .vision_sc .grid_container {
    grid-template-columns: repeat(1, 1fr);
    gap: 0;
  }
    .paginationContainer {
      position: static;
      display: flex;
      justify-content: center;
    }
}

@media (max-width: 991px) {
  .vision_sc .grid_container {
    margin: 0;
  }
    .paginationContainer {
      position: static;
      display: flex;
      justify-content: center;
    }
}


@media (max-width: 576px) {

.paginationContainer {
    margin-top: 20px;
    position: static;
    display: flex;
    justify-content: center;
  }
}

.side-panel .btn {
  white-space: normal;   
  
  text-align: center;  
  text-size-adjust:10px; 
  line-height: 1.2;     
}
#skipBtn {
  width: 50px; 
    
  height: auto;  
  padding: 5px 8px;
  font-size: xx-small;
  
}



.side-panel {
  position: fixed;
  top: 50%;
  right: 0;  
  transform: translateY(-50%);
  background-color: #075ca1;  
  padding: 10px;
  border-radius: 10px 0 0 10px;
  width: 60px;
  box-shadow: -2px 2px 5px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: Arial, sans-serif;
  color: white;
}

.side-panel .btn {
  background: none;
  color: white;
  font-weight: bold;
  margin: 5px 0;
  width: 40px;
  height: 30px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.side-panel .btn:hover {
  background-color: rgba(255,255,255,0.2);
}

.color-options {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.color-btn {
  width: 30px;
  height: 20px;
  border: none;
  cursor: pointer;
  border-radius: 3px;
}

.color-btn.black { background-color: black; }
.color-btn.white { background-color: white; border: 1px solid #ccc; }
.color-btn.yellow { background-color: #bce408; }
.color-btn.blue { background-color: #2f7adf; }
.color-btn.orange { background-color: #f28c28; }


:focus {
  outline: 3px solid #ffbf47; 
  outline-offset: 2px;         
  background-color: rgba(255, 191, 71, 0.2); 
  transition: outline-color 0.3s ease;
}
/* header,footer {
  background-color: inherit;
} */


.menu-column {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 20px;
  margin: 0;
  position: fixed;
  background: blue;
  top: 30%;
  right: 0;
  text-align: center;
  background: linear-gradient(180deg, #0087E2 0%, #00558E 135.38%) !important;
  width: 60px;
  z-index: 10000;
  gap: 10px;
}



/* Font size buttons */
.btn-font-size {
  width: 24px;
  height: 24px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  background: #f5f5f5;
  border: 0.5px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  padding: 0;
  }

  .btn-font-size:hover {
  background-color: #e0e0e0;
  border-color: #999;
  box-shadow: 0 0 4px rgba(0,0,0,0.15);
  }

  /* Reset button style */
  .btn-reset {
  width: 20px;
  height: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #666;
  background: #eee;
  border: 1.2px solid #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  }

  .btn-reset:hover {
  background-color: #ddd;
  border-color: #999;
  }

  /* Background color buttons */
  .bg-btn {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  border: 1.2px solid transparent;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .bg-btn:hover {
  border-color: #555;
  box-shadow: 0 0 4px rgba(0,0,0,0.2);
  }

  /* Specific bg colors */
  .bg-dark {
  background-color: #222;
  }

  .bg-light {
  background-color: #fff;
  border: 1.2px solid #ccc;
  }

  .bg-yellow {
  background-color: rgb(255, 250, 206);
  color: rgb(0, 0, 0) !important;
  }

  .bg-blue {
  background-color: #2196f3;
  }

  .bg-orange {
  background-color: #ff9800;
  }
  .side-panel-trigger {
  position: fixed;
  right: 0px;          
  top: 175px;
  transform: translateY(-50%);
  z-index: 10001;        /* higher than panel */
}

.side-panel-trigger button {
  background-color: #075ca1;
  color: white;
  border: none;
  border-radius: 10px 0 0 10px;
  width: 50px;
  height: 50px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10002;       
}


.menu-column {
  position: fixed;
  right: -60px;           /* hidden offscreen */
  top: 30%;
  width: 60px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, #0087E2 0%, #00558E 135.38%);
  border-radius: 10px 0 0 10px;
  z-index: 10000;         /* below trigger */
  gap: 10px;
  transition: right 0.3s ease;
}

.menu-column.active {
  right: 0;              /* slides in next to button */
} 