
/* ==========================================================================
   IP INDIA — WALL OF FAME COMPONENT STYLES
   Hierarchy-based, fully scoped under .wof-scope (#wof-root).
   Designed for conflict-free embedding into the official IP India portal.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Source+Sans+3:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

/* --- Scoped Root & Design Tokens --- */
.wof-scope {
  --wof-navy: #0B1D3A;
  --wof-navy-light: #152A52;
  --wof-gold: #505050;
  --wof-gold-light: #E8CB80;
  --wof-maroon: #505050;
  --wof-parchment: #F6F2E7;
  --wof-paper: #e9eeff;
  --wof-ink: #14213D;
  --wof-ink-soft: #5A5F73;
  --wof-line: rgba(20, 33, 61, 0.14);
  --wof-line-gold: rgba(200, 155, 60, 0.45);
  --wof-radius: 4px;

  /* background: var(--wof-parchment); */
  color: var(--wof-ink);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  width: 100%;
}

/* --- Scoped Box-Sizing & Resets --- */
.wof-scope,
.wof-scope *,
.wof-scope *::before,
.wof-scope *::after {
  box-sizing: border-box;
}

/* --- Scoped Typography --- */
.wof-scope h1,
.wof-scope h2,
.wof-scope h3,
.wof-scope h4 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  margin: 0;
  color: var(--wof-navy);
  letter-spacing: -0.01em;
}

.wof-scope a {
  color: inherit;
  text-decoration: none;
}

.wof-scope img {
  max-width: 100%;
  display: block;
}

.wof-scope :focus-visible {
  outline: 2px solid var(--wof-gold);
  outline-offset: 3px;
}

/* --- Wall of Fame introduction --- */
.wof-intro {
  max-width: 1160px;
  margin: 0 auto 28px;
  padding: 26px 30px;
  background: var(--wof-paper);
  border-left: 4px solid var(--wof-gold);
}

.wof-intro h2 {
  margin: 0 0 10px;
  color: var(--wof-navy);
  font-size: clamp(25px, 3vw, 34px);
}

