.wd-content-layout:has(.bjmc-map-layout){padding: 0px !important; margin : 0px !important}
.bjmc-directory {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}


.bjmc-directory-header {
    margin-bottom: 25px;
}


.bjmc-directory-header h2 {
    margin-bottom: 8px;
}

.bjmc-profile-member{
    font-size: 11px;
    background-color: #ff680324;
    font-weight: 600;
    color: #ff6803;
    border: 1px solid #ff6803;
    padding: 1px 10px 2px;
    border-radius: 100px;
}
.bjmc-directory-header p {
    margin: 0;
    color: #666;
}


.bjmc-map {
    width: 100%;
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}


.bjmc-directory-list {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}


.bjmc-physician-card {
    padding: 20px;

    border: 1px solid #ddd;

    border-radius: 12px;

    background: #fff;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.bjmc-physician-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 25px
        rgba(0, 0, 0, 0.08);
}


.bjmc-physician-card h3 {
    margin: 0 0 8px;
}


.bjmc-physician-card p {
    margin: 5px 0;
}


.bjmc-physician-card .specialty {
    font-weight: 600;
}


.bjmc-popup h3 {
    margin-top: 0;
}


@media (max-width: 900px) {

    .bjmc-directory-list {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 600px) {

    .bjmc-map {
        height: 450px;
    }


    .bjmc-directory-list {
        grid-template-columns: 1fr;
    }

}

.bjmc-map-wrapper {
    position: relative;
    width: 100%;
    min-height: 400px;
    background: #f3f6f8;
    overflow: hidden;
}

#bjmc-us-map {
    display: block;
    width: 100%;
    height: auto;
    margin: auto;
    max-width: 800px;
    min-height: 400px;
}

.bjmc-state {
    fill: #ffffff;
    stroke: #d5d8dc;
    stroke-width: 1;
    cursor: pointer;
    transition: fill 0.2s ease;
}

.bjmc-state:hover {
    fill: #f48382;
}

.bjmc-state.selected {
    fill: #f48382;
}

.bjmc-state-borders {
    fill: none;
    stroke: #c8ccd1;
    stroke-width: 1;
    pointer-events: none;
}

.bjmc-marker {
    cursor: pointer;
}

.bjmc-marker-ring {
    fill: #ffcbcb;
    stroke: oklch(51.58% 0.18321 26.511);
    stroke-width: 2;
}

.bjmc-marker-dot {
    fill: #931716;
    stroke: #931716;
    stroke-width: 2;
}

.bjmc-map-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background: #f8f7f3;
    font-size: 16px !important;
}

.bjmc-map-reset {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 20;
    border: 0;
    background: #ffffff;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
    cursor: pointer;
}

.quote-message{text-align: center; font-weight: 500;}
.justify-center{justify-content: center;}
.bjmc-profile-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 340px;
    max-height: calc(100% - 40px);
    overflow-y: auto;
    background: #ffffffd9;
    backdrop-filter: blur(10px);

    border-radius: 20px;
    border: 1px solid #e5e5e5;
    z-index: 30;
    display: none;
}

.bjmc-profile-panel.active {
    display: block;
}

.bjmc-profile-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eeeeee;
    position: relative;
    display: flex;
    gap: 10px; 
    align-items: start;
}

.bjmc-panel-close {
    position: absolute !important;
    top: 12px;
    right: 12px;
    width: 30px !important;
    min-height: 0px !important;
    height: 30px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #e0e0e0;
    font-size: 20px !important;
    cursor: pointer !important;
}

.bjmc-profile-header h3 {
    font-weight: 600;
    font-size: 16px !important;
    margin: 0px 0 2px 0px;
}

.bjmc-profile-header p {
    margin: 0;
    color: #828d98;
    font-size: 14px !important;
    font-weight: 600;
}

.bjmc-profile-avatar,
.bjmc-state-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ba2727;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    overflow: hidden;
}

.bjmc-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bjmc-profile-body {
    padding: 5px 20px;
}

.bjmc-profile-row {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    margin-bottom: 5px;
    padding: 10px 0px;
    font-size: 14px !important;
    border-bottom: 1px solid #d3d3d3;
}
.bjmc-profile-row:last-child{border-bottom: 0px;}

.bjmc-profile-row strong {
    font-size: 14px !important;
    text-transform: uppercase;
    color: #010101;
}

.bjmc-profile-row span {
    color: #5f6c7c;
    text-align: right;
}

.bjmc-physician-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 4px;
    padding: 14px;
    margin-bottom: 8px;
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    cursor: pointer;
}

.bjmc-physician-item:hover {
    background: #fff5df;
}

.bjmc-physician-item strong {
    color: #222;
}

.bjmc-physician-item span,
.bjmc-physician-item small {
    color: #777;
}

.relative-wrapper{position: relative;}
.bjmc-state {
    fill: #ffffff;
    stroke: #d5d8dc;
    stroke-width: 1;
    cursor: default;
    transition: fill 0.2s ease;
}

