body.dl-page {
    background: #f3fbfb;
}

.dl-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 24px 40px;
}

.dl-crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: #6b7280;
}

.dl-crumb a {
    color: #0f766e;
    text-decoration: none;
}

.dl-crumb li + li:before {
    content: ">";
    margin-right: 8px;
    color: #9ca3af;
}

.dl-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.dl-filters,
.dl-main-head,
.dl-doctor {
    background: #fff;
    border: 1px solid #e7eef0;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 118, 110, 0.05);
}

.dl-filters {
    padding: 18px 16px 20px;
}

.dl-filters h2,
.dl-main-head h1,
.dl-doctor h2 {
    text-transform: none;
}

.dl-filters h2 {
    margin: 0 0 14px;
    font-size: 18px;
    color: #1e3a5f;
}

.dl-field {
    margin-bottom: 16px;
}

.dl-field label,
.dl-check-title {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1e3a5f;
}

.dl-field select,
.dl-search input,
.dl-sort select {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    color: #374151;
    font-size: 14px;
}

.dl-checks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dl-checks label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 500;
    color: #4b5563;
    font-size: 14px;
}

.dl-fee-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    color: #6b7280;
    font-size: 13px;
}

.dl-field input[type="range"] {
    width: 100%;
    accent-color: #0d9488;
}

.dl-main-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    padding: 16px 18px;
}

.dl-main-head h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
    color: #1e3a5f;
}

