/**
 * MedicalPro – structure/layout only.
 * Image, fonts, button and colors are controlled from Elementor widget style tabs.
 */

/* ========== Doctor Hospitals Widget – layout only ========== */
.cubewp-doctor-hospitals-wrapper {
    width: 100%;
}

.cubewp-doctor-hospitals-empty {
    padding: 15px;
    border: 1px dashed #ccc;
    border-radius: 4px;
}

.cubewp-doctor-hospitals-grid {
    display: grid;
    width: 100%;
}

.cubewp-doctor-hospitals-grid.cubewp-doctor-hospitals-cols-1 {
    grid-template-columns: 1fr;
}

.cubewp-doctor-hospitals-grid.cubewp-doctor-hospitals-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.cubewp-doctor-hospitals-grid.cubewp-doctor-hospitals-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .cubewp-doctor-hospitals-grid.cubewp-doctor-hospitals-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {

    .cubewp-doctor-hospitals-grid.cubewp-doctor-hospitals-cols-2,
    .cubewp-doctor-hospitals-grid.cubewp-doctor-hospitals-cols-3 {
        grid-template-columns: 1fr;
    }
}

.cubewp-doctor-hospital-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cubewp-doctor-hospital-card-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}
.cubewp-doctor-hospital-card-title {
    display: flex;
}
.cubewp-doctor-hospital-card-title-wrap {
    flex: 1;
    min-width: 0;
}

.cubewp-doctor-hospital-icon {
    display: inline-block;
    margin-right: 6px;
}

.cubewp-doctor-hospital-name {
    text-decoration: none;
    display: inline-block;
}

.cubewp-doctor-hospital-name:hover {
    text-decoration: underline;
}

.cubewp-doctor-hospital-video-fee {
    margin-top: 8px;
  }
  .cubewp-doctor-hospital-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
  }

.cubewp-doctor-hospital-hours-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    user-select: none;
    position: relative;
  }
.cubewp-doctor-hospital-hours-arrow {
    transition: transform 0.2s ease;
}

.cubewp-doctor-hospital-hours-trigger.is-open .cubewp-doctor-hospital-hours-arrow {
    transform: rotate(180deg);
}


.cubewp-doctor-hospital-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    border: none;
    white-space: nowrap;
    transition: .3s;
    cursor: pointer;
}

/* Card body: feature image + address (styling from Elementor) */
.cubewp-doctor-hospital-card-body {
    display: flex;
    align-items: end;
    gap: 14px;
    justify-content: space-between;
}

.cubewp-doctor-hospital-feature-wrap {
    flex-shrink: 0;
}

.cubewp-doctor-hospital-feature-data {
    display: flex;
    gap: 14px;
    margin-top: 17px;
  }
.cubewp-doctor-hospital-feature-image {
    display: block;
}

.cubewp-doctor-hospital-address-wrap {
    flex: 1;
    min-width: 0;
}

.cubewp-doctor-hospital-address {
    margin: 0 0 0 0;
    line-height: 1.4;
}

.cubewp-doctor-hospital-links {
    display: inline;
}

.cubewp-doctor-hospital-link {
    text-decoration: none;
}

.cubewp-doctor-hospital-link:hover {
    text-decoration: underline;
}

.cubewp-doctor-hospital-sep {
    margin: 0 6px;
    font-weight: 300;
}

/* Hours popup – structure + box so it’s visible (no fonts/colors) */
.cubewp-doctor-hospital-hours-popup {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    min-width: 220px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    background: #fff;
    border: none;
    box-shadow: 0 10px 29px #0A74F314;
    border-radius: 0 0 10px 10px;
}


.cubewp-doctor-hospital-hours-trigger.is-open .cubewp-doctor-hospital-hours-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cubewp-doctor-hospital-hours-popup-inner {
    padding: 10px;
}

.cubewp-doctor-hospital-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 0px 0px 10px 0px;
}

.cubewp-doctor-hospital-hours-row:last-child {
    border-bottom: none;
}

/* ========== Hospital repeater form (dashboard) ========== */
.cubewp-elementor-section-fields .cubewp-hospital-section {
    width: 100%;
    padding: 0 15px;
}

.cubewp-hospital-section .hospital-tabs-nav {
    gap: 15px !important;
}