.wof-intro p {
  margin: 0;
  color: #26374f;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
  .wof-scope * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* --- Navigation: Quickjump Pills --- */
.wof-scope .wof-quickjump {

  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.wof-scope .wof-qj-pill {
  background: var(--wof-paper);
  border: 1px solid #c5d0e9;
  border-radius: 8px;
  padding: 14px 10px;
  text-align: center;
  color: var(--wof-ink);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  display: block;
}

.wof-scope .wof-qj-pill:hover {
  border-color: #263a7f;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(11, 29, 58, 0.08);
}

.wof-scope .wof-qj-pill .wof-qj-num {
  font-family: "DM Sans", sans-serif !important;
  font-size: 15px;
  color: #0f2c8f;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.wof-scope .wof-qj-pill .wof-qj-label {
  font-size: 15px;
  font-weight: 600;
  margin-top: 4px;
  line-height: 1.25;
  color: var(--wof-navy);
}

/* --- Legend & Citation Tooltips --- */
.wof-scope .wof-legend {
  max-width: 1160px;
  margin: 34px auto 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--wof-ink-soft);
  font-size: 16px;
}

.wof-scope .wof-src {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  margin-left: 2px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid #263a7f;
  color: var(--wof-gold);
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 11px;
  text-decoration: none;
  vertical-align: super;
  line-height: 1;
  transition: background 0.15s, color 0.15s, transform 0.15s;
  position: relative;
  top: -2px;
}

.wof-scope .wof-src:hover {
  background: var(--wof-gold);
  color: var(--wof-navy);
  transform: translateY(-1px);
}

.wof-scope .wof-src-note {
  font-family: "DM Sans", sans-serif !important;
  font-size: 14px;
  color: var(--wof-ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  flex-wrap: wrap;
}

.wof-scope .wof-src-note .wof-src {
  position: static;
  vertical-align: middle;
}

/* --- Section Blocks & Category Headers --- */
.wof-scope .wof-block {

  margin: 0 auto;
}

.wof-scope .wof-block.wof-block--alt {
  /* background: var(--wof-paper); */
}

.wof-scope .wof-cat-head {
  max-width: 780px;
  margin-bottom: 8px;
}

.wof-scope .wof-eyebrow {
  font-family: "DM Sans", sans-serif !important;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wof-gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wof-scope .wof-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: #505050;
  display: inline-block;
}

.wof-scope .wof-cat-head h2 {
  font-size: 25px !important;
  margin-top: 12px;
}

.wof-scope .wof-cat-head .wof-cat-sub {
  font-family: "DM Sans", sans-serif !important;
  font-size: 12px;
  color: var(--wof-maroon);
  margin-top: 10px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.wof-scope .wof-cat-head p.wof-desc-text {
  color: var(--wof-ink-soft);
  font-size: 15px;
  margin-top: 12px;
}

.wof-scope .wof-divider {
  border: none;
  height: 1px;
  background: var(--wof-line);
  max-width: 1160px;
  margin: 0 auto;
}

/* --- Cards & Grid Layouts --- */
.wof-scope .wof-feed {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 34px;
}

.wof-scope .wof-card {
  background: var(--wof-paper);
  border: 1px solid var(--wof-line);
  border-radius: var(--wof-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.wof-scope .wof-card:hover {
  box-shadow: 0 14px 34px rgba(11, 29, 58, 0.1);
  transform: translateY(-2px);
}

.wof-scope .wof-card.wof-card--span-2 {
  grid-column: span 2;
}

.wof-scope .wof-media-frame {
  background: #FFFFFF;
  border-bottom: 2px solid #263a7f;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.wof-scope .wof-media-frame img {
  max-width: 100%;


  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.wof-scope .wof-media-frame.wof-media-frame--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
}
/*
.wof-scope .wof-media-frame.wof-media-frame--two img {
  max-height: 280px;
}*/

.wof-scope .wof-media-frame.wof-media-frame--three {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  padding: 18px;
}

.wof-scope .wof-media-frame.wof-media-frame--three img {
  max-height: 220px;
}

.wof-scope .wof-card-content {
  padding: 24px 26px 26px;
}

.wof-scope .wof-kicker {
  font-family: "DM Sans", sans-serif !important;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--wof-maroon);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.wof-scope .wof-card h3 {
  font-size: 19px;
  line-height: 1.28;
  margin-bottom: 10px;
}

.wof-scope .wof-card p {
  color: var(--wof-ink);
  font-size: 14.8px;
  margin: 0;
}

.wof-scope .wof-card p + p {
  margin-top: 10px;
}

.wof-scope .wof-caption {
  font-size: 12.5px;
  color: var(--wof-ink-soft);
  font-style: italic;
  margin-top: 12px;
  border-left: 2px solid var(--wof-gold);
  padding-left: 10px;
}

.wof-scope .wof-quote {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  line-height: 1.4;
  color: var(--wof-navy);
  font-style: italic;
}

.wof-scope .wof-attrib {
  margin-top: 10px;
  font-size: 13px;
  color: var(--wof-maroon);
  font-weight: 600;
  font-style: normal;
  font-family: 'Source Sans 3', sans-serif;
}

.wof-scope .wof-sources-row {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--wof-line);
}

/* --- Category 02: WIPO Tabs & Finalists --- */
.wof-scope .wof-wipo-intro {
  background: var(--wof-paper);
  border: 1px solid var(--wof-line);
  border-left: 3px solid var(--wof-gold);
  padding: 24px 26px;
  border-radius: var(--wof-radius);
  margin: 30px 0 32px;
  font-size: 14.8px;
  color: var(--wof-ink);
}

.wof-scope .wof-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.wof-scope .wof-tab-btn {
  font-family: "DM Sans", sans-serif !important;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid var(--wof-line);
  background: var(--wof-paper);
  color: var(--wof-ink-soft);
  cursor: pointer;
  transition: all 0.15s;
}

.wof-scope .wof-tab-btn.active,
.wof-scope .wof-tab-btn:hover {
  background: var(--wof-navy);
  color: var(--wof-gold-light);
  border-color: var(--wof-navy);
}

.wof-scope .wof-tab-panel {
  display: none;
}

.wof-scope .wof-tab-panel.active {
  display: block;
}

.wof-scope .wof-finalist {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  border: 1px solid var(--wof-line);
  background: var(--wof-paper);
  border-radius: var(--wof-radius);
  overflow: hidden;
}

.wof-scope .wof-finalist .wof-media-frame {
  height: 100%;
  border-bottom: none;
  border-right: 2px solid var(--wof-gold);
}

.wof-scope .wof-finalist .wof-media-frame img {
  max-height: 400px;
}

.wof-scope .wof-finalist .wof-finalist-content {
  padding: 32px 34px;
}

.wof-scope .wof-finalist .wof-finalist-tag {
  font-family: "DM Sans", sans-serif !important;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wof-maroon);
  font-weight: 700;
}

.wof-scope .wof-finalist h3 {
  font-size: 22px;
  margin-top: 10px;
  line-height: 1.25;
}

.wof-scope .wof-finalist p {
  font-size: 14.6px;
  margin-top: 14px;
  color: var(--wof-ink);
}

/* --- Category 03: Data Tables & Groups --- */
.wof-scope .wof-wall-group {
  margin-top: 34px;
}

.wof-scope .wof-wall-group h4 {
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--wof-navy);
}

.wof-scope .wof-wall-group > p.wof-desc {
  color: var(--wof-ink-soft);
  font-size: 14px;
  margin: 8px 0 18px 0;
  max-width: 640px;
}

.wof-scope table.wof-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.8px;
  margin-top: 20px;
}

.wof-scope table.wof-data-table thead tr {
  background: var(--wof-navy);
  color: var(--wof-gold-light);
}

.wof-scope table.wof-data-table th {
  text-align: left;
  padding: 10px 12px;
  font-family: "DM Sans", sans-serif !important;
  font-size: 10.8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.wof-scope table.wof-data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--wof-line);
}