.bjmc-state.has-physicians {
    fill: #ffc3c3;
}

.bjmc-state-borders {
    fill: none;
    stroke: #c8ccd1;
    stroke-width: 1;
    pointer-events: none;
}

#bjmc-marker-tooltip {
    position: fixed;
    z-index: 99999;
    display: none;

    pointer-events: none;

    background: #ffffffd9;
    backdrop-filter: blur(3px);
    border: 1px solid #e5e5e5;
    border-radius: 16px;

    padding: 15px 16px;
    min-width: 170px;

    font-family: Arial, sans-serif;
}

#bjmc-marker-tooltip.active {
    display: block;
}

.bjmc-tooltip-city {
    font-size: 16px !important;
    font-weight: 700;
    line-height: 1.3;
    color: black !important;
}

.bjmc-tooltip-state {
    margin-top: 2px;

    font-size: 12px !important;
    font-weight: 600;

    color: #666;
}

.bjmc-tooltip-physician {
    margin-top: 6px;
    position: relative;
    font-size: 15px !important;
    line-height: 1.4;
    padding-left: 15px;
    color: #333;
}
.bjmc-tooltip-physician::before{
    content: ''; width: 8px; height: 8px; background-color: #931716; border-radius: 50%; position: absolute; top: 50%; left: 0px; transform: translateY(-50%);
}

.bjmc-map-layout {
    display: grid;
    position: relative;
    grid-template-columns:
        320px
        minmax(0, 1fr);
    gap: 20px;
    padding: 25px;
    background-color: #f3f6f8;
    width: 100%;
}


.bjmc-filter-wrapper {
    width: 100%;
    background: #ffffffd7;
    border: 1px solid #e5e5e5;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    height: fit-content;
    position: sticky;
    top: 20px;
}


.bjmc-filter-header {
    padding: 20px;

    border-bottom: 1px solid #eee;
}


.bjmc-filter-header h3 {
    margin: 0;

    font-size: 16px !important;
    color: black !important;
    font-weight: 700;
}


.bjmc-filter-body {
    padding: 20px;
}


.bjmc-filter-field {
    margin-bottom: 16px;
}


.bjmc-filter-field label {
    display: block;

    margin-bottom: 7px;

    font-size: 13px !important;

    font-weight: 600;

    color: #333;
}


.bjmc-filter-field input,
.bjmc-filter-field select {

    width: 100%;

    height: 42px;

    padding: 0 11px;

    border: 1px solid #ddd;

    border-radius: 7px;

    background: #fff;

    font-size: 13px !important;

    outline: none;

    box-sizing: border-box;
}


.bjmc-filter-field input:focus,
.bjmc-filter-field select:focus {

    border-color: #ba2727;

}


.bjmc-filter-actions {

    display: flex;

    gap: 8px;

    margin-top: 20px;
}


.bjmc-filter-button {

    flex: 1;

    height: 42px;

    border: 0;

    border-radius: 7px !important;

    background: #ba2727 !important;

    color: white !important;

    font-size: 13px !important;

    font-weight: 700 !important;

    cursor: pointer !important;
}


.bjmc-clear-filter {

    height: 42px;

    padding: 0 14px !important;

    border: 1px solid #ddd !important;

    border-radius: 7px !important;

    background: #fff;

    font-size: 13px !important;

    cursor: pointer !important;
}


.bjmc-filter-results {

    margin-top: 18px;
}


.bjmc-filter-count {

    padding: 10px;

    border-radius: 7px;

    background: #f7f7f7;

    text-align: center;

    font-size: 13px !important;

    font-weight: 600;
}

.wd-content-layout:has(.profile-page){padding-top: 0px !important;}
.profile-page .page-header{text-align: center; font-size: 30px; padding: 35px; border-bottom: 1px solid #ece6e6; margin-bottom: 30px;}
.profile-page .page-header h1{margin-bottom: 0px !important; font-weight: 900; color: rgba(147, 23, 22, 1)}
.profile-page .physician-success-message{ background: #00ff9429; padding: 10px 20px; font-size: 16px; font-weight: 600; border-radius: 10px; color: #00ac67; border: 1px solid; border-left: 8px solid; margin-bottom: 20px}
.physician-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.physician-field {
    display: flex;
    flex-direction: column;
}

.physician-field label {
    font-weight: 600;
}

.physician-field input,
.physician-field textarea, .physician-field select {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px !important;
    border: 1px solid #e5e2e2 !important;
    border-radius: 8px !important;
	font-weight : 600 !important;
	color : black !important;
	text-align: left !important;
}

.button.button-primary{background-color:rgba(147, 23, 22, 1); color: white; margin-top: 30px}
.button.button-primary:hover{background: black; color: white}
.physician-field textarea{min-height: 120px !important}

.physician-full-width {
    grid-column: 1 / -1;
}

@media (max-width: 600px) {
    .physician-form-grid {
        grid-template-columns: 1fr;
    }
}

