/* OPDC Online overrides on GenLab theme */
:root {
    --opdc-primary: #013A59;
    --opdc-accent: #116DAD;
    --opdc-teal: #13E0B9;
    --opdc-bg: #F2F2F2;
}

/* Utility top bar sits above absolute GenLab header */
.opdc-topbar-public {
    background: #012a41;
    color: #fff;
    font-size: 14px;
    padding: 8px 0;
    position: relative;
    z-index: 110;
}

.opdc-topbar-public a {
    color: #fff;
    text-decoration: none;
    transition: color 0.25s ease;
}

.opdc-topbar-public a:hover {
    color: var(--opdc-teal);
}

.opdc-topbar-left,
.opdc-topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.opdc-topbar-sep {
    opacity: 0.45;
}

/* Keep GenLab floating header, offset for topbar */
body:has(.opdc-topbar-public) header.main-header {
    top: 52px;
}

body:has(.opdc-topbar-public) header.main-header .header-sticky.active {
    top: 52px;
}

.main-header .navbar-brand {
    background: #ffffff;
    border-radius: 10px;
    padding: 6px 10px;
    line-height: 1;
}

.main-header .navbar-brand img {
    max-height: 42px;
    width: auto;
    display: block;
}

.footer-logo img,
.opdc-sidebar-brand img {
    max-width: 220px;
    height: auto;
    background: #ffffff;
    border-radius: 10px;
    padding: 8px 12px;
}

/* Full-bleed footer (GenLab .bg-section is capped/rounded by default) */
.main-footer.bg-section {
    max-width: none;
    width: 100%;
    border-radius: 0;
    margin: 0;
}

.main-footer {
    margin-bottom: 0;
}

/* Footer alignment: balanced columns + full-width contact */
.opdc-footer-top {
    align-items: flex-start;
}

.opdc-footer-top .about-footer {
    max-width: 100%;
}

.opdc-footer-links-row {
    margin-left: 0;
}

.opdc-footer-links-row .footer-links,
.opdc-footer-links-row .footer-branch-box {
    max-width: none;
    width: 100%;
    text-align: left;
}

.opdc-footer-quick-links ul {
    columns: 2;
    column-gap: 1.75rem;
}

.opdc-footer-quick-links ul li {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
}

.opdc-footer-contact {
    width: 100%;
    margin-top: 40px;
    padding-top: 36px;
}

.opdc-footer-contact ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 32px;
    align-items: start;
}

.opdc-footer-contact ul li {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.opdc-footer-contact ul li img {
    flex: 0 0 20px;
    width: 20px;
    max-width: 20px;
    margin-top: 3px;
}

.opdc-footer-contact ul li a,
.opdc-footer-contact ul li span {
    flex: 1 1 auto;
    min-width: 0;
    word-break: break-word;
}

@media (max-width: 991.98px) {
    .opdc-footer-contact {
        margin-top: 28px;
        padding-top: 28px;
    }

    .opdc-footer-contact ul {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 575.98px) {
    .opdc-footer-quick-links ul {
        columns: 1;
    }
}

.opdc-sidebar-brand img {
    filter: none;
    max-width: 200px;
}

.opdc-flash-wrap {
    padding-top: 24px;
    position: relative;
    z-index: 20;
}

.opdc-alert {
    border-radius: 12px;
    margin-bottom: 0;
}

/* Patient booking wizard */
.opdc-wizard {
    max-width: 980px;
}

.opdc-wizard-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.opdc-wizard-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff;
    color: #6c7a86;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(1, 58, 89, 0.06);
}

.opdc-wizard-step span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(1, 58, 89, 0.08);
    color: inherit;
}

