.nf-regviber-inputwrap,
.nf-auth-login-inputwrap {
    position: relative;
    border: 1px solid rgba(102, 102, 102, 0.5);
    border-radius: 3px;
    background: #f8f8f8;
    margin-top: 15px;
    overflow: hidden;
}

.nf-regviber-inputwrap:focus-within,
.nf-auth-login-inputwrap:focus-within {
    border-color: #0056b3;
}

.nf-regviber-inputwrap .log-input.nf-regviber-input,
.nf-auth-login-inputwrap .log-input.nf-auth-login-input {
    float: none;
    width: 100%;
    margin-top: 0;
    border: 0;
    background: transparent;
    box-sizing: border-box;
    padding-right: 48px;
}

.nf-regviber-inputwrap--email .log-input.nf-regviber-input,
.nf-auth-login-inputwrap--email .log-input.nf-auth-login-input {
    padding-right: 20px;
}

.nf-regviber-toggle,
.nf-auth-login-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.nf-regviber-toggle svg,
.nf-auth-login-toggle svg {
    display: block;
    flex-shrink: 0;
}

.nf-regviber-eye-shut,
.nf-auth-login-eye-shut {
    display: none;
}

.nf-regviber-toggle.nf-regviber-toggle--visible .nf-regviber-eye-open,
.nf-auth-login-toggle.nf-auth-login-toggle--visible .nf-auth-login-eye-open {
    display: none;
}

.nf-regviber-toggle.nf-regviber-toggle--visible .nf-regviber-eye-shut,
.nf-auth-login-toggle.nf-auth-login-toggle--visible .nf-auth-login-eye-shut {
    display: block;
}

.nf-regviber-passhint-wrap {
    margin-top: 6px;
    margin-bottom: 4px;
    text-align: left;
}

.nf-regviber-passhint {
    font-size: 13px;
    line-height: 1.45;
    color: rgba(102, 102, 102, 0.9);
    margin: 12px 0 18px 0;
    padding: 0 2px;
    text-align: left;
}

.nf-regviber-mismatch {
    display: none;
    font-size: 13px;
    line-height: 1.4;
    color: #b30000;
    margin: 6px 0 0 0;
    padding: 0 2px;
}

.nf-regviber-mismatch.nf-regviber-mismatch--show {
    display: block;
}

.nf-regviber-trimwarn {
    display: none;
    font-size: 13px;
    line-height: 1.45;
    color: #8a5a00;
    margin: 8px 0 0 0;
    padding: 10px 12px;
    border: 1px solid rgba(138, 90, 0, 0.35);
    border-radius: 3px;
    background: #fffbf0;
    text-align: left;
}

.nf-regviber-trimwarn.nf-regviber-trimwarn--show {
    display: block;
}

.abt-why-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f7f8fa;
    border: 1px solid #e2e7ed;
    border-radius: 12px;
    padding: 32px 28px;
    border-left: 3px solid #1a9e96;
}

.abt-why-block__heading {
    font-size: 20px;
    font-weight: bold;
    color: #263848;
    margin-bottom: 16px;
    line-height: 1.3;
    font-family: Tahoma, Geneva, sans-serif;
}

.abt-why-block__para {
    font-size: 15px;
    line-height: 1.75;
    color: #3a5068;
    margin-bottom: 12px;
    font-family: Tahoma, Geneva, sans-serif;
}

.abt-why-block__para:last-child {
    margin-bottom: 0;
}

#abt-author-articles {
    padding: 44px 28px 56px;
    background: #f7f8fa;
    border-top: 1px solid #e2e7ed;
    font-family: Tahoma, Geneva, sans-serif;
}

.abt-author-articles__inner {
    max-width: 1110px;
    margin: 0 auto;
}

.abt-author-articles__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.abt-author-articles__title {
    font-size: 22px;
    font-weight: bold;
    color: #263848;
    margin: 0;
}

.abt-author-articles__viewall {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: bold;
    color: #1a9e96;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.abt-author-articles__viewall:hover {
    gap: 10px;
    color: #158880;
}

.abt-author-articles__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e2e7ed;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.abt-article-row {
    display: flex;
    align-items: center;
    padding: 16px 22px;
    text-decoration: none;
    color: #263848;
    border-bottom: 1px solid #f0f2f5;
    transition: background 0.2s ease;
    gap: 16px;
}

.abt-article-row:last-child {
    border-bottom: none;
}

.abt-article-row:hover {
    background: #f0f8f7;
}

.abt-article-row:hover .abt-article-row__arrow {
    color: #1a9e96;
    transform: translateX(4px);
}

.abt-article-row__title {
    flex: 1;
    font-size: 15px;
    font-weight: bold;
    color: #263848;
    line-height: 1.4;
}

.abt-article-row__meta {
    font-size: 13px;
    color: #6a8299;
    white-space: nowrap;
    flex-shrink: 0;
}

.abt-article-row__arrow {
    color: #8a9fb4;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nf-author-box {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 32px 0 24px;
    padding: 0;
    background: #fff;
    border: 1px solid #e2e7ed;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(38,56,72,0.06);
    font-family: Tahoma, Geneva, sans-serif;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.nf-author-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a9e96, rgba(26,158,150,0.2));
}

.nf-author-box:hover {
    box-shadow: 0 6px 24px rgba(38,56,72,0.1);
}

.nf-author-box__avatar {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    margin: 20px 0 20px 24px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(26,158,150,0.22);
}

.nf-author-box__avatar svg {
    width: 100%;
    height: 100%;
    display: block;
}

.nf-author-box__content {
    flex: 1;
    padding: 20px 24px 20px 0;
    min-width: 0;
}

.nf-author-box__label {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a9e96;
    margin-bottom: 5px;
}

.nf-author-box__name {
    font-size: 17px;
    font-weight: bold;
    color: #263848;
    margin-bottom: 6px;
    line-height: 1.3;
}

.nf-author-box__desc {
    font-size: 14px;
    line-height: 1.65;
    color: #4a6275;
    margin-bottom: 14px;
}

.nf-author-box__cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    background: #1a9e96;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 8px;
    border: 1.5px solid #1a9e96;
    transition: background 0.25s ease, gap 0.25s ease, box-shadow 0.25s ease;
    line-height: 1;
}

.nf-author-box__cta svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.nf-author-box__cta:hover {
    background: #158880;
    border-color: #158880;
    color: #fff;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(26,158,150,0.28);
}

.nf-author-box__cta:hover svg {
    transform: translateX(3px);
}

@media (max-width: 540px) {
    .nf-author-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .nf-author-box__avatar {
        width: 64px;
        height: 64px;
        margin: 20px 0 12px 20px;
    }

    .nf-author-box__content {
        padding: 0 20px 20px 20px;
    }
}

.nf-edpol-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 28px 64px;
    font-family: Tahoma, Geneva, sans-serif;
}

.nf-edpol-header {
    margin-bottom: 44px;
    padding-bottom: 28px;
    border-bottom: 2px solid #e2e7ed;
}

.nf-edpol-title {
    font-size: 32px;
    font-weight: bold;
    color: #263848;
    margin-bottom: 14px;
    line-height: 1.2;
}

.nf-edpol-subtitle {
    font-size: 16px;
    line-height: 1.75;
    color: #4a6275;
    margin: 0;
}

.nf-edpol-body {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nf-edpol-section {
    display: flex;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid #eef1f5;
}

.nf-edpol-section:last-child {
    border-bottom: none;
}

.nf-edpol-section__num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #e6f5f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: #1a9e96;
    margin-top: 2px;
}

.nf-edpol-section__content {
    flex: 1;
}

.nf-edpol-section__title {
    font-size: 18px;
    font-weight: bold;
    color: #263848;
    margin-bottom: 10px;
    line-height: 1.3;
}

.nf-edpol-section__text {
    font-size: 15px;
    line-height: 1.75;
    color: #3a5068;
    margin-bottom: 12px;
}

.nf-edpol-section__text:last-child {
    margin-bottom: 0;
}

.nf-edpol-author-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: bold;
    color: #1a9e96;
    text-decoration: none;
}

.nf-edpol-author-link:hover {
    color: #158880;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .nf-edpol-wrap {
        padding: 32px 16px 48px;
    }

    .nf-edpol-title {
        font-size: 24px;
    }

    .nf-edpol-section {
        gap: 16px;
    }
}

/* ========== HISTORY PAGE — HERO SVG ========== */

#abt-page .abt-hero__brand-visual {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    opacity: 0;
    animation: abt-fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) forwards 0.3s;
}

#abt-page .abt-hero__brand-svg {
    width: 100%;
    height: auto;
    display: block;
}

#abt-page .abt-hero__card {
    opacity: 0;
    animation: abt-fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) forwards 0.45s;
}

/* ========== DARKER TEXT & LARGER SIZES ========== */

#abt-page .abt-hero__lead {
    color: #3a5068;
    font-size: 17px;
}

#abt-page .abt-hero__card-title {
    color: #3a5068;
    font-size: 14px;
}

#abt-page .abt-hero__card-bar {
    color: #3a5068;
    font-size: 14px;
    margin-bottom: 0;
}

#abt-page .abt-block__para {
    color: #2d4558;
    font-size: 16px;
}

#abt-page .abt-block__num {
    color: #4a6275;
}

#abt-page .abt-pillar__desc {
    color: #3a5068;
}

#abt-page .abt-guarantee__para {
    color: #2d4558;
    max-width: 520px;
}

#abt-page .abt-stat-item__caption {
    color: #9ab0c3;
}

/* ========== WHY BLOCK — ANIMATION (REPLACES REMOVED VISUAL CLASS) ========== */

#abt-page .abt-why-block {
    height: auto;
    position: relative;
    opacity: 0;
    transform: translateX(-18px);
    transition: all 0.8s cubic-bezier(0.22,1,0.36,1);
}

#abt-page .abt-why-block.abt-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========== COMPACT SPACING ========== */

#abt-page #abt-narrative {
    padding-top: 36px;
    padding-bottom: 20px;
}

#abt-page .abt-block {
    margin-bottom: 16px;
}

#abt-page #abt-guarantee {
    padding-top: 36px;
    padding-bottom: 36px;
}

#abt-page #abt-principles {
    padding-bottom: 36px;
}

#abt-page #abt-hero {
    padding-bottom: 56px;
}

/* ========== EDITORIAL SECTION — CARD GRID ========== */

#abt-page #abt-editorial {
    display: block;
    background: #f7f8fa;
    border-top: 1px solid #e2e7ed;
    padding: 56px 28px 64px;
}

.nf-ep-inner {
    display: block;
    max-width: 1054px;
    margin: 0 auto;
}

.nf-ep-header {
    display: block;
    text-align: center;
    margin-bottom: 44px;
}

.nf-ep-header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #1a9e96;
    margin-bottom: 14px;
    padding: 5px 12px 5px 10px;
    background: #e6f5f4;
    border-radius: 14px;
    font-family: Tahoma, Geneva, sans-serif;
}

.nf-ep-header__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #1a9e96;
    flex-shrink: 0;
    display: inline-block;
}

.nf-ep-header__title {
    font-size: 28px;
    font-weight: bold;
    color: #263848;
    margin-bottom: 12px;
    line-height: 1.25;
    font-family: Tahoma, Geneva, sans-serif;
}

.nf-ep-header__sub {
    font-size: 16px;
    line-height: 1.75;
    color: #4a6275;
    max-width: 560px;
    margin: 0 auto;
    font-family: Tahoma, Geneva, sans-serif;
}

.nf-ep-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.nf-ep-card {
    background: #fff;
    border: 1px solid #e2e7ed;
    border-radius: 14px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    font-family: Tahoma, Geneva, sans-serif;
}

.nf-ep-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a9e96, rgba(26,158,150,0.15));
    border-radius: 14px 14px 0 0;
}

.nf-ep-card:hover {
    box-shadow: 0 8px 28px rgba(38,56,72,0.09);
    border-color: rgba(26,158,150,0.2);
}

.nf-ep-card__icon {
    width: 44px;
    height: 44px;
    background: #e6f5f4;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #1a9e96;
    transition: background 0.3s ease;
}

.nf-ep-card:hover .nf-ep-card__icon {
    background: rgba(26,158,150,0.18);
}

.nf-ep-card__icon svg {
    width: 22px;
    height: 22px;
}

.nf-ep-card__num {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #1a9e96;
    margin-bottom: 8px;
}

.nf-ep-card__title {
    font-size: 18px;
    font-weight: bold;
    color: #263848;
    margin-bottom: 10px;
    line-height: 1.3;
}

.nf-ep-card__text {
    font-size: 15px;
    line-height: 1.75;
    color: #3a5068;
    margin: 0;
}

/* ========== RESPONSIVE — 960px ========== */

