.nodes-renewal {
    margin-top: 24px;
}

.nodes-renewal__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.nodes-renewal .node-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 20px 46px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    color: #0f172a;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.nodes-renewal .node-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 4px;
    border-radius: 999px;
    background: transparent;
}

.nodes-renewal .node-card.is-selected::before {
    background: #2563eb;
}

.nodes-renewal .node-card.is-selected {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
}

.nodes-renewal .node-card:hover {
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
    border-color: rgba(15, 23, 42, 0.12);
}

.nodes-renewal .node-card:focus-within {
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
    border-color: rgba(37, 99, 235, 0.4);
}

.nodes-renewal .node-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nodes-renewal .node-card__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.nodes-renewal .node-card__project {
    font-size: 22px;
    font-weight: 600;
}

.nodes-renewal .node-card__help {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #f8fafc;
    color: #64748b;
    font-size: 10px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

.nodes-renewal .node-card__help-text {
    font-size: 12px;
    color: #94a3b8;
    margin-left: 6px;
    white-space: nowrap;
}

.nodes-renewal .node-card__help:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.nodes-renewal .node-card__status {
    padding: 8px 14px;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.nodes-renewal .node-card--status-overdue .node-card__status {
    background: #fee2e2;
    color: #b91c1c;
}

.nodes-renewal .node-card--status-overdue {
    background: #fff5f5;
    border-color: rgba(220, 38, 38, 0.22);
}

.nodes-renewal .node-card--status-overdue .node-card__due {
    background: #fee2e2;
    color: #b91c1c;
}

.nodes-renewal .node-card__body {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: start;
    justify-items: start;
}

.nodes-renewal .node-card__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.nodes-renewal .node-card__due {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 12px;
    background: #ecfdf3;
    color: #166534;
    font-weight: 600;
    font-size: 14px;
    width: fit-content;
}

.nodes-renewal .node-card__meta {
    display: grid;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    justify-items: start;
    justify-self: start;
    align-self: start;
    text-align: left;
}

.nodes-renewal .node-meta__row,
.nodes-renewal .node-card__meta-row {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    align-items: baseline;
    width: 100%;
}

.nodes-renewal .node-card__due-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    text-align: right;
}

.nodes-renewal .node-card__meta-row {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    align-items: baseline;
    font-size: 14px;
    color: #0f172a;
    width: 100%;
}

.nodes-renewal .node-card svg {
    width: 12px !important;
    height: 12px !important;
    max-width: 12px !important;
    max-height: 12px !important;
}

.nodes-renewal .node-card__meta-label {
    color: #64748b;
    font-size: 12px;
    white-space: nowrap;
}

.nodes-renewal .node-card__meta-value {
    font-weight: 600;
    text-align: left;
    font-size: 14px;
    white-space: nowrap;
}

.nodes-renewal .node-card__meta-row > svg,
.nodes-renewal .node-card__meta-row > .node-card__meta-label,
.nodes-renewal .node-card__meta-left {
    justify-self: start;
}

.nodes-renewal .node-card__meta-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.nodes-renewal .node-card__extra {
    margin-top: 8px;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.4;
}

.nodes-renewal .node-card__icon,
.nodes-renewal .node-card__due svg,
.nodes-renewal .node-card__meta-row svg {
    width: 12px !important;
    height: 12px !important;
    max-width: 12px !important;
    max-height: 12px !important;
    min-width: 12px !important;
    min-height: 12px !important;
    flex: 0 0 12px !important;
    display: inline-block !important;
    box-sizing: content-box;
    color: #94a3b8;
}


.nodes-renewal .node-card__checkbox {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    appearance: none;
    background: #ffffff;
    cursor: pointer;
}

.nodes-renewal .node-card__checkbox:checked {
    background: #2563eb;
    border-color: #2563eb;
    box-shadow: inset 0 0 0 3px #ffffff;
}

.nodes-renewal .node-card__checkbox:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.np-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    --np-indigo: #6d35c8;
    --np-primary: #8a5cff;
    --np-lavender: #b78bff;
    --np-glow: rgba(180, 120, 255, 0.35);
    --np-bg: rgba(15, 15, 22, 0.55);
    --np-white: #f4f2ff;
    --np-text: #f4f2ff;
    --np-muted: rgba(210, 210, 230, 0.72);
}

.np-modal.is-open {
    display: flex;
}

.np-modal__backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 10%, rgba(128, 88, 255, 0.15), transparent 55%),
        radial-gradient(circle at 80% 90%, rgba(88, 140, 255, 0.12), transparent 55%),
        rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.np-modal__backdrop::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 120px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 120px);
    opacity: 0.4;
    pointer-events: none;
}

.np-modal__panel {
    position: relative;
    width: min(980px, 90vw);
    max-height: 85vh;
    background: var(--np-bg);
    border: 1px solid rgba(180, 120, 255, 0.25);
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 40px rgba(164, 96, 255, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.np-modal__panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(180, 120, 255, 0.15), transparent 45%),
        radial-gradient(circle at bottom right, rgba(100, 160, 255, 0.12), transparent 50%);
    pointer-events: none;
}