.cubewp-hospital-section .hospital-nav-item {
    gap: 15px !important;
    border: 1px solid #BDD1EB !important;
    border-radius: 10px;
    height: 43px;
    justify-content: space-between;
    padding: 0 15px !important;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.cubewp-hospital-section .hospital-nav-item.badge-secondary {
    background-color: transparent;
}

.cubewp-hospital-section .hospital-nav-item span.tab-title-text {
    color: #BED1EB;
    max-width: 135px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 15px;
    font-size: 12px;
    font-weight: 600;
}

.cubewp-hospital-section .hospital-nav-item i.remove-tab-icon {
    color: #BED1EB;
    font-size: 14px;
    cursor: pointer;
    background: transparent;
}

.cubewp-hospital-section .hospital-nav-item.badge-primary,
.cubewp-hospital-section .hospital-nav-item.hospital-tab-active {
    background-color: transparent;
    border-color: #465BE0 !important;
    color: #465BE0;
}

.cubewp-hospital-section .hospital-nav-item.hospital-tab-active span.tab-title-text,
.cubewp-hospital-section .hospital-nav-item.hospital-tab-active i.remove-tab-icon {
    color: #465BE0;
}


.cubewp-hospital-section .hospital-tab-pane.d-block {
    display: block;
}

.cubewp-hospital-section .hospital-tab-pane {
    padding: 0 !important;
    border: none !important;
    margin-bottom: 0 !important;
}

.cubewp-hospital-section .hospital-tab-pane .hospital-select-wrapper,
.cubewp-hospital-section .hospital-tab-pane .hospital-name-wrapper,
.cubewp-hospital-section .hospital-tab-pane .hospital-location-wrapper,
.cubewp-hospital-section .hospital-tab-pane .hospital-feild-switcher,
.cubewp-hospital-section .hospital-tab-pane .hospital-phone-wrapper,
.cubewp-hospital-section .hospital-tab-pane .video-consultation-wrapper {
    margin-bottom: 15px;
}

.cubewp-hospital-section .hospital-tab-pane .hospital-location-wrapper {
    margin-bottom: 25px;

}

.cubewp-hospital-section .hospital-tab-pane .hospital-select-wrapper label,
.cubewp-hospital-section .hospital-tab-pane .hospital-name-wrapper label,
.cubewp-hospital-section .hospital-tab-pane .hospital-location-wrapper label {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 26px;
    font-weight: 600;
    text-transform: capitalize;
    color: #000000;
}

.cubewp-hospital-section .hospital-tab-pane .hospital-select-wrapper select.hospital-name-field.hospital-main-name,
.cubewp-hospital-section .hospital-tab-pane .hospital-location-wrapper select.cubewp-elementor-form-field-input {
    margin-bottom: 10px;
    border-color: #e0e9f6 !important;
    padding: 11px 12px 11px 15px;
}

.cubewp-hospital-section .hospital-tab-pane .hospital-select-wrapper select.hospital-name-field.hospital-main-name:focus,
.cubewp-hospital-section .hospital-tab-pane .hospital-location-wrapper select.cubewp-elementor-form-field-input:focus {
    border-color: #e0e9f6 !important;
}

.cubewp-hospital-section .hospital-tab-pane .hospital-select-wrapper .select-wrapper,
.cubewp-hospital-section .hospital-tab-pane .hospital-location-wrapper .select-wrapper,
.cubewp-hospital-section .hospital-tab-pane .working-hours-container .select-wrapper {
    position: relative;
}

.cubewp-hospital-section .hospital-tab-pane .hospital-select-wrapper .dropdown-arrow,
.cubewp-hospital-section .hospital-tab-pane .hospital-location-wrapper .dropdown-arrow,
.cubewp-hospital-section .hospital-tab-pane .working-hours-container .select-wrapper .dropdown-arrow {
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 6px 5px 0 5px;
    height: 0;
    pointer-events: none;
    position: absolute;
    top: 47%;
    right: 13px;
    transform: translateY(-50%);
}

.cubewp-hospital-section .hospital-tab-pane .hospital-feild-switcher .form-check,
.cubewp-hospital-section .hospital-tab-pane .hospital-24-hours-check .form-check {
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Label setup */
/* Hide default checkbox */

.cubewp-hospital-section .cwp-field-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    margin: 0 !important;
}

.cubewp-hospital-section .cwp-field-checkbox input[type="checkbox"]+label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
}

