.jdh-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    font-family: inherit;
}

/* --- Filter bar --- */
.jdh-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.jdh-search-input,
.jdh-select {
    padding: 10px 14px;
    border: 1px solid #d5dbe0;
    border-radius: 6px;
    font-size: 14px;
}

.jdh-search-input {
    flex: 1 1 240px;
}

.jdh-select {
    flex: 0 0 220px;
    background: #fff;
}

.jdh-btn {
    padding: 10px 22px;
    background: #5c6e4f;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease;
}

.jdh-btn:hover {
    background: #4b5a41;
}

/* --- Grid & Card --- */
.jdh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.jdh-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid #e7e9e2;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jdh-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Avatar inisial */
.jdh-card-top {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
}

.jdh-avatar {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #dfe3d0;
    color: #4c5a3f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 17px;
    overflow: hidden;
}

.jdh-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jdh-avatar-lg {
    flex: 0 0 84px;
    width: 84px;
    height: 84px;
    font-size: 24px;
}

.jdh-card-heading {
    flex: 1;
    min-width: 0;
}

.jdh-card-name {
    margin: 0 0 3px;
    font-size: 16.5px;
    font-weight: 700;
    color: #1b2430;
}

.jdh-card-spesialisasi {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 600;
    color: #6d8459;
}

.jdh-card-pengalaman {
    margin: 0;
    font-size: 12.5px;
    color: #838a80;
    display: flex;
    align-items: center;
    gap: 5px;
}

.jdh-card-pengalaman svg {
    flex-shrink: 0;
    opacity: 0.8;
}

/* Kotak jadwal di card */
.jdh-jadwal-box {
    background: #f4f5ef;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 14px;
}

.jdh-jadwal-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 13px;
    color: #3d4438;
    border-bottom: 1px solid #e7e9e0;
}

.jdh-jadwal-row:last-child {
    border-bottom: none;
}

.jdh-jadwal-hari {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    padding-top: 2px;
}

.jdh-jadwal-hari svg {
    opacity: 0.65;
    flex-shrink: 0;
}

.jdh-jadwal-jam-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;
}

.jdh-jadwal-jam-list li {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    white-space: nowrap;
    line-height: 1.6;
}

.jdh-jadwal-jam-list li svg {
    opacity: 0.65;
    flex-shrink: 0;
}

/* Badge status */
.jdh-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.jdh-badge-tersedia {
    background: #e3efd9;
    color: #4c7031;
}

.jdh-badge-terbatas {
    background: #fbe4e0;
    color: #b0432a;
}

/* Tombol aksi */
.jdh-card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.jdh-btn-profil,
.jdh-btn-jadwal {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.jdh-btn-profil {
    background: #5c6e4f;
    color: #fff;
}

.jdh-btn-profil:hover {
    opacity: 0.9;
    color: #fff;
}

.jdh-btn-jadwal {
    background: #fff;
    color: #3d4438;
    border: 1px solid #d7dad0;
}

.jdh-btn-jadwal:hover {
    background: #f4f5ef;
}

.jdh-no-result {
    text-align: center;
    padding: 40px 0;
    color: #6b7684;
    grid-column: 1 / -1;
}

@media (max-width: 480px) {
    .jdh-filter-bar {
        flex-direction: column;
    }
    .jdh-select,
    .jdh-search-input {
        flex: 1 1 auto;
    }
}

/* ============================= */
/* --- Halaman Single Dokter --- */
/* ============================= */
.jdh-single-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.jdh-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #838a80;
    margin-bottom: 16px;
}

.jdh-breadcrumb a {
    color: #838a80;
    text-decoration: none;
}

.jdh-breadcrumb a:hover {
    text-decoration: underline;
}

.jdh-breadcrumb span {
    color: #3d4438;
    font-weight: 600;
}

.jdh-breadcrumb svg {
    opacity: 0.6;
}

.jdh-single-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 8px;
    color: #1b2430;
}

.jdh-single-subtitle {
    font-size: 15px;
    color: #6d8459;
    font-weight: 600;
    margin: 0 0 28px;
}

.jdh-single-columns {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
    align-items: start;
}

.jdh-panel {
    background: #fff;
    border: 1px solid #e7e9e2;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 16px;
}

.jdh-single-header {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.jdh-single-name {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    color: #1b2430;
}

.jdh-single-spesialisasi {
    margin: 0 0 4px;
    font-size: 13.5px;
    font-weight: 600;
    color: #6d8459;
}

.jdh-single-pengalaman {
    margin: 0;
    font-size: 13px;
    color: #838a80;
    display: flex;
    align-items: center;
    gap: 5px;
}

.jdh-single-section-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1b2430;
}

.jdh-single-profil-text {
    font-size: 14px;
    line-height: 1.7;
    color: #4a5563;
    margin: 0 0 16px;
}

.jdh-single-sip {
    font-size: 12.5px;
    color: #9299a3;
    margin: 0;
}

.jdh-single-jadwal-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 16px;
    color: #1b2430;
}

.jdh-jadwal-praktik-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    background: #f4f5ef;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 8px;
    font-size: 14px;
}

.jdh-jadwal-praktik-row.jdh-single-hari-ini {
    background: #eaf2e2;
    box-shadow: inset 0 0 0 1px #cfe0bd;
}

.jdh-jadwal-praktik-hari {
    font-weight: 700;
    color: #1b2430;
    padding-top: 1px;
    white-space: nowrap;
}

.jdh-jadwal-praktik-jam-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;
}

.jdh-jadwal-praktik-jam-list li {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    color: #4a5563;
    line-height: 1.7;
    white-space: nowrap;
}

.jdh-jadwal-praktik-jam-list li svg {
    opacity: 0.65;
    flex-shrink: 0;
}

.jdh-single-note {
    font-size: 12px;
    color: #9299a3;
    margin: 14px 0 0;
    line-height: 1.5;
}

.jdh-btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25a244;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14.5px;
    padding: 14px 20px;
    border-radius: 12px;
    transition: opacity 0.2s ease;
}

.jdh-btn-whatsapp:hover {
    opacity: 0.9;
    color: #fff;
}

@media (max-width: 782px) {
    .jdh-single-columns {
        grid-template-columns: 1fr;
    }
    .jdh-single-title {
        font-size: 24px;
    }
}
