#softplug-search-form {
    margin-bottom: 20px;
    background-color: rgb(255, 255, 255);
}

/* Search Container */
.softplug-search-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    background-color: #fff;
}

.softplug-search-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}
.softplug-search-input-wrapper input {
    width: 100%;
    padding: 10px 40px; /* extra space for the icons */
    box-sizing: border-box;
}
.search-icon-start {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #000000;
    font-size: 24px;
}
.softplug-search-submit {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    border: none;
    background-color: #EB514B;
    color: #fff;
    padding: 0 15px;
    cursor: pointer;
    font-size: 16px;
}


/* Location Icon */
.location-icon {
    padding: 10px;
    color: #EB514B;
    background-color: #f9f9f9;
    border-right: 1px solid #ddd;
}

/* Input Field */
#softplug-search-input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
    font-size: 14px;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Submit Button */
#softplug-search-btn {
    background-color: #EB514B;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    color: #fff;
    transition: background 0.3s ease;
}

#softplug-search-btn:hover {
    background-color: #d13e3b;
}

/* Suggestions */
#softplug-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    border-radius: 5px;
    width: 100%;
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.suggestion-item:hover {
    background-color: #f9f9f9;
}

.suggestion-name {
    font-weight: bold;
    color: black;
    margin-bottom: 3px;
}

.suggestion-address {
    color: #aeaeae;
    font-size: 14px;
}
#softplug-search-results {
    margin: 20px auto;
    padding: 10px;
}

.result-item {
    border-bottom: 1px solid #ddd;
    padding: 15px;
}

.result-item h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
}

.result-item p {
    color: #555;
    font-size: 14px;
}
.ci-cat {
    list-style-type: none;
    padding: 0;
    margin: 5px 0;
}

.ci-cat li {
    margin-bottom: 4px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ci-cat li span {
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}
.rich-content h1 {
    font-size: 1.875rem !important;
    line-height: 2.25rem !important;
    margin-bottom: 1rem !important;
    font-family: Poppins, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji" !important;
    font-weight: 700 !important;
    color: rgb(225 84 99) !important; /* Adjusted color */
    letter-spacing: 0px !important;
}

.rich-content-doc h1 {
    font-size: 1.875rem !important;
    line-height: 2.25rem !important;
    font-family: Poppins, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji" !important;
    font-weight: 700 !important;
    color: rgb(225 84 99) !important; /* Adjusted color */
    letter-spacing: 0px !important;
}


.rich-content p {
    font-size: 1rem;
    line-height: 1.5rem;
    margin-bottom: -4rem;
    font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
    color: #333; /* Darker text for better readability */
}


/* Pagination Items (Numbers and Arrows) */
.pagination-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Fixed width for all items */
    height: 40px; /* Fixed height for all items */
    padding: 8px; /* Equal padding */
    font-size: 16px;
    font-weight: 500;
    border: 1px solid #d1d5db; /* Gray border */
    background-color: white;
    color: #374151; /* Gray text */
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    margin-top: 50px;
}

/* Active Page */
.pagination-active {
    background-color: #EB514B; /* Pink background */
    border-color: #EB514B; /* Pink border */
    color: white; /* White text */
    font-weight: bold;
}

/* Hover Effect */
.pagination-item:hover,
.pagination-arrow:hover {
    background-color: #f3f4f6; /* Light gray background */
    color: #6b7280; /* Darker gray text */
}

/* Disabled Arrow */
.pagination-disabled {
    color: #9ca3af; /* Light gray text */
    cursor: not-allowed;
    background-color: #f9fafb; /* Very light gray background */
}

/* Icons */
.pagination-arrow i {
    font-size: 16px; /* Match icon size with text size */
    color: #EB514B;
}
.pagination-arrow {    
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Fixed width for all items */
    height: 40px; /* Fixed height for all items */
    padding: 8px; /* Equal padding */
    font-weight: 500;
    border: 1px solid #d1d5db; /* Gray border */
    background-color: white;
    color: #374151; /* Gray text */
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    margin-top: 50px;
}


.my-clinic-logo-link {
  display: block;
  float: left;
  width: 100%;
}
.my-clinic-logo-link .my-clinic-logo-img {
  max-width: 100%;
  width: auto;
  height: 3.5rem;
  max-height: fit-content;
}
.no-results-message {
    text-align: center;
    margin-bottom: 2rem;
}

.reset-filter-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #eb514b;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease-in-out;
}

.reset-filter-button:hover {
    background-color: #ff0000;
}