/* ==================================================
   PAGE + MAIN CARD
================================================== */

.page-content {
    padding-bottom: 24px;
}

.vvp-main-card {
    border-radius: 16px;
    background: #fdfdfd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.vvp-main-header {
    padding: 0 !important;
    margin-bottom: 0;
}

.vvp-main-body {
    padding-top: 20px;
}

.vvp-page-title {
    color: #172b4d;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 6px;
}

.vvp-page-subtitle {
    color: #172b4d;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    margin-bottom: 0;
}


/* ==================================================
   OVERVIEW TOOLBAR
================================================== */

.vvp-toolbar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 14px;
}

.vvp-search-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.vvp-search-wrap {
    width: 235px;
    max-width: 100%;
}

.vvp-search-input {
    height: 42px;
    border-radius: 8px;
    border: 1px solid #6c757d;
    color: #191a1b;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 21px;
    box-shadow: none !important;
    padding: 10px 14px;
    background: #ffffff;
}

.vvp-search-input::placeholder {
    color: #6c757d;
}

.vvp-filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap;
}

.vvp-letter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    align-items: center;
    min-width: 0;
    flex: 1 1 auto;
}

.vvp-letter-btn {
    min-width: 28px;
    height: 28px;
    padding: 2px 6px;
    border-radius: 8px;
    border: 1px solid #6c757d;
    background: #ffffff;
    color: #191a1b;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all 0.18s ease;
}

.vvp-letter-btn.active {
    background: #4c7354;
    color: #fdfdfd;
    border-color: #6c757d;
}

.vvp-period-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 0 0 auto;
}

.vvp-period-group {
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08), 0 4px 4px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
}

.vvp-period-btn {
    height: 34px;
    padding: 8px 12px;
    border: 1px solid #4c7354;
    background: #ffffff;
    color: #4c7354;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.vvp-period-btn + .vvp-period-btn {
    border-left: none;
}

