/*
 * Main sections (Osmrtnice / Sjećanja / Groblja): the tab strip under the menu bar
 * and the shared search panel, toolbar and lists used on the Sjećanja and Groblja pages.
 */

:root {
    --nk-ink: #3f3730;
    --nk-muted: #6b6056;
    --nk-brown: #65594d;
    --nk-brown-dark: #4a4038;
    --nk-panel: #e9e0d5;
    --nk-page: #f7f4f0;
    --nk-line: #d9cfc3;
    --nk-card: #fff;
}

/* ---------- tab strip ---------- */

/* the menu bar and the tabs read as one header, darkening towards the tabs */
.navbar-default {
    background: linear-gradient(180deg, #6a5e52 0%, #5d5247 100%);
}

.nekros-sections {
    background: linear-gradient(180deg, #5d5247 0%, #4f453b 100%);
    box-shadow: 0 2px 6px rgba(63, 55, 48, 0.18);
}

.nekros-sections ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nekros-sections li {
    flex: 1 1 0;
    text-align: center;
}

.nekros-sections a {
    display: block;
    padding: 10px 8px 13px;
    border-bottom: 3px solid transparent;
    color: #d4c8bb !important;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-decoration: none !important;
}

.nekros-sections a:hover,
.nekros-sections a:focus {
    color: #fff !important;
}

.nekros-sections a.active {
    border-bottom-color: #efe7dc;
    color: #fff !important;
    font-weight: 600;
}

@media (min-width: 768px) {
    .nekros-sections ul {
        justify-content: center;
    }

    .nekros-sections li {
        flex: 0 0 auto;
        min-width: 180px;
    }
}

/* ---------- page ---------- */

.nk-section {
    padding: 28px 0 48px;
    background: var(--nk-page);
    color: var(--nk-ink);
}

.nk-section-inner {
    max-width: 760px;
    margin: 0 auto;
}

.nk-section h1 {
    margin: 0 0 6px;
    color: var(--nk-brown);
    font-family: 'Crimson Text', 'Tinos', serif;
    font-size: 40px;
    font-weight: 600;
    text-align: left;
}

.nk-section-lead {
    margin: 0 0 20px;
    text-align: left !important;
    color: var(--nk-muted);
    font-size: 17px;
}

/* ---------- search panel ---------- */

.nk-search {
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 12px;
    background: var(--nk-panel);
}

.nk-search .nk-field {
    margin-bottom: 14px;
}

.nk-search label {
    display: block;
    margin-bottom: 6px;
    color: var(--nk-muted);
    font-size: 14px;
    font-weight: 400;
}

.nk-search input[type="text"],
.nk-search select,
.nk-toolbar select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--nk-line);
    border-radius: 8px;
    background: #fff;
    color: var(--nk-ink);
    font-size: 17px;
    box-shadow: none;
}

.nk-search input[type="text"]:focus,
.nk-search select:focus,
.nk-toolbar select:focus {
    border-color: var(--nk-brown);
    outline: 2px solid rgba(101, 89, 77, 0.25);
}

.nk-search-submit {
    display: block;
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 8px;
    background: var(--nk-brown);
    color: #fff;
    font-size: 18px;
}

.nk-search-submit:hover,
.nk-search-submit:focus {
    background: var(--nk-brown-dark);
}

.nk-search-submit .fa {
    margin-right: 8px;
}

@media (min-width: 768px) {
    .nk-search-row {
        display: flex;
        gap: 14px;
        align-items: flex-end;
    }

    .nk-search-row .nk-field {
        flex: 1 1 0;
    }
}

/* ---------- chips, sort, count ---------- */

.nk-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.nk-chips a {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--nk-ink) !important;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none !important;
}

.nk-chips a:hover,
.nk-chips a:focus {
    background: #efe8df;
}

.nk-chips a.active {
    background: var(--nk-panel);
    font-weight: 600;
}

.nk-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.nk-toolbar label {
    margin: 0;
    color: var(--nk-muted);
    font-weight: 400;
}

