/*<meta />*/

/* ---- Available Fields filter toolbar ---- */
#fields-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    margin: 24px 0;
    background: var(--ix-bg, #F7F8FA);
    border: 1px solid var(--ix-line, #E5E7EB);
    border-radius: var(--radius, 4px);
}

#fields-search {
    flex: 1 1 220px;
    height: 36px;
    padding: 0 12px;
    font-family: inherit;
    font-size: 14px;
    color: var(--ix-ink, #1F2937);
    background: #fff;
    border: 1px solid var(--ix-line, #E5E7EB);
    border-radius: var(--radius, 4px);
    outline: none;
}
#fields-search:focus {
    border-color: var(--ix-primary, #8796DD);
    box-shadow: 0 0 0 2px rgba(135, 150, 221, 0.25);
}
#fields-search::placeholder { color: var(--ix-muted, #6B7280); }

#fields-section,
#fields-category {
    flex: 0 1 200px;
    height: 36px;
    padding: 0 10px;
    font-family: inherit;
    font-size: 14px;
    color: var(--ix-ink, #1F2937);
    background: #fff;
    border: 1px solid var(--ix-line, #E5E7EB);
    border-radius: var(--radius, 4px);
    outline: none;
    cursor: pointer;
}
#fields-section:focus,
#fields-category:focus {
    border-color: var(--ix-primary, #8796DD);
    box-shadow: 0 0 0 2px rgba(135, 150, 221, 0.25);
}

#fields-buttons {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

#fields-export {
    height: 36px;
    padding: 0 16px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--ix-primary, #8796DD);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0px 3px 1px -2px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px rgba(0,0,0,0.12);
}
#fields-export:hover  { background: #6e7ec4; }
#fields-export:active { background: #5a69b0; }

#fields-reset {
    height: 36px;
    padding: 0 16px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
    font-size: 14px;
    font-weight: 600;
    color: var(--ix-ink, #1F2937);
    background: #fff;
    border: 1px solid var(--ix-line, #E5E7EB);
    border-radius: var(--radius, 4px);
    cursor: pointer;
    white-space: nowrap;
}
#fields-reset:hover  { background: var(--ix-bg, #F7F8FA); border-color: #c0c5ce; }
#fields-reset:active { background: #eceef2; }

/* ---- count pills ---- */
.fields-pill {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 10px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 14px;
}
#fields-count-categories {
    border: 1px solid rgba(135, 150, 221, 0.35);
    border-color: rgba(135, 150, 221, 0.3);
    background: rgba(135, 150, 221, 0.1);
    color: #27317f;
}
#fields-count-fields {
    border: 1px solid rgba(23, 162, 184, 0.30);
    border-color: rgba(23, 162, 184, 0.3);
    background: rgba(23, 162, 184, 0.1);
    color: #0d6a75;
}

/* ---- count pill row ---- */
#fields-count {
    flex-basis: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ---- no-results notice ---- */
#fields-no-results {
    padding: 20px;
    border-left: 4px solid #de6c74;
    background: #fdeaee;
    border-radius: 0 var(--radius, 4px) var(--radius, 4px) 0;
    color: var(--ix-ink, #1F2937);
    font-size: 14px;
}