@media (max-width: 960px) {
    #abt-page .abt-hero__inner {
        grid-template-columns: 1fr 260px;
        gap: 28px;
    }

    #abt-page .abt-guarantee__inner {
        gap: 28px;
    }
}

/* ========== RESPONSIVE — 768px ========== */

@media (max-width: 768px) {
    #abt-page .abt-hero__inner {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    #abt-page .abt-hero__lead {
        max-width: none;
    }

    #abt-page .abt-hero__eyebrow {
        margin-left: auto;
        margin-right: auto;
    }

    #abt-page .abt-hero__aside {
        max-width: 300px;
        margin: 0 auto;
    }

    #abt-page .abt-guarantee__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    #abt-page .abt-why-block {
        transform: none;
    }

    #abt-page .abt-why-block.abt-visible {
        transform: none;
    }

    #abt-page .abt-guarantee__text-side {
        transform: none;
    }

    #abt-page .abt-guarantee__text-side.abt-visible {
        transform: none;
    }

    #abt-page .abt-guarantee__para {
        max-width: none;
    }

    #abt-page .abt-principles__row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    #abt-page .abt-stats__inner {
        grid-template-columns: 1fr;
    }

    #abt-page .abt-stat-item + .abt-stat-item::before {
        left: 15%;
        top: 0;
        width: 70%;
        height: 1px;
    }

    .abt-author-articles__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .abt-article-row__meta {
        display: none;
    }

    .nf-ep-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    #abt-page #abt-editorial {
        padding: 36px 20px 44px;
    }

    .nf-ep-header__title {
        font-size: 22px;
    }
}

/* ========== RESPONSIVE — 480px ========== */

@media (max-width: 480px) {
    #abt-page #abt-hero {
        padding: 24px 16px 36px;
    }

    #abt-page .abt-hero__heading {
        font-size: 26px;
    }

    #abt-page .abt-hero__author-photo {
        width: 110px;
        height: 110px;
    }

    #abt-page #abt-narrative {
        padding-left: 16px;
        padding-right: 16px;
    }

    #abt-page #abt-stats {
        padding: 24px 16px;
    }

    #abt-page #abt-guarantee {
        padding: 28px 16px;
    }

    #abt-page #abt-principles {
        padding-left: 16px;
        padding-right: 16px;
    }

    #abt-page #abt-author-articles {
        padding: 28px 16px 36px;
    }

    #abt-page .abt-block__content {
        padding: 20px 16px;
    }

    #abt-page .abt-pillar {
        padding: 24px 16px;
    }

    #abt-page .abt-hero__card {
        padding: 20px 18px;
    }

    #abt-page .abt-guarantee__heading {
        font-size: 22px;
    }

    #abt-page .abt-why-block {
        padding: 24px 18px;
    }

    #abt-page .abt-why-block__heading {
        font-size: 18px;
    }

    #abt-page #abt-editorial {
        padding: 28px 16px 36px;
    }

    .nf-ep-card {
        padding: 24px 20px;
    }

    .nf-ep-header__title {
        font-size: 20px;
    }
}

#nf-ng-page {
    font-family: Tahoma, Geneva, sans-serif;
    color: #263848;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}
#nf-ng-page *,
#nf-ng-page *::before,
#nf-ng-page *::after {
    box-sizing: border-box;
}
#nf-ng-page div,
#nf-ng-page h1, #nf-ng-page h2, #nf-ng-page h3,
#nf-ng-page p, #nf-ng-page span, #nf-ng-page label,
#nf-ng-page input, #nf-ng-page select, #nf-ng-page button {
    float: none;
}

#nf-ng-hero {
    background: linear-gradient(135deg, #f0faf9 0%, #e8f4f8 55%, #f4f9fc 100%);
    padding: 56px 28px 52px;
    border-bottom: 1px solid #ddedf0;
    overflow: hidden;
    position: relative;
}
#nf-ng-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 55% 60% at 80% 40%, rgba(26,158,150,0.06), transparent 70%),
        radial-gradient(ellipse 40% 50% at 15% 70%, rgba(26,158,150,0.04), transparent 70%);
    pointer-events: none;
}

.nf-ng-hero__inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.nf-ng-hero__text {
    flex: 1 1 0%;
    min-width: 0;
}

.nf-ng-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #1a9e96;
    margin-bottom: 16px;
}

.nf-ng-eyebrow__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1a9e96;
    display: inline-block;
    flex-shrink: 0;
}

.nf-ng-hero__heading {
    font-size: 38px;
    font-weight: 400;
    line-height: 1.18;
    color: #1e3040;
    margin: 0 0 16px;
}

.nf-ng-hero__heading strong {
    font-weight: 700;
    color: #1a9e96;
}

.nf-ng-hero__lead {
    font-size: 16px;
    color: #3d5166;
    line-height: 1.68;
    margin: 0 0 28px;
    max-width: 490px;
}

.nf-ng-hero__stats {
    display: flex;
    gap: 28px;
}

.nf-ng-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nf-ng-hero__stat-val {
    font-size: 28px;
    font-weight: 700;
    color: #1a9e96;
    line-height: 1;
}

.nf-ng-hero__stat-lbl {
    font-size: 11px;
    color: #7a93a6;
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nf-ng-hero__visual {
    flex: 0 0 240px;
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nf-ng-hero__svg {
    width: 240px;
    height: 240px;
    display: block;
    overflow: visible;
}

#nf-ng-wizard {
    max-width: 960px;
    margin: 0 auto;
    padding: 44px 28px 64px;
}

.nf-ng-progress {
    position: relative;
    margin-bottom: 40px;
}

.nf-ng-progress__track {
    position: absolute;
    top: 17px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #dde7ed;
    z-index: 0;
}

.nf-ng-progress__fill {
    position: absolute;
    top: 17px;
    left: 10%;
    height: 2px;
    background: #1a9e96;
    transition: width 0.4s ease;
    z-index: 1;
    width: 0;
}

.nf-ng-progress__steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nf-ng-progress__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    cursor: default;
    user-select: none;
}

.nf-ng-progress__step--clickable {
    cursor: pointer;
}

.nf-ng-progress__step--clickable .nf-ng-progress__dot {
    box-shadow: 0 0 0 3px rgba(26,158,150,0.18);
}

.nf-ng-progress__step--clickable:hover .nf-ng-progress__dot {
    background: #13807a;
    border-color: #13807a;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(26,158,150,0.22);
    transform: scale(1.07);
}

.nf-ng-progress__step--clickable:hover .nf-ng-progress__label {
    color: #13807a;
}

.nf-ng-progress__dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #dde7ed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #b0bec8;
    transition: all 0.2s ease;
    position: relative;
    z-index: 2;
}

.nf-ng-progress__step--active .nf-ng-progress__dot {
    background: #1a9e96;
    border-color: #1a9e96;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(26,158,150,0.12);
}

.nf-ng-progress__step--done .nf-ng-progress__dot {
    background: #1a9e96;
    border-color: #1a9e96;
    color: #fff;
}

.nf-ng-progress__label {
    font-size: 10px;
    color: #b0bec8;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: color 0.2s;
    line-height: 1.3;
}

.nf-ng-progress__step--active .nf-ng-progress__label,
.nf-ng-progress__step--done .nf-ng-progress__label {
    color: #1a9e96;
}

.nf-ng-step {
    display: none;
}

.nf-ng-step--active {
    display: block;
    animation: ngStepIn 0.3s ease;
}

@keyframes ngStepIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.nf-ng-step__card {
    background: #fff;
    border: 1px solid #ddedf0;
    border-radius: 12px;
    padding: 32px 36px;
    box-shadow: 0 4px 20px rgba(26,158,150,0.06);
}

.nf-ng-step__card--results {
    border-top: 3px solid #1a9e96;
}

.nf-ng-step__header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.nf-ng-step__num {
    font-size: 32px;
    font-weight: 700;
    color: rgba(26,158,150,0.14);
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.nf-ng-step__title {
    font-size: 20px;
    font-weight: 700;
    color: #1e3040;
    margin: 0 0 5px;
}

.nf-ng-step__sub {
    font-size: 13px;
    color: #5a7080;
    margin: 0;
    line-height: 1.55;
}

.nf-ng-fields {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
}

.nf-ng-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.nf-ng-field--toggle {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.nf-ng-field--check {
    flex: none;
    width: 100%;
}

.nf-ng-label {
    font-size: 12px;
    font-weight: 700;
    color: #2e4459;
    letter-spacing: 0.2px;
}

.nf-ng-hint {
    font-weight: 400;
    color: #90a4b0;
    font-size: 11px;
}

.nf-ng-input {
    width: 100%;
    padding: 9px 13px;
    border: 1.5px solid #dde7ed;
    border-radius: 7px;
    font-size: 14px;
    color: #1e3040;
    background: #f7fbfc;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    font-family: Tahoma, Geneva, sans-serif;
    outline: none;
}

.nf-ng-input:focus {
    border-color: #1a9e96;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26,158,150,0.1);
}

.nf-ng-input--secondary {
    margin-top: 6px;
    font-size: 13px;
    padding: 7px 11px;
}

.nf-ng-select-wrap {
    position: relative;
}

.nf-ng-select {
    width: 100%;
    padding: 9px 34px 9px 13px;
    border: 1.5px solid #dde7ed;
    border-radius: 7px;
    font-size: 14px;
    color: #1e3040;
    background: #f7fbfc;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    font-family: Tahoma, Geneva, sans-serif;
    transition: border-color 0.2s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231a9e96' stroke-width='2'%3E%3Cpolyline points='5 8 10 13 15 8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    box-sizing: border-box;
    outline: none;
}

.nf-ng-select:focus {
    border-color: #1a9e96;
    box-shadow: 0 0 0 3px rgba(26,158,150,0.1);
}

.nf-ng-toggle-group {
    display: flex;
    gap: 4px;
}

.nf-ng-toggle {
    padding: 7px 20px;
    border: 1.5px solid #dde7ed;
    border-radius: 20px;
    background: #fff;
    color: #5a7080;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: Tahoma, Geneva, sans-serif;
}

.nf-ng-toggle--active {
    background: #1a9e96;
    border-color: #1a9e96;
    color: #fff;
}

.nf-ng-check-label {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    font-size: 13px;
    color: #2e4459;
    -webkit-user-select: none;
    user-select: none;
}

.nf-ng-check-input {
    display: none;
}

.nf-ng-check-box {
    width: 17px;
    height: 17px;
    border: 2px solid #dde7ed;
    border-radius: 4px;
    background: #fff;
    flex-shrink: 0;
    transition: all 0.18s;
    display: inline-block;
    position: relative;
}

.nf-ng-check-input:checked + .nf-ng-check-box {
    background: #1a9e96;
    border-color: #1a9e96;
}

.nf-ng-check-input:checked + .nf-ng-check-box::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 0;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.nf-ng-partners-extra {
    margin-bottom: 18px;
    padding: 16px 18px;
    background: #f0faf9;
    border-radius: 9px;
    border: 1px solid #c2e8e6;
}

.nf-ng-step__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #eef2f5;
}

.nf-ng-step__nav--end {
    justify-content: flex-end;
}

.nf-ng-step__nav--start {
    justify-content: flex-start;
}

.nf-ng-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    font-family: Tahoma, Geneva, sans-serif;
    text-decoration: none;
}

.nf-ng-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.nf-ng-btn--primary {
    background: #1a9e96;
    color: #fff;
    border-color: #1a9e96;
}

.nf-ng-btn--primary:hover {
    background: #138f87;
    border-color: #138f87;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26,158,150,0.22);
}

.nf-ng-btn--ghost {
    background: transparent;
    color: #5a7080;
    border-color: #dde7ed;
}

.nf-ng-btn--ghost:hover {
    background: #f0faf9;
    border-color: #1a9e96;
    color: #1a9e96;
}

.nf-ng-btn--generate {
    padding: 11px 28px;
    font-size: 14px;
}
.nf-ng-btn--quick {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    color: #1a9e96;
    background: rgba(26,158,150,0.08);
    border: 2px solid rgba(26,158,150,0.25);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
    letter-spacing: 0.01em;
}
.nf-ng-btn--quick svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.nf-ng-btn--quick:hover {
    background: #1a9e96;
    border-color: #1a9e96;
    color: #fff;
    box-shadow: 0 4px 16px rgba(26,158,150,0.22);
}

.nf-ng-dict {
    border: 1px solid #e4edf2;
    border-radius: 9px;
    margin-bottom: 8px;
    overflow: hidden;
}

.nf-ng-dict__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    background: #f7fbfc;
    cursor: pointer;
}