.nk-toolbar select {
    width: auto;
    min-width: 170px;
}

.nk-count {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    color: var(--nk-muted);
    font-size: 15px;
}

.nk-count a {
    color: var(--nk-ink) !important;
    text-decoration: underline !important;
}

.nk-subheading {
    margin: 26px 0 12px;
    color: var(--nk-brown);
    font-family: 'Crimson Text', 'Tinos', serif;
    font-size: 26px;
    text-align: left;
}

.nk-empty {
    padding: 22px;
    border-radius: 12px;
    background: var(--nk-card);
    color: var(--nk-muted);
    text-align: center;
}

/* ---------- cemetery list ---------- */

.nk-group {
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid var(--nk-line);
    border-radius: 12px;
    background: var(--nk-card);
}

.nk-group-title {
    margin: 0;
    padding: 14px 20px;
    background: var(--nk-panel);
    color: var(--nk-brown);
    font-size: 18px;
    font-weight: 600;
    text-align: left;
}

.nk-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nk-group li + li {
    border-top: 1px solid #ece5dc;
}

.nk-group li a {
    display: block;
    padding: 14px 20px;
    color: var(--nk-ink) !important;
    text-decoration: none !important;
}

.nk-group li a:hover,
.nk-group li a:focus {
    background: #faf7f3;
}

.nk-item-title {
    display: block;
    font-size: 19px;
    font-weight: 600;
}

.nk-item-meta {
    display: block;
    margin-top: 2px;
    font-weight: 400;
    color: var(--nk-muted);
    font-size: 15px;
}

.nk-section .navigation {
    margin-top: 10px;
}

/* ---------- menu: the button and its panel on tablets and desktops too ---------- */