.cubewp-hospital-section .cwp-field-checkbox input[type="checkbox"]+label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #eaf2fd;
    border: 1px solid #d0d5dd;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.cubewp-hospital-section .cwp-field-checkbox input[type="checkbox"]:checked+label::before {
    background: #465be0;
    border: none;
}

.cubewp-hospital-section .cwp-field-checkbox input[type="checkbox"]:checked+label::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
}


.cubewp-hospital-section .hospital-tab-pane .hospital-feild-switcher .cwp-field-checkbox label,
.cubewp-hospital-section .hospital-tab-pane .hospital-24-hours-check .cwp-field-checkbox label {
    font-size: 13px !important;
    line-height: 26px;
    font-weight: 600 !important;
    text-transform: capitalize;
    color: #000000;
}

.cubewp-hospital-section .hospital-tab-pane .hospital-phone-wrapper label,
.cubewp-hospital-section .hospital-tab-pane .video-consultation-wrapper label {
    font-size: 13px !important;
    line-height: 26px;
    font-weight: 600 !important;
    text-transform: capitalize;
    color: #000000;
    margin-bottom: 10px;
    margin-top: 4px;
}

.help-text-container {
    position: relative;
    width: 17px;
    display: inline-block;
    margin-left: 2px;
    transform: translateY(-2px);
}

.help-text-container .help-icon {
    border: 1px solid #a0a0a0;
    border-radius: 100%;
    color: #a0a0a0;
    font-size: 11px;
    display: inline-block;
    height: 15px;
    width: 15px;
    line-height: 14px;
    margin-top: 6px;
    text-align: center;
}

.help-text-container .help-tooltip {
    background-color: #f0f0f0;
    border: 1px solid #d8d8d8;
    border-radius: 3px;
    bottom: 94%;
    display: none;
    left: -10px;
    margin-bottom: 5px;
    padding: 10px 12px;
    position: absolute;
    width: 270px;
    z-index: 99;
}

.help-text-container .help-tooltip:before {
    border-color: #d8d8d8 transparent;
    border-style: solid;
    border-width: 7px 7px 0;
    bottom: -7px;
    content: "";
    left: 11px;
    position: absolute;
}


.help-text-container .help-tooltip .help-tooltip-text {
    font-size: 12px;
    color: #363F48;
    font-weight: 400;
    line-height: 18px;
    margin: 0;
    text-transform: capitalize;
}

.help-text-container:hover .help-tooltip {
    display: block;
}


.cubewp-hospital-section .hospital-tab-pane .hospital-phone-wrapper .text-muted.phone-display-box {
    height: 46px;
    line-height: 46px;
    border: 1px solid #BDD1EB77 !important;
    border-radius: 10px;
    opacity: .5;
    font-size: 13px;
    color: #555 !important;
    font-weight: 400;
    padding: 0px 12px;
}

.cubewp-hospital-section .hospital-tab-pane .hospital-phone-wrapper.d-none+.col-md-6.video-consultation-wrapper {
    width: 100%;
}

.cubewp-hospital-section .hospital-tab-pane .working-hours-container .working-hours-h6 {
    font-size: 13px !important;
    line-height: 26px;
    font-weight: 600 !important;
    text-transform: capitalize;
    color: #000000;
    margin-bottom: 10px;
}

