.docdoc-wrap { font-family: Arial, sans-serif; }
.docdoc-card {
    display: flex; gap: 16px; border: 1px solid #ddd; padding: 16px;
    margin-bottom: 20px; background: #f9f9f9; border-radius: 6px;
}
.docdoc-avatar { width: 100px; height: 100px; object-fit: cover; border-radius: 50%; flex-shrink: 0; }
.docdoc-avatar-lg { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; margin-right: 24px; }
.docdoc-doctor-header { display: flex; align-items: flex-start; gap: 24px; margin-bottom: 24px; }
.docdoc-card-body { flex: 1; }
.docdoc-card-body h3 { margin: 0 0 8px; }
.docdoc-card-body h3 a { color: #336699; text-decoration: none; }
.docdoc-card-body p { margin: 4px 0; }
.docdoc-badge { background: #336699; color: #fff; padding: 2px 8px; border-radius: 12px; font-size: 0.8em; }
.docdoc-clinic { font-size: 0.85em; color: #555; }
.docdoc-btn { cursor: pointer; padding: 8px 18px; border: none; border-radius: 4px; font-size: 1em; transition: background 0.2s; }
.docdoc-btn-primary { background: #336699; color: #fff; margin-top: 10px; }
.docdoc-btn-primary:hover { background: #244f7a; }
.docdoc-search-box { margin-bottom: 16px; }
.docdoc-search-box input[type=search], .docdoc-search-box input[type=text] {
    height: 44px; padding: 0 12px; font-size: 1em; width: 70%; max-width: 500px;
    border: 1px solid #ccc; border-radius: 4px 0 0 4px;
}
.docdoc-search-box button { height: 44px; border-radius: 0 4px 4px 0; }
.docdoc-autocomplete { display: inline-block; position: relative; width: 70%; max-width: 500px; }
.docdoc-autocomplete input { width: 100%; box-sizing: border-box; }
.docdoc-autocomplete-items {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
    background: #fff; border: 1px solid #d4d4d4;
}
.docdoc-autocomplete-items div { padding: 10px; cursor: pointer; border-bottom: 1px solid #eee; }
.docdoc-autocomplete-items div:hover { background: #e9e9e9; }
.docdoc-pagination { display: flex; flex-wrap: wrap; gap: 4px; margin: 16px 0; }
.docdoc-pagination a {
    display: block; width: 28px; text-align: center; padding: 4px;
    border: 1px solid #336699; text-decoration: none; color: #336699;
}
.docdoc-pagination a[href] { background: #336699; color: #fff; }
.docdoc-pagination a:hover { background: #244f7a; color: #fff; }
.docdoc-spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.docdoc-spec-item { border: 1px solid #ddd; padding: 12px; border-radius: 4px; }
.docdoc-spec-item a { text-decoration: none; color: #333; }
.docdoc-spec-item a:hover strong { color: #336699; }
.docdoc-spec-item span { display: block; font-size: 0.8em; color: #777; margin-top: 4px; }
.docdoc-review { border-left: 3px solid #336699; padding: 10px 14px; margin-bottom: 14px; }
.docdoc-stars { color: #f5a623; margin: 0 6px; }
.docdoc-review-date { font-size: 0.8em; color: #999; }
.docdoc-error { color: #993333; }
.docdoc-back { margin: 0 0 12px; }
.docdoc-back a { color: #336699; text-decoration: none; }
.docdoc-back a:hover { text-decoration: underline; }
.docdoc-wysiwyg ul { list-style: disc; padding-left: 1.25em; margin: 0.5em 0; }
.docdoc-wysiwyg li { margin: 0.25em 0; }
.docdoc-wysiwyg p { margin: 0.5em 0; }
.docdoc-modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); justify-content: center; align-items: center;
    z-index: 9999; backdrop-filter: blur(4px);
}
.docdoc-modal-overlay.active { display: flex; }
.docdoc-modal {
    background: #fff; padding: 28px; border-radius: 8px; width: 90%; max-width: 480px;
    animation: docdocFadeIn 0.25s ease;
}
@keyframes docdocFadeIn { from { opacity:0; transform: scale(0.95); } to { opacity:1; transform: scale(1); } }
.docdoc-modal h2 { margin: 0 0 16px; }
.docdoc-modal form { display: flex; flex-direction: column; gap: 10px; }
.docdoc-modal label { display: flex; flex-direction: column; font-size: 0.9em; }
.docdoc-modal input[type=text], .docdoc-modal input[type=tel] {
    padding: 8px; border: 1px solid #ccc; border-radius: 4px; font-size: 1em; margin-top: 4px;
}
.docdoc-modal input[type=submit] {
    background: #336699; color: #fff; border: none; padding: 10px; border-radius: 4px;
    font-size: 1.1em; cursor: pointer;
}
.docdoc-modal input[type=submit]:hover { background: #244f7a; }
.docdoc-modal button#docdoc-modal-close {
    margin-top: 8px; background: #993333; color: #fff; border: none; width: 100%;
    padding: 8px; border-radius: 4px; cursor: pointer;
}
@media (max-width: 600px) {
    .docdoc-card { flex-direction: column; }
    .docdoc-doctor-header { flex-direction: column; }
    .docdoc-search-box input[type=search] { width: 100%; border-radius: 4px; }
    .docdoc-search-box button { width: 100%; margin-top: 6px; border-radius: 4px; }
    .docdoc-autocomplete { width: 100%; }
}