@media (min-width: 768px) {
    .navbar-default > .container {
        position: relative;
    }

    .nekros-mobile-header .navbar-toggle {
        display: block;
        position: relative;
        float: none;
        height: 60px;
        margin: 0;
        border: 0;
        background: transparent !important;
        cursor: pointer;
    }

    .nekros-mobile-header .navbar-toggle span {
        display: block;
    }

    .nekros-mobile-header .navbar-toggle em {
        display: block;
        width: 26px;
        height: 2px;
        margin: 6px 0;
        background: #fff;
    }

    .navbar-default .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-default .navbar-collapse.collapse.in,
    .navbar-default .navbar-collapse.collapsing {
        display: block !important;
    }

    .navbar-default .navbar-collapse {
        position: absolute;
        top: 60px;
        right: 15px;
        z-index: 1000;
        width: 320px;
        height: auto !important;
        max-height: calc(100vh - 110px);
        padding: 8px 0;
        overflow-y: auto !important;
        border: 0;
        border-radius: 0 0 8px 8px;
        background: #65594d;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    }

    .navbar-default .navbar-collapse .nekros-nav {
        float: none;
        width: 100%;
        margin: 0;
    }

    .navbar-default .navbar-collapse .nekros-nav > li {
        float: none;
    }

    .navbar-default .navbar-collapse .nekros-nav > li > a,
    .navbar-default .navbar-collapse .nekros-nav > li > a:focus {
        padding: 11px 24px;
        color: #f1e9df !important;
    }

    .navbar-default .navbar-collapse .nekros-nav > li > a:after {
        display: none;
    }

    .navbar-default .navbar-collapse .nekros-nav > li > a > span {
        float: right;
        margin-top: 3px;
    }

    /* sub-menus open in place on click, not as hover pop-ups */
    .navbar-default .navbar-collapse .navbar-nav > li .dropdown-menu,
    .navbar-default .navbar-collapse .navbar-nav > li:hover .dropdown-menu {
        position: static;
        display: none;
        float: none;
        width: auto;
        margin: 0 12px 8px;
        padding: 8px 0;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        transition: none;
    }

    .navbar-default .navbar-collapse .navbar-nav > li.open .dropdown-menu {
        display: block;
    }

    .navbar-default .navbar-collapse .dropdown-menu,
    .navbar-default .navbar-collapse .dropdown-menu.dropdown-menu-v3 {
        min-width: 0;
        width: auto !important;
        border: 0;
        border-radius: 6px;
        background: rgba(0, 0, 0, 0.15) !important;
    }

    .navbar-default .navbar-collapse .dropdown-menu > li > a {
        margin: 0;
        padding: 8px 18px;
        border: 0;
        font-size: 15px !important;
        line-height: 1.4;
        color: #f1e9df !important;
        white-space: normal;
    }

    .navbar-default .navbar-collapse .dropdown-menu > li > a:hover,
    .navbar-default .navbar-collapse .dropdown-menu > li > a:focus {
        background: rgba(255, 255, 255, 0.08);
        color: #fff !important;
    }

    .navbar-default .navbar-collapse .navbar-nav > li:hover .dropdown-menu:before {
        display: none;
    }
}

/* ---------- type-ahead (js/frontend/suggest.js) ---------- */

.nk-suggest-host {
    position: relative;
}

.nk-suggest {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 50;
    max-height: 320px;
    margin: 4px 0 0;
    padding: 4px 0;
    overflow-y: auto;
    border: 1px solid var(--nk-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(63, 55, 48, 0.15);
    list-style: none;
}

.nk-suggest li {
    padding: 10px 14px;
    cursor: pointer;
}

.nk-suggest li.active,
.nk-suggest li:hover {
    background: #f1ebe3;
}

.nk-suggest-label {
    display: block;
    color: var(--nk-ink);
    font-size: 16px;
}

.nk-suggest-meta {
    display: block;
    color: var(--nk-muted);
    font-size: 13px;
}

.nk-search-error {
    margin: 12px 0 0;
    color: #a12a1f;
    text-align: center;
}

/* Osmrtnice: the panel sits in the page's sidebar block, right under the tabs */
#n_search_form.nk-search {
    margin-top: 16px;
}

/* Osmrtnice: heading like the other two sections */
.nk-obit-head {
    padding-top: 28px;
    text-align: left;
}

.nk-obit-head h1 {
    margin: 0 0 6px;
    color: var(--nk-brown);
    font-family: 'Crimson Text', 'Tinos', serif;
    font-size: 40px;
    font-weight: 600;
    text-align: left;
}

.nk-obit-head #n_search_form.nk-search {
    margin-top: 0;
}

/* the section pages sit on the off-white page colour edge to edge, right under the tabs */
main:has(.nk-section),
main:has(.nk-obit-head) {
    padding-top: 0 !important;
    background: var(--nk-page);
}

/* the page already has its gutter; keep all three sections aligned on phones */
@media (max-width: 767px) {
    .nk-section > .container {
        padding-right: 0;
        padding-left: 0;
    }
}

/* ---------- hero + tabbed search card (frontend/_section_top.html.twig) ---------- */

main:has(.nk-hero) {
    overflow-x: clip;
}

.nk-hero {
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: 34px 16px 78px;
    background:
        linear-gradient(180deg, rgba(40, 32, 26, 0.35) 0%, rgba(40, 32, 26, 0.1) 60%, rgba(40, 32, 26, 0) 100%),
        url("/img/hero/landscape.svg") 65% 72% / cover no-repeat,
        #6d5747;
}

.nk-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.nk-hero h1,
.nk-section .nk-hero h1,
.nk-obit-head .nk-hero h1 {
    margin: 0 0 6px;
    color: #fff;
    font-family: 'Crimson Text', 'Tinos', serif;
    font-size: 44px;
    font-weight: 600;
    text-align: left;
    text-shadow: 0 1px 12px rgba(30, 22, 16, 0.35);
}

.nk-hero-lead {
    margin: 0;
    color: #f4ece2;
    font-size: 17px;
    text-align: left !important;
    text-shadow: 0 1px 8px rgba(30, 22, 16, 0.35);
}