.dl-count {
    margin: 4px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.dl-tools {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
}

body.dl-page .dl-sort select {
    width: 100% !important;
    max-width: none !important;
    padding-right: 32px;
    white-space: nowrap;
}

.dl-search {
    position: relative;
    flex: 1;
}

.dl-search i {
    position: absolute;
    left: 12px;
    top: 13px;
    color: #9ca3af;
}

.dl-search input {
    padding-left: 34px;
}

.dl-sort {
    width: 230px;
    min-width: 230px;
    flex: 0 0 230px;
}

.dl-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

body.dl-page #Result .book_list,
body.dl-page #Result .doc-detail,
body.dl-page #Result .row,
body.dl-page #Result [class*="col-"] {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.dl-page #Result .book_list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

body.dl-page .doc-detail {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

body.dl-page .doc_list_v1,
body.dl-page .doc-detail .row > .col-sm-12 + .col-sm-12 {
    display: none !important;
}

body.dl-page .dl-doctor {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    overflow: visible;
}

body.dl-page .dl-doctor > div:first-of-type,
body.dl-page .dl-who {
    display: flex !important;
    align-items: center;
    gap: 14px;
    flex: 1 1 240px !important;
    max-width: none;
    min-width: 0;
}

.dl-avatar {
    position: relative;
    display: block;
    flex: 0 0 78px;
    width: 78px;
    height: 78px;
}

.dl-photo {
    display: block;
    width: 78px;
    height: 78px;
    overflow: hidden;
    border-radius: 50%;
    background: #e7f6f3;
}

.dl-photo img,
.dl-avatar img {
    display: block;
    width: 78px !important;
    height: 78px !important;
    max-width: none;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    float: none;
}

.dl-badge {
    position: absolute;
    left: 50%;
    bottom: -2px;
    z-index: 1;
    transform: translateX(-50%);
    padding: 1px 7px 2px;
    border-radius: 8px;
    background: #fff;
    color: #0f766e;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.4px;
    line-height: 1.3;
    box-shadow: 0 1px 3px rgba(15, 118, 110, 0.16);
}

.dl-identity {
    min-width: 0;
}

.dl-doctor h2,
.dl-degree,
.dl-meta,
.dl-place,
.dl-rate,
.dl-days,
.dl-avail-title {
    text-transform: none;
}

.dl-doctor h2 {
    margin: 0 0 2px;
    font-size: 18px;
    line-height: 1.25;
}

.dl-doctor h2 a,
.dl-spec,
.dl-hospital,
.dl-rate a {
    color: #0f766e;
    text-decoration: none;
}

.dl-spec,
.dl-hospital,
.dl-place,
.dl-meta,
.dl-rate,
.dl-rate a {
    color: #4b5563;
}

.dl-spec:hover,
.dl-hospital:hover,
.dl-rate a:hover,
.dl-doctor h2 a:hover {
    color: #0f766e;
    text-decoration: underline;
}

.dl-degree {
    margin: 0 0 2px;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
}

.dl-meta,
.dl-place,
.dl-rate {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
}

.dl-place {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.dl-place i {
    margin-top: 2px;
    color: #0f766e;
}

.dl-rate {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    font-weight: 600;
}

.dl-rate i {
    color: #f5b400;
}

body.dl-page .dl-vdiv {
    display: block;
    align-self: stretch;
    flex: 0 0 1px;
    width: 1px;
    min-height: 72px;
    margin: 4px 0;
    background: #e6eef0;
}

body.dl-page .dl-spacer {
    display: block;
    flex: 0 0 8px;
    width: 8px;
}

body.dl-page .dl-mid {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    flex: 0 0 280px;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
}

body.dl-page .dl-fee {
    display: inline-flex !important;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 8px 14px 9px;
    border: 0;
    border-radius: 12px;
    background: #f3eefe !important;
    text-align: left;
}

.dl-fee small {
    display: block;
    color: #8b7cab;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.dl-fee strong {
    color: #7c3aed;
    font-size: 22px;
    line-height: 1.15;
}

body.dl-page .dl-avail {
    width: 100%;
    max-width: 100%;
}

.dl-avail-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 2px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.dl-avail-title i {
    color: #0f766e;
    font-size: 13px;
}

.dl-days {
    margin: 0 0 6px;
    color: #0f766e;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

body.dl-page .dl-hour {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin: 0 0 6px;
    padding: 8px 12px;
    border: 0 !important;
    border-radius: 14px;
    background: #eef6fb !important;
    box-sizing: border-box;
}

.dl-hour:last-child {
    margin-bottom: 0;
}

.dl-session {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4b5563;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.dl-session .fa-sun-o {
    color: #d4a017;
}

.dl-session .fa-moon-o {
    color: #7c8ea3;
}

.dl-time {
    color: #1f2937;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

body.dl-page .dl-profile {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 156px;
    min-width: 156px;
    height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    background: #0e9a70;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    text-transform: none;
    white-space: nowrap;
    float: none !important;
    box-shadow: 0 6px 14px rgba(14, 154, 112, 0.22);
}

body.dl-page .dl-profile span {
    color: #fff !important;
}

body.dl-page .dl-profile i {
    display: inline-flex;
    align-items: center;
    width: auto;
    height: auto;
    margin: 0;
    border-radius: 0;
    background: transparent !important;
    color: #fff;
    font-size: 13px;
}

body.dl-page .dl-profile:hover {
    background: #0c8562;
    color: #fff !important;
}

.dl-card.is-hidden {
    display: none !important;
}

body.dl-page .load_more_div,
body.dl-page .pagination.bk_app_foot {
    display: none !important;
}

.dl-pages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 18px 0 4px;
}

.dl-pages a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    color: #0f766e;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.dl-pages a.is-active,
.dl-pages a:hover {
    border-color: #0e9a70;
    background: #0e9a70;
    color: #fff;
}

body.dl-page .dl-legacy {
    display: none !important;
}

@media (max-width: 991px) {
    .dl-layout {
        grid-template-columns: 1fr;
    }

    body.dl-page .dl-doctor,
    body.dl-page .dl-mid {
        display: block !important;
        width: auto;
        min-width: 0;
        max-width: none;
    }

    body.dl-page .dl-who,
    body.dl-page .dl-doctor > div:first-of-type {
        display: flex !important;
        max-width: none;
    }

    body.dl-page .dl-vdiv,
    body.dl-page .dl-spacer {
        display: none !important;
    }

    .dl-main-head,
    .dl-tools {
        display: block;
        min-width: 0;
    }

    .dl-sort,
    .dl-search {
        width: 100%;
        margin-top: 10px;
    }

    .dl-fee,
    .dl-mid,
    .dl-avail {
        text-align: left;
    }

    .dl-mid,
    body.dl-page .dl-profile {
        margin-top: 12px;
    }
}
