﻿
.datepicker.dropdown-menu, .bootstrap-datetimepicker-widget { /* Or .bootstrap-datetimepicker-widget */
    z-index: 9999 !important;
}

@media screen and (min-width: 300px) and (max-width: 575px) {
    .healthcare-holder, .healthcare-icon {
        height: 80px !important;
        width: 80px;
    }
}

@media (max-width: 768px) {
    /* Reduce overall datepicker size */
    .datepicker.dropdown-menu, .bootstrap-datetimepicker-widget {
        font-size: 12px !important;
        width: 220px !important; /* adjust width as per your preference */
        padding: 4px !important;
    }
    /* Reduce date cells size */
    .datepicker table tr td,
    .datepicker table tr th {
        width: 26px !important;
        height: 26px !important;
        line-height: 26px !important;
        font-size: 11px !important;
    }
    /* Reduce header spacing */
    .datepicker .datepicker-switch,
    .datepicker .prev,
    .datepicker .next {
        font-size: 12px !important;
        padding: 4px 6px !important;
    }
}

/* Ensure select2 matches the input box height */
.select2-container--default .select2-selection--single {
    height: 40px; /* same as your input */
    padding: 5px 10px;
    border: none;
    border-radius: 0;
    box-sizing: border-box;
}


    /* Adjust the text vertically */
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 28px; /* aligns text vertically */
        padding-top: 20px; /* fine tune vertical alignment */
    }

@media (max-width: 768px) {
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        padding-top: 0px; /* mobile ma padding remove */
    }
}

/* Adjust the dropdown arrow */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
   /* right: 10px;*/
    margin-top: 20px !important;
}

@media (max-width: 768px) {
    .select2-container--default .select2-selection--single .select2-selection__arrow {
        margin-top: -10px !important;
        height: auto;
    }

        .select2-container--default .select2-selection--single .select2-selection__arrow b {
            border-color: #888 transparent transparent transparent;
            border-style: solid;
            border-width: 5px 4px 0 4px;
            height: 0;
            left: 50%;
            margin-left: -4px;
            margin-top: 10px !important;
            position: absolute;
            top: 50%;
            width: 0;
        }
}

/* .select2-selection__clear {
                                                    margin-top: 20px !important;
                                                }
                                         */
/* Optional: ensure the select box width fits nicely */
.select2-container {
    width: 100% !important;
}

.select2-results__option[aria-disabled=true] {
    background-color: #f1f1f1 !important;
    color: #999 !important;
    cursor: not-allowed;
}

.select2-results__option[aria-disabled=false] {
    background-color: #e7f1ff;
    color: #000;
}

    .select2-results__option[aria-disabled=false]:hover {
        background-color: #cfe2ff !important;
    }


.appts-wrap {
    background: #fff;
    border-radius: 12px;
    padding: 0 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.tabs-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.tab-btn {
    all: unset;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    padding: 12px 16px 13px;
    border-radius: 6px 6px 0 0;
    position: relative;
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

    .tab-btn:hover {
        color: #111827;
        background: #f9fafb;
    }

    .tab-btn.active {
        color: #185FA5;
        font-weight: 500;
    }

        .tab-btn.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            right: 0;
            height: 2px;
            background: #185FA5;
            border-radius: 2px 2px 0 0;
        }

.chevron {
    font-size: 10px;
    transition: transform 0.2s;
    display: inline-block;
    color: #9ca3af;
}

    .chevron.open {
        transform: rotate(180deg);
    }

.dropdown-anchor {
    position: relative;
}

.dropdown-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: -6vw;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 18px 14px;
    min-width: 280px;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

    .dropdown-panel.dropdown-panel-right {
        left: auto;
        right: -6vw;
    }



    .dropdown-panel.open {
        display: block;
    }

.panel-label {
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 12px;
}

.range-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 10px;
}

.range-wrap {
    position: relative;
    padding-top: 28px;
    padding-bottom: 4px;
}

.range-val {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    font-size: 13px;
    font-weight: 600;
    color: #185FA5;
    white-space: nowrap;
    pointer-events: none;
    background: #e8f1fb;
    padding: 2px 8px;
    border-radius: 20px;
    transition: left 0.05s;
}