.np-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.np-modal__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.np-modal__logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    display: none;
}

.np-modal__logo.is-visible {
    display: block;
}

.np-modal__title {
    font-size: 26px;
    font-weight: 600;
    margin: 0;
    color: var(--np-white);
}

.np-modal__close {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(180, 120, 255, 0.25);
    background: rgba(18, 18, 28, 0.4);
    font-size: 22px;
    line-height: 0;
    cursor: pointer;
    color: #f4f2ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.np-modal__close-icon {
    display: block;
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

.np-modal__close-icon path {
    stroke: #f4f2ff;
    fill: none;
}

.np-modal__close:hover,
.np-modal__close:focus,
.np-modal__close:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    color: var(--np-white);
    box-shadow: 0 0 0 3px rgba(180, 120, 255, 0.2);
}

.np-modal__body {
    padding: 26px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
    flex: 1 1 auto;
    min-height: 0;
}

.np-modal__column {
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.np-modal__column--actions {
    align-items: center;
    justify-content: center;
}

.np-modal__right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.np-modal__card {
    background: transparent;
    border: 0;
    border-radius: 18px;
    padding: 0;
    box-shadow: none;
}

.np-modal__details-panel {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

.np-modal__details-panel::-webkit-scrollbar {
    width: 8px;
}

.np-modal__details-panel::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.3);
    border-radius: 999px;
}

.np-modal__details-panel::-webkit-scrollbar-track {
    background: transparent;
}


.np-modal__content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--np-text);
}

.np-modal__content p {
    margin: 0 0 1em 0;
    color: inherit;
}

.np-modal__content p:last-child {
    margin-bottom: 0;
}

.np-modal__content strong {
    font-weight: 700;
    color: inherit;
}

.np-modal__content span {
    color: inherit;
}




.np-modal__action-card {
    width: 100%;
    max-width: 340px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(16, 16, 24, 0.55);
    border: 1px solid rgba(180, 120, 255, 0.22);
    box-shadow: 0 18px 50px rgba(96, 40, 160, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.np-modal__action-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    text-align: center;
}

.np-modal__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    width: 100%;
    color: var(--np-white);
}
.np-modal__price:empty {    display: none;}

