/*===== BREADCRUMBS START =====*/
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  background-color: #f7f7fc;
  border-radius: 8px;
  margin-top: 1rem;
}
/* List Item Spacing */
.item {
  display: flex;
  align-items: center;
  font-size: 14px;
}
/* The Separator (Slash) */
.item:not(:last-child)::after {
  content: "/";
  margin: 0 10px;
  color: #adb5bd;
  font-weight: 300;
}
/* Link Styling */
.item a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.2s;
}
.item a:hover {
  color: #0056b3;
  text-decoration: underline;
}
/* Active/Current Page Styling */
.item.active {
  color: #6c757d;
  pointer-events: none; /* Prevents clicking the current page */
}
.vgs {
  margin: 2rem auto;
  padding: 0;
}
.vgs_intro_container {
  padding: min(3rem, 6%);
  background-color: #FFFFFF;
  border-radius: .5rem;
}
.vgs_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
  gap: 1.5rem;
}
.vgs_content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin: 0px auto;
}
.bg-white-container {
  background-color: #FFFFFF;
  padding: 3rem;
}
.vgs_cards {
  background-color: #FFFFFF;
  padding: 1.5rem;
  color: #333333;
  border-radius: .5rem;
}
.vgs_icon {
  height: 100%;
  max-height: 60px;
  margin-bottom: 1.5rem;
}
.vgs_icon img {
  height: 100%;
  width: auto;
}
.vgs_heading {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.vgs_heading_bigger {
  font-size: 2rem;
  font-weight: 600;
}
.vgs_desc {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: .875rem;
  margin-bottom: 0;
  color: #888888;
}
.vgs_desc_big {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}
.vgs_description {
  margin: 1.5rem auto 0;
  text-align: center;
  padding: 1rem;
  background-color: #f7f7fc;
  border-radius: .5rem;
  width: 100%;
}
.stage {
  padding-top: 2rem;
  text-align: center;
  display: flex;
  justify-content: space-between;
}
.stage_v2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  line-height: normal;
  gap: 1rem;
}
.stage .vgs_readMore {
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  color: #005f8c;
  background: aliceblue;
  display: inline-flex;
  padding: .75rem 1rem;
  line-height: normal;
  transition: background 300ms;
  border-radius: 4px;
  border: 1px solid #0063cc4d;
}
.stage .vgs_readMore:hover {
  background: #001689;
  color: #FFFFFF;
  border: 1px solid #001689;
}
.stage .vgs_readMore:after {
  font-family: 'FontAwesome', sans-serif;
  font-weight: 300;
  content: "\f105";
  margin-left: 20px;
  color: #005f8c;
  font-size: 18px;
  vertical-align: middle;
  transition: color 200ms;
}
.stage a:hover:after {
  color: #FFFFFF;
}
#modal {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99999999;
  position: fixed;
  background: rgba(0, 0, 0, 0.75);
  transition: all 0.5s;
  display: grid;
  place-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
