/* Consult Doctor Online — Instant / Scheduled cards + consultation modal */

.oc-choose {
    background: #f3fbfb !important;
    padding: 18px 0 56px !important;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    display: block !important;
    float: none !important;
    width: 100% !important;
    clear: both !important;
    position: relative;
    overflow-x: hidden !important;
    max-width: 100% !important;
}

.oc-choose:before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(45, 212, 191, 0.12);
    top: -120px;
    left: -80px;
    pointer-events: none;
}

.oc-choose *,
.oc-choose *:before,
.oc-choose *:after,
.oc-pop *,
.oc-pop *:before,
.oc-pop *:after {
    box-sizing: border-box;
}

.oc-wrap {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    min-width: 0;
}

.oc-steps {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 4px 0 28px !important;
    padding: 0 !important;
    list-style: none !important;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.oc-steps li {
    display: flex !important;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    color: #94a3b8 !important;
}

.oc-steps li:not(:last-child):after {
    content: "";
    width: 36px;
    height: 1px;
    background: #d5e3e6;
    margin: 0 10px 0 12px;
    flex: 0 0 36px;
}

.oc-steps .is-on {
    color: #0b9e94 !important;
}

.oc-steps .step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e7eef0 !important;
    color: #6b7280 !important;
    text-align: center;
    line-height: 26px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
}

.oc-steps .is-on .step-num {
    background: #0b9e94 !important;
    color: #fff !important;
}

.oc-head {
    text-align: center;
    margin: 0 0 28px;
    min-width: 0;
    max-width: 100%;
    width: 100%;
}

.oc-choose h1,
.oc-head h1 {
    margin: 0 0 8px !important;
    color: #0f2d5b !important;
    font-size: clamp(22px, 4vw, 34px) !important;
    font-weight: 700 !important;
    text-align: center !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    overflow-wrap: break-word;
    width: 100%;
    max-width: 100%;
}

.oc-head h1 em,
.oc-head h1 span {
    font-style: normal;
    color: #0b9e94;
}

.oc-head p {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 15px !important;
    white-space: normal !important;
    overflow-wrap: break-word;
}

.oc-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: stretch;
}

.oc-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    grid-template-areas:
        "chip art"
        "title art"
        "lead art"
        "points art"
        "btn art";
    column-gap: 8px;
    row-gap: 0;
    background: #fff !important;
    border: 1px solid #e4f1f3 !important;
    border-radius: 22px !important;
    padding: 22px 18px 20px 22px !important;
    text-align: left !important;
    box-shadow: 0 12px 32px rgba(15, 60, 80, 0.06);
    overflow: hidden;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.oc-chip { grid-area: chip; align-self: start; min-width: 0; max-width: 100%; }
.oc-card h2 { grid-area: title; min-width: 0; max-width: 100%; }
.oc-lead { grid-area: lead; min-width: 0; max-width: 100%; }
.oc-points { grid-area: points; min-width: 0; max-width: 100%; }
.oc-card .oc-go { grid-area: btn; align-self: end; min-width: 0; max-width: 100%; }
.oc-card-art { grid-area: art; min-width: 0; max-width: 100%; }

