.nm-knowledge-zone-search {
background: #ffffff;
border-radius: 20px;
box-shadow: 0px 4px 20px 0px #d8d8d8;
padding: 24px 20px;
display: flex;
flex-direction: column;
gap: 20px;
position: relative;
width: 100%;
box-sizing: border-box;
z-index: 1020;
} .nm-knowledge-zone-search__row {
display: flex;
gap: 12px;
align-items: center;
flex-direction: column;
@media screen and (min-width: 768px) {
flex-direction: row;
}
}
.nm-knowledge-zone-search__input-wrap {
flex: 1 0 0;
position: relative;
min-width: 0;
}
.nm-knowledge-zone-search__input-wrap {
width: 100%;
@media screen and (min-width: 768px) {
width: auto;
}
} .nm-knowledge-zone-search__input {
display: block;
width: 100%;
height: 44px;
border: 1px solid #c4c4c4;
border-radius: 8px;
background: #ffffff;
padding: 0 40px 0 16px;
color: #343434;
font-family: 'DM Sans', sans-serif;
font-size: 16px;
line-height: 1.3;
box-sizing: border-box;
outline: none;
transition: border-color 0.15s ease;
}
.nm-knowledge-zone-search__input::placeholder {
color: #828282;
}
.nm-knowledge-zone-search__input:focus {
border-color: #005537;
} .nm-knowledge-zone-search__clear {
position: absolute;
top: 50%;
right: 8px;
transform: translateY(-50%);
display: flex;
align-items: center;
justify-content: center;
padding: 4px;
background: transparent;
border: none;
cursor: pointer;
line-height: 1;
transition: opacity 0.15s ease;
}
.nm-knowledge-zone-search__clear:hover {
opacity: 0.6;
}
.nm-knowledge-zone-search__clear svg {
display: block;
pointer-events: none;
} .nm-knowledge-zone-search__submit {
flex-shrink: 0;
width: 100%;
height: 44px;
background: #96ff00;
border: none;
border-radius: 104px;
color: #005537;
font-family: 'DM Sans', sans-serif;
font-size: 16px;
font-weight: 900;
letter-spacing: -0.02em;
cursor: pointer;
white-space: nowrap;
transition: opacity 0.15s ease;
@media screen and (min-width: 768px) {
width: 130px;
}
}
.nm-knowledge-zone-search__submit:hover {
opacity: 0.88;
} .nm-knowledge-zone-search__pills {
display: flex;
flex-wrap: wrap;
gap: 8px 4px;
align-items: center;
}
.nm-knowledge-zone-search__pill {
height: 24px;
padding: 4px 8px;
border: 1px solid #005537;
border-radius: 104px;
background: transparent;
color: #005537;
font-family: 'DM Sans', sans-serif;
font-size: 14px;
font-weight: 400;
letter-spacing: -0.02em;
cursor: pointer;
white-space: nowrap;
box-sizing: border-box;
line-height: 1;
transition: background-color 0.15s ease, color 0.15s ease;
}
.nm-knowledge-zone-search__pill:hover {
background: #005537;
color: #ffffff;
} .nm-knowledge-zone-search-overlay__backdrop {
display: none;
position: fixed;
left: 0;
right: 0;
background: #f8f8f8;
z-index: 1010;
}
.nm-knowledge-zone-search-overlay__backdrop.is-open {
display: block;
} .nm-knowledge-zone-search-overlay__panel {
display: none;
position: absolute;
flex-direction: column;
gap: 20px;
background: #f8f8f8;
border-radius: 20px;
padding: 20px;
box-sizing: border-box;
z-index: 1020;
min-width: 320px;
}
.nm-knowledge-zone-search-overlay__panel.is-open {
display: flex;
} .nm-knowledge-zone-search-overlay__group {
display: flex;
flex-direction: column;
gap: 12px;
}
.nm-knowledge-zone-search-overlay__group[hidden] {
display: none;
}
.nm-knowledge-zone-search-overlay__group-heading {
margin: 0;
margin-bottom: 10px;
font-family: 'DM Sans', sans-serif;
font-size: 24px;
font-weight: 900;
letter-spacing: -0.02em;
line-height: 1.05;
text-align: center;
color: #005537;
}
.nm-knowledge-zone-search-overlay__count {
margin: 0;
font-family: 'DM Sans', sans-serif;
font-size: 16px;
font-weight: 900;
letter-spacing: -0.02em;
line-height: 1.2;
color: #282828;
text-align: center;
@media screen and (min-width: 768px) {
text-align: left;
}
}
.nm-knowledge-zone-search-overlay__results {
display: flex;
flex-direction: column;
gap: 12px;
}
.nm-knowledge-zone-search-overlay__group-link {
display: block;
padding: 4px 0;
font-family: 'DM Sans', sans-serif;
font-size: 14px;
font-weight: 400;
line-height: 1.1;
color: #005537;
text-decoration: underline;
text-align: right;
transition: opacity 0.15s ease;
}
.nm-knowledge-zone-search-overlay__group-link:hover {
opacity: 0.7;
}
.nm-knowledge-zone-search-overlay__loading {
display: flex;
justify-content: center;
align-items: center;
padding: 2rem;
min-height: 220px;
}
.nm-knowledge-zone-search-overlay__loading[hidden],
.nm-knowledge-zone-search-overlay__empty[hidden] {
display: none;
}
.nm-knowledge-zone-search-overlay__spinner {
width: 2rem;
height: 2rem;
border: 3px solid #e5e7eb;
border-top-color: #005537;
border-radius: 50%;
animation: nm-kzs-spin 0.7s linear infinite;
}
@keyframes nm-kzs-spin {
to { transform: rotate(360deg); }
}
.nm-knowledge-zone-search-overlay__empty {
padding: 1.5rem;
text-align: center;
color: #828282;
font-family: 'DM Sans', sans-serif;
font-size: 0.9375rem;
}