#modal:target {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  margin: 0.5em;
  padding: 1.2em;
  background: #ffffff;
  border-radius: 10px;
  width: 90vw;
  max-width: 400px;
  text-align: left;
}
.modal-content .close {
  display: inline-block;
  text-decoration: none;
  background-color: #FFEADD;
  border: 1px solid #E83F25;
  padding: 0.8em 1.2em;
  border-radius: 5px;
  color: #E83F25;
  position: relative;
  font-size: 0.9rem;
  opacity: 1;
  text-shadow: none;
  width: max-content;
  font-weight: 500;
  margin-top: 1rem;
}
.modal-content .close:hover {
  background-color: #E83F25;
  opacity: 1 !important;
  color: #fff;
  text-shadow: none;
}
.modal-content .close:active {
  top: 1px;
}
a.open-modal {
  text-decoration: none;
  background-color: #fff;
  padding: .75rem 1rem;
  border-radius: 4px;
  color: #888;
  position: relative;
  border: 1px solid #ccc;
}
a.open-modal:hover {
  color: black;
  background-color: #fafafa;
}
a.open-modal:active {
  top: 1px;
}
.popup_content {
  padding: 1rem 0 0;
}
.popup_content p {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0;
}
.field {
  margin: .5rem 0 1rem;
  height: 45px;
  border-radius: 4px;
  padding: 5px;
  border: 1px solid #ccc;
  display: flex;
  color: #888;
}
.field.active {
  border-color: #7d2ae8;
}
.field i {
  width: 50px;
  font-size: 18px;
  text-align: center;
}
.field.active i {
  color: #7d2ae8;
}
.field input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  font-size: 15px;
  color: #888888;
}
.field button {
  color: #005f8c;
  padding: 5px 18px;
  background: aliceblue;
  border: 1px solid #0063cc4d;
  border-radius: .25rem;
}
.field button:hover {
  background: #001689;
  color: #FFFFFF;
}
.carat_img {
  width: 100%;
  height: auto;
}
.carat_img img {
  width: 100%;
  height: auto;
}
.right_content .table {
  font-size: 1.15rem;
}
.did_u_know {
  margin-top: 2rem;
  background-color: aliceblue;
  padding: 1rem;
  border-top: 1px solid #0063cc4d;
  border-bottom: 1px solid #0063cc4d;
  text-align: center;
  color: #005f8c;
}
/*=====Clarity=====*/
/*=====Slider=====*/
.stock-ticker {
  font-size: 15px;
  padding-block: 8px;
  border-block: 1px solid;
  overflow: hidden;
  user-select: none;
  --gap: 20px;
  display: flex;
  gap: var(--gap);
}
.stock-ticker ul {
  list-style: none;
  flex-shrink: 0;
  min-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--gap);
  animation: scroll 60s linear infinite;
}
.stock-ticker:hover ul {
  animation-play-state: paused;
}
@keyframes scroll {
  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}