.oc-card-instant {
    background: linear-gradient(180deg, #ffffff 0%, #f7fffc 100%) !important;
    border-color: #d7f0ec !important;
}

.oc-card-schedule {
    background: linear-gradient(180deg, #ffffff 0%, #faf8ff 100%) !important;
    border-color: #eadffd !important;
}

.oc-card-art {
    position: relative;
    min-width: 0;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    width: fit-content;
}

.oc-card-instant .oc-chip {
    background: #e7f7f4;
    color: #0b9e94;
}

.oc-card-schedule .oc-chip {
    background: #efe9fe;
    color: #7c3aed;
}

.oc-card h2 {
    margin: 0 0 8px !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
}

.oc-card-instant h2 {
    color: #0b9e94 !important;
}

.oc-card-schedule h2 {
    color: #6d28d9 !important;
}

.oc-lead {
    margin: 0 0 14px !important;
    color: #64748b !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    overflow-wrap: break-word;
    min-width: 0;
}

.oc-points {
    margin: 0 0 18px !important;
    padding: 0 !important;
    list-style: none !important;
    text-align: left;
    color: #334155;
    font-size: 13px;
}

.oc-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 !important;
}

.oc-pt {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    font-size: 12px;
}

.oc-card-instant .oc-pt {
    background: #dff7f2;
    color: #0b9e94;
}

.oc-card-schedule .oc-pt {
    background: #efe9fe;
    color: #7c3aed;
}

.oc-card .oc-go {
    margin-top: auto;
    max-width: 100%;
}

.oc-doctor {
    position: relative;
    width: 210px;
    height: 210px;
}

.oc-doctor-ring {
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: linear-gradient(180deg, #d8f4ef 0%, #c7efe8 100%);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.oc-doctor-ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

.oc-float {
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 2;
}

.oc-float-video {
    top: 28px;
    left: 4px;
    color: #38bdf8;
}

.oc-float-chat {
    top: 18px;
    right: 8px;
    color: #22c55e;
}

.oc-online {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    z-index: 3;
    background: #fff;
    border-radius: 12px;
    padding: 8px 12px 8px 10px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    font-size: 11px;
    font-weight: 600;
    color: #334155;
    line-height: 1.3;
    width: 150px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.oc-online i {
    color: #22c55e;
    font-size: 8px;
    margin-top: 4px;
}

.oc-cal-art {
    position: relative;
    width: 220px;
    max-width: 100%;
}

.oc-cal-art img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.oc-go {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    border: 1px solid #14b8a6;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none !important;
}

.oc-go-fill {
    background: #14b8a6 !important;
    color: #fff !important;
    border-color: #14b8a6 !important;
}

.oc-go-fill:hover,
.oc-go-fill:focus {
    background: #0f9e8e !important;
    color: #fff !important;
}

.oc-go-line {
    background: #fff !important;
    color: #7c3aed !important;
    border-color: #c4b5fd !important;
}

.oc-go-line:hover,
.oc-go-line:focus {
    background: #f5f3ff !important;
    color: #6d28d9 !important;
}

body.oc-modal-open {
    overflow: hidden;
}

.oc-pop {
    display: none !important;
    position: fixed !important;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 5000 !important;
    background: rgba(15, 32, 48, 0.48);
    overflow: auto;
    padding: 24px 16px 40px;
    -webkit-overflow-scrolling: touch;
}

.oc-pop.is-open {
    display: block !important;
}

.oc-pop-box {
    width: 100% !important;
    max-width: 980px !important;
    margin: 24px auto !important;
    background: #fff !important;
    border-radius: 22px !important;
    padding: 0 !important;
    overflow: hidden;
    position: relative;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
    display: flex !important;
    float: none !important;
}

.oc-pop-close {
    position: absolute;
    top: 16px;
    right: 18px;
    z-index: 4;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
}

.oc-pop-close:hover,
.oc-pop-close:focus {
    color: #334155;
    outline: none;
}

.oc-pop-promo {
    width: 38% !important;
    min-width: 280px;
    background: linear-gradient(180deg, #eefbf8 0%, #f7fffd 100%) !important;
    padding: 36px 28px 28px !important;
    position: relative;
    overflow: hidden;
    float: none !important;
}

.oc-pop-promo:before,
.oc-pop-promo:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(45, 212, 191, 0.12);
    pointer-events: none;
}

.oc-pop-promo:before {
    width: 180px;
    height: 180px;
    top: -50px;
    left: -40px;
}

.oc-pop-promo:after {
    width: 140px;
    height: 140px;
    bottom: 40px;
    right: -50px;
}

.oc-pop.is-schedule .oc-pop-promo {
    background: linear-gradient(180deg, #f3eefe 0%, #faf8ff 100%) !important;
}

.oc-pop.is-schedule .oc-pop-promo:before,
.oc-pop.is-schedule .oc-pop-promo:after {
    background: rgba(167, 139, 250, 0.16);
}

.oc-promo-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #d7f6f1;
    color: #0b9e94;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.oc-pop.is-schedule .oc-promo-badge {
    background: #ece7fe;
    color: #7c3aed;
}

.oc-pop-promo h3 {
    margin: 0 0 8px !important;
    color: #0f2d5b !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.oc-pop-promo .oc-promo-copy {
    margin: 0 0 18px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
    max-width: 230px;
    position: relative;
    z-index: 1;
}

.oc-promo-photo {
    position: relative;
    z-index: 1;
    width: 210px;
    height: 210px;
    margin: 8px auto 22px;
}

.oc-promo-photo .oc-photo-ring {
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: #d8f4ef;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.oc-pop.is-schedule .oc-promo-photo .oc-photo-ring {
    background: #e8e0fd;
}

.oc-promo-photo img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: center top;
}

.oc-promo-photo .oc-float-chat {
    top: 18px;
    left: -6px;
    color: #22c55e;
}

.oc-promo-photo .oc-float-video {
    top: 28px;
    right: -4px;
    color: #38bdf8;
}

.oc-promo-photo .oc-float-note {
    bottom: 28px;
    right: 4px;
    color: #60a5fa;
}

.oc-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.oc-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 14px;
}

.oc-benefits .oc-b-ico {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.oc-b-teal {
    background: #d7f6f1;
    color: #0b9e94;
}

.oc-b-purple {
    background: #ece7fe;
    color: #7c3aed;
}

.oc-b-gold {
    background: #fef3c7;
    color: #d97706;
}

.oc-benefits strong {
    display: block;
    color: #0f2d5b;
    font-size: 13px;
    font-weight: 700;
}

.oc-benefits span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 400;
}

.oc-pop-form {
    flex: 1;
    padding: 36px 40px 32px !important;
    background: #fff !important;
    min-width: 0;
    float: none !important;
}

.oc-pop-accent {
    display: block;
    width: 42px;
    height: 4px;
    border-radius: 4px;
    background: #14b8a6;
    margin: 0 0 14px;
}

.oc-pop.is-schedule .oc-pop-accent {
    background: #7c3aed;
}

.oc-pop-form h4#ocModeTitle,
.oc-pop-form #ocModeTitle {
    margin: 0 36px 6px 0 !important;
    color: #0f2d5b !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.oc-pop-lead {
    margin: 0 0 22px;
    color: #64748b;
    font-size: 13px;
}

.oc-field {
    margin: 0 0 16px;
    position: relative;
}

.oc-field label {
    display: block;
    margin: 0 0 6px;
    color: #0f2d5b;
    font-size: 13px;
    font-weight: 700;
}

.oc-req {
    color: #ef4444;
}

.oc-input {
    position: relative;
}

.oc-input > i.oc-in-ico {
    position: absolute;
    left: 14px;
    top: 50%;
    margin-top: -8px;
    color: #94a3b8;
    font-size: 15px;
    z-index: 2;
    pointer-events: none;
}

.oc-input > i.oc-in-caret {
    position: absolute;
    right: 14px;
    top: 50%;
    margin-top: -7px;
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
    z-index: 2;
}

.oc-pop .oc-field input.form-control,
.oc-pop .oc-field select.form-control,
.oc-pop .oc-field textarea.form-control,
.oc-pop #search_spec,
.oc-pop #LanChange,
.oc-pop #Call_Type,
.oc-pop #txtProblem {
    width: 100% !important;
    height: 48px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
    padding: 10px 36px 10px 42px !important;
    font-size: 16px !important;
    color: #0f2d5b !important;
    font-family: inherit !important;
    line-height: 1.4 !important;
    appearance: none;
    -webkit-appearance: none;
}

