.vp9-root, .vp9-root * {box-sizing:border-box}
.vp9-root {font-family:Montserrat,system-ui,sans-serif;font-size:14px;font-weight:400;line-height:1.5;color:var(--vp9-text,#263238);width:100%;max-width:var(--vp9-width,1400px);margin:40px auto;padding:0 16px 60px;min-width:0}
.vp9-root a {text-decoration:none;color:inherit}
/* Preserve the original teal phone link inside the MyDoc calendar. */
.vp9-root .doctor-calendar-wrap a[href^="tel:" i],
.vp9-root .doctor-calendar-wrap a[href^="tel:" i]:visited,
.vp9-root .doctor-calendar-wrap a[href^="tel:" i]:hover,
.vp9-root .doctor-calendar-wrap a[href^="tel:" i]:focus {color:var(--vp9-phone-color,#52a794)!important;}
.vp9-root button,.vp9-root input,.vp9-root select {font-family:inherit;font-size:14px;font-weight:500;line-height:1.4}
.vp9-root .doctors-header-title {text-align:center;text-transform:uppercase;font-size:18px;font-weight:500;letter-spacing:.06em;margin:0 0 24px}
.vp9-root .city-tabs-wrapper {max-width:480px;margin:0 auto 28px;background:linear-gradient(90deg,var(--vp9-primary),var(--vp9-secondary));padding:4px;border-radius:6px}
.vp9-root .city-tabs {display:flex;gap:4px}
.vp9-root .city-tab {flex:1;min-width:0;border:0;background:transparent;color:#e0f4f5;padding:9px 5px;border-radius:4px;cursor:pointer;box-shadow:none;text-transform:none;white-space:normal}
.vp9-root .city-tab.city-tab--active {background:#fff;color:var(--vp9-primary);box-shadow:0 2px 4px #0003}
.vp9-root .doctors-search-row {display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:center;gap:24px;margin:0 0 4px}
.vp9-root .search-group {display:flex;flex-direction:column;gap:4px;min-width:0;width:240px;font-size:14px;color:#52636d;font-weight:400}
.vp9-root .search-group input,.vp9-root .search-group select {width:100%;min-width:0;max-width:100%;padding:8px 10px;border-radius:4px;border:1px solid #cbd5df;background:#fff;color:var(--vp9-text);height:40px}
.vp9-root .btn-search-main {background:var(--vp9-accent);color:#fff;border:0;border-radius:4px;padding:10px 26px;cursor:pointer;box-shadow:0 2px 4px #0003;text-transform:lowercase;min-height:40px}
.vp9-root .doctors-subtitle {text-align:center;font-size:14px;color:#697984;margin:12px 0 28px}
.vp9-root .doctors-grid {display:grid;grid-template-columns:repeat(var(--vp9-cols,1),minmax(0,1fr));gap:24px;align-items:stretch}
.vp9-root .vp9-no-results {text-align:center;margin:18px 0;font-size:14px;color:#64757f}
.vp9-root [hidden] {display:none!important}
.vp9-root button:focus-visible,.vp9-root a:focus-visible,.vp9-root input:focus-visible,.vp9-root select:focus-visible {outline:2px solid var(--vp9-secondary);outline-offset:3px}
@media(max-width:1024px){.vp9-root .doctors-grid{grid-template-columns:repeat(var(--vp9-tablet-cols,1),minmax(0,1fr))}}
@media(max-width:768px){.vp9-root .doctors-grid{grid-template-columns:minmax(0,1fr)}.vp9-root .doctors-search-row{gap:12px}.vp9-root .search-group{width:100%}.vp9-root .btn-search-main{width:100%}.vp9-root{padding:0 12px 35px;margin:24px auto}.vp9-root .city-tab{font-size:14px}}

/* Original P9 card and calendar styles, from supplied site CSS. */
    /* ============ DAKTARO KORTELĖ ============ */
.vp9-root.vp9-styled .doctor-card {
        background: #e4f0f7;
        border-radius: 12px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    }
.vp9-root.vp9-styled .doctor-card__info {
        padding: 26px 22px 18px;
        text-align: center;
    }
.vp9-root.vp9-styled .doctor-photo {
        width: 250px;
        height: 250px;
        border-radius: 10%;
        overflow: hidden;
        margin: 0 auto 16px;
        border: 4px solid #ffffff;
        box-shadow: 0 0 0 3px #d2dde5;
        background: #ffffff;
    }
.vp9-root.vp9-styled .doctor-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
.vp9-root.vp9-styled .doctor-name {
        font-size: 15px;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 4px;
    }
.vp9-root.vp9-styled .doctor-specialty {
        font-size: 13px;
        color: #6e7d88;
        margin-bottom: 12px;
    }
.vp9-root.vp9-styled .doctor-stats {
        display: flex;
        justify-content: center;
        gap: 16px;
        font-size: 11px;
        color: #7b8b96;
        margin-bottom: 14px;
    }
.vp9-root.vp9-styled .doctor-stats i {
        margin-right: 4px;
    }
.vp9-root.vp9-styled .doctor-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
.vp9-root.vp9-styled .btn-pill {
        border-radius: 999px;
        border: 1px solid #c7ced6;
        background: #f5f7fa;
        font-size: 11px;
        padding: 7px 14px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        white-space: nowrap;
        text-decoration: none;
        color: #263238;
    }
.vp9-root.vp9-styled .btn-pill i {
        font-size: 10px;
    }
.vp9-root.vp9-styled .btn-pill:hover {
        background: #ffffff;
    }

    /* ============ KALENDORIAUS ZONA ============ */
.vp9-root.vp9-styled .doctor-card__schedule {
        background: #f8fbfd;
        border-top: 1px solid #d0d8e0;
        padding: 14px 16px 0;
    }
.vp9-root.vp9-styled .doctor-calendar-header {
        font-size: 11px;
        color: #4a5964;
        margin-bottom: 8px;
    }
.vp9-root.vp9-styled .doctor-calendar-wrap {
        position: relative;
        /* paliekam natūralų MyDoc aukštį */
    }

    /* ============ TIK MYDOC WIDGETAS – STILIUS, NIEKO NESLEPIAM ============ */
.vp9-root.vp9-styled .doctor-card__schedule [mydoc-widget] {
        display: block;
        font-family: inherit;
        font-size: 13px;
    }
.vp9-root.vp9-styled .doctor-card__schedule [mydoc-widget] * {
        font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
        box-sizing: border-box;
    }

    /* lentelė / kalendorius */
.vp9-root.vp9-styled .doctor-card__schedule [mydoc-widget] table {
        width: 100% !important;
        border-collapse: separate !important;
        border-spacing: 12px 4px !important;
        font-size: 12px !important;
    }
.vp9-root.vp9-styled .doctor-card__schedule [mydoc-widget] thead tr th {
        background: #ffffff !important;
        border: 1px solid #00a6a1 !important;
        border-radius: 10px 10px 0 0 !important;
        color: #00a6a1 !important;
        padding: 6px 4px !important;
        font-weight: 600 !important;
        text-align: center !important;
    }
.vp9-root.vp9-styled .doctor-card__schedule [mydoc-widget] tbody tr td {
        padding: 3px 0 !important;
        text-align: center !important;
        border: none !important;
    }
.vp9-root.vp9-styled .doctor-card__schedule [mydoc-widget] tbody tr:first-child td {
        border-top: 1px solid #00a6a1 !important;
    }
.vp9-root.vp9-styled .doctor-card__schedule [mydoc-widget] tbody tr:last-child td {
        border-bottom: 1px solid #00a6a1 !important;
        border-radius: 0 0 10px 10px !important;
    }
.vp9-root.vp9-styled .doctor-card__schedule [mydoc-widget] tbody tr td:first-child,
.vp9-root.vp9-styled .doctor-card__schedule [mydoc-widget] tbody tr td:last-child {
        border-left: 1px solid #00a6a1 !important;
        border-right: 1px solid #00a6a1 !important;
    }

    /* laikų „piliulės“ */
.vp9-root.vp9-styled .doctor-card__schedule [mydoc-widget] button,
.vp9-root.vp9-styled .doctor-card__schedule [mydoc-widget] .time,
.vp9-root.vp9-styled .doctor-card__schedule [mydoc-widget] .md-time {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-width: 80px;
        padding: 4px 12px !important;
        border-radius: 999px !important;
        border: 1px solid #00a6a1 !important;
        background: #ffffff !important;
        color: #00a6a1 !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
        cursor: pointer;
    }
.vp9-root.vp9-styled .doctor-card__schedule [mydoc-widget] button:hover,
.vp9-root.vp9-styled .doctor-card__schedule [mydoc-widget] .time:hover,
.vp9-root.vp9-styled .doctor-card__schedule [mydoc-widget] .md-time:hover {
        background: #00a6a1 !important;
        color: #ffffff !important;
    }
.vp9-root.vp9-styled .doctor-card__schedule [mydoc-widget] button[disabled],
.vp9-root.vp9-styled .doctor-card__schedule [mydoc-widget] .time[disabled],
.vp9-root.vp9-styled .doctor-card__schedule [mydoc-widget] .md-time[disabled] {
        border-color: #d5dde6 !important;
        color: #a0a7b2 !important;
        background: #f6f7fb !important;
        cursor: default !important;
    }

    /* ============ APAČIOS MYGTUKAS (REGISTRUOTIS) ============ */
.vp9-root.vp9-styled .doctor-bottom-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 10px 16px 14px;
        background: #f8fbfd;
    }
.vp9-root.vp9-styled .btn-register-online {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 8px 24px;
        font-size: 13px;
        font-weight: 600;
        border-radius: 999px;
        border: none;
        cursor: pointer;
        color: #ffffff;
        background: #34c3ab;
        white-space: nowrap;
        text-decoration: none;
    }
.vp9-root.vp9-styled .btn-register-online:hover {
        filter: brightness(0.95);
    }

    /* ============ „NĖRA NORIMO LAIKO?“ JUOSTA ============ */
.vp9-root.vp9-styled .doctor-card__footer {
        background: #1f2933;
        color: #ffffff;
        text-align: center;
        font-size: 13px;
        padding: 10px 14px;
    }
.vp9-root.vp9-styled .doctor-card__footer a {
        color: #ffffff;
        text-decoration: underline;
    }






.vp9-root.vp9-styled .mydoc__doctor,
.vp9-root.vp9-styled .mydoc__calendar__header {
	display:none!important;
}
.vp9-root.vp9-styled .mydoc__calendar__register {
	background-color:#6bca62;
}
.vp9-root.vp9-styled div.mydoc__calendar__register > button {
	background-color:#6bca62!important;
}
.vp9-root.vp9-styled div.mydoc__calendar__expander > button {
	color:#6bca62!important;
}


/* Narrow container safeguards; preserve original 250px photograph where it fits. */
.vp9-root.vp9-styled .doctor-card {min-width:0;}
.vp9-root.vp9-styled .doctor-photo {max-width:100%;height:auto;aspect-ratio:1 / 1;}
.vp9-root.vp9-styled .doctor-photo img {display:block;}
.vp9-root.vp9-styled .doctor-stats {flex-wrap:wrap;}
.vp9-root.vp9-styled .doctor-stats span {display:inline-flex;align-items:center;gap:4px;}
.vp9-root.vp9-styled .doctor-stats svg {flex:none;}
.vp9-root.vp9-styled .doctor-card__schedule {min-width:0;scroll-margin-top:100px;}
.vp9-root.vp9-styled .doctor-name {overflow-wrap:anywhere;}
.vp9-root.vp9-styled .doctor-calendar-wrap {max-width:100%;overflow-x:auto;}
.vp9-root.vp9-styled .btn-register-online {max-width:100%;white-space:normal;text-align:center;}