.cubewp-hospital-section .working-hours-container .working-hours-list .working-hour-row {
    padding: 10px 20px;
    width: 100%;
    border-bottom: 1px solid #bdd1eb;
    border-right: 1px solid #bdd1eb;
    border-left: 1px solid #bdd1eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cubewp-hospital-section .working-hours-container .working-hours-list .working-hour-row:first-child {
    border: 1px solid #bdd1eb !important;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.cubewp-hospital-section .working-hours-container .working-hours-list .working-hour-row:last-child {
    border: 1px solid #bdd1eb;
    border-top: none;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.cubewp-hospital-section .working-hours-container .working-hours-list .working-hour-row .working-hour-row-day {
    font-weight: 700;
    font-size: 15px;
    line-height: 27px;
    letter-spacing: -0.4px;
    text-transform: capitalize;
    color: #000000;
    width: 90px;
}

.cubewp-hospital-section .working-hours-container .working-hours-list .working-hour-row .working-hour-row-time {
    font-size: 13px;
    font-weight: 400;
    line-height: 27px;
    color: #7f7f7f;
}

.cubewp-hospital-section .working-hours-container .working-hours-list .working-hour-row .remove-hour-row {
    background: #465be0;
    border: none;
    color: #fff;
    width: 20px;
    height: 20px;
    display: inline-block;
    text-align: center;
    line-height: 20px;
    border-radius: 50px;
    padding: 0;
}
/* input[type="checkbox"], input[type="radio"] {
    accent-color: #465be0;
} */


.cubewp-hospital-section .working-hours-container .working-hour-controls .working-hours-heading {
    display: none;
}

.cubewp-hospital-section .working-hours-container .working-hour-controls {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    align-items: center !important;
    gap: 15px;
    justify-content: space-between;
}

.cubewp-hospital-section .working-hour-controls .working-hour-feild-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: fit-content;
}

.cubewp-hospital-section .working-hour-controls .working-hour-feild-wrapper .working-hour-feild-day,
.cubewp-hospital-section .working-hour-controls .working-hour-feild-wrapper .working-hour-feild-open,
.cubewp-hospital-section .working-hour-controls .working-hour-feild-wrapper .working-hour-feild-close {
    width: 100px;
}

.cubewp-hospital-section .working-hour-controls .working-hour-feild-wrapper .working-hour-feild-hours {
    width: 86px;
}

.cubewp-hospital-section .working-hour-controls .working-hour-feild-btn-day-add {
    width: fit-content;
}

.cubewp-hospital-section .working-hour-controls .working-hour-feild-wrapper .working-hour-feild-day select,
.cubewp-hospital-section .working-hour-controls .working-hour-feild-wrapper .working-hour-feild-open input,
.cubewp-hospital-section .working-hour-controls .working-hour-feild-wrapper .working-hour-feild-close input {
    font-size: 13px !important;
    line-height: 44px !important;
    padding: 0 24px 0 15px !important;
    color: #444 !important;
    text-transform: capitalize;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cubewp-hospital-section .working-hour-controls .working-hour-feild-wrapper .working-hour-feild-open input,
.cubewp-hospital-section .working-hour-controls .working-hour-feild-wrapper .working-hour-feild-close input {
    padding: 0 15px 0 15px !important;
}

.cubewp-hospital-section .working-hour-controls .working-hour-feild-wrapper .working-hour-feild-open input.time-disabled,
.cubewp-hospital-section .working-hour-controls .working-hour-feild-wrapper .working-hour-feild-close input.time-disabled {
    background-color: #eee !important;
}

.cubewp-hospital-section .working-hours-container input::placeholder {
    color: #444 !important;
}

.cubewp-hospital-section .working-hour-controls .working-hour-feild-btn-day-add .add-working-day {
    background-color: #465BE0;
    color: #fff;
    font-size: 14px;
    border: none;
    box-shadow: none;
    border-radius: 5px;
    font-weight: 700;
    padding: 0;
    width: 22px;
    height: 21px;
    margin-right: 6px;
    margin-top: 5px;
}

.cubewp-hospital-section .make-hospital-primary {
    padding-bottom: 31px;
    padding-top: 49px;
    margin-bottom: 10px;
    border-bottom: 1px solid #dedede;
}

.cubewp-hospital-section .make-hospital-primary label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
    color: #000000;
    letter-spacing: -0.1px;
}

.hospital-tab-pane:has(.suggest-hospital-check:checked) .make-hospital-primary {
    padding-bottom: 0;
}

.hospital-tab-pane:has(.suggest-hospital-check:checked) .make-hospital-primary label {
    display: none;
}

.cubewp-hospital-section .add-new-hospital-container {
    display: flex;
    width: 100%;
    justify-content: flex-end;
}

