/* Header module search */
.erp-header-center {
    padding: 0 0.5rem;
}

.erp-search-wrap {
    position: relative;
    width: 100%;
}

.erp-search-wrap .erp-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.65);
    pointer-events: none;
}

.erp-search-input {
    width: 100%;
    height: 40px;
    padding: 0 14px 0 38px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    outline: none;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.erp-search-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.erp-search-input:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
}

.erp-search-input:focus {
    background: #fff;
    color: #1e293b;
    border-color: #fff;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.18);
}

.erp-search-input:focus::placeholder {
    color: #94a3b8;
}

.erp-search-wrap:focus-within .erp-search-icon {
    color: #64748b;
}

.erp-search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1200;
    max-height: 320px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
    padding: 6px;
}

.erp-search-results__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

.erp-search-results__item:hover,
.erp-search-results__item.is-active {
    background: #eff6ff;
}

.erp-search-results__title {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
}

.erp-search-results__meta {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.erp-search-results__empty {
    padding: 14px 12px;
    font-size: 13px;
    color: #64748b;
    text-align: center;
}