.opdc-wizard-step.is-active,
.opdc-wizard-step.is-done {
    color: var(--opdc-primary, #013A59);
}

.opdc-wizard-step.is-active span,
.opdc-wizard-step.is-done span {
    background: linear-gradient(135deg, #13E0B9, #116DAD);
    color: #fff;
}

.opdc-wizard-pane h2 {
    color: var(--opdc-primary, #013A59);
    font-family: "Playfair Display", serif;
    margin-bottom: 8px;
}

.opdc-wizard-lead {
    color: #5b6b76;
    margin-bottom: 22px;
}

.opdc-wizard-sub {
    font-size: 15px;
    margin: 18px 0 10px;
    color: var(--opdc-primary, #013A59);
}

.opdc-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.opdc-choice-grid-goals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.opdc-choice-card {
    text-align: left;
    border: 1px solid rgba(1, 58, 89, 0.1);
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.opdc-choice-card i {
    color: #116DAD;
    margin-bottom: 8px;
    display: block;
}

.opdc-choice-card strong {
    display: block;
    color: var(--opdc-primary, #013A59);
    margin-bottom: 4px;
}

.opdc-choice-card small {
    color: #6c7a86;
}

.opdc-choice-card:hover,
.opdc-choice-card.is-selected {
    border-color: rgba(19, 224, 185, 0.8);
    box-shadow: 0 10px 24px rgba(19, 224, 185, 0.15);
}

.opdc-choice-card.is-selected {
    background: rgba(19, 224, 185, 0.08);
}

.opdc-wizard-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.opdc-wizard-error {
    color: #c23b48;
    margin-top: 10px;
    font-size: 14px;
}

.opdc-mode-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 6px;
    border-radius: 12px;
    background: rgba(1, 58, 89, 0.06);
    margin-bottom: 18px;
}

.opdc-mode-tab {
    border: 0;
    background: transparent;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    color: #5b6b76;
    cursor: pointer;
}

.opdc-mode-tab.is-active {
    background: #fff;
    color: var(--opdc-primary, #013A59);
    box-shadow: 0 6px 16px rgba(1, 58, 89, 0.08);
}

.opdc-suggest-packages {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.opdc-package-card {
    border: 1px solid rgba(1, 58, 89, 0.1);
    border-radius: 16px;
    padding: 18px;
    background: #fbfcfd;
}

.opdc-package-card.is-selected {
    border-color: #13E0B9;
    background: rgba(19, 224, 185, 0.08);
}

.opdc-package-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 8px;
}

.opdc-package-card h3 {
    font-size: 18px;
    margin: 8px 0 0;
}

.opdc-package-card ul {
    margin: 10px 0 14px;
    padding-left: 18px;
    color: #5b6b76;
    font-size: 13px;
}

.opdc-suggest-tests {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.opdc-test-pick {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    border: 1px solid rgba(1, 58, 89, 0.1);
    border-radius: 12px;
    padding: 12px 14px;
    background: #fff;
    cursor: pointer;
}

.opdc-test-pick strong {
    display: block;
    color: var(--opdc-primary, #013A59);
}

.opdc-test-pick small {
    color: #6c7a86;
}

.opdc-test-pick.is-selected {
    border-color: #13E0B9;
    background: rgba(19, 224, 185, 0.08);
}

.opdc-all-tests {
    margin-top: 18px;
    border-radius: 12px;
    border: 1px solid rgba(1, 58, 89, 0.1);
    padding: 12px 14px;
}

.opdc-all-tests summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--opdc-primary, #013A59);
}

.opdc-all-tests .opdc-suggest-tests {
    margin-top: 12px;
    max-height: 320px;
    overflow: auto;
}

.opdc-wizard-summary-bar {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 12px;
    background: #013A59;
    color: #fff;
}

.opdc-wizard-summary-bar span {
    opacity: 0.8;
    margin-left: 6px;
}

.opdc-wizard-confirm-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 20px;
}

.opdc-wizard-cart {
    background: #f7fafc;
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(1, 58, 89, 0.08);
}

.opdc-addon-block {
    margin-top: 22px;
}

@media (max-width: 900px) {
    .opdc-wizard-progress,
    .opdc-choice-grid,
    .opdc-choice-grid-goals,
    .opdc-suggest-packages,
    .opdc-suggest-tests,
    .opdc-wizard-confirm-grid {
        grid-template-columns: 1fr;
    }
}

.opdc-toast-stack {
    position: fixed;
    top: 108px;
    right: 20px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(420px, calc(100vw - 32px));
    pointer-events: none;
}

.opdc-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(1, 58, 89, 0.18);
    border: 1px solid rgba(1, 58, 89, 0.08);
    animation: opdc-toast-in 0.28s ease-out;
}

.opdc-toast.is-hiding {
    animation: opdc-toast-out 0.25s ease-in forwards;
}

.opdc-toast-success {
    border-left: 4px solid #13E0B9;
}

.opdc-toast-error {
    border-left: 4px solid #e35d6a;
}

.opdc-toast-icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.opdc-toast-success .opdc-toast-icon {
    background: rgba(19, 224, 185, 0.15);
    color: #0a9f84;
}

.opdc-toast-error .opdc-toast-icon {
    background: rgba(227, 93, 106, 0.12);
    color: #c23b48;
}

.opdc-toast-body {
    flex: 1 1 auto;
    color: var(--opdc-primary, #013A59);
    font-size: 14px;
    line-height: 1.45;
    padding-top: 3px;
}

.opdc-toast-close {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: #7a8893;
    font-size: 22px;
    line-height: 1;
    padding: 0 2px;
    cursor: pointer;
}

.opdc-toast-close:hover {
    color: var(--opdc-primary, #013A59);
}

@keyframes opdc-toast-in {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes opdc-toast-out {
    to {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }
}

@media (max-width: 991.98px) {
    .opdc-toast-stack {
        top: 88px;
        right: 12px;
        left: 12px;
        width: auto;
    }
}

.opdc-dashboard-body .opdc-toast-stack {
    top: 24px;
    right: 24px;
}

/* Dashboard / portal styles */
.opdc-test-card,
.opdc-panel,
.opdc-stat-card,
.opdc-form-card {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(1, 58, 89, 0.08);
}

.opdc-test-card h3,
.opdc-panel h3 {
    color: var(--opdc-primary);
    font-family: "Playfair Display", serif;
}

.opdc-price {
    color: var(--opdc-accent);
    font-weight: 700;
    font-size: 1.2rem;
}

.opdc-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    text-transform: uppercase;
    background: rgba(19, 224, 185, 0.15);
    color: var(--opdc-primary);
}

.opdc-badge.pending { background: #fff3cd; color: #856404; }
.opdc-badge.confirmed { background: #cce5ff; color: #004085; }
.opdc-badge.processing,
.opdc-badge.sample_collected { background: #d1ecf1; color: #0c5460; }
.opdc-badge.completed { background: #d4edda; color: #155724; }
.opdc-badge.cancelled { background: #f8d7da; color: #721c24; }
.opdc-badge.critical { background: #f8d7da; color: #721c24; }
.opdc-badge.high { background: #ffeeba; color: #856404; }
.opdc-badge.low { background: #cce5ff; color: #004085; }
.opdc-badge.normal { background: #d4edda; color: #155724; }

.opdc-dashboard-body {
    background: var(--opdc-bg);
    min-height: 100vh;
}

.opdc-dashboard {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.opdc-sidebar {
    background: linear-gradient(180deg, #013A59 0%, #116DAD 100%);
    color: #fff;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
}

.opdc-sidebar-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.opdc-sidebar-brand img {
    max-width: 180px;
    filter: none;
}

.opdc-sidebar-brand span {
    font-size: 13px;
    letter-spacing: 1px;
    opacity: 0.85;
}

.opdc-side-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 6px;
}

.opdc-side-nav a:hover,
.opdc-side-nav a.active {
    background: rgba(19, 224, 185, 0.2);
    color: #fff;
}

.opdc-sidebar-footer {
    margin-top: auto;
    display: grid;
    gap: 10px;
}

.opdc-sidebar-footer a,
.opdc-sidebar-footer button {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    text-align: left;
    text-decoration: none;
}

.opdc-main {
    padding: 28px;
}

.opdc-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.opdc-topbar h1 {
    margin: 0;
    color: var(--opdc-primary);
    font-family: "Playfair Display", serif;
    font-size: 2rem;
}

.opdc-topbar p {
    margin: 4px 0 0;
    color: #566B76;
}

.opdc-role-badge {
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--opdc-accent), var(--opdc-teal));
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 1px;
}

.opdc-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.opdc-stat-card h4 {
    color: #566B76;
    font-size: 14px;
    margin-bottom: 8px;
}

.opdc-stat-card strong {
    font-size: 2rem;
    color: var(--opdc-primary);
}

.opdc-table {
    width: 100%;
    border-collapse: collapse;
}

.opdc-table th,
.opdc-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(1,58,89,0.08);
    text-align: left;
    vertical-align: middle;
}

.opdc-table th {
    color: var(--opdc-primary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.opdc-auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background:
        linear-gradient(120deg, rgba(1,58,89,0.85), rgba(17,109,173,0.75)),
        url('../theme/images/page-header-bg.jpg') center/cover no-repeat;
    padding: 40px 16px;
}

.opdc-auth-card {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.opdc-auth-card h1 {
    font-family: "Playfair Display", serif;
    color: var(--opdc-primary);
    margin-bottom: 8px;
}

.opdc-auth-card .form-control {
    border-radius: 12px;
    padding: 12px 14px;
    border-color: rgba(1,58,89,0.15);
}

.opdc-auth-card .btn-default {
    width: 100%;
    text-align: center;
    border: 0;
}

/* Booking account (sign in / register during book flow) */
.opdc-booking-account-page .opdc-panel {
    padding: 28px;
}

.opdc-booking-cart-panel .section-sub-title {
    display: inline-block;
    margin-bottom: 8px;
}

.opdc-booking-cart-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.opdc-booking-cart-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(1, 58, 89, 0.08);
}

.opdc-booking-cart-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.opdc-booking-cart-list strong {
    display: block;
    color: var(--opdc-primary, #013A59);
}

.opdc-booking-cart-list small {
    color: #6c7a86;
}

.opdc-booking-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(1, 58, 89, 0.12);
    font-size: 1.05rem;
    color: var(--opdc-primary, #013A59);
}

.opdc-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 24px;
    padding: 6px;
    border-radius: 14px;
    background: rgba(1, 58, 89, 0.06);
}

.opdc-auth-tab {
    border: 0;
    background: transparent;
    border-radius: 10px;
    padding: 12px 14px;
    font-weight: 600;
    color: #5b6b76;
    cursor: pointer;
    transition: all 0.2s ease;
}

.opdc-auth-tab.is-active {
    background: #fff;
    color: var(--opdc-primary, #013A59);
    box-shadow: 0 6px 18px rgba(1, 58, 89, 0.08);
}

.opdc-auth-pane {
    display: none;
}

.opdc-auth-pane.is-active {
    display: block;
}

.opdc-check-item.is-checked {
    border-color: rgba(17, 109, 173, 0.45);
    background: rgba(17, 109, 173, 0.06);
}

.opdc-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.opdc-check-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-height: 320px;
    overflow: auto;
    padding: 8px;
    border: 1px solid rgba(1,58,89,0.1);
    border-radius: 14px;
}

.opdc-check-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #f8fbfd;
    border-radius: 12px;
    padding: 12px;
}

.opdc-hours-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(1,58,89,0.1);
    color: #566B76;
}

.footer-copyright-text a {
    color: var(--opdc-teal);
}

.opdc-contact-sidebar {
    background: #f5f5f5;
    border-radius: 20px;
    padding: 40px 32px;
    height: 100%;
}

.opdc-contact-sidebar h4 {
    color: #013A59;
    font-family: "Playfair Display", serif;
    margin-bottom: 10px;
}

.opdc-contact-divider {
    width: 40px;
    height: 2px;
    background: #3bafbf;
    margin-bottom: 24px;
}

.opdc-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.opdc-contact-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.opdc-contact-list .icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1a80b6;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.opdc-contact-list p {
    margin: 0;
    color: #566B76;
}

.opdc-hours-table {
    width: 100%;
}

.opdc-hours-table td {
    padding: 10px 0;
    border-bottom: 1px solid rgba(1,58,89,0.08);
    color: #566B76;
}

.opdc-hours-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: #013A59;
}

.opdc-map-wrap {
    line-height: 0;
}

.opdc-privacy-content h2 {
    color: #013A59;
    font-family: "Playfair Display", serif;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.opdc-privacy-content h3 {
    color: #013A59;
    font-size: 1.2rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.opdc-privacy-content p,
.opdc-privacy-content li {
    color: #566B76;
    line-height: 1.7;
}

.opdc-privacy-content ol,
.opdc-privacy-content ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.opdc-privacy-content li {
    margin-bottom: 0.5rem;
}

.opdc-privacy-content a {
    color: #116DAD;
}

.page-category-list ul li.active a {
    color: var(--primary-color, #013A59);
    font-weight: 600;
}

.opdc-tests-menu {
    background: #f5f8fa;
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 50px;
}

.opdc-tests-menu h3 {
    color: #013A59;
    font-family: "Playfair Display", serif;
    margin-bottom: 8px;
}

.opdc-tests-menu .btn-highlighted {
    background: #013A59;
}

.opdc-profile-questions {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.opdc-profile-questions li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: #566B76;
}

.opdc-profile-questions li::before {
    content: '\f058';
    font-family: 'Font Awesome 7 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: #13E0B9;
}

.opdc-profile-group {
    margin-bottom: 40px;
}

.opdc-profile-group h3 {
    color: #013A59;
    font-family: "Playfair Display", serif;
    margin-bottom: 24px;
}

.opdc-package-badge {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #013A59;
    background: rgba(19, 224, 185, 0.18);
    border-radius: 999px;
    padding: 4px 10px;
}

.opdc-profile-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.opdc-profile-filter {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    color: #013A59;
    border: 1px solid rgba(1, 58, 89, 0.12);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.25s ease;
}

.opdc-profile-filter:hover,
.opdc-profile-filter.active {
    background: linear-gradient(90deg, #116DAD 0%, #13E0B9 100%);
    color: #fff;
    border-color: transparent;
}

.opdc-profile-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #116DAD;
    margin-bottom: 8px;
}

.opdc-profile-card .service-item-content h2 {
    font-size: 22px;
}

.opdc-profile-grid {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.opdc-profile-list-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: #f5f8fa;
    border-radius: 12px;
    padding: 20px 22px;
}

.opdc-profile-list-item h3 {
    font-size: 20px;
    margin: 0 0 6px;
}

.opdc-profile-list-item h3 a {
    color: #013A59;
    text-decoration: none;
}

.opdc-profile-list-item p {
    margin: 0;
    color: #566B76;
}

.page-service-single .page-category-list + .page-category-list {
    margin-top: -20px;
}

.opdc-systems-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 30px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.opdc-systems-table th,
.opdc-systems-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(1, 58, 89, 0.1);
    text-align: left;
    vertical-align: top;
}

.opdc-systems-table th {
    background: #013A59;
    color: #fff;
    font-weight: 600;
}

.opdc-systems-table td:first-child {
    width: 28%;
    font-weight: 600;
    color: #013A59;
    background: #f5f8fa;
}

.opdc-systems-table tr:last-child td {
    border-bottom: 0;
}

.opdc-markers-table td:first-child {
    width: 18%;
}

.opdc-disease-table td:first-child {
    width: 26%;
}

.opdc-abbrev-table td:first-child {
    width: 22%;
}

.opdc-available-tests-table th,
.opdc-available-tests-table td {
    font-size: 14px;
    white-space: nowrap;
}

.opdc-available-tests-table td:first-child,
.opdc-available-tests-table td:last-child {
    white-space: normal;
}

.opdc-available-tests-table td:first-child {
    width: 22%;
    font-weight: 600;
    color: #013A59;
    background: #f5f8fa;
}

.opdc-available-search .form-control {
    border-radius: 12px;
    border: 1px solid rgba(1, 58, 89, 0.15);
    padding: 12px 16px;
}

.opdc-common-tests-list {
    display: grid;
    gap: 16px;
}

.opdc-common-test-item {
    background: #f5f8fa;
    border-radius: 12px;
    padding: 18px 20px;
}

.opdc-common-test-item h3 {
    color: #013A59;
    font-size: 18px;
    margin: 0 0 8px;
}

.opdc-common-test-item p {
    margin: 0;
    color: #566B76;
    line-height: 1.7;
}

.pricing-item-title h2 {
    margin-bottom: 0;
}

.opdc-map-wrap iframe {
    display: block;
    width: 100%;
}

@media (max-width: 991px) {
    body:has(.opdc-topbar-public) header.main-header,
    body:has(.opdc-topbar-public) header.main-header .header-sticky.active {
        top: 0;
        left: 0;
        right: 0;
    }

    .opdc-dashboard {
        grid-template-columns: 1fr;
    }

    .opdc-sidebar {
        position: sticky;
        top: 0;
        z-index: 20;
    }

    .opdc-stats,
    .opdc-grid-2,
    .opdc-check-grid {
        grid-template-columns: 1fr;
    }
}

/* Blood tests booking list */
.opdc-blood-tests-page {
    padding-bottom: 140px;
}

.opdc-selectable-test.is-selected {
    outline: 2px solid #13E0B9;
    box-shadow: 0 12px 28px rgba(19, 224, 185, 0.18);
}

.opdc-selectable-test .opdc-add-test-btn {
    min-width: 120px;
}

.opdc-booking-list {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    background: #013A59;
    color: #fff;
    box-shadow: 0 -10px 30px rgba(1, 58, 89, 0.25);
}

.opdc-booking-list-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    flex-wrap: wrap;
}

.opdc-booking-list-summary {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.opdc-booking-list-total {
    color: #13E0B9;
    font-weight: 600;
}

.opdc-booking-list-names {
    flex: 1;
    min-width: 200px;
    font-size: 14px;
    opacity: 0.9;
    max-height: 42px;
    overflow: hidden;
}

.opdc-booking-list-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.opdc-booking-list .btn-highlighted {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

@media (max-width: 767px) {
    .opdc-booking-list-inner {
        align-items: stretch;
    }

    .opdc-booking-list-actions {
        width: 100%;
    }

    .opdc-booking-list-actions form,
    .opdc-booking-list-actions .btn-default {
        flex: 1;
    }
}

/* Homepage featured cards / carousels */
.opdc-home-carousel-section {
    padding: 90px 0;
}

.opdc-feature-test-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 30px rgba(1, 58, 89, 0.1);
    height: 100%;
}

.opdc-feature-test-card-head {
    background: #013A59;
    color: #fff;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    padding: 18px 20px;
    min-height: 96px;
}

.opdc-feature-test-card-head h3 {
    color: #fff;
    font-size: 18px;
    margin: 0;
    line-height: 1.35;
}

.opdc-feature-test-card-head strong {
    color: #13E0B9;
    white-space: nowrap;
}

.opdc-feature-test-card-body {
    padding: 18px 20px 22px;
}

.opdc-feature-test-card-body p {
    margin-bottom: 8px;
    color: #566B76;
}

.opdc-feature-test-card-body i {
    color: #13E0B9;
    margin-right: 6px;
}

.opdc-home-package-card {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(1, 58, 89, 0.1);
    height: 100%;
    border: 1px solid rgba(1, 58, 89, 0.06);
}

.opdc-home-package-card.is-highlighted {
    border-color: #13E0B9;
}

.opdc-home-package-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.opdc-home-package-top h3 {
    margin: 0;
    color: #013A59;
    font-family: "Playfair Display", serif;
    font-size: 24px;
}

.opdc-home-package-meta {
    color: #566B76;
    margin-bottom: 8px;
}

.opdc-home-package-meta i {
    color: #13E0B9;
    margin-right: 8px;
}

.opdc-home-package-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.opdc-home-package-footer strong {
    color: #013A59;
    font-size: 28px;
}

.opdc-facility-card {
    text-align: center;
    color: #fff;
}

.opdc-facility-image {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 14px;
}

.opdc-facility-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.opdc-facility-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #13E0B9;
    color: #013A59;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

.opdc-facility-card h3 {
    color: #fff;
    margin-bottom: 8px;
}

.opdc-slider-nav {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.opdc-slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(1, 58, 89, 0.15);
    background: #fff5f7;
    color: #013A59;
}

.opdc-slider-nav.light .opdc-slider-btn {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.opdc-why-grid-section {
    padding: 90px 0;
}

.opdc-why-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(1, 58, 89, 0.08);
    height: 100%;
}

.opdc-why-card .icon-box {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
}

.opdc-why-card h3 {
    color: #013A59;
    font-size: 20px;
    margin-bottom: 10px;
}

.opdc-why-card p {
    margin: 0;
    color: #566B76;
}
