.simco-ecu-search {
    max-width: 600px;
}

.simco-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.simco-input:focus {
    outline: none;
    border-color: #0073aa;
}

/* Skrollbar resultatboks: viser noen få treff, resten kan skrolles til */
.simco-results:not(:empty) {
    margin-top: 12px;
    max-height: 340px;
    overflow-y: auto;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    padding: 8px;
    background: #fff;
}

.simco-result {
    padding: 10px 14px;
    margin-bottom: 6px;
    border-radius: 6px;
    background: #f9f9f9;
    border-left: 4px solid #ccc;
}

.simco-result:last-child {
    margin-bottom: 0;
}

.simco-result.simco-yes {
    border-left-color: #2ecc71;
}

.simco-result.simco-no {
    border-left-color: #e74c3c;
}

.simco-result-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.simco-pn {
    font-weight: 600;
    font-family: monospace;
    font-size: 15px;
}

.simco-badge {
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

.simco-yes .simco-badge {
    background: #d4efdf;
    color: #1e8449;
}

.simco-no .simco-badge {
    background: #fadbd8;
    color: #c0392b;
}

/* Fritekst-felt (txt) under hvert delenummer */
.simco-txt {
    margin-top: 8px;
    padding-left: 2px;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}

.simco-more {
    padding: 8px 14px;
    font-size: 12px;
    color: #777;
    font-style: italic;
    text-align: center;
}

.simco-no-result {
    padding: 16px;
    text-align: center;
    background: #fef9e7;
    border-radius: 6px;
    border: 1px solid #f9e79f;
}

.simco-no-result-title {
    font-weight: 600;
    margin-top: 0;
}

.simco-no-result a {
    font-weight: 600;
}

.simco-error {
    color: #e74c3c;
}

.simco-unavailable {
    color: #888;
    font-style: italic;
}