.nk-card {
    position: relative;
    max-width: 760px;
    margin: -56px auto 8px;
    border-radius: 14px;
    background: #fbf8f4;
    box-shadow: 0 10px 30px rgba(63, 55, 48, 0.14);
}

.nk-card-tabs {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nk-card-tabs li {
    flex: 1 1 0;
}

.nk-card-tabs a {
    display: block;
    padding: 12px 6px 10px;
    border-radius: 14px 14px 0 0;
    background: #ece4da;
    color: var(--nk-ink) !important;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    text-decoration: none !important;
}

.nk-card-tabs li:first-child a {
    border-top-left-radius: 14px;
}

.nk-card-tabs li + li a {
    border-left: 1px solid #ddd2c5;
}

.nk-card-tabs a .fa {
    display: block;
    margin-bottom: 4px;
    font-size: 18px;
}

.nk-card-tabs a:hover,
.nk-card-tabs a:focus {
    background: #f4eee6;
}

.nk-card-tabs a.active {
    border-left-color: transparent;
    background: #fbf8f4;
    font-weight: 600;
}

.nk-card-tabs li.active-neighbour a,
.nk-card-tabs a.active + a {
    border-left-color: transparent;
}

.nk-card-body {
    padding: 14px;
}

.nk-card-body .nk-search,
.nk-obit-head .nk-card-body #n_search_form.nk-search {
    margin: 0;
}

/* the section pages without a separate tab strip on phones: the card tabs replace it */
@media (max-width: 767px) {
    .nekros-sections {
        display: none;
    }

    .nk-hero {
        padding-top: 26px;
        padding-bottom: 70px;
    }

    .nk-hero h1,
    .nk-section .nk-hero h1,
    .nk-obit-head .nk-hero h1 {
        font-size: 38px;
    }
}

/* text fields with an icon in front */
.nk-input {
    position: relative;
    display: block;
}

.nk-input > .fa {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 1;
    width: 16px;
    margin-top: -9px;
    color: var(--nk-muted);
    font-size: 17px;
    text-align: center;
    pointer-events: none;
}

.nk-search .nk-input input[type="text"] {
    padding-left: 42px;
}

.nk-obit-head {
    padding-top: 0;
}

/* ---------- people list (frontend/_profile_list_card.html.twig) ---------- */

.nk-list-title {
    max-width: 980px;
    margin: 8px auto 14px;
    color: var(--nk-ink);
    font-family: 'Crimson Text', 'Tinos', serif;
    font-size: 28px;
    font-weight: 600;
    text-align: left;
}

.nk-people {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 980px;
    margin: 0 auto 18px;
}