input[type=range] {
    width: 100%;
    cursor: pointer;
    accent-color: #185FA5;
    height: 4px;
}

    input[type=range]::-webkit-slider-thumb {
        width: 18px;
        height: 18px;
    }

.cancer-detection-img {
    width: 70%;
    border-radius: 10px;
    float: right;
}

.qr-code-img {
    /* float: right;
            margin-top: 10px; */
    width: 151px;
    margin-left: 3px;
    margin-top: 2px;
    /* margin-left: 50px; */
}

@media (max-width: 767px) {
    .cancer-detection-img {
        float: none; /* 🔥 important */
        display: block;
        margin: 20px auto; /* center */
        width: 85%;
    }

    .qr-code-img {
        float: none; /* 🔥 important */
        display: block;
        margin: 10px auto; /* center */
    }
}


.gw,
.gw p,
.gw span,
.gw div,
.gw a,
.gw li,
.gw button,
.gw label,
.gw small,
.gw h1,
.gw h2,
.gw h3,
.gw h4,
.gw h5,
.gw h6 {
    font-family: var(--ss_medium);
    font-size: 1rem;
}

.gw {
    margin: 0 auto;
    padding: 1rem 0;
}

.toggle-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.25rem;
    padding: 0.75rem 1rem;
    background: var(--color-background-secondary);
    border-radius: var(--border-radius-md);
    color: var(--color-text-secondary);
}

    .toggle-bar strong {
        color: var(--color-text-primary);
        font-weight: 500;
    }

.tbtn {
    padding: 6px 14px;
    border-radius: var(--border-radius-md);
    border: 0.5px solid var(--color-border-secondary);
    background: var(--color-background-primary);
    cursor: pointer;
    color: var(--color-text-primary);
}

    .tbtn.on {
        background: #3D1F5F;
        color: #fff;
        border-color: #3D1F5F;
    }