.wof-scope table.wof-data-table td.wof-tag-registered {
  color: #2f7a3d;
  font-weight: 600;
  font-size: 12.5px;
}

/* --- Category 04, 06, 07: Stat Grids & Callouts --- */
.wof-scope .wof-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.wof-scope .wof-stat-card {
  background: #263a7f;
  border: 1px solid #263a7f;
  border-radius: var(--wof-radius);
  padding: 22px 18px;
  text-align: center;
}

.wof-scope .wof-stat-card .wof-stat-num {
 
  font-size: 30px;
  color: #fff;
  font-weight: 700;
}

.wof-scope .wof-stat-card .wof-stat-lbl {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
  line-height: 20px;
}

.wof-scope .wof-pending-box {
  border: 1.5px dashed var(--wof-line-gold);
  border-radius: 8px;
  padding: 28px 28px;
  background: var(--wof-paper);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 26px;
}

.wof-scope .wof-pending-box .wof-pending-tag {
  font-family: "DM Sans", sans-serif !important;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wof-paper);
  background: var(--wof-maroon);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 700;
  white-space: nowrap;
}

.wof-scope .wof-pending-box p {
  margin: 0;
  color: var(--wof-ink-soft);
  font-size: 14.5px;
}

.wof-scope .wof-gi-stat {
  font-family: 'Fraunces', serif;
  font-size: 40px;
  color: var(--wof-navy);
  margin: 30px 0 6px;
}

.wof-scope .wof-gi-stat span {
  font-family: "DM Sans", sans-serif !important;
  font-size: 12.5px;
  color: var(--wof-maroon);
  display: block;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

/* --- Category 08: IP History Timeline --- */
.wof-scope .wof-timeline {
  position: relative;
  margin-top: 38px;
}

.wof-scope .wof-timeline::before {
  content: "";
  position: absolute;
  left: 70px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--wof-gold), var(--wof-line) 92%);
}

.wof-scope .wof-t-row {
  position: relative;
  padding-left: 118px;
  margin-bottom: 34px;
}

.wof-scope .wof-t-year {
  position: absolute;
  left: 0;
  top: -2px;
  width: 56px;
  text-align: right;
  font-family: "DM Sans", sans-serif !important;
  font-weight: 600;
  font-size: 13px;
  color: var(--wof-navy);
}

.wof-scope .wof-t-dot {
  position: absolute;
  left: 63px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--wof-paper);
  border: 2.5px solid var(--wof-gold);
}

.wof-scope .wof-t-row h4 {
  font-size: 16.5px;
  margin-bottom: 6px;
  line-height: 1.35;
}