.oc-pop .oc-field textarea.form-control,
.oc-pop #txtProblem {
    height: 88px !important;
    resize: none;
    padding-top: 14px !important;
}

.oc-input.oc-input-area > i.oc-in-ico {
    top: 16px;
    margin-top: 0;
}

.oc-pop .oc-field input.form-control:focus,
.oc-pop .oc-field select.form-control:focus,
.oc-pop .oc-field textarea.form-control:focus,
.oc-pop #search_spec:focus,
.oc-pop #LanChange:focus,
.oc-pop #Call_Type:focus,
.oc-pop #txtProblem:focus {
    border-color: #14b8a6 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15) !important;
}

.oc-count {
    display: block;
    text-align: right;
    color: #94a3b8;
    font-size: 12px;
    margin-top: 4px;
}

.oc-spec-wrap {
    position: relative;
}

.oc-spec-list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 30;
    margin: 4px 0 0;
    padding: 6px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e6ecee;
    border-radius: 10px;
    max-height: 220px;
    overflow: auto;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.oc-spec-list li {
    padding: 9px 14px;
    cursor: pointer;
    color: #1f2937;
    font-size: 14px;
}

.oc-spec-list li:hover,
.oc-spec-list li:focus {
    background: #e7f7f4;
}

.oc-proceed {
    margin-top: 8px;
}