.stock-ticker ul:first-child {
  /* background-color: yellow; */
}
.stock-ticker ul:last-child {
  /* background-color: pink; */
}
.stock-ticker .company, .stock-ticker .price {
  font-weight: bold;
}
.stock-ticker .price {
  margin-inline: 4px;
}
.stock-ticker .plus::before {
  content: "↑";
}
.stock-ticker .minus::before {
  content: "↓";
}
.stock-ticker .plus .change, .stock-ticker .plus::before {
  color: #089981;
}
.stock-ticker .minus .change, .stock-ticker .minus::before {
  color: #f23645;
}
.clarity_comp {
  width: 100%;
  overflow-x: auto;
}
@media only screen and (max-width: 480px) {
  .bg-white-container {
    padding: 1rem;
  }
}
/*=====BAR CHART CSS=====*/ :root {
  --red-glow: rgba(255, 63, 51, 0.6);
  --green-glow: rgba(0, 126, 21, 0.6);
  --base-white: #001689;
}
.diamond-scale-container {
  margin: 0px auto;
  padding: 20px;
  max-width: 550px;
}
.scale-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1.25rem;
  color: #001689;
}
.discount {
  color: #FF3F33;
}
.premium {
  color: #007E15;
}
.scale-bar {
  display: flex;
  gap: 8px;
  height: 60px;
  align-items: center;
}
.segment {
  flex: 1;
  height: 40px;
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}
/* Red Gradient for Discounts */
.neg-10 {
  background: rgba(255, 63, 51, 1.0);
}
.neg-9 {
  background: rgba(255, 63, 51, 0.9);
}
.neg-8 {
  background: rgba(255, 63, 51, 0.8);
}
.neg-7 {
  background: rgba(255, 63, 51, 0.7);
}
.neg-6 {
  background: rgba(255, 63, 51, 0.6);
}
.neg-5 {
  background: rgba(255, 63, 51, 0.5);
}
.neg-4 {
  background: rgba(255, 63, 51, 0.4);
}
.neg-3-5 {
  background: rgba(255, 63, 51, 0.35);
}
.neg-3 {
  background: rgba(255, 63, 51, 0.3);
}
.neg-2-5 {
  background: rgba(255, 63, 51, 0.25);
}
.neg-2 {
  background: rgba(255, 63, 51, 0.2);
}
.neg-1-5 {
  background: rgba(255, 63, 51, 0.15);
}
.neg-1 {
  background: rgba(255, 63, 51, 0.1);
}
/* Center Base */
.zero {
  background: var(--base-white);
  height: 60px;
  box-shadow: 0 0 15px white;
}
/* Green Gradient for Premiums */
.pos-1 {
  background: rgba(0, 126, 21, 0.1);
}
.pos-1-5 {
  background: rgba(0, 126, 21, 0.15);
}
.pos-2 {
  background: rgba(0, 126, 21, 0.2);
}
.pos-2-5 {
  background: rgba(0, 126, 21, 0.25);
}
.pos-3 {
  background: rgba(0, 126, 21, 0.3);
}
.pos-3-5 {
  background: rgba(0, 126, 21, 0.35);
}
.pos-4 {
  background: rgba(0, 126, 21, 0.4);
}
.pos-5 {
  background: rgba(0, 126, 21, 0.5);
}
.pos-6 {
  background: rgba(0, 126, 21, 0.6);
}
.pos-7 {
  background: rgba(0, 126, 21, 0.7);
}
.pos-8 {
  background: rgba(0, 126, 21, 0.8);
}
.pos-9 {
  background: rgba(0, 126, 21, 0.9);
}
.pos-10 {
  background: rgba(0, 126, 21, 1.0);
}
/* Gray Gradient for Disabled */
.disabled {
  background: #EEEEEE;
}
/* Tooltip on hover */
.segment::after {
  content: attr(data-value);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  opacity: 0.7;
}
.segment:hover {
  height: 55px;
  opacity: 1;
}
.scale-footer {
  margin-top: 50px;
  text-align: center;
  font-size: .8rem;
  color: #888;
  line-height: 1.6;
  display: flex;
  justify-content: space-between;
  gap: 8rem;
}
/*==================================*/
.tooltip-container {
  position: relative;
  display: inline-block;
}
.tooltip-text {
  /* Animation properties */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  background-color: #333333f0;
  color: #fff;
  text-align: center;
  padding: 5px 10px;
  border-radius: 4px;
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 50%;
  /* Start slightly lower for a smoother entrance */
  transform: translateX(-50%) translateY(5px);
  margin-top: 10px;
  white-space: nowrap;
}
/* The Arrow */
.tooltip-text::before {
  content: "";
  position: absolute;
  bottom: 100%; /* Places it at the top of the tooltip */
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  /* Arrow points up: transparent sides, colored bottom */
  border-color: transparent transparent #333 transparent;
}
.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
/*===== INCLUSION PATTERN START =====*/
.inclusion_pattern_container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(275px, 100%),1fr));
    column-gap: 2rem;
}

.distribution-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(275px, 100%), 1fr));
  gap: 1.5rem;
  padding: 2rem;
  background: #f7f7fc;
  border-radius: 20px;
}
.dist-card {
  flex: 1;
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}
.dist-card:hover {
  transform: translateY(-2px);
}
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
}
/* Concentrated Styles */
.c-box {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
}
/* Scattered Styles */
.s-box {
  background: #fdf2f8;
  color: #db2777;
  border: 1px solid #fce7f3;
}
.info h3 {
  margin: 0;
  font-size: 1rem;
  color: #1e293b;
}
.info p {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: #64748b;
}
:root {
  --primary: #2563eb;
  --bg: #f1f5f9;
  --text: #1e293b;
  --card-bg: #ffffff;
}

.wrapper {
  position: relative;
  width: 100%;
}
.slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 20px 0;
  scrollbar-width: none; /* Firefox */
  cursor: grab;
  user-select: none;
}
.slider:active {
  cursor: grabbing;
}
.slider::-webkit-scrollbar {
  display: none;
} /* Chrome/Safari */
.card {
  flex: 0 0 300px; /* Fixed width for desktop consistency */
  scroll-snap-align: center;
  background: var(--card-bg);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}
