/* Styles for the MedPro AJAX search form - v1.0 */
.medpro-ajax-search-wrap {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    /* Debug border to confirm CSS is loading */
    /* border: 2px solid #00f; */
}

.medpro-search-input-container {
    display: flex;
    align-items: center;
    position: relative;
    border: 1px solid #DBDBDB; /* Changed to blue to make it obvious when loaded */
    border-radius: 4px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.medpro-ajax-search-input {
    flex-grow: 1;
    height: 40px;
    padding: 8px 12px;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
    background: transparent;
    width: calc(100% - 40px);
}

.medpro-search-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF; /* Light blue background to make it obvious */
    border: none;
    border-left: 1px solid #DBDBDB;
    cursor: pointer;
    padding: 0;
    color: #333;
    transition: all 0.2s;
}

.medpro-search-button:hover {
    background-color: #fff;
    color: #222;
}

.medpro-ajax-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-height: 500px;
    overflow-y: auto;
}

/* Results styling */
.medpro-search-result {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
}

.medpro-search-result:hover {
    background-color: #f9f9f9;
}

.medpro-search-result-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.medpro-search-result-breadcrumb {
    font-size: 12px;
    color: #666;
}

/* Responsive styles */
@media (max-width: 768px) {
    .medpro-ajax-search-wrap {
        width: 100%;
    }
}

/* Match the screenshot styling */
.medpro-search-input-container {
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.medpro-ajax-search-input {
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.medpro-search-button svg {
    color: #777;
}
.medpro-ajax-search-breadcrumb {
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #666;
  margin-top: 2px;
  margin-left: 24px;
  font-style: italic;
}
.medpro-ajax-search-suggestion1 {
    color: #222;
    text-decoration: none;
    font-size: 1rem;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
    margin: 10px 0px 0px 0px;
}
.medpro-ajax-search-title {
     font-weight: 500;
    display: block;
    margin: 0px 0px 0px 14px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 9px;
    padding-top: 15px;
}
.medpro-ajax-search-breadcrumb-sep {
  color: #bbb;
  font-size: 15px;
  margin: 0 2px;
}
.medpro-ajax-search-breadcrumb-trail {
  color: #444;
  font-weight: 500;
  font-style: normal;
}
.medpro-ajax-search-type {
  color: #1976d2;
  font-weight: 600;
  margin-right: 4px;
  font-size: 14px;
}
.medpro-ajax-search-suggestion {
  display: block;
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: #222;
}
.medpro-ajax-search-suggestion:hover {
  background: #f5f5f5;
}
.medpro-ajax-search-title {
  font-weight: 500;
  display: block;
}
.medpro-ajax-search-breadcrumb {
      font-size: 12px;
    color: #888;
    margin-top: 2px;
    margin-left: 24px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}
.medpro-ajax-search-results{
    text-align: left;
}
.search-arrow {
    color: #bbb;
    font-size: 37px;
    margin-left: 1.2rem;
    display: flex;
    align-items: center;
    margin-right: 17px;
    float: right;
    margin-top: -39px;
}
span.menu-item-icon.material-icons-outlined {
    font-size: 22px !important;
    margin-right: 8px;
}
ul.menu-modal-list {
    padding: 3px 23px 23px 23px !important;
}
.menu-modal-title {
    text-align: left;
}