.oc-proceed .oc-go {
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 16px;
}

@media (max-width: 1100px) {
    .oc-grid {
        grid-template-columns: 1fr;
    }

    .oc-card {
        max-width: 720px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .oc-choose {
        padding: 10px 0 32px !important;
    }

    .oc-wrap {
        padding: 0 14px;
    }

    .oc-steps {
        justify-content: space-between;
        margin-bottom: 18px !important;
        padding-bottom: 6px !important;
        position: relative;
    }

    .oc-steps .step-lbl {
        display: none;
    }

    .oc-steps li {
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
        position: relative;
        gap: 0;
    }

    .oc-steps li:not(:last-child):after {
        position: absolute;
        left: calc(50% + 15px);
        right: calc(-50% + 15px);
        top: 13px;
        width: auto;
        flex: none;
        margin: 0;
        z-index: 0;
    }

    .oc-steps .step-num {
        position: relative;
        z-index: 1;
    }

    .oc-choose h1,
    .oc-head h1 {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }

    .oc-head p {
        font-size: 13px !important;
        padding: 0 8px;
    }

    .oc-card {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "chip"
            "title"
            "lead"
            "art"
            "points"
            "btn";
        padding: 18px 16px 16px !important;
        margin-bottom: 0;
        border-radius: 18px !important;
        overflow: visible;
    }

    .oc-card h2 { font-size: 24px !important; }
    .oc-card-art { min-width: 0; margin: 6px 0 14px; min-height: 200px; }

    .oc-doctor,
    .oc-doctor-ring {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }

    .oc-cal-art {
        width: 200px;
        margin: 0 auto;
    }

    .oc-pop {
        padding: 8px 8px 24px;
    }

    .oc-pop-box {
        display: block !important;
        margin: 8px auto !important;
        border-radius: 16px !important;
        max-height: none;
    }

    .oc-pop-promo {
        width: 100% !important;
        min-width: 0;
        padding: 22px 18px 12px !important;
    }

    .oc-pop-promo .oc-promo-copy {
        max-width: none;
    }

    .oc-pop-form {
        padding: 18px 16px 22px !important;
    }

    .oc-pop-form h4#ocModeTitle,
    .oc-pop-form #ocModeTitle {
        font-size: 22px !important;
    }

    .oc-promo-photo,
    .oc-promo-photo .oc-photo-ring {
        width: 150px;
        height: 150px;
    }

    .oc-promo-photo img {
        width: 146px;
        height: 146px;
    }

    .oc-pop .oc-field input.form-control,
    .oc-pop .oc-field select.form-control,
    .oc-pop .oc-field textarea.form-control,
    .oc-pop #search_spec,
    .oc-pop #LanChange,
    .oc-pop #Call_Type,
    .oc-pop #txtProblem {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .oc-steps .step-lbl {
        display: none;
    }

    .oc-steps {
        justify-content: space-between;
        width: 100%;
    }

    .oc-steps li:not(:last-child):after {
        width: auto;
        flex: 1 1 auto;
        min-width: 12px;
        margin: 0 6px;
    }

    .oc-online {
        width: 140px;
        font-size: 10px;
    }
}