.nf-ng-dict__label {
    font-size: 12px;
    font-weight: 700;
    color: #2e4459;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.nf-ng-dict__sector-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    background: #1a9e96;
    padding: 2px 8px;
    border-radius: 10px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.nf-ng-dict--sector .nf-ng-dict__head {
    border-left: 3px solid #1a9e96;
    padding-left: 12px;
}

.nf-ng-dict-group {
    border: 1px solid #dbe7ee;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fbfdfe;
}

.nf-ng-dict-group__banner {
    padding: 12px 14px;
    background: linear-gradient(180deg, #eef6f9 0%, #e4eef4 100%);
    border-bottom: 1px solid #dbe7ee;
}

.nf-ng-dict-group__title {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #1e3a4f;
    letter-spacing: 0.02em;
}

.nf-ng-dict-group__hint {
    display: block;
    font-size: 11px;
    color: #5a758c;
    margin-top: 4px;
    line-height: 1.35;
}

.nf-ng-dict-group__inner {
    padding: 10px 10px 6px;
}

.nf-ng-dict--pool-child {
    margin-bottom: 7px;
    border-color: #e0eaf0;
}

.nf-ng-dict--pool-child .nf-ng-dict__head {
    background: #fff;
    border-left: 3px solid #7eb8c9;
    padding-left: 11px;
}

.nf-ng-dict__toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #1a9e96;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.nf-ng-dict__toggle svg {
    width: 17px;
    height: 17px;
}

.nf-ng-dict__toggle--open {
    transform: rotate(180deg);
}

.nf-ng-dict__body {
    padding: 12px 14px;
    background: #fff;
}

.nf-ng-dict__words {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 10px;
}

.nf-ng-word-label {
    cursor: pointer;
}

.nf-ng-word-check {
    display: none;
}

.nf-ng-word-pill {
    display: inline-block;
    padding: 4px 11px;
    border: 1.5px solid #dde7ed;
    border-radius: 18px;
    font-size: 12px;
    color: #4a6070;
    background: #f7fbfc;
    transition: all 0.16s;
    -webkit-user-select: none;
    user-select: none;
}

.nf-ng-word-check:checked + .nf-ng-word-pill {
    background: #1a9e96;
    border-color: #1a9e96;
    color: #fff;
}

.nf-ng-word-label--new .nf-ng-word-pill {
    border-color: #a8d8d5;
    background: #e8f6f5;
}

.nf-ng-dict__add {
    display: flex;
    gap: 5px;
}

.nf-ng-dict-input {
    flex: 1;
    padding: 6px 9px;
    border: 1.5px solid #dde7ed;
    border-radius: 6px;
    font-size: 12px;
    color: #1e3040;
    font-family: Tahoma, Geneva, sans-serif;
    background: #f7fbfc;
    transition: border-color 0.2s;
    box-sizing: border-box;
    outline: none;
}

.nf-ng-dict-input:focus {
    border-color: #1a9e96;
    background: #fff;
}

.nf-ng-dict__add-btn {
    padding: 6px 12px;
    background: #1a9e96;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    transition: background 0.2s;
    font-family: Tahoma, Geneva, sans-serif;
}

.nf-ng-dict__add-btn:hover {
    background: #138f87;
}

.nf-ng-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px 0;
    color: #5a7080;
    font-size: 14px;
}

.nf-ng-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #dde7ed;
    border-top-color: #1a9e96;
    border-radius: 50%;
    animation: ngSpin 0.75s linear infinite;
}

@keyframes ngSpin {
    to { transform: rotate(360deg); }
}

.nf-ng-results-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 10px 0 24px;
}

.nf-ng-card {
    flex: 0 0 calc(33.333% - 10px);
    border: 1.5px solid #e4edf2;
    border-radius: 10px;
    padding: 16px 16px 14px;
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    gap: 7px;
    border-top: 3px solid #1a9e96;
}

.nf-ng-card:hover {
    box-shadow: 0 6px 18px rgba(26,158,150,0.11);
    transform: translateY(-2px);
}

.nf-ng-card__name {
    font-size: 16px;
    font-weight: 700;
    color: #1e3040;
    line-height: 1.3;
    word-break: break-word;
}

.nf-ng-card__badge {
    font-size: 10px;
    color: #7a93a6;
    background: #f0f6f9;
    padding: 2px 7px;
    border-radius: 9px;
    display: inline-block;
    align-self: flex-start;
}

.nf-ng-card__actions {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 4px;
}

.nf-ng-card__copy {
    background: none;
    border: 1.5px solid #dde7ed;
    border-radius: 5px;
    padding: 5px 7px;
    cursor: pointer;
    color: #7a93a6;
    transition: all 0.16s;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nf-ng-card__copy svg {
    width: 13px;
    height: 13px;
}

.nf-ng-card__copy:hover {
    border-color: #1a9e96;
    color: #1a9e96;
    background: #f0faf9;
}

.nf-ng-card__copy--done {
    border-color: #1a9e96;
    background: #1a9e96;
    color: #fff;
}

.nf-ng-card__tr-check {
    flex: 1;
    padding: 6px 8px;
    border: 1.5px solid #1a9e96;
    border-radius: 5px;
    background: transparent;
    color: #1a9e96;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.16s;
    font-family: Tahoma, Geneva, sans-serif;
    text-align: center;
}

.nf-ng-card__tr-check:hover {
    background: #1a9e96;
    color: #fff;
}

.nf-ng-card__tr-check:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nf-ng-card__tr-result {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 8px;
    border-radius: 5px;
    margin-top: 2px;
}

.nf-ng-card__tr-result--free {
    background: #e8f7ef;
    color: #1d7a4a;
    border: 1px solid #b8e6cc;
}

.nf-ng-card__tr-result--taken {
    background: #fdeaea;
    color: #c0392b;
    border: 1px solid #f5b8b8;
}

.nf-ng-card__tr-result--unknown {
    background: #fef6e4;
    color: #7d5a0a;
    border: 1px solid #f5dfa0;
}

.nf-ng-error {
    color: #c0392b;
    font-size: 14px;
    padding: 20px 0;
}

#nf-ng-seo {
    background: #f7fbfc;
    border-top: 1px solid #ddedf0;
    padding: 60px 28px;
}

.nf-ng-seo__inner {
    max-width: 960px;
    margin: 0 auto;
}

.nf-ng-seo__header {
    text-align: center;
    margin-bottom: 36px;
}

.nf-ng-seo__title {
    font-size: 26px;
    font-weight: 700;
    color: #1e3040;
    margin: 0;
}

.nf-ng-seo__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 48px;
}

.nf-ng-seo__card {
    flex: 1 1 calc(25% - 14px);
    min-width: 180px;
    background: #fff;
    border: 1px solid #ddedf0;
    border-radius: 11px;
    padding: 20px 18px;
    transition: box-shadow 0.2s;
}

.nf-ng-seo__card:hover {
    box-shadow: 0 4px 14px rgba(26,158,150,0.08);
}

.nf-ng-seo__card-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #e0f5f3 0%, #b2e6e3 100%);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #1a9e96;
}

.nf-ng-seo__card-icon svg {
    width: 18px;
    height: 18px;
}

.nf-ng-seo__card-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e3040;
    margin: 0 0 7px;
}

.nf-ng-seo__card-text {
    font-size: 13px;
    color: #4a6070;
    line-height: 1.58;
    margin: 0;
}

.nf-ng-seo__faq {
    max-width: 680px;
    margin: 0 auto;
}

.nf-ng-seo__faq-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e3040;
    margin: 0 0 20px;
    text-align: center;
}

.nf-ng-faq-item {
    border-bottom: 1px solid #e4edf2;
    padding: 16px 0;
}

.nf-ng-faq-item:last-child {
    border-bottom: none;
}

.nf-ng-faq-q {
    font-size: 14px;
    font-weight: 700;
    color: #1e3040;
    margin-bottom: 6px;
}

.nf-ng-faq-a {
    font-size: 13px;
    color: #4a6070;
    line-height: 1.58;
}

@media (max-width: 860px) {
    .nf-ng-hero__inner { flex-direction: column; text-align: center; }
    .nf-ng-hero__lead { max-width: 100%; }
    .nf-ng-hero__stats { justify-content: center; }
    .nf-ng-hero__visual { flex: 0 0 auto; width: 200px; height: 200px; }
    .nf-ng-hero__svg { width: 200px; height: 200px; }
    .nf-ng-seo__card { flex: 1 1 calc(50% - 10px); }
}

@media (max-width: 620px) {
    #nf-ng-hero { padding: 36px 18px 40px; }
    .nf-ng-hero__heading { font-size: 27px; }
    .nf-ng-hero__visual { width: 160px; height: 160px; }
    .nf-ng-hero__svg { width: 160px; height: 160px; }
    #nf-ng-wizard { padding: 28px 16px 48px; }
    .nf-ng-step__card { padding: 22px 18px; }
    .nf-ng-fields { flex-direction: column; }
    .nf-ng-card { flex: 0 0 calc(50% - 8px); }
    .nf-ng-seo__card { flex: 1 1 100%; }
    .nf-ng-progress__label { font-size: 9px; }
    #nf-ng-seo { padding: 40px 18px; }
    .nf-ng-step__header { flex-direction: column; gap: 10px; }
}

@media (max-width: 400px) {
    .nf-ng-hero__heading { font-size: 23px; }
    .nf-ng-progress__label { display: none; }
    .nf-ng-card { flex: 0 0 100%; }
    .nf-ng-hero__stats { gap: 18px; }
    .nf-ng-btn { padding: 9px 16px; font-size: 12px; }
}

/* ── Quick Generate bar ── */
#nf-ng-quick-bar {
    background: #f0faf9;
    border-top: 1px solid #d0ecea;
    border-bottom: 1px solid #d0ecea;
    padding: 22px 28px;
}

.nf-ng-quick-bar__inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
}

.nf-ng-quick-bar__text {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.nf-ng-quick-bar__text strong {
    font-size: 15px;
    color: #1a9e96;
    font-weight: 700;
}

.nf-ng-quick-bar__text span {
    font-size: 12px;
    color: #6a8a9a;
}

.nf-ng-quick-bar__controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    margin-left: auto;
}

.nf-ng-quick-bar__select-wrap {
    min-width: 220px;
}

.nf-ng-btn--quick {
    background: #1a9e96;
    color: #fff;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    margin-top: 0;
    transition: background 0.2s, opacity 0.2s;
}

.nf-ng-btn--quick svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.nf-ng-btn--quick:hover:not(:disabled) {
    background: #13807a;
}

