.mp-search-topbar-wrap {
    background: #f1f3f5;
    border-top: 1px solid rgba(17, 24, 39, .06);
    border-bottom: 1px solid rgba(17, 24, 39, .08);
}
.mp-search-page {
    background: #f4f6f7;
    padding: 18px 0 34px;
}

.mp-search-topbar {
    padding: 10px 0;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
}
.mp-filter-btn {
    border: 0;
    background: transparent;
    font-weight: 600;
    padding: 6px 0;
    font-size: 14px;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    color: #374151;
    text-decoration: none;
    transition: color .15s;
    white-space: nowrap;
}
.mp-filter-btn:hover { color: #111827; }
.mp-filter-btn i { font-size: 13px; color: #6b7280; }
.mp-filter-btn .fa-chevron-down { font-size: 9px; color: #9ca3af; margin-left: 1px; }
.mp-filter-btn.is-active { color: #0f6b5f; }
.mp-filter-btn.is-active i { color: #0f6b5f; }
.mp-filter-btn--disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.mp-search-title {
    font-weight: 900;
    color: #111827;
    margin: 14px 0 10px;
    font-size: 16px;
}

.mp-expertise-banner {
    background: #0f6b5f;
    border-radius: 10px;
    padding: 14px 18px;
    padding-right: 50px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    position: relative;
}
.mp-expertise-banner-text {
    font-weight: 700;
    font-size: 14px;
}
.mp-expertise-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.mp-expertise-chip {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.55);
    border-radius: 999px;
    font-weight: 600;
    padding: 6px 14px;
    font-size: 13px;
    text-decoration: none;
    transition: all .15s;
}
.mp-expertise-chip:hover { background: rgba(255,255,255,.15); color: #fff; border-color: #fff; }
.mp-expertise-chip.is-more {
    background: transparent;
    color: #fff;
    border: 0;
    font-weight: 700;
    padding: 6px 4px;
}
.mp-expertise-chip.is-more:hover { text-decoration: underline; }
.mp-expertise-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.4);
    background: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    aspect-ratio: 1/1;
    flex-shrink: 0;
    line-height: 1;
}
.mp-expertise-close:hover { background: rgba(255,255,255,.15); }

.mp-search-card {
    background: #fff;
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 10px 28px rgba(0,0,0,.05);
}
.mp-doc-card {
    border: 1px solid rgba(17, 24, 39, .06);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.mp-doc-card-inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 0;
    align-items: start;
}
.mp-doc-left {
    padding: 16px;
}
.mp-doc-right {
    border-left: 1px solid rgba(17, 24, 39, .06);
    background: #fff;
    padding: 16px 16px 12px;
    position: relative;
}
.mp-doc-row {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 14px;
    align-items: start;
}
.mp-doc-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #eef2f7;
    overflow: hidden;
    border: 2px solid rgba(17, 24, 39, .06);
    display: grid;
    place-items: center;
}
.mp-doc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #eef2f7;
}
.mp-doc-name {
    font-weight: 800;
    color: #111827;
    margin: 0;
    font-size: 15px;
    line-height: 1.3;
}
.mp-doc-sub {
    margin: 3px 0 6px;
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
}
.mp-doc-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    color: #6b7280;
    font-size: 12.5px;
    font-weight: 600;
}
.mp-doc-stars {
    display: inline-flex;
    gap: 1px;
    align-items: center;
}
.mp-doc-stars i {
    color: #f59e0b;
    font-size: 12px;
}