.cubewp-hospital-section .add-new-hospital-container .add-new-hospital {
    color: #465BE0;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    font-family: 'Quicksand';
    margin: 1px 0px 0px 15px;
    text-transform: capitalize;
    padding: 6px 22px;
    font-size: 15px;
    line-height: 1.43em;
    font-weight: 700;
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
}

.cubewp-hospital-section .add-new-hospital-container .add-new-hospital:hover,
.cubewp-hospital-section .add-new-hospital-container .add-new-hospital:focus {
    color: #465BE0;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
}

.cubewp-hospital-section .add-new-hospital-container .add-new-hospital i {
    font-size: 24px;
}

.cubewp-hospital-section .hospital-select-wrapper .hospital-main-name.form-control:invalid,
.cubewp-hospital-section .hospital-select-wrapper .hospital-main-name.form-control:focus:invalid {
    border-color: #d63638;
}


.cubewp-hospital-section .phone-display-box {
    cursor: not-allowed;
    border-color: #e9ecef;
}


/* Admin: approve/reject */
.cubewp-hospital-actions .cubewp-hospital-buttons {
    margin: 8px 0 0;
}

.cubewp-hospital-actions .spinner {
    vertical-align: middle;
}

.cubewp-hospital-actions #cwp-hospital-action-msg {
    display: block;
    min-height: 1.5em;
    margin-bottom: 5px;
}

/* ========== Hospital Doctors Widget – layout and filters ========== */
.cubewp-hospital-doctors-wrapper {
    width: 100%;
    position: relative;
}

.cubewp-hospital-doctors-empty {
    padding: 15px;
    border: 1px dashed #ccc;
    border-radius: 4px;
}

.cubewp-hospital-doctors-az {
    margin-bottom: 16px;
}

.cubewp-hospital-doctors-az-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.cubewp-hospital-doctors-az-letters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cubewp-hospital-doctor-az-letter {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 14px;
    color: #666;
}

.cubewp-hospital-doctor-az-letter:hover,
.cubewp-hospital-doctor-az-letter.active {
    color: #0d9488;
    font-weight: 600;
}