.nf-ng-btn--quick:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ── English toggle in step 3 ── */
.nf-ng-english-toggle {
    background: #f6fbfa;
    border: 1px solid #d0ecea;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

/* ── English variant badge on word pills ── */
.nf-ng-word-eng {
    display: inline-block;
    font-size: 10px;
    color: #1a9e96;
    background: rgba(26,158,150,0.09);
    border-radius: 4px;
    padding: 1px 5px;
    margin-left: 4px;
    font-style: italic;
    vertical-align: middle;
    pointer-events: none;
}

/* ── Partners words in step 1 ── */
.nf-ng-partners-words {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #edf2f5;
}

/* ── Step 4 results nav (two buttons) ── */
.nf-ng-step__nav--results {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

@media (max-width: 620px) {
    #nf-ng-quick-bar { padding: 10px 16px; }
    .nf-ng-quick-bar__inner { flex-direction: column; align-items: flex-start; gap: 8px; }
    .nf-ng-quick-bar__text { gap: 1px; margin: 0; }
    .nf-ng-quick-bar__select-wrap { min-width: 100%; }
    .nf-ng-quick-bar__controls { width: 100%; margin-left: 0; flex-direction: column; align-items: stretch; }
    .nf-ng-quick-bar__controls .nf-ng-btn--quick { width: 100%; justify-content: center; }
    .nf-ng-step__nav--results { flex-direction: column-reverse; }
    .nf-ng-step__nav--results .nf-ng-btn { width: 100%; justify-content: center; }
}

/* ===== Discount codes — client profile (/profile/discount) ===== */
.nf-dcc-hero { background:linear-gradient(135deg,#eaf4fb 0%,#f3f9fc 100%); border:1px solid #d6e6ef; border-radius:14px; padding:22px 24px; margin:0 0 26px 0; }
.nf-dcc-hero-head { display:flex; gap:14px; align-items:flex-start; margin:0 0 16px 0; }
.nf-dcc-hero-ic { flex:0 0 auto; width:46px; height:46px; border-radius:12px; background:#3a8bbf; color:#fff; display:flex; align-items:center; justify-content:center; font-size:20px; box-shadow:0 4px 10px rgba(58,139,191,0.3); }
.nf-dcc-hero-title { font-size:18px; font-weight:700; color:#1a3a52; line-height:1.3; }
.nf-dcc-hero-sub { font-size:13px; color:#5b7488; line-height:19px; margin-top:3px; }
.nf-dcc-form { margin:0; }
.nf-dcc-field { display:flex; gap:10px; flex-wrap:wrap; align-items:stretch; }
.nf-dcc-input { flex:1 1 260px; padding:14px 16px; border:1px solid #cfd9e3; border-radius:10px; font-size:16px; color:#263848; text-transform:uppercase; letter-spacing:1px; font-weight:600; background:#fff; }
.nf-dcc-input::placeholder { letter-spacing:0; font-weight:400; color:#9bb0c2; }
.nf-dcc-input:focus { outline:none; border-color:#3a8bbf; box-shadow:0 0 0 3px rgba(58,139,191,0.16); }
.nf-dcc-btn { flex:0 0 auto; min-width:150px; padding:14px 26px; border:0; border-radius:10px; background:#3a8bbf; color:#fff; font-size:15px; font-weight:700; cursor:pointer; transition:background .15s, transform .05s; }
.nf-dcc-btn:hover { background:#2f769f; }
.nf-dcc-btn:active { transform:translateY(1px); }
.nf-dcc-personal { display:flex; gap:8px; align-items:flex-start; background:#fff; border:1px solid #cfe6e3; border-radius:10px; padding:11px 14px; color:#1a5e58; font-size:13px; line-height:19px; margin:16px 0 0 0; }
.nf-dcc-personal i { color:#1a9e96; margin-top:2px; }

.nf-dcc-subtitle { font-size:17px; font-weight:700; color:#263848; margin:8px 0 14px 0; }
.nf-dcc-list { display:flex; flex-direction:column; gap:12px; }
.nf-dcc-card { display:flex; align-items:center; gap:16px; background:#fff; border:1px solid #e2e8ef; border-radius:12px; padding:16px 18px; box-shadow:0 1px 3px rgba(38,56,72,0.04); transition:box-shadow .15s; }
.nf-dcc-card:hover { box-shadow:0 4px 14px rgba(38,56,72,0.09); }
.nf-dcc-card.is-invalid { opacity:0.66; }
.nf-dcc-card-pct { flex:0 0 auto; min-width:64px; text-align:center; font-size:26px; font-weight:800; color:#1a9e96; line-height:1; }
.nf-dcc-card-pct span { font-size:14px; font-weight:700; }
.nf-dcc-card-main { flex:1 1 auto; min-width:0; }
.nf-dcc-card-code { font-family:'Courier New',Consolas,monospace; font-weight:700; font-size:18px; color:#263848; letter-spacing:1px; word-break:break-all; }
.nf-dcc-card-meta { color:#6a8299; font-size:12.5px; margin-top:4px; }
.nf-dcc-card-side { flex:0 0 auto; display:flex; flex-direction:column; align-items:flex-end; gap:8px; }
.nf-dcc-badge { display:inline-block; padding:3px 10px; border-radius:11px; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.3px; }
.nf-dcc-badge.ok { background:#d4edda; color:#155724; }
.nf-dcc-badge.bad { background:#f8d7da; color:#721c24; }
.nf-dcc-remove { margin:0; }
.nf-dcc-remove-btn { background:none; border:0; color:#a3576b; font-size:12px; cursor:pointer; padding:0; }
.nf-dcc-remove-btn:hover { color:#8a2f44; text-decoration:underline; }
.nf-dcc-empty { text-align:center; background:#fafcfd; border:1px dashed #d6e0e8; border-radius:12px; padding:34px 20px; color:#7c93a6; }
.nf-dcc-empty i { font-size:34px; opacity:0.4; }
.nf-dcc-empty p { margin:12px 0 0 0; font-size:14px; }
@media (max-width: 560px) {
    .nf-dcc-input, .nf-dcc-btn { flex:1 1 100%; min-width:0; }
    .nf-dcc-card { flex-wrap:wrap; }
    .nf-dcc-card-side { flex-direction:row; align-items:center; width:100%; justify-content:space-between; }
}

/* ===== Discount codes — compact entry box (reusable on wallet / offers) ===== */
.nf-ccbox { display:flex; gap:14px; align-items:flex-start; background:linear-gradient(135deg,#eef7fb 0%,#f6fafc 100%); border:1px solid #d6e6ef; border-radius:12px; padding:16px 18px; margin:0 0 20px 0; }
.nf-ccbox-icon { flex:0 0 auto; width:40px; height:40px; border-radius:10px; background:#3a8bbf; color:#fff; display:flex; align-items:center; justify-content:center; font-size:17px; }
.nf-ccbox-body { flex:1 1 auto; min-width:0; }
.nf-ccbox-title { display:block; font-size:15px; font-weight:700; color:#1a3a52; }
.nf-ccbox-sub { display:block; font-size:12.5px; color:#5b7488; margin:2px 0 10px 0; line-height:17px; }
.nf-ccbox-form { margin:0; }
.nf-ccbox-field { display:flex; gap:8px; flex-wrap:wrap; align-items:stretch; }
.nf-ccbox-input { flex:1 1 200px; padding:11px 14px; border:1px solid #cfd9e3; border-radius:9px; font-size:15px; color:#263848; text-transform:uppercase; letter-spacing:0.5px; background:#fff; }
.nf-ccbox-input::placeholder { letter-spacing:0; color:#9bb0c2; }
.nf-ccbox-input:focus { outline:none; border-color:#3a8bbf; box-shadow:0 0 0 3px rgba(58,139,191,0.16); }
.nf-ccbox-btn { flex:0 0 auto; min-width:130px; padding:11px 20px; border:0; border-radius:9px; background:#3a8bbf; color:#fff; font-size:14px; font-weight:700; cursor:pointer; transition:background .15s; }
.nf-ccbox-btn:hover { background:#2f769f; }
.nf-ccbox-link { display:inline-block; margin-top:9px; font-size:13px; color:#3a8bbf; text-decoration:none; font-weight:600; }
.nf-ccbox-link:hover { text-decoration:underline; }
@media (max-width: 600px) {
    .nf-ccbox-input, .nf-ccbox-btn { flex:1 1 100%; min-width:0; }
}

/* ===== Discount codes — subtle listing hint + modal ===== */
.nf-ccline { margin: 6px 0 14px 0; font-size: 13px; color: #6a8299; line-height: 1.5; }
.nf-ccline-btn { background: none; border: 0; padding: 0; color: #3a8bbf; font-weight: 600; cursor: pointer; font-size: 13px; }
.nf-ccline-btn i { margin-right: 4px; opacity: 0.85; }
.nf-ccline-btn:hover { text-decoration: underline; }
.nf-ccline-more { margin-left: 10px; color: #8a9fb4; font-size: 12px; text-decoration: none; }
.nf-ccline-more:hover { color: #3a8bbf; text-decoration: underline; }

.nf-ccmodal-backdrop { display: none; position: fixed; inset: 0; z-index: 10050; background: rgba(38,56,72,0.45); align-items: center; justify-content: center; padding: 16px; }
.nf-ccmodal-backdrop.is-open { display: flex; }
.nf-ccmodal { background: #fff; border-radius: 12px; width: 440px; max-width: 96vw; box-shadow: 0 16px 48px rgba(0,0,0,0.18); overflow: hidden; }
.nf-ccmodal-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid #e8eef3; }
.nf-ccmodal-h h3 { margin: 0; font-size: 16px; color: #263848; font-weight: 700; }
.nf-ccmodal-x { border: 0; background: #eef2f6; color: #6a8299; width: 30px; height: 30px; border-radius: 15px; font-size: 20px; line-height: 28px; cursor: pointer; padding: 0; }
.nf-ccmodal-x:hover { background: #e2e8ef; color: #263848; }
.nf-ccmodal-b { padding: 18px; }
.nf-ccmodal-lead { margin: 0 0 14px 0; font-size: 13px; color: #6a8299; line-height: 19px; }
.nf-ccmodal-field { display: flex; gap: 8px; flex-wrap: wrap; }
.nf-ccmodal-input { flex: 1 1 180px; padding: 12px 14px; border: 1px solid #cfd9e3; border-radius: 9px; font-size: 15px; text-transform: uppercase; letter-spacing: 0.5px; }
.nf-ccmodal-input::placeholder { letter-spacing: 0; text-transform: none; color: #9bb0c2; }
.nf-ccmodal-input:focus { outline: none; border-color: #3a8bbf; box-shadow: 0 0 0 3px rgba(58,139,191,0.16); }
.nf-ccmodal-btn { flex: 0 0 auto; min-width: 120px; padding: 12px 18px; border: 0; border-radius: 9px; background: #3a8bbf; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.nf-ccmodal-btn:hover { background: #2f769f; }

/* ===== Discount — checkout summary card ===== */
.nf-co-sum {
    max-width: 520px;
    margin: 16px 0 16px 0;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e2e8ef;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(38, 56, 72, 0.05);
}
.nf-co-sum--code-only {
    max-width: none;
    margin: 12px 0 20px 0;
    padding: 14px 16px;
    box-shadow: none;
}
.nf-co-sum__label {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #6a8299;
    line-height: 1.4;
}
.nf-co-sum__price {
    margin: 0 0 4px 0;
}
.nf-co-sum__code {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eef2f6;
}
.nf-co-sum--code-only .nf-co-sum__code {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}
.nf-co-sum__applied {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #1a6b3c;
    line-height: 1.45;
}
.nf-co-sum__applied--pending {
    color: #1f5275;
}
.nf-co-sum__applied i {
    margin-right: 5px;
    opacity: 0.9;
}
.nf-co-sum__code-item {
    display: inline;
    white-space: nowrap;
}
.nf-co-sum__code-pick {
    display: inline-flex;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}
.nf-co-sum__pending-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 8px 0;
}
.nf-co-sum__pending-label {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 600;
    color: #1f5275;
    line-height: 1.3;
    white-space: nowrap;
}
.nf-co-sum__pending-label i {
    margin-right: 4px;
    font-size: 11px;
    opacity: 0.85;
}
.nf-co-sum__code-chips {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.nf-co-sum__code-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 2px 8px;
    border: 1px solid #b8d4e8;
    border-radius: 4px;
    background: #eef6fb;
    color: #1f5275;
    font-size: 11px;
    font-weight: 700;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 0.02em;
    line-height: 1.35;
    cursor: pointer;
    white-space: nowrap;
    vertical-align: middle;
}
.nf-co-sum__code-chip:hover,
.nf-co-sum__code-chip:focus {
    background: #dceef8;
    border-color: #3a8bbf;
    color: #174a66;
    outline: none;
}
.nf-co-sum__code-chip--static {
    cursor: default;
}
.nf-co-sum__code-chip-off {
    font-family: inherit;
    font-size: 10px;
    font-weight: 600;
    opacity: 0.9;
}
.nf-ccpay-active .nf-co-sum__pending-label,
.nf-ccpay-active .nf-co-sum__code-chips {
    vertical-align: middle;
}
.nf-ccpay-active .nf-co-sum__code-chips {
    margin-left: 4px;
}
.nf-co-sum__toggle {
    display: inline;
    padding: 0;
    border: 0;
    background: none;
    color: #3a8bbf;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}
.nf-co-sum__toggle:hover {
    text-decoration: underline;
}
.nf-co-sum__form-wrap {
    margin-top: 10px;
}
.nf-co-sum__form {
    display: flex;
    gap: 8px;
    align-items: stretch;
    flex-wrap: wrap;
}
.nf-co-sum__input {
    flex: 1 1 160px;
    min-width: 0;
    padding: 9px 12px;
    border: 1px solid #cfd9e3;
    border-radius: 6px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    background: #fff;
}
.nf-co-sum__input::placeholder {
    letter-spacing: 0;
    text-transform: none;
    color: #9bb0c2;
}
.nf-co-sum__input:focus {
    outline: none;
    border-color: #3a8bbf;
    box-shadow: 0 0 0 2px rgba(58, 139, 191, 0.14);
}
.nf-co-sum__btn {
    flex: 0 0 auto;
    padding: 9px 16px;
    border: 0;
    border-radius: 6px;
    background: #3a8bbf;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.nf-co-sum__btn:hover {
    background: #2f769f;
}
.nf-co-sum__link {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    color: #8a9fb4;
    text-decoration: none;
}
.nf-co-sum__link:hover {
    color: #3a8bbf;
    text-decoration: underline;
}
.nf-co-sum__remove {
    margin: 0 0 10px 0;
}
.nf-co-sum__remove-btn {
    display: inline;
    padding: 0;
    border: 0;
    background: none;
    color: #b35a5a;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}
.nf-co-sum__remove-btn:hover {
    color: #8a3030;
    text-decoration: underline;
}
.nf-co-sum__apply {
    margin: 0;
    flex: 0 0 auto;
}
.nf-co-sum__apply-btn {
    padding: 5px 12px;
    border: 1px solid #3a8bbf;
    border-radius: 6px;
    background: #eef6fb;
    color: #1f5275;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.nf-co-sum__apply-btn:hover {
    background: #dceef8;
    border-color: #2f769f;
}

/* ===== Discount — checkout (legacy box — deprecated) ===== */
.nf-ccpay { border: 1px solid #e2e8ef; border-radius: 10px; padding: 14px 16px; margin: 0 0 16px 0; background: #fafcfd; }
.nf-ccpay-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 0 0 8px 0; }
.nf-ccpay-title { font-size: 14px; font-weight: 700; color: #263848; }
.nf-ccpay-title i { color: #3a8bbf; margin-right: 5px; }
.nf-ccpay-link { font-size: 12px; color: #3a8bbf; text-decoration: none; font-weight: 600; }
.nf-ccpay-link:hover { text-decoration: underline; }
.nf-ccpay-active { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 10px 0; font-size: 12px; color: #1f5275; line-height: 1.35; }
.nf-ccpay-field { display: flex; gap: 8px; flex-wrap: wrap; }
.nf-ccpay-input { flex: 1 1 200px; padding: 10px 12px; border: 1px solid #cfd9e3; border-radius: 8px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; background: #fff; }
.nf-ccpay-input::placeholder { letter-spacing: 0; text-transform: none; color: #9bb0c2; }
.nf-ccpay-input:focus { outline: none; border-color: #3a8bbf; box-shadow: 0 0 0 3px rgba(58,139,191,0.14); }
.nf-ccpay-btn { flex: 0 0 auto; min-width: 110px; padding: 10px 16px; border: 0; border-radius: 8px; background: #3a8bbf; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.nf-ccpay-btn:hover { background: #2f769f; }
@media (max-width: 560px) {
    .nf-ccmodal-input, .nf-ccmodal-btn, .nf-ccpay-input, .nf-ccpay-btn, .nf-co-sum__input, .nf-co-sum__btn { flex: 1 1 100%; min-width: 0; }
    .nf-co-sum { max-width: none; }
}

.nf-co-sum-divider {
    clear: both;
    display: block;
    width: 100%;
    height: 0;
    border: 0 !important;
    border-top: 1px dashed #d2d6de !important;
    margin: 8px 0 18px 0;
}

/* ===== Discount — price summary at checkout ===== */
.nf-ccpay-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; }
.nf-ccpay-plain { font-size: 22px; font-weight: 700; color: #263848; line-height: 1.2; }
.nf-ccpay-badge { display: inline-flex; align-items: center; gap: 6px; background: #eafaf1; border: 1px solid #c3e9d2; color: #1a6b3c; padding: 4px 10px; border-radius: 12px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.nf-ccpay-badge i { opacity: 0.85; }
.nf-ccpay-old { text-decoration: line-through; color: #8a9fb4; font-size: 17px; font-weight: 400; }
.nf-ccpay-new { font-size: 28px; font-weight: 800; color: #1a5e58; line-height: 1.1; letter-spacing: -0.3px; }
.nf-ccpay-save { display: inline-flex; align-items: center; gap: 5px; background: #fff4e5; border: 1px solid #ffd8a8; color: #b3600b; padding: 4px 11px; border-radius: 12px; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.nf-ccpay-save i { opacity: 0.9; }
.nf-ccpay-price { width: 100%; }
.nf-ccpay-price .nf-ccpay-badge, .nf-ccpay-price .nf-ccpay-save { align-self: center; }

/* Разбиваме на редове: цена горе, значки долу — по-чисто и конвертируемо на тесни екрани */
@media (max-width: 480px) {
    .nf-ccpay-price { gap: 6px 10px; }
    .nf-ccpay-new { font-size: 26px; flex: 1 1 auto; }
    .nf-ccpay-old { flex: 0 0 auto; }
    .nf-ccpay-badge, .nf-ccpay-save { flex: 0 0 auto; margin-top: 2px; }
}

/* ===== По-плавна респонсивност на интерфейса за кодове ===== */
@media (max-width: 640px) {
    .nf-dcc-hero { padding: 18px 16px; }
    .nf-dcc-hero-head { gap: 11px; }
    .nf-dcc-card-pct { min-width: 52px; font-size: 22px; }
    .nf-co-sum { padding: 16px; }
    .nf-ccbox { padding: 14px; gap: 12px; }
}
@media (max-width: 420px) {
    .nf-dcc-input, .nf-dcc-btn,
    .nf-ccmodal-input, .nf-ccmodal-btn,
    .nf-ccpay-input, .nf-ccpay-btn,
    .nf-ccbox-input, .nf-ccbox-btn,
    .nf-co-sum__input, .nf-co-sum__btn { flex: 1 1 100%; min-width: 0; }
    .nf-dcc-hero-ic { width: 40px; height: 40px; font-size: 17px; }
    .nf-dcc-card-code { font-size: 16px; }
}

/* ===== Blog — sticky related-services dock (закотвено каре за бърз достъп) ===== */
.nf-service-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9000;
    pointer-events: none;
    float: none;
    width: 100%;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
    font-family: Tahoma, Geneva, sans-serif;
}

.nf-service-dock.is-visible {
    transform: translateY(0);
    opacity: 1;
}

/* Collapsed peek tab — always visible when dock is shown but panel is folded */
.nf-service-dock__peek {
    display: none;
    pointer-events: auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    padding: 9px 18px 10px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-top: 0;
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 -8px 32px rgba(38, 56, 72, 0.1);
    cursor: pointer;
    font-family: Tahoma, Geneva, sans-serif;
    color: #263848;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.nf-service-dock__peek::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a9e96, rgba(26, 158, 150, 0.2));
    pointer-events: none;
}

.nf-service-dock__peek:hover,
.nf-service-dock__peek:focus-visible {
    background: rgba(240, 250, 249, 0.82);
    box-shadow: 0 -10px 36px rgba(26, 158, 150, 0.14);
    outline: none;
}

.nf-service-dock.is-collapsed .nf-service-dock__peek {
    display: flex;
    animation: nfDockPeekIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes nfDockPeekIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nf-service-dock__peek-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(230, 245, 244, 0.9);
    color: #1a9e96;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nf-service-dock__peek-icon svg {
    width: 16px;
    height: 16px;
}

.nf-service-dock__peek-text {
    font-size: 13px;
    font-weight: bold;
    color: #263848;
    white-space: nowrap;
}

.nf-service-dock__peek-arrow {
    display: flex;
    align-items: center;
    color: #1a9e96;
    animation: nfDockPeekBounce 2s ease-in-out infinite;
}

.nf-service-dock__peek-arrow svg {
    width: 18px;
    height: 18px;
}

@keyframes nfDockPeekBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.nf-service-dock__body {
    overflow: hidden;
    max-height: 168px;
    opacity: 1;
    transition: max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.nf-service-dock.is-collapsed .nf-service-dock__body {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

.nf-service-dock__inner {
    pointer-events: auto;
    position: relative;
    margin: 0 auto;
    max-width: 1000px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px 16px;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-top: 0;
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -10px 34px rgba(38, 56, 72, 0.12);
    overflow: hidden;
}

.nf-service-dock__collapse {
    flex-shrink: 0;
    align-self: center;
    width: 32px;
    height: 32px;
    padding: 0;
    margin-left: 2px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #8a9fb4;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, background 0.2s ease;
}

.nf-service-dock__collapse svg {
    width: 18px;
    height: 18px;
}

.nf-service-dock__collapse:hover,
.nf-service-dock__collapse:focus-visible {
    background: rgba(240, 242, 245, 0.65);
    color: #1a9e96;
    outline: none;
}

@media (min-width: 769px) {
    .nf-service-dock__collapse {
        margin-left: auto;
    }

    .nf-service-dock__inner {
        gap: 10px;
        padding: 10px 16px 12px;
    }

    .nf-service-dock__body {
        max-height: 104px;
    }

    .nf-service-dock--multi .nf-service-dock__body {
        max-height: 128px;
    }

    .nf-service-dock__label {
        gap: 8px;
    }

    .nf-service-dock__badge {
        width: 34px;
        height: 34px;
    }

    .nf-service-dock__badge svg {
        width: 18px;
        height: 18px;
    }

    .nf-service-dock__title {
        line-height: 1.2;
    }

    .nf-service-dock__services {
        gap: 8px;
        min-height: 40px;
        padding: 4px 0 6px;
    }

    .nf-service-dock--single .nf-service-dock__item.is-primary,
    .nf-service-dock--multi .nf-service-dock__item.is-primary {
        padding: 8px 12px 8px 8px;
        min-height: 40px;
        gap: 8px;
    }

    .nf-service-dock__item.is-primary {
        padding-right: 10px;
    }

    .nf-service-dock__logo-wrap {
        width: 28px;
        height: 28px;
    }

    .nf-service-dock--single .nf-service-dock__name,
    .nf-service-dock--multi .nf-service-dock__item.is-primary .nf-service-dock__name {
        line-height: 1.25;
    }

    .nf-service-dock__collapse {
        width: 28px;
        height: 28px;
    }

    .nf-service-dock__collapse svg {
        width: 16px;
        height: 16px;
    }

    .nf-service-dock__peek {
        padding: 6px 16px 7px;
        gap: 8px;
    }
}

.nf-service-dock__inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a9e96, rgba(26, 158, 150, 0.2));
    pointer-events: none;
}

.nf-service-dock__label {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.nf-service-dock__badge {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: rgba(230, 245, 244, 0.88);
    color: #1a9e96;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nf-service-dock__badge svg {
    width: 21px;
    height: 21px;
}

.nf-service-dock__label-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
}

.nf-service-dock__eyebrow {
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1a9e96;
}

.nf-service-dock__title {
    font-size: 14px;
    font-weight: bold;
    color: #263848;
    white-space: nowrap;
}

.nf-service-dock__services {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 6px 0 8px;
    touch-action: pan-x;
}

.nf-service-dock__scroll-wrap {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
}

.nf-service-dock--single .nf-service-dock__scroll-wrap {
    flex: 0 1 auto;
    max-width: 100%;
}

.nf-service-dock__scroll-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 44px;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.97) 20%, rgba(255, 255, 255, 0));
}

.nf-service-dock__scroll-wrap.has-more-right::after {
    opacity: 1;
}

.nf-service-dock__scroll-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 38px;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 20%, rgba(255, 255, 255, 0));
}

.nf-service-dock__scroll-wrap.has-more-left::before {
    opacity: 1;
}

.nf-service-dock__scroll-btn {
    position: absolute;
    top: 6px;
    z-index: 3;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 1.5px solid rgba(26, 158, 150, 0.32);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.98);
    color: #1a9e96;
    box-shadow: 0 2px 8px rgba(38, 56, 72, 0.16);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nf-service-dock__scroll-btn svg {
    width: 16px;
    height: 16px;
}

.nf-service-dock__scroll-btn--prev {
    left: 0;
}

.nf-service-dock__scroll-btn--next {
    right: 0;
}

.nf-service-dock__scroll-btn.is-visible {
    display: inline-flex;
}

.nf-service-dock__scroll-btn:hover,
.nf-service-dock__scroll-btn:focus-visible {
    background: #f0faf9;
    border-color: rgba(26, 158, 150, 0.45);
    box-shadow: 0 2px 10px rgba(26, 158, 150, 0.18);
    outline: none;
}

.nf-service-dock--single .nf-service-dock__scroll-btn {
    display: none !important;
}

.nf-service-dock__services::-webkit-scrollbar {
    display: none;
}

.nf-service-dock__item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    flex-shrink: 0;
    width: auto;
    max-width: none;
    padding: 6px 14px 6px 6px;
    border: 1.5px solid #e2e7ed;
    border-radius: 30px;
    background: #fff;
    color: #263848;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nf-service-dock--single .nf-service-dock__services {
    overflow: visible;
}

.nf-service-dock--single .nf-service-dock__item.is-primary {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    border-radius: 10px;
    padding: 10px 14px 10px 10px;
    min-height: 46px;
}

.nf-service-dock--multi .nf-service-dock__item.is-primary {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    border-radius: 10px;
    min-height: 42px;
    padding: 8px 14px 8px 8px;
}

.nf-service-dock--multi .nf-service-dock__item:not(.is-primary) {
    flex: 0 0 auto;
    max-width: none;
    min-height: 38px;
}

.nf-service-dock--multi .nf-service-dock__name,
.nf-service-dock--multi .nf-service-dock__item.is-primary .nf-service-dock__name {
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.25;
}

.nf-service-dock__item:hover,
.nf-service-dock__item:focus-visible {
    border-color: #1a9e96;
    color: #158880;
    box-shadow: 0 4px 14px rgba(26, 158, 150, 0.14);
    transform: translateY(-1px);
    outline: none;
}

.nf-service-dock__logo-wrap {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 1px rgba(38, 56, 72, 0.06);
}

.nf-service-dock__logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nf-service-dock__name {
    font-size: 13.5px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nf-service-dock--single .nf-service-dock__name {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.35;
}

.nf-service-dock--multi .nf-service-dock__item.is-primary .nf-service-dock__name {
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.25;
}

.nf-service-dock__arrow {
    display: inline-flex;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.nf-service-dock__arrow svg {
    width: 15px;
    height: 15px;
}

.nf-service-dock__item.is-primary {
    background: #1a9e96;
    border-color: #1a9e96;
    color: #fff;
    padding-right: 12px;
    box-shadow: 0 4px 14px rgba(26, 158, 150, 0.22);
}

.nf-service-dock__item.is-primary:hover,
.nf-service-dock__item.is-primary:focus-visible {
    background: #158880;
    border-color: #158880;
    color: #fff;
    box-shadow: 0 6px 20px rgba(26, 158, 150, 0.34);
}

.nf-service-dock__item.is-primary:hover .nf-service-dock__arrow {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .nf-service-dock.is-collapsed {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .nf-service-dock__inner {
        max-width: none !important;
        border-left: 0;
        border-right: 0;
        gap: 6px;
        padding: 8px 10px 10px;
    }

    .nf-service-dock__peek {
        margin: 0 0 0 10px;
        align-self: flex-start;
        max-width: calc(100% - 130px) !important;
        width: auto;
        border: 1px solid rgba(255, 255, 255, 0.55);
        border-top: 0;
        border-bottom: 0;
        border-radius: 14px 14px 0 0;
        justify-content: flex-start;
        padding: 8px 14px 9px;
        gap: 8px;
    }

    .nf-service-dock__badge {
        width: 32px;
        height: 32px;
    }

    .nf-service-dock__badge svg {
        width: 17px;
        height: 17px;
    }

    .nf-service-dock__label {
        display: none;
    }

    .nf-service-dock__scroll-wrap {
        flex: 1 1 0;
        min-width: 0;
    }

    .nf-service-dock__services {
        gap: 8px;
        min-height: 42px;
        padding: 4px 0 6px;
    }

    .nf-service-dock--multi .nf-service-dock__item,
    .nf-service-dock--multi .nf-service-dock__item.is-primary {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
        padding: 7px 12px 7px 7px;
        min-height: 38px;
        gap: 6px;
    }

    .nf-service-dock__scroll-btn {
        width: 30px;
        height: 30px;
        top: 5px;
    }

    .nf-service-dock__scroll-btn svg {
        width: 15px;
        height: 15px;
    }

    .nf-service-dock__item.is-primary {
        padding-right: 8px;
    }

    .nf-service-dock__logo-wrap {
        width: 26px;
        height: 26px;
    }

    .nf-service-dock__collapse {
        width: 28px;
        height: 28px;
        margin-left: 0;
    }

    .nf-service-dock__collapse svg {
        width: 16px;
        height: 16px;
    }

    .nf-service-dock--single .nf-service-dock__name {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        line-height: 1.25;
        min-width: 0;
    }

    .nf-service-dock--single .nf-service-dock__item.is-primary {
        flex: 1 1 0;
        min-width: 0;
        max-width: 100%;
        padding: 7px 10px 7px 8px;
        min-height: 40px;
        gap: 6px;
    }

    .nf-service-dock__body {
        max-height: 124px;
    }

    .nf-service-dock--multi .nf-service-dock__body {
        max-height: 132px;
    }

    .nf-service-dock__eyebrow {
        display: none;
    }
}

@media (max-width: 560px) {
    .nf-service-dock--single .nf-service-dock__name {
        font-size: 13px;
    }

    .nf-service-dock--multi .nf-service-dock__name {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nf-service-dock {
        transition: opacity 0.3s ease;
        transform: none;
        opacity: 0;
        visibility: hidden;
    }

    .nf-service-dock.is-visible {
        opacity: 1;
        visibility: visible;
    }

    .nf-service-dock__body {
        transition: opacity 0.25s ease;
    }

    .nf-service-dock__peek-arrow {
        animation: none;
    }

    .nf-service-dock.is-collapsed .nf-service-dock__peek {
        animation: none;
    }
}

.nf-uprv-hide {
    display: none !important;
}

.nf-uprv .nf-uprv-body {
    padding: 2px 4px 6px 4px;
}

.nf-uprv-lead {
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5;
    color: #2f4460;
    background: #f7fafd;
    border: 1px solid #dde9f4;
    border-left: 3px solid #60bfaf;
    border-radius: 6px;
    padding: 10px 13px;
    margin: 2px 0 14px 0;
    float: left;
    width: 100%;
    box-sizing: border-box;
}

.nf-uprv-hintline {
    display: none;
    font-size: 11.5px;
    color: #7a7e85;
    line-height: 1.35;
    margin-top: 2px;
}

.nf-uprv-option-on .nf-uprv-hintline {
    display: block;
}

.nf-uprv-card {
    background: #fff;
    border: 1px solid #60bfaf;
    border-radius: 3px;
    padding: 12px 14px;
    float: left;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.nf-uprv-check {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    background: #60bfaf;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.nf-uprv-card-off {
    border-color: #c6c8cc;
}

.nf-uprv-card-off .nf-uprv-check {
    background: #c6c8cc;
}

.nf-uprv-card-off .nf-uprv-name {
    color: #8a8d93;
}

.nf-uprv-card-txt {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.nf-uprv-name {
    font-size: 16px;
    font-weight: 700;
    color: #3a3c40;
    line-height: 1.3;
    word-wrap: break-word;
}

.nf-uprv-sub {
    font-size: 12px;
    color: #7a7e85;
    margin-top: 1px;
}

.nf-uprv-confirm {
    display: none;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: #2f8a7a;
    margin-top: 2px;
    line-height: 1.3;
}

.nf-uprv-confirm svg {
    margin-right: 5px;
    min-width: 12px;
}

.nf-uprv-option-on .nf-uprv-confirm {
    display: inline-flex;
}

.nf-uprv-option-on .nf-uprv-sub {
    display: none;
}

.nf-uprv-actions {
    margin-top: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.nf-uprv-action-link {
    display: inline-flex;
    align-items: center;
    font-size: 13.5px;
    font-weight: 600;
    color: #576684;
    text-decoration: none;
    padding: 7px 10px;
    border-radius: 3px;
    margin: 0 6px 4px 0;
    -webkit-transition: background 0.12s ease, color 0.12s ease;
    transition: background 0.12s ease, color 0.12s ease;
}

.nf-uprv-action-link svg {
    margin-right: 6px;
    min-width: 15px;
}

.nf-uprv-action-link:hover,
.nf-uprv-action-link:focus {
    background: #eef1f5;
    color: #3a4763;
    text-decoration: none;
}

.nf-uprv-action-strong {
    color: #2f8a7a;
}

.nf-uprv-action-strong:hover,
.nf-uprv-action-strong:focus {
    background: #eefaf7;
    color: #256e62;
}

.nf-uprv-list {
    margin-top: 2px;
}

.nf-uprv-option {
    background: #fff;
    border: 1px solid #dfe3e7;
    border-radius: 6px;
    padding: 0;
    margin: 0 0 10px 0;
    float: left;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    position: relative;
    -webkit-transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.nf-uprv-option:hover {
    border-color: #9fd6c9;
    background: #fbfdfd;
}

.nf-uprv-option-on {
    border-color: #60bfaf;
    background: #f4fbf9;
    box-shadow: 0 2px 8px rgba(96, 191, 175, 0.18);
}

.nf-uprv-option-main {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 13px 16px;
    cursor: pointer;
    font-weight: normal;
}

.nf-uprv-edit-link {
    font-size: 13px;
    font-weight: 600;
    color: #576684;
    text-decoration: none;
    white-space: nowrap;
    padding: 4px 6px;
}

.nf-uprv-edit-link:hover,
.nf-uprv-edit-link:focus {
    color: #3a4763;
    text-decoration: underline;
}

.nf-uprv-option .nf-uprv-edit-link {
    display: inline-block;
}

.nf-uprv-option:not(.nf-uprv-option-on) .nf-uprv-edit-link {
    color: #8a8d93;
}

.nf-uprv-view-row {
    margin-top: 8px;
}

#boxes .allies select[name^="managers[choose_ally]"] option[hidden] {
    display: none;
}

.nf-uprv-option:hover {
    border-color: #b9bec6;
}

.nf-uprv-option-on {
    border-color: #60bfaf;
    box-shadow: 0 0 0 1px rgba(96, 191, 175, 0.35);
}

.nf-uprv-option .nf-uprv-ally-check {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.nf-uprv-box {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: 2px solid #c6cbd1;
    border-radius: 6px;
    background: #fff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 13px;
    -webkit-transition: background 0.15s ease, border-color 0.15s ease;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.nf-uprv-box svg {
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    -webkit-transition: opacity 0.15s ease, -webkit-transform 0.15s ease;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.nf-uprv-ally-check:checked + .nf-uprv-box {
    background: #60bfaf;
    border-color: #60bfaf;
}

.nf-uprv-ally-check:checked + .nf-uprv-box svg {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.nf-uprv-option:hover .nf-uprv-box {
    border-color: #60bfaf;
}

.nf-uprv-ally-check:focus + .nf-uprv-box {
    box-shadow: 0 0 0 2px rgba(87, 102, 132, 0.25);
}

.nf-uprv-add-tile {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #576684;
    text-decoration: none;
    border: 1px dashed #b9c2cc;
    border-radius: 6px;
    padding: 10px 16px;
    margin-top: 2px;
    background: #fff;
    -webkit-transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.nf-uprv-add-tile svg {
    margin-right: 8px;
    min-width: 15px;
}

.nf-uprv-add-tile:hover,
.nf-uprv-add-tile:focus {
    border-color: #60bfaf;
    color: #2f8a7a;
    background: #f4fbf9;
    text-decoration: none;
}

.nf-uprv-hint {
    background: #fff8e1;
    border: 1px solid #f0d67f;
    border-radius: 3px;
    color: #6b5b1f;
    font-size: 13px;
    padding: 8px 12px;
    margin-top: 10px;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .nf-uprv-actions {
        display: block;
    }

    .nf-uprv-btn {
        margin: 0 0 8px 0;
        width: 100%;
    }

    .nf-uprv-add-link {
        display: block;
        text-align: center;
        padding: 10px 2px;
    }
}

.nf-mgr-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.nf-mgr-head-title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.nf-mgr-head-title .ownerHeadStyles {
    white-space: nowrap;
}

.nf-mgr-head-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    white-space: nowrap;
}

.nf-mgr-btn {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    color: #7a7e85;
    text-decoration: none;
    border: 1px solid #dfe3e7;
    border-radius: 6px;
    background: #fff;
    padding: 6px 10px;
    margin-left: 8px;
    -webkit-transition: border-color 0.12s ease, color 0.12s ease, background 0.12s ease;
    transition: border-color 0.12s ease, color 0.12s ease, background 0.12s ease;
}

.nf-mgr-btn:hover,
.nf-mgr-btn:focus {
    background: #f4f6f9;
    border-color: #c6cbd1;
    color: #576684;
    text-decoration: none;
}

.nf-mgr-btn-delete:hover,
.nf-mgr-btn-delete:focus {
    background: #fdf3f2;
    border-color: #dcb3b1;
    color: #a05252;
}

.nf-mgr-btn-hide {
    color: #2f4460;
    background: #eef1f5;
    border-color: #c2cbd8;
}

.nf-mgr-btn-hide:hover,
.nf-mgr-btn-hide:focus {
    color: #1e3149;
    background: #e4eaf2;
    border-color: #aab8ca;
}

.nf-mgr-btn-hide svg {
    margin-right: 5px;
    min-width: 12px;
    display: block;
}

.allies.nf-uprv-collapsed .nf-mgr-body {
    display: none;
}

.nf-uprv-actions-bottom {
    margin: 2px 0 12px 0;
}

@media (max-width: 767px) {
    .nf-mgr-btn {
        font-size: 12px;
        padding: 7px 9px;
        margin-left: 6px;
    }

    .nf-uprv-actions-bottom .nf-uprv-add-tile {
        display: flex;
        justify-content: center;
        text-align: center;
    }
}

.nf-preload-note {
    background: #eefaf7;
    border: 1px solid #60bfaf;
    border-radius: 3px;
    padding: 10px 12px;
    margin: 10px 0;
    display: flex;
    align-items: flex-start;
    box-sizing: border-box;
}

.nf-preload-note-icon {
    color: #2f8a7a;
    margin: 2px 10px 0 0;
    display: inline-flex;
    min-width: 16px;
}

.nf-preload-note-txt {
    font-size: 13px;
    line-height: 1.45;
    color: #2f5e56;
}

.nf-preload-note-warn {
    display: block;
    background: #fff8e1;
    border: 1px solid #f0d67f;
    border-radius: 3px;
    color: #6b5b1f;
    padding: 6px 10px;
    margin-top: 8px;
}

.nf-contguard {
    float: left;
    width: 100%;
    box-sizing: border-box;
    background: #fdecea;
    border: 1px solid #e57373;
    border-left: 4px solid #d9534f;
    border-radius: 3px;
    color: #8d2f27;
    font-size: 13.5px;
    line-height: 1.5;
    padding: 10px 14px;
    margin-bottom: 12px;
}

.nf-mycomp {
    margin-bottom: 12px;
}

.nf-mycomp-gated {
    display: none !important;
}

.nf-mycomp-box {
    background: #fff;
    border: 1px solid #dfe3e7;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(31, 45, 61, 0.05);
}

.nf-mycomp-box-head {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.nf-mycomp-box {
    border-left: 4px solid #60bfaf;
}

.nf-mycomp-box-icon {
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: -webkit-linear-gradient(315deg, #6fcbbb, #3fae9a);
    background: linear-gradient(135deg, #6fcbbb, #3fae9a);
    border-radius: 9px;
    margin-right: 13px;
    box-shadow: 0 3px 8px rgba(63, 174, 154, 0.28);
}

.nf-loader-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #576684;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 14px 0;
}

.nf-loader-divider:before,
.nf-loader-divider:after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: #ccd6e2;
}

.nf-loader-divider span {
    padding: 0 12px;
}

.rd-hero,
.rd-form-container.nf-tr-card {
    position: relative;
    box-sizing: border-box;
    background: #fff !important;
    background-image: none !important;
    border: 1px solid #dfe3e7 !important;
    border-left: 4px solid #2185c5 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(31, 45, 61, 0.05) !important;
    padding: 16px !important;
    margin: 0 0 14px 0 !important;
    font-family: inherit;
}

.nf-tr-head,
.rd-hero-head {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.nf-tr-head-icon,
.rd-hero-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 9px;
    margin-right: 13px;
    background: -webkit-linear-gradient(315deg, #45a0e6, #2185c5) !important;
    background: linear-gradient(135deg, #45a0e6, #2185c5) !important;
    color: #fff;
    box-shadow: 0 3px 8px rgba(33, 133, 197, 0.28) !important;
}

.nf-tr-head-titles {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 1px;
}

.nf-tr-head-title,
.nf-tr-head-sub {
    display: block;
}

.nf-tr-head-title,
.rd-hero-title {
    font-size: 16px !important;
    font-weight: 700;
    color: #1f2d3d !important;
    line-height: 1.3;
    letter-spacing: 0;
}

.nf-tr-head-sub,
.rd-hero-subtitle {
    margin-top: 2px !important;
    font-size: 12.5px !important;
    color: #7a7e85 !important;
    line-height: 1.4;
}

.nf-tr-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #576684;
    margin: 0 0 6px 2px;
}

.rd-form-group-small {
    color: #8a8d93 !important;
}

.nf-loader-wrap {
    background: #fff;
    border: 1px solid #e2e5e9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(31, 45, 61, 0.05);
    padding: 14px 16px 6px 16px;
    margin: 4px 0 14px 0;
    box-sizing: border-box;
    float: left;
    width: 100%;
}

.nf-loader-wrap:after {
    content: "";
    display: table;
    clear: both;
}

.nf-loader-wrap .nf-mycomp-box,
.nf-loader-wrap .rd-hero,
.nf-loader-wrap .rd-form-container.nf-tr-card {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-left: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.nf-loader-wrap .nf-mycomp-box {
    margin-bottom: 2px !important;
}

.nf-mycomp-box-head,
.nf-tr-head,
.rd-hero-head {
    margin-bottom: 9px !important;
}

.nf-mycomp-box-icon,
.nf-tr-head-icon,
.rd-hero-badge {
    background: #576684 !important;
    background-image: none !important;
    box-shadow: none !important;
    color: #fff !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 8px !important;
    margin-right: 11px !important;
}

.nf-mycomp-box-title,
.nf-tr-head-title,
.rd-hero-title {
    color: #2b2f36 !important;
}

.nf-mycomp-box-sub,
.nf-tr-head-sub,
.rd-hero-subtitle {
    color: #7a7e85 !important;
}

.nf-tr-label {
    color: #55585f !important;
}

.nf-loader-wrap .nf-loader-divider {
    margin: 2px 0 11px 0;
}

.nf-loader-wrap .nf-mycomp-box-sub,
.nf-loader-wrap .nf-tr-head-sub,
.nf-loader-wrap .rd-hero-subtitle {
    margin-top: 1px !important;
}

.nf-loader-wrap .nf-tr-label {
    margin-bottom: 5px !important;
}

.nf-loader-wrap .rd-form-group-small {
    margin-top: 8px !important;
    font-size: 12px !important;
}

.nf-loader-wrap .rd-input {
    padding: 8px 13px !important;
}

.nf-loader-wrap .rd-button {
    padding: 7px 14px !important;
    font-size: 13px !important;
    border-radius: 7px !important;
}

.nf-loader-wrap .rd-button-icon {
    margin-right: 6px !important;
}

.nf-mycomp-toggle {
    background: #f4f5f7 !important;
    border-color: #dde1e6 !important;
    color: #3a3c40 !important;
    padding: 9px 14px !important;
}

.nf-mycomp-toggle:hover,
.nf-mycomp-toggle:focus {
    background: #eceef1 !important;
    border-color: #c2c7ce !important;
    color: #2b2f36 !important;
}

.nf-mycomp-toggle-count {
    background: #576684 !important;
    color: #fff !important;
}

.nf-mycomp-toggle-chev {
    color: #8a8d93 !important;
}

.nf-mycomp-toggle-open {
    border-color: #c2c7ce !important;
}

.nf-mycomp-panel {
    border-color: #dde1e6 !important;
}

.nf-mycomp-toggle-loaded {
    background: #eef0f2 !important;
    border-color: #c2c7ce !important;
    color: #2b2f36 !important;
}

.nf-mycomp-toggle-loaded .nf-mycomp-toggle-count {
    background: #576684 !important;
}

.nf-mycomp-loaded-check {
    background: #576684 !important;
}

.nf-mycomp-item-on {
    background: #eef0f2 !important;
}

.nf-mycomp-item-eik {
    color: #55585f !important;
}

.nf-mycomp-item:hover .nf-mycomp-item-go {
    color: #565c66 !important;
}

.nf-mycomp-done {
    background: #eef0f2 !important;
    border-color: #c9ced4 !important;
    color: #55585f !important;
}

.nf-mycomp-noeik {
    color: #8a8d93 !important;
}

.nf-loader-wrap .rd-input {
    border-color: #d7dade !important;
    color: #2b2f36 !important;
}

.nf-loader-wrap .rd-input:focus {
    border-color: #565c66 !important;
    box-shadow: 0 0 0 3px rgba(86, 92, 102, 0.15) !important;
}

.nf-loader-wrap .rd-button {
    background: #576684 !important;
    background-image: none !important;
    box-shadow: none !important;
}

.nf-loader-wrap .rd-button:hover {
    background: #47536b !important;
    background-image: none !important;
    box-shadow: none !important;
}

.nf-mycomp-box-titles {
    display: flex;
    flex-direction: column;
    padding-top: 1px;
}

.nf-mycomp-box-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2d3d;
    line-height: 1.3;
}

.nf-mycomp-box-sub {
    font-size: 12.5px;
    color: #7a7e85;
    margin-top: 2px;
    line-height: 1.4;
}

.nf-mycomp-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    background: #f2f6fa;
    border: 1px solid #d7dfe8;
    border-radius: 7px;
    padding: 11px 16px;
    cursor: pointer;
    font-size: 14.5px;
    color: #2e77b5;
    text-align: left;
    -webkit-transition: background 0.15s ease, border-color 0.15s ease;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.nf-mycomp-toggle:hover,
.nf-mycomp-toggle:focus {
    background: #e8f0f8;
    border-color: #2e77b5;
    outline: none;
    color: #2e77b5;
}

.nf-mycomp-toggle-txt {
    flex: 1 1 auto;
}

.nf-mycomp-toggle-count {
    background: #2e77b5;
    color: #fff;
    border-radius: 11px;
    font-size: 12.5px;
    font-weight: 700;
    padding: 2px 10px;
    margin: 0 12px;
}

.nf-mycomp-toggle-chev {
    color: #2e77b5;
    display: inline-flex;
    -webkit-transition: -webkit-transform 0.15s ease;
    transition: transform 0.15s ease;
}

.nf-mycomp-toggle-open .nf-mycomp-toggle-chev {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.nf-mycomp-toggle-open {
    border-radius: 7px 7px 0 0;
    border-bottom-color: transparent;
}

.nf-mycomp-toggle-loading {
    opacity: 0.6;
    pointer-events: none;
}

.nf-mycomp-toggle-loaded {
    background: #eefaf7;
    border-color: #60bfaf;
    color: #256e62;
}

.nf-mycomp-toggle-loaded:hover,
.nf-mycomp-toggle-loaded:focus {
    background: #e3f6f1;
    border-color: #3fae9a;
    color: #1f5c52;
}

.nf-mycomp-toggle-loaded .nf-mycomp-toggle-count {
    background: #60bfaf;
}

.nf-mycomp-toggle-loaded .nf-mycomp-toggle-chev {
    color: #3fae9a;
}

.nf-mycomp-loaded-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: #60bfaf;
    color: #fff;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

.nf-mycomp-noeik {
    color: #b06a00;
    font-weight: 600;
    font-style: italic;
}

.nf-mycomp-panel {
    border: 1px solid #2e77b5;
    border-top: 0;
    border-radius: 0 0 7px 7px;
    background: #fff;
    padding: 12px 14px 14px 14px;
    box-sizing: border-box;
    box-shadow: 0 6px 18px rgba(46, 119, 181, 0.16);
}

.nf-mycomp-sub {
    font-size: 12.5px;
    color: #7a7e85;
    margin: 0 0 8px 0;
}

.nf-mycomp-done {
    display: inline-block;
    background: #eefaf7;
    border: 1px solid #9fdccf;
    color: #256e62;
    font-size: 10.5px;
    font-weight: 700;
    border-radius: 9px;
    padding: 1px 7px;
    margin-left: 6px;
    vertical-align: 1px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.nf-mycomp-search-wrap {
    position: relative;
    margin-bottom: 8px;
}

.nf-mycomp-search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    margin-top: -8px;
    color: #9aa0a8;
    display: inline-flex;
}

.nf-mycomp-search {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 12px 9px 32px;
    border: 1px solid #d7dade;
    border-radius: 3px;
    font-size: 14px;
    color: #3a3c40;
    background: #fff;
}

.nf-mycomp-search:focus {
    outline: none;
    border-color: #576684;
    box-shadow: 0 0 0 2px rgba(87, 102, 132, 0.12);
}

.nf-mycomp-list {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    background: #fff;
}

.nf-mycomp-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #eef0f2;
    text-decoration: none;
    color: inherit;
    -webkit-transition: background 0.12s ease;
    transition: background 0.12s ease;
}

.nf-mycomp-item:last-child {
    border-bottom: 0;
}

.nf-mycomp-item:hover,
.nf-mycomp-item:focus {
    background: #f5f9f8;
    text-decoration: none;
    color: inherit;
}

.nf-mycomp-item-on {
    background: #eefaf7;
}

.nf-mycomp-item-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.nf-mycomp-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #3a3c40;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nf-mycomp-item-meta {
    font-size: 12px;
    color: #8a8d93;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nf-mycomp-item-eik {
    font-size: 12.5px;
    color: #576684;
    font-weight: 600;
    margin: 0 10px;
    white-space: nowrap;
}

.nf-mycomp-item-go {
    color: #c0c4ca;
    display: inline-flex;
}

.nf-mycomp-item:hover .nf-mycomp-item-go {
    color: #60bfaf;
}

.nf-mycomp-empty {
    font-size: 13px;
    color: #8a8d93;
    padding: 10px 12px;
    border: 1px dashed #d7dade;
    border-radius: 3px;
    margin-top: 6px;
}

.nf-mycomp-divider {
    display: flex;
    align-items: center;
    margin: 14px 0 4px 0;
    color: #9aa0a8;
    font-size: 12px;
}

.nf-mycomp-divider:before,
.nf-mycomp-divider:after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.nf-mycomp-divider span {
    padding: 0 10px;
}

@media (max-width: 480px) {
    .nf-mycomp-item-eik {
        display: none;
    }

    .nf-mycomp-item-meta {
        white-space: normal;
    }
}

/* =========================================================================
   "Изберете от вашите фирми" — trigger button + pop-up modal
   (button lives inside .nf-loader-wrap; modal is appended to <body>)
   ========================================================================= */

.nf-loader-wrap .nf-mycomp {
    margin-bottom: 6px;
}

.nf-mycomp-open {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    background: #f4f6f9;
    border: 1px solid #dde2ea;
    border-radius: 10px;
    padding: 11px 13px;
    cursor: pointer;
    font-family: inherit;
    -webkit-transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, -webkit-transform .16s ease;
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.nf-mycomp-open:hover,
.nf-mycomp-open:focus {
    outline: none;
    background: #eef2f7;
    border-color: #c2cbd8;
    box-shadow: 0 4px 14px rgba(31, 45, 61, 0.10);
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
}

.nf-mycomp-open:active {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(31, 45, 61, 0.08);
}

.nf-mycomp-open-icon {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #576684;
    color: #fff;
    border-radius: 9px;
    margin-right: 12px;
}

.nf-mycomp-open-main {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.nf-mycomp-open-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #2b2f36;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nf-mycomp-open-sub {
    font-size: 12px;
    color: #7a7e85;
    margin-top: 1px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nf-mycomp-open-count {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    display: inline-block;
    min-width: 22px;
    text-align: center;
    background: #576684;
    color: #fff;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    padding: 1px 7px;
    margin: 0 10px;
}

.nf-mycomp-open-arrow {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    display: inline-flex;
    color: #9aa0a8;
    -webkit-transition: color .16s ease, -webkit-transform .16s ease;
    transition: color .16s ease, transform .16s ease;
}

.nf-mycomp-open:hover .nf-mycomp-open-arrow,
.nf-mycomp-open:focus .nf-mycomp-open-arrow {
    color: #576684;
    -webkit-transform: translateX(2px);
    transform: translateX(2px);
}

.nf-mycomp-open-loading {
    opacity: 0.6;
    pointer-events: none;
}

.nf-mycomp-open-loaded {
    background: #eef1f6;
    border-color: #c2cbd8;
}

.nf-mycomp-open-loaded .nf-mycomp-open-icon {
    background: #4a586f;
}

/* ---- ТР каре: редизайн без иконки, акцент върху зареждането от регистъра ---- */

.rd-hero,
.rd-form-container.nf-tr-card,
.nf-loader-wrap .rd-hero,
.nf-loader-wrap .rd-form-container.nf-tr-card {
    background: #f2f8fd !important;
    border: 1px solid #d5e6f5 !important;
    border-left: 4px solid #2185c5 !important;
    border-radius: 8px !important;
    padding: 14px 16px 16px 16px !important;
}

.nf-tr-head-title,
.rd-hero-title {
    color: #123a5c !important;
    font-size: 16.5px !important;
}

.nf-tr-head-title:after,
.rd-hero-title:after {
    content: "";
    display: block;
    width: 34px;
    height: 3px;
    border-radius: 2px;
    background: #2185c5;
    margin-top: 6px;
}

.nf-tr-head-sub,
.rd-hero-subtitle,
.nf-loader-wrap .nf-tr-head-sub,
.nf-loader-wrap .rd-hero-subtitle {
    color: #4a6a86 !important;
}

.nf-loader-wrap .nf-tr-label {
    color: #1a5c8f;
}

.nf-loader-wrap .rd-input {
    border-color: #bcd3ea;
    background: #fff;
}

.nf-loader-wrap .nf-mycomp-open {
    background: #f7fafd;
    border-color: #dde9f4;
}

.nf-loader-wrap .nf-mycomp-open:hover,
.nf-loader-wrap .nf-mycomp-open:focus {
    background: #edf4fb;
    border-color: #c7dcef;
}

/* ---- Бутон "Започни отначало" (изчистване на формата) ---- */

.stepsHolder .nf-clearform-btn {
    display: inline-flex;
    align-items: center;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    color: #7a7e85;
    text-decoration: none;
    background: #fff;
    border: 1px solid #dfe3e7;
    border-radius: 6px;
    padding: 6px 9px;
    white-space: nowrap;
    -webkit-transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
    transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.stepsHolder .nf-clearform-btn svg {
    margin-right: 5px;
    min-width: 12px;
    display: block;
}

.stepsHolder .nf-clearform-btn:hover,
.stepsHolder .nf-clearform-btn:focus {
    background: #f4f6f9;
    border-color: #c6cbd1;
    color: #576684;
    text-decoration: none;
}

/* На мобилно стъпките са скролваща се лента с фиксирана ширина и бутонът
   изчезва извън екрана — закачаме го на втори ред в лентата, извън скрола. */
@media (max-width: 767px) {
    .submenu-hld {
        position: relative;
        padding-bottom: 46px;
    }

    /* bootstrap колоната е position:relative и "открадва" абсолютния бутон
       вътре в скролващата се лента — връщаме го към цялата лента */
    .stepsHolder {
        position: static;
    }

    .stepsHolder .nf-clearform-li {
        position: absolute;
        right: 12px;
        bottom: 9px;
        float: none;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none;
    }
}

/* ---- Modal shell ---- */

body.nf-modal-lock {
    overflow: hidden !important;
}

.nf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000000;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 26px 20px;
    box-sizing: border-box;
    visibility: hidden;
    -webkit-transition: visibility 0s linear .26s;
    transition: visibility 0s linear .26s;
}

.nf-modal.is-open {
    visibility: visible;
    -webkit-transition: visibility 0s linear 0s;
    transition: visibility 0s linear 0s;
}

.nf-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 26, 38, 0.52);
    -webkit-backdrop-filter: blur(1.5px);
    backdrop-filter: blur(1.5px);
    opacity: 0;
    -webkit-transition: opacity .26s ease;
    transition: opacity .26s ease;
}

.nf-modal.is-open .nf-modal-backdrop {
    opacity: 1;
}

.nf-modal-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 468px;
    max-height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 64px rgba(16, 24, 40, 0.30), 0 6px 16px rgba(16, 24, 40, 0.12);
    overflow: hidden;
    opacity: 0;
    -webkit-transform: translateY(14px) scale(0.97);
    transform: translateY(14px) scale(0.97);
    -webkit-transition: opacity .26s ease, -webkit-transform .28s cubic-bezier(.16, 1, .3, 1);
    transition: opacity .26s ease, transform .28s cubic-bezier(.16, 1, .3, 1);
}

.nf-modal.is-open .nf-modal-dialog {
    opacity: 1;
    -webkit-transform: translateY(0) scale(1);
    transform: translateY(0) scale(1);
}

.nf-modal-head {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    padding: 18px 18px 15px 18px;
    border-bottom: 1px solid #edf0f3;
}

.nf-modal-head-icon {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #576684;
    color: #fff;
    border-radius: 9px;
    margin-right: 12px;
}

.nf-modal-head-titles {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 1px;
}

.nf-modal-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1f2d3d;
    line-height: 1.3;
}

.nf-modal-sub {
    display: block;
    font-size: 12.5px;
    color: #7a7e85;
    margin-top: 2px;
    line-height: 1.4;
}

.nf-modal-close {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: -3px -3px 0 10px;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #9aa0a8;
    cursor: pointer;
    -webkit-transition: background .15s ease, color .15s ease;
    transition: background .15s ease, color .15s ease;
}

.nf-modal-close:hover,
.nf-modal-close:focus {
    outline: none;
    background: #f0f2f5;
    color: #55585f;
}

.nf-modal-search {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    position: relative;
    padding: 12px 18px;
    border-bottom: 1px solid #edf0f3;
}

.nf-modal-search-icon {
    position: absolute;
    left: 30px;
    top: 50%;
    margin-top: -8px;
    color: #9aa0a8;
    display: inline-flex;
    pointer-events: none;
}

.nf-modal-search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px 10px 34px;
    border: 1px solid #d9dde3;
    border-radius: 9px;
    font-size: 14px;
    color: #3a3c40;
    background: #f7f8fa;
    font-family: inherit;
    -webkit-transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.nf-modal-search-input:focus {
    outline: none;
    border-color: #576684;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(87, 102, 132, 0.14);
}

.nf-modal-search-input::-webkit-input-placeholder {
    color: #a7adb5;
}

.nf-modal-search-input:-ms-input-placeholder {
    color: #a7adb5;
}

.nf-modal-search-input::placeholder {
    color: #a7adb5;
}

.nf-modal-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 8px;
}

/* ---- Company list inside the modal body ---- */

.nf-modal-body .nf-mycomp-list {
    max-height: none;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.nf-modal-body .nf-mycomp-item {
    padding: 11px 12px;
    border-bottom: 0;
    border-radius: 10px;
    -webkit-transition: background .13s ease;
    transition: background .13s ease;
}

.nf-modal-body .nf-mycomp-item + .nf-mycomp-item {
    margin-top: 2px;
}

.nf-modal-body .nf-mycomp-item:hover,
.nf-modal-body .nf-mycomp-item:focus {
    background: #f1f4f8;
}

.nf-modal-body .nf-mycomp-item-on {
    background: #eaeef4;
}

.nf-modal-body .nf-mycomp-item-go {
    -webkit-transition: color .13s ease, -webkit-transform .13s ease;
    transition: color .13s ease, transform .13s ease;
}

.nf-modal-body .nf-mycomp-item:hover .nf-mycomp-item-go,
.nf-modal-body .nf-mycomp-item:focus .nf-mycomp-item-go {
    color: #576684 !important;
    -webkit-transform: translateX(2px);
    transform: translateX(2px);
}

.nf-modal-body .nf-mycomp-empty {
    text-align: center;
    color: #8a8d93;
    padding: 26px 16px;
    border: 0;
    margin: 0;
}

/* ---- Mobile: bottom-sheet presentation ---- */

@media (max-width: 560px) {
    .nf-modal {
        padding: 0;
        -webkit-box-align: end;
        -ms-flex-align: end;
        align-items: flex-end;
    }

    .nf-modal-dialog {
        max-width: 100%;
        max-height: 90%;
        border-radius: 16px 16px 0 0;
        -webkit-transform: translateY(28px);
        transform: translateY(28px);
    }

    .nf-modal.is-open .nf-modal-dialog {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    .nf-modal-head,
    .nf-modal-search {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nf-modal-backdrop,
    .nf-modal-dialog,
    .nf-mycomp-open,
    .nf-mycomp-open-arrow {
        -webkit-transition-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================================================
   Registry data box ("Данни от Търговския регистър") — привежда се към
   сивата/навигационната гама на зареждащия блок (маха се синята рамка).
   Скоуп с #rd-registry-data-container, за да бие inline стиловете в тялото.
   ========================================================================= */

#rd-registry-data-container .rd-company-container {
    background: #fff;
    border: 1px solid #dfe3e7;
    border-left: 3px solid #576684;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(31, 45, 61, 0.05);
    margin-top: 14px;
    margin-bottom: 0;
    overflow: hidden;
    font-family: inherit;
}

#rd-registry-data-container .rd-company-header {
    background: #eef0f2;
    color: #2b2f36;
    padding: 11px 14px;
    border-bottom: 1px solid #e4e7ea;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

#rd-registry-data-container .rd-company-header.collapsed {
    border-bottom: 0;
}

#rd-registry-data-container .rd-company-header h4 {
    font-size: 14px;
    font-weight: 700;
    color: #2b2f36;
    line-height: 1.3;
    padding-right: 22px;
    font-family: inherit;
}

#rd-registry-data-container .rd-tr-asof {
    display: block;
    margin-top: 3px;
    font-size: 11.5px;
    font-weight: 400;
    color: #7a7e85;
    line-height: 1.35;
}

#rd-registry-data-container .rd-toggle {
    right: 2px;
    top: 2px;
    color: #576684;
    font-weight: 700;
}

#rd-registry-data-container .rd-info-title {
    background: #f4f6f8;
    color: #55585f;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 6px;
    padding: 6px 10px;
}

#rd-registry-data-container .rd-label {
    color: #55585f;
}

#rd-registry-data-container .rd-value {
    color: #2b2f36;
}

#rd-registry-data-container .rd-info-row {
    border-bottom: 1px solid #f0f2f4;
}

#rd-registry-data-container .rd-revaluation-notice {
    border-radius: 8px;
}

/* Бутонът "Зареди данни от ТР" след успешно зареждане — ясно състояние "заредено" */
.rd-button.nf-tr-fetched {
    background: #eef7f3 !important;
    background-image: none !important;
    color: #256e62 !important;
    border: 1px solid #9fdccf !important;
    box-shadow: none !important;
}

.rd-button.nf-tr-fetched:hover,
.rd-button.nf-tr-fetched:active {
    background: #e3f3ec !important;
    background-image: none !important;
    border-color: #6fc7b2 !important;
    color: #1f5c52 !important;
    box-shadow: none !important;
    transform: none !important;
}

.rd-button.nf-tr-fetched .rd-button-icon {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-right: 7px;
}