.vvp-period-btn:first-child {
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.vvp-period-btn:last-child {
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

.vvp-period-btn.active {
    background: #4c7354;
    color: #fdfdfd;
}

.vvp-check {
    display: inline-block;
    font-size: 12px;
    line-height: 1;
}


/* ==================================================
   OVERVIEW PANELS
================================================== */

.vvp-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
}

.vvp-panel {
    padding: 16px 16px 18px 16px;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 720px;
}

.vvp-panel-header h5 {
    color: #172b4d;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 6px;
}

.vvp-panel-header p {
    color: #172b4d;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    margin-bottom: 0;
}


/* ==================================================
   OVERVIEW TABS
================================================== */

.vvp-tabs {
    align-self: stretch;
    padding: 10px;
    background: #fdfdfd;
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.vvp-tab-btn {
    height: 35px;
    padding: 0 18px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #4c7354;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    box-shadow: 0 2px 5.5px rgba(0, 0, 0, 0.04);
    white-space: nowrap;
}

.vvp-tab-btn.active {
    background: #f8f9fa;
    color: #4c7354;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}


/* ==================================================
   OVERVIEW TABLE
================================================== */

.vvp-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vvp-table-head,
.vvp-row {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.05fr) 86px;
    column-gap: 16px;
    align-items: center;
}

.vvp-table-head {
    padding: 0 8px;
}

.vvp-table-head > div {
    color: #386641;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.vvp-table-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vvp-row {
    min-height: 44px;
    padding: 10px 10px;
    background: #fdfdfd;
    border-radius: 16px;
    border: none;
    outline: none;
    box-shadow: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.vvp-row:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.vvp-row.selected {
    background: #f5f8f5;
    box-shadow: 0 0 0 2px rgba(76, 115, 84, 0.10);
}

.vvp-row.vvp-row-inventory {
    background: rgba(255, 158, 0, 0.20);
}

.vvp-row.vvp-row-inventory:hover {
    background: rgba(255, 158, 0, 0.20);
}

.vvp-row.vvp-row-inventory.selected {
    background: rgba(255, 158, 0, 0.20);
    box-shadow: 0 0 0 2px rgba(76, 115, 84, 0.10);
}

.vvp-entity {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.vvp-entity-logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.vvp-entity-fallback {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid #191a1b;
    background: #ffffff;
    color: #191a1b;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.vvp-entity-name {
    color: #191a1b;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vvp-activity {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.vvp-badge {
    height: 30px;
    padding: 3px 12px;
    border-radius: 16px;
    color: #fdfdfd;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.vvp-badge-critical {
    background: #e83700;
}

.vvp-badge-kev {
    background: #ffa800;
}

.vvp-badge-new {
    background: #43c4ff;
}

.vvp-updated {
    color: #191a1b;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    text-align: right;
    white-space: nowrap;
}

.vvp-empty {
    padding: 20px;
    border-radius: 16px;
    background: #fdfdfd;
    color: #6c757d;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    text-align: center;
    border: none;
    box-shadow: none;
}

.vvp-footnote {
    margin-top: 18px;
    color: #6c757d;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 21px;
}


/* ==================================================
   DETAIL PANEL CORE
================================================== */

.vvp-name-button {
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    color: #191a1b;
    font: inherit;
    line-height: inherit;
    text-align: left;
    cursor: pointer;
    max-width: 100%;
}

.vvp-name-button:hover {
    color: #4c7354;
    text-decoration: underline;
}

.vvp-name-button:focus-visible {
    outline: 2px solid rgba(76, 115, 84, 0.35);
    outline-offset: 2px;
    border-radius: 4px;
}

.vvp-detail-panel {
    min-height: 720px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vvp-detail-panel-real {
    gap: 18px;
}

.vvp-detail-topbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.vvp-back-btn {
    border: none;
    background: transparent;
    color: #4c7354;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.vvp-back-btn:hover {
    text-decoration: underline;
}

.vvp-hero-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    padding: 24px;
}

.vvp-hero-card-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vvp-hero-card-inner-product {
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.vvp-hero-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
}

.vvp-hero-action {
    display: flex;
    align-items: flex-start;
    flex: 0 0 auto;
}

.vvp-hero-add-btn {
    padding: 6px 16px;
    background: #4c7354;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fdfdfd;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

/* ==================================================
   SHARED INTERACTIVE HOVER STATES
================================================== */

.vvp-hover-lift {
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.18s ease;
}

.vvp-hover-lift:hover {
    transform: translateY(-1px);
}

.vvp-hover-surface:hover {
    background: rgba(76, 115, 84, 0.06);
}

.vvp-hover-shadow:hover {
    box-shadow: 0 7px 16px rgba(0, 0, 0, 0.08);
}

.vvp-hero-add-btn.is-addable:hover {
    background: #426648;
}

.vvp-hero-add-btn.is-added {
    background: rgba(76, 115, 84, 0.15);
    color: #4c7354;
}

.vvp-hero-add-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    flex-shrink: 0;
}

.vvp-hero-add-btn.is-addable .vvp-hero-add-icon {
    font-size: 20px;
    transform: scale(1.15);
}

.vvp-hero-add-btn.is-added .vvp-hero-add-icon {
    font-size: 17px;
    transform: scale(1.05);
}

.vvp-hero-add-label {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
}

.vvp-hero-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.vvp-detail-icon {
    width: 78px;
    height: 78px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.vvp-detail-fallback {
    width: 78px;
    height: 78px;
    border-radius: 4px;
    border: 1px solid #dfe3e8;
    background: #ffffff;
    color: #191a1b;
    font-family: "Open Sans", sans-serif;
    font-size: 28px;
    font-weight: 700;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-sizing: border-box;
}

.vvp-product-parent-label {
    color: #495057;
    font-family: Inter, "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
    margin-bottom: 2px;
}

.vvp-detail-title {
    margin: 0;
    color: #191a1b;
    font-family: "Open Sans", sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 39px;
    word-break: break-word;
}

.vvp-detail-subtitle {
    margin: 4px 0 0 0;
    color: #495057;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    word-break: break-word;
}

.vvp-detail-updated {
    margin: 4px 0 0 0;
    color: #495057;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}


/* ==================================================
   DETAIL STATS
================================================== */

.vvp-detail-stats-wrap {
    background: #fdfdfd;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.vvp-detail-period-wrap {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.vvp-detail-stats-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

.vvp-detail-stat-card {
    align-self: stretch;
    background: #fdfdfd;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 142px;
    overflow: hidden;
}

.vvp-detail-stat-card-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.vvp-detail-stat-label {
    margin: 0;
    padding: 7px 8px;
    color: #000000;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    word-break: break-word;
}

.vvp-detail-stat-value {
    margin: 0;
    padding: 7px 8px;
    color: #000000;
    font-family: "Open Sans", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 31.2px;
    word-break: break-word;
}

.vvp-detail-stat-delta {
    margin: 0;
    padding: 7px 8px;
    color: #ff0f0f;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

.vvp-detail-stat-delta-empty {
    visibility: hidden;
}

/* ==================================================
   DETAIL CARDS + SECTION TITLES
================================================== */

.vvp-detail-chart-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.vvp-detail-chart-card,
.vvp-detail-section-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
    padding: 20px;
}

.vvp-detail-chart-card {
    display: flex;
    flex-direction: column;
}

.vvp-detail-chart-card-large {
    padding: 18px 18px 16px 18px;
}

.vvp-detail-chart-title,
.vvp-detail-section-title {
    color: #191a1b;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.vvp-detail-chart-title {
    margin-bottom: 12px;
}

.vvp-detail-section-title {
    margin-bottom: 8px;
}

.vvp-detail-chart-subtitle {
    color: #5e5e5e;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    line-height: 18px;
    margin-bottom: 12px;
}

.vvp-detail-chart-placeholder {
    background: #f8f9fa;
    border-radius: 16px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5e5e5e;
    font-size: 14px;
}


/* ==================================================
   DETAIL TABLES - SHARED
================================================== */

.vvp-detail-simple-table,
.vvp-detail-cve-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vvp-detail-simple-head,
.vvp-detail-simple-row,
.vvp-detail-cve-head,
.vvp-detail-cve-row {
    display: grid;
    align-items: center;
    column-gap: 16px;
}

.vvp-detail-simple-head,
.vvp-detail-cve-head {
    color: #386641;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.vvp-detail-simple-body,
.vvp-detail-cve-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vvp-detail-simple-row,
.vvp-detail-cve-row {
    background: #ffffff;
    border-radius: 16px;
    padding: 8px 16px;
    color: #172b4d;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 21px;
    min-height: 56px;
}

.vvp-detail-link-button {
    border: none;
    background: transparent;
    padding: 0;
    color: #191a1b;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.vvp-detail-link-button:hover {
    color: #4c7354;
    text-decoration: underline;
}

.vvp-detail-version-cell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.vvp-detail-version-cell-strong {
    color: #172b4d;
    font-family: Inter, "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
}

.vvp-detail-current-dot {
    display: inline-flex;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #b7c9bb;
    color: #4c7354;
    border: 2px solid rgba(76, 115, 84, 0.55);
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    box-sizing: border-box;
}

.vvp-detail-current-dot-pulse {
    animation: vvpCurrentDotPulse 1.8s ease-in-out infinite;
}

@keyframes vvpCurrentDotPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(76, 115, 84, 0.30);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 0 6px rgba(76, 115, 84, 0.08);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(76, 115, 84, 0);
    }
}


/* ==================================================
   PRODUCTS WIDGET
================================================== */

.vvp-detail-products-shell {
    align-self: stretch;
    padding: 16px 24px;
    background: #f8f9fa;
    border-radius: 16px;
}

.vvp-detail-products-table {
    gap: 8px;
}

.vvp-detail-products-head,
.vvp-detail-products-row {
    grid-template-columns: 1.15fr 1.25fr 0.95fr 1fr 0.70fr;
}

.vvp-detail-products-head {
    padding: 0 16px;
    margin-bottom: 4px;
}

.vvp-detail-products-row {
    min-height: 56px;
}

.vvp-detail-product-name {
    color: #172b4d;
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
}

.vvp-detail-product-name:hover {
    color: #4c7354;
    text-decoration: underline;
}

.vvp-detail-products-head-account,
.vvp-detail-products-row-account {
    grid-template-columns: 1.05fr 1.25fr 0.95fr 1fr 0.72fr 0.78fr;
}

.vvp-detail-row-inventory {
    background: rgba(255, 158, 0, 0.20);
}

.vvp-detail-account-cell {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.vvp-detail-account-btn {
    border: none;
    background: transparent;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #172b4d;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    cursor: pointer;
}

.vvp-detail-account-btn.is-added,
.vvp-detail-account-btn.is-addable {
    color: #172b4d;
}

.vvp-detail-account-icon {
    width: 22px;
    height: 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #4c7354;

    /* Make icons visually stronger */
    font-size: 18px;        /* bigger */
    font-weight: 900;       /* thicker */
    line-height: 1;

    transform: scale(1.1);  /* subtle boost without breaking layout */

    flex-shrink: 0;
}

.vvp-detail-account-btn.is-addable .vvp-detail-account-icon {
    font-size: 20px;
    transform: scale(1.2);
}

.vvp-detail-account-btn.is-added .vvp-detail-account-icon {
    font-size: 17px;
    transform: scale(1.05);
}

.vvp-detail-account-label {
    color: #172b4d;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

.vvp-detail-account-btn:hover .vvp-detail-account-label {
    text-decoration: underline;
}


/* ==================================================
   VERSIONS WIDGET
================================================== */

.vvp-detail-versions-shell {
    align-self: stretch;
    padding: 16px 24px;
    background: #f8f9fa;
    border-radius: 16px;
}

.vvp-detail-versions-table {
    gap: 8px;
}

.vvp-detail-versions-head,
.vvp-detail-versions-row {
    grid-template-columns: 1.05fr 1.35fr 1.15fr 0.65fr;
}

.vvp-detail-versions-head {
    padding: 0 16px;
    margin-bottom: 4px;
}

.vvp-detail-versions-row {
    min-height: 56px;
}


/* ==================================================
   CRITICAL CVES WIDGET
================================================== */

.vvp-detail-section-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.vvp-detail-view-toggle {
    display: inline-flex;
    gap: 12px;
    padding: 4px;
    background: #f8f9fa;
    border-radius: 15px;
}

.vvp-detail-toggle-btn {
    min-width: 133px;
    height: 35px;
    border: none;
    background: transparent;
    color: #4c7354;
    border-radius: 8px;
    padding: 0 24px;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    box-shadow: 0 2px 5.5px rgba(0, 0, 0, 0.06);
}

.vvp-detail-toggle-btn.active {
    background: #f8f9fa;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    color: #4c7354;
    font-family: Inter, "Open Sans", sans-serif;
    font-weight: 700;
}

.vvp-detail-filter-row {
    margin-bottom: 14px;
    padding: 0 12px;
}

.vvp-detail-filter-btn {
    height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #4c7354;
    background: #e9ecef;
    color: #4c7354;
    border-radius: 8px;
    padding: 8px 16px;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.05);
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 25.2px;
}

.vvp-detail-filter-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 18px;
    font-size: 12px;
    line-height: 1;
}

.vvp-detail-cves-shell {
    align-self: stretch;
    padding: 16px 24px;
    background: #f8f9fa;
    border-radius: 16px;
}

.vvp-detail-cve-table-enhanced {
    gap: 8px;
}

/* One single authoritative grid for BOTH header and rows */
.vvp-detail-cve-table-enhanced .vvp-detail-cve-head,
.vvp-detail-cve-table-enhanced .vvp-detail-cve-row {
    grid-template-columns: 1.20fr 0.52fr 0.52fr 2.95fr 1.05fr 0.96fr;
}

.vvp-detail-cve-table-enhanced .vvp-detail-cve-head {
    padding: 0 16px;
    margin-bottom: 4px;
}

.vvp-detail-cve-table-enhanced .vvp-detail-cve-row {
    padding: 8px 16px;
    min-height: 56px;
}

.vvp-detail-cve-id {
    color: #172b4d;
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
}

.vvp-detail-cve-description {
    color: #172b4d;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

.vvp-score-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 20px;
    padding: 1px 8px;
    border-radius: 6px;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 21.6px;
    box-sizing: border-box;
}

.vvp-score-pill-critical {
    background: #fd440c;
    color: #fdfdfd;
}

.vvp-score-pill-high {
    background: #fd7c0c;
    color: #191a1b;
}

.vvp-score-pill-medium {
    background: #ffa800;
    color: #191a1b;
}

.vvp-score-pill-low,
.vvp-score-pill-na {
    background: #ffff99;
    color: #191a1b;
}

.vvp-detail-cves-chart-shell {
    align-self: stretch;
    padding: 24px 16px 16px 16px;
    background: #ffffff;
    border-radius: 16px;
}

.vvp-critical-chart-root {
    width: 100%;
    min-height: 376px;
}

.vvp-critical-chart {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-rows: 1fr 32px;
    column-gap: 8px;
    row-gap: 8px;
    min-height: 344px;
}

.vvp-critical-chart-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding: 2px 4px 18px 0;
    color: rgba(0, 0, 0, 0.70);
    font-family: Inter, "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
}

.vvp-critical-chart-plot {
    position: relative;
    min-height: 307px;
    border-bottom: 1px solid rgba(0, 0, 25.5, 0.30);
}

.vvp-critical-chart-grid-y,
.vvp-critical-chart-grid-x {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.vvp-critical-chart-hline {
    position: absolute;
    left: 0;
    right: 0;
    border-top: 1px solid rgba(0, 0, 25.5, 0.15);
}

.vvp-critical-chart-hline.is-baseline {
    border-top-color: rgba(0, 0, 25.5, 0.30);
}

.vvp-critical-chart-vline {
    position: absolute;
    top: 0;
    bottom: 0;
    border-left: 1px solid rgba(0, 0, 25.5, 0.15);
}

.vvp-critical-chart-vline.is-edge {
    border-left-color: rgba(0, 0, 25.5, 0.22);
}

.vvp-critical-chart-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.vvp-critical-chart-area {
    fill: url(#vvpCriticalAreaGradient);
}

.vvp-critical-chart-line {
    fill: none;
    stroke: #ff9e00;
    stroke-width: 0.18;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 3px 3px rgba(137, 121, 255, 0.20));
}

.vvp-critical-chart-point {
    position: absolute;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    margin-top: -4px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid #ff9e00;
    background: #ffffff;
    cursor: pointer;
}

.vvp-critical-chart-x-axis {
    grid-column: 2;
    display: grid;
    align-items: start;
    padding: 0 0 8px 0;
}

.vvp-critical-chart-x-axis span {
    text-align: center;
    color: rgba(0, 0, 0, 0.70);
    font-family: Inter, "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
}

.vvp-critical-chart-tooltip {
    position: absolute;
    min-width: 130px;
    background: #343a40;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 30;
    pointer-events: none;
}

.vvp-critical-chart-tooltip-link {
    border: none;
    background: transparent;
    padding: 0;
    color: #fdfdfd;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    text-align: left;
    cursor: default;
}

.vvp-critical-chart-tooltip-link:hover {
    color: #9fd5ef;
    text-decoration: underline;
}

.vvp-critical-chart-tooltip-more {
    color: #9fd5ef;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    text-decoration: underline;
}

.vvp-critical-chart-point.is-active {
    transform: scale(1.15);
    box-shadow: 0 0 0 3px rgba(255, 158, 0, 0.12);
}

/* ==================================================
   SCATTER CHART
================================================== */

.vvp-chart-root {
    position: relative;
    width: 100%;
    height: 420px;
}

.vvp-chart-root-scatter {
    min-height: 420px;
}

.vvp-scatter-card {
    position: relative;
    width: 100%;
    height: 100%;
}

.vvp-scatter-surface {
    width: 100%;
    height: 100%;
    background: #f7f8fa;
    border-radius: 24px;
    padding: 12px 14px 16px 14px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.vvp-scatter-plot-wrap {
    position: relative;
    flex: 0 0 auto;
}

.vvp-scatter-plot {
    position: relative;
    width: 100%;
    height: 340px;
    padding: 12px 14px 44px 44px;
    box-sizing: border-box;
}

.vvp-scatter-grid {
    position: absolute;
    left: 44px;
    right: 14px;
    top: 12px;
    bottom: 44px;
    border-left: 1.5px solid #a7adb5;
    border-bottom: 1.5px solid #a7adb5;
}

.vvp-scatter-vline,
.vvp-scatter-hline {
    position: absolute;
    pointer-events: none;
    opacity: 0.8;
}

.vvp-scatter-vline {
    top: 0;
    bottom: 0;
    border-left: 1px dashed #c7ccd3;
}

.vvp-scatter-hline {
    left: 0;
    right: 0;
    border-top: 1px dashed #c7ccd3;
}

.vvp-scatter-threshold {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 70%;
    border-top: 1px dashed #d2a14a;
    opacity: 0.95;
}

.vvp-scatter-point {
    position: absolute;
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    background-clip: padding-box;
    transform: translate(-50%, 50%);
    cursor: pointer;
}

.vvp-scatter-y-axis {
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 44px;
    width: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding-right: 8px;
    color: rgba(0, 0, 0, 0.72);
    font-size: 12px;
}

.vvp-scatter-x-axis {
    position: absolute;
    left: 44px;
    right: 14px;
    bottom: 14px;
    height: 22px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: rgba(0, 0, 0, 0.72);
    font-size: 12px;
}

.vvp-scatter-meta {
    flex: 0 0 auto;
    padding: 6px 12px 2px 12px;
}

.vvp-scatter-legend-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 0;
}

.vvp-scatter-legend-item {
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4b5563;
    font-size: 12px;
    cursor: pointer;
    padding: 0;
}

.vvp-scatter-legend-item.is-hidden {
    text-decoration: line-through;
    opacity: 0.55;
}

.vvp-scatter-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid transparent;
    flex-shrink: 0;
}

.vvp-scatter-axis-caption {
    margin-top: 10px;
    text-align: center;
    color: #4b5563;
    font-size: 12px;
}

.vvp-scatter-tooltip {
    position: absolute;
    width: 420px;
    background: #373d46;
    color: #fdfdfd;
    border-radius: 20px;
    padding: 22px;
    z-index: 20;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    pointer-events: none;
}

.vvp-scatter-tooltip-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
}

.vvp-scatter-tooltip-metrics {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
    flex-wrap: nowrap;
    margin-bottom: 18px;
}

.vvp-scatter-tooltip-metric {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.vvp-scatter-tooltip-metric-label {
    display: inline-block;
    white-space: nowrap;
}

.vvp-scatter-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    background: #ff9e00;
    color: #191a1b;
    font-size: 14px;
    font-weight: 700;
}

.vvp-scatter-tooltip-text {
    font-size: 14px;
    line-height: 1.45;
}


/* ==================================================
   PATCHING CHART
================================================== */

.vvp-chart-root-patching {
    height: 100%;
    min-height: 0;
    display: flex;
}

.vvp-patching-chart {
    position: relative;
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
    background: #f7f8fa;
    border-radius: 24px;
    padding: 14px 18px 14px 18px;
    display: flex;
}

.vvp-patching-plot-area {
    position: relative;
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
    padding: 22px 18px 44px 42px;
}

.vvp-patching-grid {
    position: absolute;
    left: 42px;
    right: 18px;
    top: 22px;
    bottom: 58px;
}

.vvp-patching-grid-line {
    position: absolute;
    left: 0;
    right: 0;
    border-top: 1px solid #d9dde2;
}

.vvp-patching-y-axis {
    position: absolute;
    left: 0;
    top: 22px;
    bottom: 58px;
    width: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding-right: 8px;
    color: rgba(25, 26, 27, 0.72);
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
}

.vvp-patching-bars {
    position: absolute;
    left: 42px;
    right: 18px;
    top: 22px;
    bottom: 34px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
}

.vvp-patching-bar-col {
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.vvp-patching-bar-wrap {
    width: 100%;
    height: calc(100% - 26px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.vvp-patching-bar {
    width: 100%;
    max-width: 66px;
    min-height: 6px;
    background: #f7a400;
    border-radius: 10px 10px 0 0;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.vvp-patching-bar:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(247, 164, 0, 0.20);
}

.vvp-patching-label {
    margin-top: 8px;
    height: 18px;
    color: #4b5563;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    text-align: center;
    white-space: nowrap;
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 1399.98px) {
    .vvp-table-head,
    .vvp-row {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 78px;
    }

    .vvp-tabs {
        gap: 8px;
    }

    .vvp-tab-btn {
        padding: 0 12px;
        font-size: 13px;
    }

    .vvp-detail-stats-grid,
    .vvp-detail-chart-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .vvp-filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .vvp-period-wrap {
        justify-content: flex-start;
    }

    .vvp-columns {
        grid-template-columns: 1fr;
    }

    .vvp-panel {
        min-height: auto;
    }

    .vvp-detail-panel {
        min-height: auto;
    }

    .vvp-detail-stats-grid,
    .vvp-detail-chart-row {
        grid-template-columns: 1fr;
    }

    .vvp-detail-period-wrap {
        justify-content: flex-start;
    }

    .vvp-detail-products-head,
    .vvp-detail-products-row,
    .vvp-detail-versions-head,
    .vvp-detail-versions-row,
    .vvp-detail-cve-table-enhanced .vvp-detail-cve-head,
    .vvp-detail-cve-table-enhanced .vvp-detail-cve-row {
        grid-template-columns: 1fr;
        row-gap: 8px;
    }

    .vvp-detail-view-toggle {
        width: 100%;
        justify-content: stretch;
    }

    .vvp-detail-toggle-btn {
        min-width: 0;
        flex: 1 1 0;
    }

    .vvp-chart-root-patching {
        min-height: 0;
    }

    .vvp-patching-plot-area {
        padding: 20px 12px 42px 36px;
    }

    .vvp-patching-grid,
    .vvp-patching-bars {
        left: 36px;
        right: 12px;
    }

    .vvp-patching-y-axis {
        width: 30px;
        font-size: 11px;
        padding-right: 6px;
    }

    .vvp-patching-grid {
        bottom: 54px;
    }

    .vvp-patching-bars {
        bottom: 34px;
        gap: 12px;
    }

    .vvp-patching-bar {
        max-width: 56px;
    }

    .vvp-patching-label {
        font-size: 11px;
    }

    .vvp-detail-products-head-account,
    .vvp-detail-products-row-account {
        grid-template-columns: 1fr;
        row-gap: 8px;
    }

    .vvp-hero-card-inner-product,
    .vvp-hero-main {
        flex-direction: column;
        align-items: flex-start;
    }

    .vvp-hero-action {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .vvp-tabs {
        grid-template-columns: repeat(2, 1fr);
    }

    .vvp-table-head {
        display: none;
    }

    .vvp-row {
        grid-template-columns: 1fr;
        row-gap: 10px;
    }

    .vvp-updated {
        text-align: left;
    }

    .vvp-search-wrap {
        width: 100%;
    }

    .vvp-period-group {
        flex-wrap: wrap;
        border-radius: 12px;
    }

    .vvp-period-btn {
        border-left: 1px solid #4c7354 !important;
    }
}

/* === CVE FILTER === */

.vvp-cve-filter-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vvp-cve-filter-btn {
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.12);
    background: #f8f9fa;
    font-weight: 600;
    cursor: pointer;
}

.vvp-cve-filter-panel {
    position: absolute;
    top: 42px;
    left: 0;
    width: 240px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    padding: 14px;
    z-index: 10;
}

.vvp-cve-filter-panel.hidden {
    display: none;
}

.vvp-cve-filter-section {
    margin-bottom: 12px;
}

.vvp-cve-filter-title {
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 6px;
}

.vvp-cve-filter-section label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
    cursor: pointer;
}

.vvp-cve-filter-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.vvp-cve-filter-actions button {
    padding: 6px 10px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.vvp-cve-filter-actions .secondary {
    background: #e9ecef;
}

.vvp-cve-filter-actions button:not(.secondary) {
    background: #4C7354;
    color: white;
}

/* Active filter chips */
.vvp-cve-active-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.vvp-cve-chip {
    background: rgba(76,115,84,0.12);
    color: #4C7354;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.vvp-cve-chip span {
    cursor: pointer;
    font-weight: bold;
}

.hidden { display: none !important; }

/* Products widget rows on vendor page */
.vvp-detail-products-row:not(.vvp-detail-row-inventory),
.vvp-detail-products-row-account:not(.vvp-detail-row-inventory),
/* Versions widget rows on product page */
.vvp-detail-versions-row,
/* Critical CVEs rows on both pages */
.vvp-detail-cve-table-enhanced .vvp-detail-cve-row,
/* Hero cards on vendor + product pages */
.vvp-hero-card,
/* Detail widgets/cards */
.vvp-detail-stat-card,
.vvp-detail-chart-card,
.vvp-detail-section-card {
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.18s ease;
}

.vvp-detail-products-row:not(.vvp-detail-row-inventory):hover,
.vvp-detail-products-row-account:not(.vvp-detail-row-inventory):hover,
.vvp-detail-versions-row:hover,
.vvp-detail-cve-table-enhanced .vvp-detail-cve-row:hover {
    background: rgba(76, 115, 84, 0.06);
    transform: translateY(-1px);
}

.vvp-hero-card:hover,
.vvp-detail-stat-card:hover,
.vvp-detail-products-row:hover,
.vvp-detail-products-row-account:hover,
.vvp-detail-chart-card:hover,
.vvp-detail-section-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

/* Keep highlighted inventory rows stable */
.vvp-detail-row-inventory:hover {
    background: rgba(255, 158, 0, 0.20);
}

/* Hero add button uses the same lift language, but keeps its own button color */
.vvp-hero-add-btn {
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.18s ease;
}

.vvp-hero-add-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 16px rgba(0, 0, 0, 0.08);
}

.vvp-detail-cve-link {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.vvp-detail-cve-link:hover {
    text-decoration: underline;
}

.vvp-detail-stat-delta-positive {
    color: #198754;
}

.vvp-detail-stat-delta-negative {
    color: #dc3545;
}

.vvp-detail-stat-delta-neutral {
    color: #6c757d;
}

/* ==================================================
   DISABLED ADD BUTTON TEASER FOR NON-USERS
================================================== */

.vvp-disabled-tooltip-wrap {
    position: relative;
    display: inline-flex;
    width: fit-content;
}

.vvp-disabled-tooltip-wrap[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #343a40;
    color: #fdfdfd;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    padding: 7px 10px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 50;
}

.vvp-disabled-tooltip-wrap[data-tooltip]::before {
    content: "";
    position: absolute;
    bottom: calc(100% + 3px);
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px 5px 0 5px;
    border-style: solid;
    border-color: #343a40 transparent transparent transparent;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 50;
}

.vvp-disabled-tooltip-wrap[data-tooltip]:hover::after,
.vvp-disabled-tooltip-wrap[data-tooltip]:hover::before {
    opacity: 1;
}

.vvp-disabled-action,
.vvp-disabled-action:disabled {
    opacity: 0.58;
    cursor: not-allowed !important;
}

.vvp-disabled-action:hover {
    transform: none !important;
    box-shadow: none !important;
}

.vvp-detail-account-btn.vvp-disabled-action:hover .vvp-detail-account-label {
    text-decoration: none;
}