.mp-doc-tabs {
    display: inline-flex;
    gap: 0;
    align-items: stretch;
    margin-top: 14px;
    border-bottom: 1px solid rgba(17,24,39,.08);
}
.mp-doc-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #9ca3af;
    white-space: nowrap;
    padding: 6px 14px 8px;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all .15s;
    margin-bottom: -1px;
    background: none;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.mp-doc-tab:hover { color: #374151; }
.mp-doc-tab i { font-size: 12px; }
.mp-doc-tab.is-active {
    color: #111827;
    border-bottom-color: #0f6b5f;
    font-weight: 700;
}
.mp-doc-tab.is-active i { color: #0f6b5f; }
.mp-doc-tab.is-online-tab i { color: #6b7280; }
.mp-doc-tab.is-online-tab.is-active i { color: #0f6b5f; }

.mp-doc-address {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    margin-top: 10px;
}
.mp-doc-address i { color: #0f6b5f; font-size: 12px; }
.mp-doc-address a {
    color: #0f6b5f;
    font-weight: 600;
    text-decoration: none;
}
.mp-doc-address a:hover { text-decoration: underline; }

/* Takvim: ilk N satır kırpılır; "Daha fazla" ile aşağı doğru genişler */
.mp-doc-calendar .mp-doc-day-slots {
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.mp-doc-calendar.has-slots-collapsed:not(.is-slots-expanded) .mp-doc-day-slots {
    max-height: calc(4 * (34px + 10px));
}
.mp-doc-calendar.is-slots-expanded .mp-doc-day-slots {
    max-height: 1200px;
}
.mp-doc-slots-toggle {
    font-weight: 900;
    color: #0f6b5f !important;
    font-size: 12.5px;
}
.mp-doc-slots-toggle:hover {
    color: #0c564d !important;
}

.mp-doc-days {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    align-items: start;
    position: relative;
    z-index: 1;
}
.mp-doc-day {
    min-width: 0;
    text-align: center;
}
.mp-doc-day .day-title {
    font-weight: 700;
    color: #111827;
    font-size: 12.5px;
    line-height: 1.1;
    margin-bottom: 2px;
}
.mp-doc-day .day-sub {
    font-weight: 600;
    color: #9ca3af;
    font-size: 11px;
    margin-bottom: 8px;
}
.mp-time-pill {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(15, 107, 95, .2);
    background: rgba(15, 107, 95, .06);
    color: #0f6b5f;
    font-weight: 700;
    font-size: 13px;
    height: 34px;
    margin-bottom: 8px;
    transition: background-color .15s ease, border-color .15s ease;
}
.mp-time-pill:hover { background: rgba(15,107,95,.12); border-color: #0f6b5f; }
.mp-time-pill.muted {
    background: transparent;
    color: rgba(17,24,39,.3);
    border-color: rgba(17,24,39,.06);
}
.mp-time-pill.is-past {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}
.mp-doc-more {
    margin-top: 4px;
    padding-top: 10px;
    text-align: center;
    font-weight: 700;
    color: #0f6b5f;
    font-size: 13px;
    position: relative;
    z-index: 1;
}
.mp-doc-more a { color: inherit; text-decoration: none; }
.mp-doc-more a:hover { text-decoration: underline; }
.mp-doc-more a i { font-size: 10px; margin-left: 2px; }

@media (max-width: 991.98px) {
    .mp-doc-card-inner {
        grid-template-columns: 1fr;
    }
    .mp-doc-right {
        border-left: 0;
        border-top: 1px solid rgba(17, 24, 39, .08);
    }
}

.mp-map-card {
    background: #f4f6f7;
    border: 1px solid rgba(17, 24, 39, .06);
    border-radius: 12px;
    min-height: 560px;
    position: sticky;
    top: 18px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.mp-map-expand {
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(17,24,39,.1);
    color: #0f6b5f;
    font-weight: 600;
    padding: 8px 14px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    transition: all .15s;
}
.mp-map-expand:hover { background: #f0faf8; border-color: #0f6b5f; }
#mp-search-map {
    width: 100%;
    height: 100%;
    min-height: 560px;
}
.mp-map-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 560px;
    color: #6b7280;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    padding: 20px;
}
.mp-leaflet-pin { background: none; border: none; }

@media (max-width: 991.98px) {
    .mp-map-card {
        position: relative;
        top: 0;
        min-height: 350px;
    }
    #mp-search-map {
        min-height: 350px;
    }
}

/* Split map modal */
#mp-map-split-modal .modal-dialog {
    max-width: calc(100vw - 40px);
    width: 100%;
    margin: 20px auto;
    height: calc(100vh - 40px);
}
#mp-map-split-modal .modal-content {
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    border: 0;
    box-shadow: 0 25px 60px rgba(0,0,0,.2);
}
#mp-map-split-modal .modal-body {
    display: flex;
    padding: 0;
    height: 100%;
    overflow: hidden;
}
.mp-map-split-left {
    width: 420px;
    min-width: 360px;
    max-width: 480px;
    height: 100%;
    overflow-y: auto;
    background: #fff;
    border-right: 1px solid rgba(17,24,39,.08);
    flex-shrink: 0;
}
.mp-map-split-right {
    flex: 1;
    height: 100%;
    position: relative;
}
.mp-map-split-right #mp-split-map {
    width: 100%;
    height: 100%;
}
.mp-map-split-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1000;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 50%;
    border: 0;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #111827;
    cursor: pointer;
    line-height: 1;
    aspect-ratio: 1 / 1;
}
.mp-map-split-close:hover {
    background: #f3f4f6;
}

.mp-split-card {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(17,24,39,.06);
    cursor: pointer;
    transition: background .15s;
}
.mp-split-card:hover,
.mp-split-card.is-highlight {
    background: rgba(15,107,95,.05);
}
.mp-split-card-row {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 10px;
    align-items: start;
}
.mp-split-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: #eef2f7;
    border: 1px solid rgba(17,24,39,.08);
}
.mp-split-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mp-split-name {
    font-weight: 900;
    font-size: 13px;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}
.mp-split-name a { color: inherit; text-decoration: none; }
.mp-split-name a:hover { text-decoration: underline; }
.mp-split-sub {
    font-size: 12px;
    color: #6b7280;
    font-weight: 700;
    margin: 2px 0 4px;
}
.mp-split-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #6b7280;
    font-weight: 700;
}
.mp-split-addr {
    font-size: 11.5px;
    color: #6b7280;
    margin-top: 6px;
}
.mp-split-addr i { color: #0f6b5f; }
.mp-split-slots {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.mp-split-slot {
    background: rgba(15,107,95,.12);
    color: #0f6b5f;
    font-weight: 900;
    font-size: 12px;
    border-radius: 999px;
    padding: 4px 10px;
    border: 0;
}
.mp-split-next {
    font-size: 11.5px;
    color: #6b7280;
    font-weight: 700;
    margin-top: 6px;
}
.mp-split-next i { opacity: .6; }

@media (max-width: 767.98px) {
    #mp-map-split-modal .modal-dialog {
        max-width: 100vw;
        margin: 0;
        height: 100vh;
    }
    #mp-map-split-modal .modal-content {
        border-radius: 0;
    }
    #mp-map-split-modal .modal-body {
        flex-direction: column-reverse;
    }
    .mp-map-split-left {
        width: 100%;
        min-width: unset;
        max-width: unset;
        height: 45%;
    }
    .mp-map-split-right {
        height: 55%;
    }
}