.wof-scope .wof-t-row .wof-t-tag {
  display: inline-block;
  font-family: "DM Sans", sans-serif !important;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: #263a7f;
  background: #e3e9f7;
  padding: 2px 8px;
  border-radius: 100px;
  margin-bottom: 6px;
  text-transform: uppercase;
  font-weight: 600;
}

@media (max-width: 768px) {
  .wof-scope .wof-quickjump {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .wof-scope .wof-feed {
    grid-template-columns: 1fr;
  }
  .wof-scope .wof-card.wof-card--span-2 {
    grid-column: span 1;
  }
  .wof-scope .wof-finalist {
    grid-template-columns: 1fr;
  }
  .wof-scope .wof-finalist .wof-media-frame {
    border-right: none;
    border-bottom: 2px solid var(--wof-gold);
  }
  .wof-scope .wof-timeline::before {
    left: 44px;
  }
  .wof-scope .wof-t-row {
    padding-left: 76px;
  }
  .wof-scope .wof-t-year {
    width: 34px;
    font-size: 11.5px;
  }
  .wof-scope .wof-t-dot {
    left: 37px;
  }
  .wof-scope .wof-stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .wof-scope .wof-media-frame.wof-media-frame--three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .wof-scope .wof-quickjump {
    grid-template-columns: 1fr 1fr;
  }
  .wof-scope .wof-media-frame.wof-media-frame--two {
    grid-template-columns: 1fr;
  }
}




 /* graph 1 code   */

   

    .graph-container {
        width: 100%;
        max-width: 900px;
        margin: auto;
        padding-top: 10px;
    }

    .wof-block svg {
        width: 100%;
        height: auto;
        display: block;
    }

    .title {
        font-size: 16px;
        font-weight: bold;
    }

    .country {
        font-size: 12px;
        font-weight: normal;
    }

    .axis-label {
        font-size: 9px;
        fill: #333;
    }

    .year {
        font-size: 8px;
        fill: #333;
    }

    .note {
        font-size: 9px;
        fill: #555;
    }

    .source {
        font-size: 9px;
        fill: #555;
    }

    .grid-line {
        stroke: #dddddd;
        stroke-width: 0.8;
    }

    .tangible-line {
        fill: none;
        stroke: #ed6f21;
        stroke-width: 2;
    }

    .intangible-line {
        fill: none;
        stroke: #2374b9;
        stroke-width: 2;
    }

    .legend {
        font-size: 10px;
        fill: #555;
    }

    .legend-tangible {
        fill: #ed6f21;
    }

    .legend-intangible {
        fill: #2374b9;
    }


    /* graph 2 code  */


        

        .gii-container {
            width: 100%;
            max-width: 1100px;
            margin: auto;
        }


        /* ==============================
           TOP CARD
        ============================== */

        .top-card {
            background: #eaf8fc;
            border-radius: 10px;

            min-height: 165px;

            padding: 28px 32px;

            display: grid;

            grid-template-columns:
                45% 55%;

            align-items: center;
        }


        .top-text {
            padding-right: 20px;
        }


        .top-title {
            font-size: 21px;
            line-height: 1.25;
            margin-bottom: 10px;
        }


        .top-title strong {
            color: #0ca6d2;
        }


        .top-description {
            font-size: 14px;
            line-height: 1.45;
            max-width: 400px;
            text-align: justify;
        }


        /* ==============================
           BOTTOM CARDS
        ============================== */

        .bottom-section {

            display: grid;

            grid-template-columns:
                1fr 1fr;

            gap: 10px;

            margin-top: 20px;
        }


        .rank-card {

            border: 1px solid #eeeeee;

            border-radius: 3px;

            min-height: 125px;

            padding: 20px;

            display: grid;

            grid-template-columns:
                48% 52%;

            align-items: center;

            overflow: hidden;
        }


        .rank-text {

            font-size: 15px;

            line-height: 1.45;

            padding-right: 15px;
        }


        .rank-text strong {
            font-weight: bold;
        }


        .rank-chart {

            width: 100%;

            height: 90px;
        }


        /* ==============================
           MOBILE
        ============================== */

        @media(max-width: 700px) {

            .top-card {
                grid-template-columns: 1fr;
            }

            .top-chart {
                margin-top: 20px;
            }

            .bottom-section {
                grid-template-columns: 1fr;
            }

            .rank-card {
                grid-template-columns: 45% 55%;
            }

        }

    
        /* graph code 3  */

    /**
 * WIPO Indicators 2025 - Hierarchy-Based Scoped Stylesheet
 * 
 * DESIGN PRINCIPLES TO PREVENT CONFLICTS:
 * 1. Strict Namespacing: All selectors are scoped under `.wipo-dashboard` using BEM hierarchy.
 * 2. No Global Leaks: Variables are scoped to `.wipo-dashboard` rather than `:root`.
 * 3. Scoped Reset: Universal reset is strictly bounded to `.wipo-dashboard *` so host pages remain untouched.
 * 4. High-Predictability Specificity: Hierarchical nesting prevents collisions with Bootstrap, Tailwind, or CMS styles.
 */

/* ==========================================================================
   1. SCOPED CONTAINER & DESIGN SYSTEM TOKENS
   ========================================================================== */
.wipo-dashboard {
  /* Scoped CSS Custom Properties (No global :root pollution) */
  --wipo-blue: #0070ba;
  --wipo-blue-hover: #005a96;
  --wipo-cyan: #00b5e2;
  --wipo-cyan-hover: #0096bd;
  --wipo-gold: #c5a059;
  --wipo-gold-light: #e8d8b5;
  --wipo-maroon: #8b1e1e;
  --wipo-text-primary: #1f2937;
  --wipo-text-secondary: #4b5563;
  --wipo-text-muted: #6b7280;
  --wipo-border-light: #e5e7eb;
  --wipo-bg-card: #ffffff;
  --wipo-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Container styles */
  font-family: var(--wipo-font);
  color: var(--wipo-text-primary);
  background-color: var(--wipo-bg-card);
  line-height: 1.5;
  max-width: 1440px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--wipo-border-light);
  overflow: hidden;
}