@media (min-width: 768px) {
    .nk-people {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
}

.nk-people-ad {
    grid-column: 1 / -1;
    text-align: center;
}

.nk-people-ad img {
    display: inline-block;
    max-width: 100%;
}

.nk-section .nk-list-wide {
    max-width: 980px;
}

.nk-person {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 120px;
    padding: 12px 40px 12px 12px;
    border: 1px solid #eee6dc;
    border-left: 4px solid var(--nk-frame, #000);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(63, 55, 48, 0.06);
    transition: box-shadow 0.15s, transform 0.15s;
}

.nk-person:hover {
    box-shadow: 0 6px 18px rgba(63, 55, 48, 0.12);
}

.nk-person-photo {
    flex: 0 0 auto;
    width: 72px;
    height: 100px;
    border-radius: 6px;
    background: #efe9e2;
    object-fit: cover;
}

.nk-person-body {
    min-width: 0;
}

.nk-person-name {
    margin: 0 0 4px;
    font-family: 'Crimson Text', 'Tinos', serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
}

.nk-person-link,
.nk-person-link:hover,
.nk-person-link:focus {
    color: var(--nk-ink) !important;
    text-decoration: none !important;
}

/* the whole card opens the profile */
.nk-person-link::after {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    content: "";
}

.nk-person-link:focus-visible::after {
    outline: 2px solid var(--nk-brown);
    outline-offset: 2px;
}

.nk-person-dates,
.nk-person-place,
.nk-person-meta {
    margin: 0 0 3px !important;
    padding: 0 !important;
    color: var(--nk-muted) !important;
    font-size: 14px;
    line-height: 1.35;
    text-align: left;
}

.nk-person-place .fa {
    width: 12px;
    margin-right: 3px;
    text-align: center;
}

.nk-person-meta span + span {
    margin-left: 12px;
}

.nk-candle {
    color: #d49a3a;
}

.nk-person-notice {
    position: absolute;
    right: 12px;
    bottom: 10px;
    z-index: 1;
    padding: 2px 8px;
    border: 1px solid #e3d9cd;
    border-radius: 999px;
    color: var(--nk-muted) !important;
    font-size: 12px;
    text-decoration: none !important;
}

.nk-person-notice:hover,
.nk-person-notice:focus {
    border-color: var(--nk-brown);
    color: var(--nk-ink) !important;
}

.nk-person-chevron {
    position: absolute;
    top: 50%;
    right: 14px;
    margin-top: -12px;
    color: var(--nk-muted);
    font-size: 24px;
}

.nk-section:has(> .nk-hero) {
    padding-top: 0;
}

/* ---------- "Čini se da ste u blizini..." dialog and the remembered place ---------- */

.nk-list-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 16px;
    max-width: 980px;
    margin: 8px auto 14px;
}

.nk-list-head .nk-list-title {
    margin: 0;
}

body.nk-dialog-open {
    overflow: hidden;
}

.nk-dialog-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(40, 32, 26, 0.55);
}

.nk-dialog-backdrop[hidden] {
    display: none;
}

.nk-dialog {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 28px 24px 20px;
    border-radius: 16px;
    background: #fbf8f4;
    box-shadow: 0 20px 50px rgba(30, 22, 16, 0.35);
    text-align: center;
}

.nk-dialog h2 {
    margin: 4px 0 10px;
    color: var(--nk-ink);
    font-family: 'Crimson Text', 'Tinos', serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.nk-dialog h2 span {
    display: block;
    color: var(--nk-brown);
}

.nk-dialog p {
    color: var(--nk-muted) !important;
    font-size: 16px;
    text-align: center !important;
}

.nk-dialog-icon {
    margin: 0;
    color: var(--nk-brown) !important;
    font-size: 30px !important;
}

.nk-dialog-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.nk-dialog-secondary {
    height: 48px;
    border: 1px solid #d9cfc3;
    border-radius: 8px;
    background: #fff;
    color: var(--nk-ink);
    font-size: 17px;
}

.nk-dialog-secondary:hover,
.nk-dialog-secondary:focus {
    border-color: var(--nk-brown);
}

.nk-dialog-link {
    margin-top: 12px;
    border: 0;
    background: none;
    color: var(--nk-ink);
    font-size: 15px;
    text-decoration: underline;
}

.nk-dialog-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 40px;
    height: 40px;
    border: 0;
    background: none;
    color: var(--nk-muted);
    font-size: 28px;
    line-height: 1;
}

.nk-dialog-note {
    margin: 14px 0 0 !important;
    font-size: 12px !important;
}

.nk-dialog-note a {
    color: var(--nk-muted) !important;
    text-decoration: underline !important;
}

/* ---------- "Prikazano za: …" above the lists ---------- */

.nk-places-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    margin: 0 !important;
    color: var(--nk-muted) !important;
    font-size: 14px;
    text-align: left !important;
}

.nk-section .nk-places-bar {
    margin: 0 0 12px !important;
}

.nk-places-bar strong {
    color: var(--nk-ink);
}

.nk-places-bar a,
.nk-places-bar button {
    padding: 0;
    border: 0;
    background: none;
    color: var(--nk-ink) !important;
    font-size: 14px;
    text-decoration: underline !important;
}

/* ---------- cookie + places dialog ---------- */

.nk-consent {
    max-width: 480px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    text-align: left;
}

.nk-consent h2 {
    margin-top: 0;
    padding-right: 30px;
    text-align: left;
}

