﻿.nhf-panel {
    font: 400 12px var(--font5, monospace);
    color: var(--text, inherit);
    background: rgb(var(--pun-light));
    border-radius: 4px;
    padding: 14px 16px;
    margin: 10px 0;
}

.nhf-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.nhf-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.nhf-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 180px;
    min-width: 160px;
    position: relative;
}

.nhf-field label {
    font-size: 10px;
    text-transform: uppercase;
    opacity: .7;
}

.nhf-dim {
    text-transform: none;
    opacity: .7;
}

.nhf-input {
    font: 400 12px var(--font5, monospace);
    background: rgba(var(--acc7), .12);
    border: 1px solid rgba(var(--acc7), .4);
    border-radius: 3px;
    color: var(--text, inherit);
    padding: 6px 8px;
}

.nhf-input:focus {
    outline: none;
    border-color: rgb(var(--acc8));
}

.nhf-hint {
    font-size: 10px;
    color: #5a9e6f;
}

.nhf-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.nhf-btn {
    font: 400 10px var(--font5, monospace);
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    background: rgba(var(--acc7), .5);
    color: var(--text, inherit);
}

.nhf-btn:hover {
    background: rgba(var(--acc7), .7);
}

.nhf-btn-primary {
    background: rgba(var(--acc8), .8);
    color: #fff;
}

.nhf-btn-primary:hover {
    background: rgb(var(--acc8));
}

.nhf-status {
    font-size: 11px;
    opacity: .8;
}

.nhf-status-error {
    color: #e53e3e;
    opacity: 1;
}

.nhf-result {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(var(--acc7), .3);
}

.nhf-code {
    margin: 8px 0 0;
    padding: 8px 10px;
    background: rgba(var(--acc7), .12);
    border-radius: 3px;
    font: 400 11px/1.5 var(--font5, monospace);
    white-space: pre-wrap;
    word-break: break-word;
}

.nhf-fandom-ac {
    position: fixed;
    z-index: 50;
    background: rgb(var(--pun-light));
    border: 1px solid rgba(var(--acc7), .5);
    border-radius: 3px;
    max-height: 180px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}

.nhf-ac-item {
    padding: 6px 10px;
    font-size: 11px;
    cursor: pointer;
}

.nhf-ac-item:hover {
    background: rgba(var(--acc7), .3);
}