/* Scoped reset for all children within .wipo-dashboard only */
.wipo-dashboard,
.wipo-dashboard *,
.wipo-dashboard *::before,
.wipo-dashboard *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   2. HEADER & CONTROLS HIERARCHY
   ========================================================================== */
.wipo-dashboard .wipo-dashboard__header {
  padding: 20px 28px;
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--wipo-border-light);
  flex-wrap: wrap;
  gap: 16px;
}

.wipo-dashboard .wipo-dashboard__title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wipo-dashboard .wipo-dashboard__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.wipo-dashboard .wipo-dashboard__subtitle {
  font-size: 0.85rem;
  color: var(--wipo-text-muted);
}

.wipo-dashboard .wipo-dashboard__controls {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.wipo-dashboard .wipo-dashboard__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 0.825rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 6px;
  border: 1px solid var(--wipo-border-light);
  background-color: #ffffff;
  color: var(--wipo-text-secondary);
  cursor: pointer;
  outline: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
}

.wipo-dashboard .wipo-dashboard__btn:hover {
  background-color: #f3f4f6;
  color: #111827;
  border-color: #d1d5db;
}

.wipo-dashboard .wipo-dashboard__btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 112, 186, 0.25);
  border-color: var(--wipo-blue);
}

.wipo-dashboard .wipo-dashboard__btn--active {
  background-color: var(--wipo-blue);
  color: #ffffff;
  border-color: var(--wipo-blue);
}

.wipo-dashboard .wipo-dashboard__btn--active:hover {
  background-color: var(--wipo-blue-hover);
  color: #ffffff;
  border-color: var(--wipo-blue-hover);
}

/* ==========================================================================
   3. CHARTS GRID & CARDS HIERARCHY
   ========================================================================== */
.wipo-dashboard .wipo-dashboard__grid {
  display: grid;
  grid-template-columns: 1.15fr 1.7fr 1.15fr;
  gap: 16px;
  padding: 24px 24px 16px 24px;
  background-color: #ffffff;
}

.wipo-dashboard .wipo-dashboard__card {
  position: relative;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  min-width: 0; /* Prevents flex/grid blowouts */
}

.wipo-dashboard .wipo-dashboard__chart-wrapper {
  position: relative;
  height: 380px;
  width: 100%;
}

.wipo-dashboard .wipo-dashboard__chart-canvas {
  width: 100% !important;
  height: 100% !important;
}

/* Legend Hierarchy */
.wipo-dashboard .wipo-dashboard__legend {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--wipo-text-secondary);
}