.nk-consent p,
.nk-consent li {
    color: var(--nk-muted) !important;
    font-size: 15px;
    line-height: 1.45;
    text-align: left !important;
}

.nk-consent-text p {
    margin: 0 0 6px;
}

.nk-consent-text ul {
    margin: 0 0 6px;
    padding-left: 18px;
}

.nk-consent-text a,
.nk-consent .nk-dialog-note a {
    color: var(--nk-ink) !important;
    text-decoration: underline !important;
}

.nk-consent-places {
    margin-top: 14px;
    padding: 14px;
    border-radius: 12px;
    background: var(--nk-panel);
}

.nk-consent-places h3 {
    margin: 0 0 4px;
    color: var(--nk-ink);
    font-size: 17px;
    font-weight: 600;
    text-align: left;
}

.nk-consent-places h3 span {
    color: var(--nk-muted);
    font-weight: 400;
}

.nk-consent-places > p {
    margin: 0 0 10px;
    font-size: 14px !important;
}

.nk-consent-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
}

.nk-consent-chips:empty {
    display: none;
}

.nk-consent-chips li {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 4px 4px 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--nk-ink) !important;
    font-size: 14px;
}

.nk-consent-chips button {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 50%;
    background: #efe8df;
    color: var(--nk-ink);
    font-size: 16px;
    line-height: 1;
}

.nk-consent .nk-input input {
    width: 100%;
    height: 46px;
    padding: 0 14px 0 42px;
    border: 1px solid var(--nk-line);
    border-radius: 8px;
    background: #fff;
    color: var(--nk-ink);
    font-size: 16px;
}

.nk-consent .nk-input input:disabled {
    background: #f4f0ea;
}

.nk-consent .nk-dialog-note {
    margin: 8px 0 0 !important;
    text-align: left !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.nk-consent-places > p.nk-consent-cookie-note {
    font-size: 13px !important;
    font-style: italic;
}

/* ---------- "Obavijesti o novim osmrtnicama" prompt ---------- */

.nk-subscribe .nk-dialog-icon {
    text-align: left !important;
}

.nk-subscribe-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
}

.nk-subscribe-options:empty {
    display: none;
}

.nk-subscribe-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 6px 14px;
    border: 1px solid var(--nk-line);
    border-radius: 999px;
    background: #fff;
    color: var(--nk-ink);
    font-size: 15px;
}

.nk-subscribe-option .fa {
    visibility: hidden;
}

.nk-subscribe-option[aria-pressed="true"] {
    border-color: var(--nk-brown);
    background: var(--nk-brown);
    color: #fff;
}

.nk-subscribe-option[aria-pressed="true"] .fa {
    visibility: visible;
}

.nk-subscribe-option:focus-visible {
    outline: 2px solid var(--nk-brown-dark);
    outline-offset: 2px;
}

.nk-subscribe .nk-input input {
    width: 100%;
    height: 46px;
    padding: 0 14px 0 42px;
    border: 1px solid var(--nk-line);
    border-radius: 8px;
    background: #fff;
    color: var(--nk-ink);
    font-size: 16px;
}

.nk-subscribe-label {
    display: block;
    margin: 14px 0 6px;
    color: var(--nk-ink);
    font-size: 15px;
    font-weight: 600;
}

.nk-subscribe .nk-subscribe-message {
    min-height: 0;
    margin: 10px 0 0;
    color: var(--nk-ink) !important;
    font-size: 15px;
}

.nk-subscribe .nk-subscribe-message:empty {
    display: none;
}

.nk-subscribe .nk-subscribe-message.is-error {
    color: #a12a1f !important;
}

/* after subscribing: only the message and "Zatvori" */
.nk-subscribe-form.is-done .nk-consent-places,
.nk-subscribe-form.is-done .nk-subscribe-label,
.nk-subscribe-form.is-done > .nk-input,
.nk-subscribe-form.is-done [type="submit"],
.nk-subscribe-form.is-done .nk-dialog-note {
    display: none;
}