.cubewp-hospital-doctors-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.cubewp-hospital-doctor-term {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.cubewp-hospital-doctor-term:hover {
    border-color: #0d9488;
    color: #0d9488;
}

.cubewp-hospital-doctor-term.active {
    background: #0d9488;
    border-color: #0d9488;
    color: #fff;
}

.cubewp-hospital-doctors-grid {
    display: grid;
    width: 100%;
    transition: opacity 0.2s ease;
}

.cubewp-hospital-doctors-grid>div {
    width: 100%;
}

.cubewp-hospital-doctors-grid.cubewp-hospital-doctors-cols-1 {
    grid-template-columns: 1fr;
}

.cubewp-hospital-doctors-grid.cubewp-hospital-doctors-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.cubewp-hospital-doctors-grid.cubewp-hospital-doctors-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .cubewp-hospital-doctors-grid.cubewp-hospital-doctors-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {

    .cubewp-hospital-doctors-grid.cubewp-hospital-doctors-cols-2,
    .cubewp-hospital-doctors-grid.cubewp-hospital-doctors-cols-3 {
        grid-template-columns: 1fr;
    }
    .cubewp-hospital-section .working-hour-controls .working-hour-feild-wrapper {
        flex-direction: column;
        width: 100%;
    }
    
    .cubewp-hospital-section .working-hour-controls .working-hour-feild-wrapper .working-hour-feild-day, .cubewp-hospital-section .working-hour-controls .working-hour-feild-wrapper .working-hour-feild-open, .cubewp-hospital-section .working-hour-controls .working-hour-feild-wrapper .working-hour-feild-close {
        width: 100%;
    }
    
    .cubewp-hospital-section .working-hour-controls .working-hour-feild-wrapper .working-hour-feild-hours {
        width: 100%;
    }
    
    .cubewp-hospital-section .hospital-tab-pane .hospital-feild-switcher {
        padding: 0;
    }
    
    .cubewp-hospital-section .working-hours-container .working-hour-controls {
        margin-top: 15px;
    }
}

.cubewp-hospital-doctor-card-inner {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cubewp-hospital-doctor-card-by-template {
    /* When using Elementor template, inner content is from the template; wrapper keeps grid alignment */
    min-height: 0;
}

.cubewp-hospital-doctor-card-header {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cubewp-hospital-doctor-thumb-wrap {
    flex-shrink: 0;
}

.cubewp-hospital-doctor-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.cubewp-hospital-doctor-info {
    flex: 1;
    min-width: 0;
}

.cubewp-hospital-doctor-name {
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
}

.cubewp-hospital-doctor-name:hover {
    text-decoration: underline;
}

.cubewp-hospital-doctor-specialty {
    margin-top: 4px;
    font-size: 0.9em;
    color: #555;
}

.cubewp-hospital-doctor-rating {
    margin-top: 6px;
}

.cubewp-doctor-star {
    color: #ddd;
}

.cubewp-doctor-star.filled {
    color: #22c55e;
}

.cubewp-doctor-star.half {
    color: #22c55e;
}

.cubewp-hospital-doctor-tagline {
    margin: 8px 0 0;
    font-size: 0.9em;
    color: #666;
}

.cubewp-hospital-doctor-location {
    margin: 6px 0 0;
    font-size: 0.9em;
    color: #555;
}

.cubewp-hospital-doctor-location-icon {
    margin-right: 4px;
}

.cubewp-hospital-doctor-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.cubewp-hospital-doctor-badge {
    font-size: 0.85em;
    color: #2271b1;
}

.cubewp-hospital-doctor-card-actions {
    margin-top: 12px;
}

.cubewp-hospital-doctor-book-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid currentColor;
    border-radius: 6px;
    text-decoration: none;
    background: transparent;
}

.cubewp-hospital-doctor-book-btn:hover {
    opacity: 0.9;
}

.cubewp-hospital-doctors-loading {
    padding: 12px;
    text-align: center;
    color: #666;
}

.cubewp-doctor-hospital-card-title svg {
    margin: 3px 10px 2px 0px;
  }
.cubewp-doctor-hospital-link:hover {
    text-decoration: none !important;
}

.cubewp-doctor-hospital-book-btn svg path {
    transition: .3s;
}

.cubewp-doctor-hospital-video-fee-text {
    color: #A7B1BB !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 20px !important;
}

.cubewp-doctor-hospital-today-label {
    min-width: 60px;
}

.cubewp-doctor-hospital-status {
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 12px !important;
}

.cubewp-doctor-hospital-hours-arrow {
    color: #18DEC5;
    line-height: 21px;
    font-weight: 400;
    font-size: 14px;
}

.cubewp-doctor-hospital-hours-day {
    color: #71869A;
    font-size: 13px;
    font-weight: 700;
    line-height: 13px;
    font-family: 'Lato';
}

.cubewp-doctor-hospital-hours-value {
    color: #71869A;
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
    font-family: 'Lato';
}

.cubewp-doctor-hospital-hours-value.is-dayoff {
    color: #ff0000;
}

.cubewp-mp-booking-arrow:focus,
.cubewp-mp-booking-arrow:hover {
    background: transparent !important;
    color: #515064 !important;
}
.hospital-timings {
    width: 163px;
    margin: -4px 0 0 0;
  }
  
  .cubewp-doctor-hospital-hours-trigger {
    width: 100%;
  }
  
  .cubewp-doctor-hospital-today-label {
    margin-right: auto;
  }
  
  .cubewp-doctor-hospital-video-fee svg {
    margin-right: 2px;
  }
@media (max-width: 480px) {
    .cubewp-doctor-hospital-card-header {
        flex-direction: column;
    }

    .cubewp-doctor-hospital-card-body {
        flex-direction: column;
        align-items: flex-start;
    }

    .cubewp-doctor-hospital-book-btn {
        max-width: 100%;
    }

    .cubewp-doctor-hospital-hours-trigger,
    .hospital-timings {
        width: 100%;
    }
}


/* Loading overlay + spinner for hospital doctors AJAX */
.cubewp-hospital-doctors-loading {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.6));
    z-index: 3;
}

.cubewp-hospital-doctors-loading::before {
    content: "";
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 3px solid #ddd;
    border-top-color: initial;
    animation: cubewp-hospital-doctors-spin 0.7s linear infinite;
    display: inline-block;
}

@keyframes cubewp-hospital-doctors-spin {
    to {
        transform: rotate(360deg);
    }
}