.tag {
  display: inline-block;
  background: #dbeafe;
  color: var(--primary);
  font-weight: 800;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.75rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.title {
  font-size: 1.5rem;
  margin: 0 0 10px 0;
    font-weight: 600;
}
.desc {
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}
/* Desktop Navigation Buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.2s;
}
.nav-btn:hover {
  background: var(--primary);
  color: white;
}
.prev {
  left: -10px;
}
.next {
  right: -10px;
}
@media (max-width: 600px) {
  .card {
    flex: 0 0 85%;
  }
  .nav-btn {
    display: none;
  } /* Hide buttons on mobile */
}

/* Container to clip the zoom if desired, or remove overflow:hidden to let it pop out */
.card img {
    transition: transform 0.3s ease; /* Smooth transition */
    cursor: zoom-in;                /* Changes cursor to a magnifying glass icon */
}

/* The Magnification Effect */
.card img:hover {
    transform: scale(2.0);          /* Adjust 2.5 to your preferred zoom level */
    position: relative;
    z-index: 10;                    /* Ensures zoomed image is above text/buttons */
    border-radius: 4px;             /* Optional: keeps edges clean */
    background: white;              /* Optional: hides background noise */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
/*===================================*/
   :root {
    --premium: #007E15;
    --discount: #FF3F33;
    --border: #e2e8f0;
  }

.dashboard-card {
    max-width: 650px;
    margin: 0 auto;
}

  .chart-title {
    text-align: center;
    margin-bottom: 30px;
  }

  .chart-container {
    position: relative;
  }

  /* Vertical zero line */
.chart-container::after {
    content: '';
    position: absolute;
    left: calc(50% + 24px);
    top: 40px;
    bottom: 0;
    width: 1px;
    background: #dbdbdb;
    z-index: 1;
}

.axis-labels {
    display: flex;
    justify-content: space-between;
    padding-left: 50px;
}
.axis-labels span {
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
}

.chart_row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #dbdbdb;
}

  .label {
    width: 50px;
    font-weight: 700;
    color: #475569;
  }

  .track {
    flex: 1;
    position: relative;
    height: 100%;
  }

.bar {
    position: absolute;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 10px;
    color: white;
    z-index: 2;
    top: -15px;
}

  .ptn-premium { background-color: var(--premium); }
  .ptn-discount { background-color: var(--discount); }

.dot {
    position: absolute;
    transform: translateX(-50%);
    background: #f1f5f9;
    border: 2px solid #dbdbdb;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    top: -12px;
}

  .legend {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 20px;
    font-size: 13px;
  }

  .swatch { width: 12px; height: 12px; border-radius: 2px; display: inline-block; margin-right: 5px; }
  .prem { background: var(--premium); }
  .disc { background: var(--discount); }


/*===== NAKED EYE CSS START =====*/
  :root {
    --text-main: #1a1a1a;
    --text-muted: #666;
    --accent: #007aff;
    --bg-card: #ffffff;
    --bg-page: #f4f7f6;
  }

  /* The magic responsive grid */
  .grade-grid {
    display: grid;
    /* Cards stay at least 250px wide, otherwise they stack */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
  }

  .nkd_card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
  }

  .nkd_card:hover {
    transform: translateY(-8px);
  }

  .img-container {
    width: 100%;
    aspect-ratio: 1 / 1; /* Keeps images perfectly square */
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
      border: 1px solid #dbdbdb;
  }

  .img-container img {
    object-fit: cover;
      padding: 2rem;
  }

.grade-id {
    font-size: 1.5rem;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

  .grade-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
  }

  .note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 20px;
  }

  /* Small adjustment for very small mobile screens */
  @media (max-width: 480px) {
    .grade-id { font-size: 1.2rem; }
    .card { padding: 16px; }
  }

  .magnifier-container {
    position: relative;
    display: inline-block;
    cursor: none; /* Hide real cursor over the image */
    overflow: hidden; /* Keeps glass from leaking out of container */
  }

  .zoom-img {
    display: block;
    width: 100%; /* Ensures images fit their containers */
    height: auto;
  }

  .glass {
    position: absolute;
    pointer-events: none; /* REQUIRED: prevents flickering */
    border: 2px solid #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 150px;
    height: 150px;
    background-repeat: no-repeat;
    display: none;
    z-index: 1000;
    /* Do NOT use CSS transitions here; they break JS positioning */
  }