.ghdr {
    background: #3D1F5F;
    border-radius: var(--border-radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

    .ghdr h1 {
        font-weight: 500;
        color: #fff;
        margin: 0 0 4px;
    }

    .ghdr p {
        color: #C4A8E0;
        margin: 0;
    }

.ghdr-r {
    text-align: right;
    flex-shrink: 0;
}

    .ghdr-r .pr {
        font-weight: 500;
        color: #fff;
    }

    .ghdr-r .hs {
        color: #C4A8E0;
        margin-top: 2px;
    }

.gtabs {
    display: flex;
    border-bottom: 0.5px solid var(--color-border-tertiary);
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.gtab {
    padding: 9px 13px;
    color: var(--color-text-secondary);
    cursor: pointer;
    border: none;
    background: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -0.5px;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

    .gtab:hover {
        color: var(--color-text-primary);
    }

    .gtab.active {
        color: #3D1F5F;
        border-bottom-color: #F15A22;
        font-weight: 500;
    }

.gcontent {
    min-height: 220px;
    padding: 0.25rem 0;
}

.tpanel {
    display: none;
}

    .tpanel.active {
        display: block;
    }

@media (max-width:575px) {
    #cta-out p {
        margin-bottom: 3rem !important;
    }

    #cta-out sub {
        margin-top: 3.8rem !important;
    }
}

.gcontent p {
    color: var(--color-text-primary);
    line-height: 1.7;
    margin: 0 0 0.75rem;
}

    .gcontent p:last-child {
        margin-bottom: 0;
    }

.sm {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0 0 0.5rem;
}

.srow {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px;
    margin: 0.75rem 0;
}

.sc {
    background: var(--color-background-secondary);
    border-radius: var(--border-radius-md);
    padding: 0.75rem;
    text-align: center;
}

    .sc .n {
        font-weight: 500;
        color: #3D1F5F;
    }

    .sc .l {
        color: var(--color-text-secondary);
        margin-top: 2px;
    }

.mission {
    background: var(--color-background-secondary);
    border-radius: var(--border-radius-md);
    padding: 0.9rem 1.1rem;
    margin: 0.75rem 0;
    border-left: 3px solid #F15A22;
}

    .mission p {
        color: var(--color-text-secondary);
        line-height: 1.6;
        margin: 0;
        font-style: italic;
    }

.risk-box {
    background: var(--color-background-secondary);
    border-radius: var(--border-radius-md);
    padding: 0.9rem 1.1rem;
    margin: 0.75rem 0;
}

    .risk-box .rt {
        font-weight: 500;
        color: var(--color-text-primary);
        margin-bottom: 6px;
    }

.risk-item {
    color: var(--color-text-secondary);
    padding: 3px 0;
    border-bottom: 0.5px solid var(--color-border-tertiary);
}

    .risk-item:last-child {
        border-bottom: none;
    }

.cgrid {
    columns: 2;
    column-gap: 1.5rem;
    margin: 0.5rem 0;
}

.cg-group {
    break-inside: avoid;
    margin-bottom: 0.6rem;
}

.cg-letter {
    font-weight: 500;
    color: #F15A22;
    margin-bottom: 3px;
}

.cg-item {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
    margin: 0.75rem 0;
}

.step {
    background: var(--color-background-secondary);
    border-radius: var(--border-radius-md);
    padding: 0.75rem;
    text-align: center;
}

.sn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #F15A22;
    color: #fff;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.4rem;
}

.st {
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: 3px;
}

.sd {
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.rrow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0.75rem 0;
}

.rc {
    border-radius: var(--border-radius-md);
    padding: 1rem;
}

    .rc.neg {
        background: #EAF3DE;
        border: 0.5px solid #97C459;
    }

    .rc.pos {
        background: #FCEBEB;
        border: 0.5px solid #F09595;
    }

.rl {
    font-weight: 500;
    margin-bottom: 5px;
}

.rc.neg .rl {
    color: #3B6D11;
}

.rc.pos .rl {
    color: #A32D2D;
}

.rd {
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.sbox {
    background: var(--color-background-secondary);
    border-radius: var(--border-radius-md);
    padding: 0.9rem 1.1rem;
    margin: 0.5rem 0;
}

.sb-title {
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: 7px;
}

.si {
    color: var(--color-text-secondary);
    line-height: 1.6;
    padding: 3px 0;
    border-bottom: 0.5px solid var(--color-border-tertiary);
}

    .si:last-child {
        border-bottom: none;
    }

    .si strong {
        color: var(--color-text-primary);
        font-weight: bold !important;
    }

.stories-row {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px;
    margin: 0.75rem 0;
}

.story-card {
    background: var(--color-background-secondary);
    border-radius: var(--border-radius-md);
    padding: 0.75rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

    .story-card strong {
        display: block;
        color: var(--color-text-primary);
        font-weight: 500;
        margin-bottom: 3px;
    }

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-background-secondary);
    border-radius: var(--border-radius-md);
    padding: 0.6rem 0.9rem;
    margin: 0.75rem 0;
    color: var(--color-text-secondary);
}

.trust-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #F15A22;
    flex-shrink: 0;
}

.cta-out {
    background: #3D1F5F;
    border-radius: var(--border-radius-lg);
    padding: 1.25rem 1.5rem;
    margin-top: 1rem;
    text-align: center;
}

    .cta-out p {
        color: #C4A8E0;
        margin: 0 0 0.75rem;
    }

.cta-out-btn {
    background: #F15A22;
    color: #fff;
    border: none;
    border-radius: var(--border-radius-md);
    padding: 10px 24px;
    font-weight: 500;
    cursor: pointer;
}

.cta-out .sub {
    color: #c4a8e0;
    margin-top: 12px;
}

.cta-in {
    background: #3D1F5F;
    border-radius: var(--border-radius-lg);
    padding: 1.25rem 1.5rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cta-in-l {
    flex: 1;
}

    .cta-in-l p {
        color: #C4A8E0;
        margin: 0 0 4px;
    }

    .cta-in-l .sub {
        color: #8B6BAE;
    }

.cta-in-btn {
    background: #F15A22;
    color: #fff;
    border: none;
    border-radius: var(--border-radius-md);
    padding: 10px 20px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
    white-space: nowrap;
}

.qrbox {
    flex-shrink: 0;
    background: #fff;
    border-radius: var(--border-radius-md);
    padding: 8px;
    text-align: center;
    width: 180px !important;
    height: 170px !important;
}

.qrlabel {
    color: #8B6BAE;
    margin-top: 4px;
}

.mn {
    color: var(--color-text-secondary);
    margin-top: 6px;
    text-align: right;
}

.disc {
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 0.5px solid var(--color-border-tertiary);
}


