.common-search-section {
    padding: 0;
    position: relative;
    margin-top: -40px;
    z-index: 20;
}

.common-search-wrapper {
    max-width: 800px;
    /* margin: 0 auto; */
    /* padding: 20px 0; */
}

.common-search-bar {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    padding: 16px 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.common-search-bar:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.common-search-bar:focus-within {
    box-shadow: 0 15px 50px rgba(63, 58, 125, 0.2);
}

.search-icon {
    font-size: 20px;
    color: #9CA3AF;
    margin-right: 12px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #1F2937;
    font-family: "Inter-Regular", sans-serif;
    background: transparent;
}

.search-input::placeholder {
    color: #9CA3AF;
}

@media screen and (max-width: 991px) {
    .common-search-section {
        margin-top: -30px;
    }

    .common-search-wrapper {
        padding: 15px 20px;
    }

    .common-search-bar {
        padding: 12px 10px;
    }

    .search-input {
        font-size: 14px;
    }
}

/* Search Dropdown Styles */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    /* border-radius: 12px; */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-top: 12px;
    z-index: 50;
    overflow: hidden;
    text-align: left;
    max-height: 400px;
    overflow-y: auto;
    max-width: 750px;
    margin: auto;
    margin-top: 1px;
}

.search-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-results-list li {
    border-bottom: 1px solid #f3f4f6;
}

.search-results-list li:last-child {
    border-bottom: none;
}

.search-result-item {
    display: block;
    padding: 12px 24px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.search-result-item:hover {
    background-color: #f9fafb;
}

.search-result-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-result-title {
    font-family: "Inter-Medium", sans-serif;
    font-size: 16px;
    color: #1f2937;
}

.search-result-type {
    font-family: "Inter-Regular", sans-serif;
    font-size: 13px;
    color: #6b7280;
}

.view-all-results {
    padding: 12px 24px;
    background-color: #f9fafb;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

.view-all-link {
    font-family: "Inter-Medium", sans-serif;
    font-size: 14px;
    color: #352d74;
    text-decoration: none;
}

.view-all-link:hover {
    text-decoration: underline;
}

.no-results {
    padding: 24px;
    text-align: center;
    color: #6b7280;
    font-family: "Inter-Regular", sans-serif;
    font-size: 15px;
}

/* Search Drawer Styles */
.search-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.search-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 3001;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.search-drawer-overlay.open .search-drawer {
    right: 0;
}

.drawer-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.drawer-search-bar {
    display: flex;
    align-items: center;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 8px 12px;
}

.drawer-close-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #6b7280;
    padding: 0 5px;
    cursor: pointer;
}

.drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.drawer-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.drawer-results-list li {
    border-bottom: 1px solid #f3f4f6;
}/* Search Page Styles */
.search-results-page {
    padding: 60px 0;
    min-height: 60vh;
    background-color: #f9fafb;
}

.search-results-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-results-header {
    text-align: center;
    margin-bottom: 40px;
}

.search-results-title {
    font-family: "Inter-SemiBold", sans-serif;
    font-size: 32px;
    color: #1f2937;
    margin-bottom: 10px;
}

.search-term-highlight {
    color: #352D74;
}

.search-results-count {
    font-family: "Inter-Regular", sans-serif;
    font-size: 16px;
    color: #6b7280;
}

.search-results-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-page-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e5e7eb;
    display: block;
    text-decoration: none;
}

.search-page-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    border-color: #352D74;
}

.item-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-main {
    flex: 1;
}

.item-title {
    font-family: "Inter-SemiBold", sans-serif;
    font-size: 20px;
    color: #1f2937;
    margin-bottom: 6px;
}

.item-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-family: "Inter-Medium", sans-serif;
    font-size: 12px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-doctor {
    background-color: #e0e7ff;
    color: #352D74;
}

.badge-specialty {
    background-color: #ecfdf5;
    color: #047857;
}

.item-subtitle {
    font-family: "Inter-Regular", sans-serif;
    font-size: 15px;
    color: #4b5563;
}

.item-arrow {
    color: #9ca3af;
    font-size: 20px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.search-page-item:hover .item-arrow {
    color: #352D74;
    transform: translateX(4px);
}

.no-results-found {
    text-align: center;
    padding: 60px 0;
    color: #6b7280;
    font-family: "Inter-Regular", sans-serif;
    font-size: 18px;
}

.back-search-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 24px;
    background-color: #352D74;
    color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    font-family: "Inter-Medium", sans-serif;
    transition: background-color 0.2s ease;
}

.back-search-btn:hover {
    background-color: #2a2456;
}