.wipo-dashboard .wipo-dashboard__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wipo-dashboard .wipo-dashboard__legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
}

.wipo-dashboard .wipo-dashboard__legend-swatch--blue {
  background-color: var(--wipo-blue);
}

.wipo-dashboard .wipo-dashboard__legend-swatch--cyan {
  background-color: var(--wipo-cyan);
}

/* ==========================================================================
   4. DIVIDER HIERARCHY
   ========================================================================== */
.wipo-dashboard .wipo-dashboard__divider {
  height: 3px;
  background: #263a7f;
  margin: 8px 24px 0 24px;
  border-radius: 2px;
}

/* ==========================================================================
   5. FEATURE STORY CARD HIERARCHY
   ========================================================================== */
.wipo-dashboard .wipo-dashboard__feature {
  padding: 28px 32px 32px 32px;
  background-color: #ffffff;
}

.wipo-dashboard .wipo-dashboard__feature-tag {
  color: var(--wipo-maroon);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.wipo-dashboard .wipo-dashboard__feature-heading {
  font-size: 1.65rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.25;
}

.wipo-dashboard .wipo-dashboard__feature-body {
  font-size: 1.025rem;
  color: #2b2f38;
  line-height: 1.7;
}

.wipo-dashboard .wipo-dashboard__feature-body p {
  margin-bottom: 14px;
}

.wipo-dashboard .wipo-dashboard__feature-body p:last-child {
  margin-bottom: 0;
}

.wipo-dashboard .wipo-dashboard__feature-body strong {
  font-weight: 700;
  color: #0f172a;
}

.wipo-dashboard .wipo-dashboard__feature-separator {
  border: none;
  border-top: 1px dotted #cbd5e1;
  margin: 24px 0 16px 0;
}

.wipo-dashboard .wipo-dashboard__feature-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #475569;
  font-family: "Courier New", Courier, monospace;
}

.wipo-dashboard .wipo-dashboard__footer-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  border: 1.5px solid #64748b;
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
  font-weight: bold;
}

.wipo-dashboard .wipo-dashboard__footer-text {
  letter-spacing: 0.01em;
}

/* ==========================================================================
   6. RESPONSIVE HIERARCHY
   ========================================================================== */
@media (max-width: 1100px) {
  .wipo-dashboard .wipo-dashboard__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .wipo-dashboard .wipo-dashboard__chart-wrapper {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .wipo-dashboard .wipo-dashboard__header {
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .wipo-dashboard .wipo-dashboard__controls {
    width: 100%;
    justify-content: flex-start;
  }
  .wipo-dashboard .wipo-dashboard__feature {
    padding: 20px 16px;
  }
  .wipo-dashboard .wipo-dashboard__feature-heading {
    font-size: 1.35rem;
  }
}

/* ==========================================================================
   7. PRINT OPTIMIZATION (HIERARCHY-SCOPED)
   ========================================================================== */
@media print {
  .wipo-dashboard {
    box-shadow: none;
    border: none;
    max-width: 100%;
  }
  .wipo-dashboard .wipo-dashboard__controls {
    display: none !important;
  }
  .wipo-dashboard .wipo-dashboard__grid {
    grid-template-columns: 1.15fr 1.7fr 1.15fr !important;
    page-break-inside: avoid;
  }
}







/*new css*/



.main-content .achievementsTabSection  .tab-style-two-items nav .nav-tabs button {
    border: none;
    color: #000;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    line-height: 17px;
    padding:5px 7px;
    background: transparent;
    text-align: left;
    display: block;
    text-align: center;
    border-radius: 10px 10px 0 0;
    position: relative;
    border: 1px solid #034ea2;
    z-index: 1;
    background: #fff;
}

.main-content  .achievementsTabSection .tab-style-two-items nav .nav-tabs button:hover, 
.main-content  .achievementsTabSection .tab-style-two-items nav .nav-tabs button.active {
    background: #438cdf;
    color: #fff;
}





@media only screen and (max-width:1100px) {

  .achievementsTabSection .tab-style-two-items nav .nav-tabs{ margin-bottom:0 !important;}

.main-content .achievementsTabSection  .tab-style-two-items nav{ display:none !important; }

.main-content .achievementsTabSection  .tab-style-two-items .tab-content>.tab-pane {
    display: block !important;
    opacity: 1 !important;
}


}

