/* Property ID Search Results Styling */
.rh_prop_id_search {
    position: relative;
}

.property-id-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-width: 450px;
    background-color: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 999;
    margin-top: 2px;
    display: none;
    max-height: 400px;
    overflow-y: auto;
}

.property-id-results .searching,
.property-id-results .no-results,
.property-id-results .error {
    padding: 15px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.property-id-results .error {
    color: #e74c3c;
}

.property-id-results .property-result {
    display: flex;
    padding: 12px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.property-id-results .property-result:last-child {
    border-bottom: none;
}

.property-id-results .property-result:hover {
    background-color: #f9f9f9;
}

.property-id-results .property-thumb {
    flex: 0 0 80px;
    margin-right: 15px;
}

.property-id-results .property-thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.property-id-results .property-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.property-id-results .property-info h4 {
    margin: 0 0 5px;
    font-size: 16px;
    color: #003087;
    font-weight: 500;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.property-id-results .property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 5px;
    font-size: 13px;
    color: #666;
}

.property-id-results .property-status {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 20px;
    background-color: #003087;
    color: #fff;
    display: inline-block;
    align-self: flex-start;
}

/* Style adjustments for mobile */
@media (max-width: 768px) {
    .property-id-results {
        max-width: 100%;
    }
}