.np-modal__price-amount {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.np-modal__price-period {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.7;
}

.np-modal__action {
    border: 1px solid rgba(150, 100, 255, 0.75);
    background: linear-gradient(135deg, #7b4dff, #b87cff);
    color: var(--np-white);
    border-radius: 999px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    margin-top: 0;
    width: 100%;
    min-height: 46px;
    box-shadow: 0 10px 24px rgba(120, 60, 200, 0.35);
}

.np-modal__action:hover,
.np-modal__action:focus,
.np-modal__action:focus-visible {
    background: linear-gradient(135deg, #6a3df2, #a56bff);
    border-color: rgba(180, 120, 255, 0.9);
    color: var(--np-white);
    box-shadow: 0 0 0 3px rgba(180, 120, 255, 0.25), 0 10px 30px rgba(120, 60, 200, 0.45);
}

.np-modal__install-link {
    border: 0;
    background: transparent;
    color: var(--np-white);
    border-radius: 0;
    padding: 0;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    gap: 8px;
}

.np-modal__guide {
    width: 100%;
    display: flex;
    justify-content: center;
}

.np-modal__guide:empty {
    display: none;
}

.np-modal__install-link:hover,
.np-modal__install-link:focus,
.np-modal__install-link:focus-visible {
    background: transparent;
    color: var(--np-white);
    text-decoration: underline;
}

.np-modal__install-icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid rgba(180, 120, 255, 0.35);
    background: rgba(180, 120, 255, 0.12);
    color: var(--np-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    box-shadow: 0 0 10px rgba(180, 120, 255, 0.2);
}

.np-modal__social {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: space-evenly;
    width: 100%;
    padding: 0;
    align-items: center;
}

.np-modal__socials:empty {
    display: none;
}

.np-modal__social-button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(180, 120, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    color: var(--np-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.np-modal__social-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.np-modal__social-button:hover {
    background: rgba(180, 120, 255, 0.18);
    border-color: rgba(180, 120, 255, 0.6);
}

/* === Visibility fixes for modal elements === *//* 1. Close button X icon - ensure visible above overlays */.np-modal__close {    position: relative;    color: rgba(255, 255, 255, 0.9);    mix-blend-mode: normal;    filter: none;    opacity: 1;}.np-modal__close-icon {    position: relative;    z-index: 2;    mix-blend-mode: normal;    filter: none;    opacity: 1;}.np-modal__close::before,.np-modal__close::after {    z-index: 1;}/* 2. Twitter/X icon - override hardcoded dark fill */.np-modal__social-button[data-np-modal-twitter] svg,.np-modal__social-button[data-np-modal-twitter] svg path {    fill: rgba(255, 255, 255, 0.85);}.np-modal__social-button[data-np-modal-twitter]:hover svg,.np-modal__social-button[data-np-modal-twitter]:hover svg path {    fill: rgba(255, 255, 255, 1);}/* 3. Installation guide link - improved contrast */.np-modal .np-modal__install-link {    color: rgba(255, 255, 255, 0.75);    text-decoration: none;}.np-modal .np-modal__install-link:hover,.np-modal .np-modal__install-link:focus {    color: rgba(255, 255, 255, 0.95);    text-decoration: underline;    text-underline-offset: 3px;}.np-modal .np-modal__install-icon {    color: rgba(255, 255, 255, 0.75);    border-color: rgba(180, 120, 255, 0.4);}
/* 4. Close button with Exit text */.np-modal__close { width: auto; padding: 0 16px; gap: 6px; border-radius: 999px; font-size: 14px; line-height: 1; }.np-modal__close-text { font-weight: 500; letter-spacing: 0.02em; }
body.np-modal-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .np-modal__body {
        grid-template-columns: 1fr;
    }

    .np-modal__column--actions {
        align-items: stretch;
        justify-content: flex-start;
    }

    .np-modal__details-panel {
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 768px) {
    .np-modal__panel {
        width: 95vw;
        max-height: 90vh;
        margin: 0 10px;
    }

    .np-modal__header {
        padding: 16px 18px;
    }

    .np-modal__title {
        font-size: 20px;
    }

    .np-modal__body {
        padding: 20px;
        gap: 20px;
    }

    .np-modal__card {
        padding: 0;
    }

    .np-modal__action-card {
        width: 100%;
        max-width: 100%;
        padding: 18px;
    }
}

@media (max-width: 640px) {
    .nodes-renewal__grid {
        grid-template-columns: 1fr;
    }

    .nodes-renewal .node-card__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .nodes-renewal .node-card__body {
        grid-template-columns: 1fr;
    }

    .nodes-renewal .node-card__due-block {
        align-items: flex-start;
        text-align: left;
    }

    .np-modal__panel {
        width: 98vw;
        max-height: 95vh;
        border-radius: 12px;
    }

    .np-modal__header {
        padding: 14px 16px;
    }

    .np-modal__title {
        font-size: 18px;
    }

    .np-modal__logo {
        width: 28px;
        height: 28px;
    }

    .np-modal__close {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .np-modal__body {
        padding: 16px;
        gap: 16px;
    }

    .np-modal__card {
        padding: 0;
        border-radius: 12px;
    }

    .np-modal__content {
        font-size: 14px;
    }

    .np-modal__price-amount {
        font-size: 24px;
    }

    .np-modal__action {
        padding: 12px 20px;
        font-size: 14px;
    }

    .np-modal__secondary {
        font-size: 13px;
    }
}

.np-modal .np-pill {
    border-radius: 999px;
    border: 1px solid rgba(180, 120, 255, 0.25);
    background: rgba(180, 120, 255, 0.12);
    color: var(--np-white);
}

.np-modal .np-pill--tier {
    background: linear-gradient(135deg, rgba(138, 92, 255, 0.9), rgba(183, 139, 255, 0.9));
    color: #ffffff;
}

.np-modal .np-pill--tier-top {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
}

.np-modal .np-pill--tier-1 {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #ffffff;
}

.np-modal .np-pill--tier-2 {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
}

.np-modal .np-pill--tier-3 {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: #ffffff;
}

.np-modal .np-pill--category {
    background: rgba(255, 255, 255, 0.08);
    color: var(--np-white);
    border-color: rgba(180, 120, 255, 0.2);
}

/* Social media icon content */
.np-modal__social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

/* Pills for tier and categories */
.np-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0;
}

.np-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Tier pills - more prominent styling */
.np-pill--tier {
    background: linear-gradient(135deg, #1E2C68, #364EB8);
    color: #ffffff;
}

.np-pill--tier-top {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
}

.np-pill--tier-1 {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #ffffff;
}

.np-pill--tier-2 {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
}

.np-pill--tier-3 {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: #ffffff;
}

/* Category pills - subtle styling */
.np-pill--category {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.np-pill--depin {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}

.np-pill--rpc {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.np-pill--validator {
    background: #fef3c7;
    color: #b45309;
    border-color: #fcd34d;
}

.np-pill--ai {
    background: #fae8ff;
    color: #a21caf;
    border-color: #f0abfc;
}

.np-pill--gaming {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

.np-pill--defi {
    background: #dbeafe;
    color: #1e40af;
    border-color: #93c5fd;
}

.np-pill--infrastructure {
    background: #f3e8ff;
    color: #7c3aed;
    border-color: #c4b5fd;
}

.np-pill--storage {
    background: #ccfbf1;
    color: #0f766e;
    border-color: #5eead4;
}

/* Pills in modal - slightly larger */
.np-modal__content .np-pills {
    margin-bottom: 16px;
}

.np-modal__content .np-pill {
    font-size: 12px;
    padding: 5px 12px;
}

/* Pills on node cards */
.node_item .np-pills {
    margin: 6px 0 0 0;
}

.node_item .node_item_title .np-pills {
    margin: 0;
}

.node_item .np-pill {
    font-size: 10px;
    padding: 3px 8px;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .np-pill {
        font-size: 10px;
        padding: 3px 8px;
    }

    .np-modal__content .np-pill {
        font-size: 11px;
        padding: 4px 10px;
    }
}
