
.rx-home {
    --ink: #102a43;
    --muted: #61758a;
    --brand: #0d9488;
    --brand-dark: #087b72;
    background: #fff;
    color: var(--ink);
    overflow: hidden;
}

.rx-home * {
    box-sizing: border-box;
}

.rx-home a {
    text-decoration: none;
}

.rx-hero {
    position: relative;
    padding: 82px 0 88px;
    background: linear-gradient(122deg, #f2fbfb 0%, #f8fcff 51%, #dff6f3 100%);
    overflow: hidden;
}

.rx-hero:before,
.rx-hero:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(13, 148, 136, .08);
}

.rx-hero:before {
    width: 470px;
    height: 470px;
    right: -160px;
    top: -195px;
}

.rx-hero:after {
    width: 300px;
    height: 300px;
    left: -140px;
    bottom: -180px;
}

.rx-hero .container {
    position: relative;
    z-index: 1;
}

.rx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border-radius: 30px;
    background: #fff;
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    box-shadow: 0 6px 22px rgba(23, 65, 72, .08);
}

.rx-eyebrow i {
    font-size: 10px;
}

.rx-hero h1 {
    max-width: 660px;
    margin: 17px 0;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.8px;
    color: #102a43;
}

.rx-hero h1 span {
    color: var(--brand);
}

.rx-hero p {
    max-width: 550px;
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.75;
    color: var(--muted);
}

.rx-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 9px;
    padding: 14px 21px;
    background: var(--brand);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(13, 148, 136, .22);
    transition: .25s ease;
}

.rx-button:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
}

.rx-button.rx-outline {
    margin-left: 10px;
    background: #fff;
    color: var(--ink) !important;
    box-shadow: 0 8px 20px rgba(25, 64, 78, .08);
}

.rx-button.rx-outline:hover {
    color: var(--brand) !important;
}

.rx-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 37px;
    color: #486276;
    font-size: 13px;
    font-weight: 600;
}

.rx-trust i {
    color: var(--brand);
    margin-right: 6px;
}

.rx-dashboard {
    position: relative;
    margin-left: auto;
    max-width: 480px;
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 22px;
    background: rgba(255, 255, 255, .75);
    box-shadow: 0 25px 55px rgba(27, 85, 95, .15);
    backdrop-filter: blur(10px);
    animation: rxFloat 5s ease-in-out infinite;
}

.rx-dashboard-inner {
    padding: 20px;
    border-radius: 15px;
    background: #fff;
}

.rx-mini-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.rx-mini-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    color: #174659;
}

.rx-mini-brand span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
}

.rx-mini-date {
    padding: 6px 9px;
    border-radius: 7px;
    background: #f5f8fa;
    color: #7b8d9b;
    font-size: 10px;
}

.rx-patient-row {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 0;
    border-bottom: 1px solid #edf2f4;
}

.rx-avatar {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    border-radius: 50%;
    background: #d9f2ef;
    color: #16867d;
    font-size: 13px;
    font-weight: 800;
}

.rx-patient-row h6 {
    margin: 0 0 3px;
    font-size: 12px;
    font-weight: 700;
}

.rx-patient-row p {
    margin: 0;
    font-size: 10px;
    color: #80909d;
}

.rx-status {
    margin-left: auto;
    padding: 4px 7px;
    border-radius: 5px;
    background: #e6f7ed;
    color: #278557;
    font-size: 9px;
    font-weight: 700;
}

.rx-rx-sheet {
    position: absolute;
    right: -35px;
    bottom: -31px;
    width: 195px;
    padding: 15px;
    border-radius: 13px;
    background: #102e40;
    color: #fff;
    box-shadow: 0 18px 35px rgba(7, 37, 51, .26);
    animation: rxFloat 5s ease-in-out 1s infinite;
}

.rx-rx-sheet small {
    color: #a7c7ce;
    font-size: 9px;
}

.rx-rx-sheet strong {
    display: block;
    margin: 4px 0 9px;
    font-size: 13px;
}

.rx-rx-line {
    height: 5px;
    margin-top: 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .22);
}

.rx-rx-line.short {
    width: 62%;
}

.rx-statbar {
    position: relative;
    z-index: 3;
    margin-top: -32px;
}

.rx-stat-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 26px 15px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(39, 70, 85, .11);
}

.rx-stat {
    padding: 0 25px;
    border-right: 1px solid #e9eff1;
}

.rx-stat:last-child {
    border: 0;
}

.rx-stat b {
    display: block;
    margin-bottom: 3px;
    color: var(--brand);
    font-size: 26px;
    line-height: 1;
}

.rx-stat span {
    color: #6d8190;
    font-size: 12px;
    font-weight: 600;
}

.rx-section {
    padding: 94px 0;
}

.rx-section.soft {
    background: #f6fbfb;
}

.rx-heading {
    max-width: 640px;
    margin: 0 auto 47px;
    text-align: center;
}

.rx-heading small {
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
}

.rx-heading h2 {
    margin: 10px 0 12px;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -.8px;
}

.rx-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.rx-all-doctor {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.rx-all-doctor small {
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
}

.rx-feature {
    height: 100%;
    padding: 29px 25px;
    border: 1px solid #ebf1f2;
    border-radius: 14px;
    background: #fff;
    transition: .28s ease;
}

.rx-feature:hover,
.rx-doctor-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 17px 32px rgba(19, 76, 83, .1);
    border-color: #d2ece9;
}

.rx-feature-icon {
    display: grid;
    place-items: center;
    width: 47px;
    height: 47px;
    margin-bottom: 19px;
    border-radius: 12px;
    background: #e3f6f3;
    color: var(--brand);
    font-size: 19px;
}

.rx-feature h4 {
    font-size: 17px;
    font-weight: 800;
}

.rx-feature p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.rx-doctor-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 1px solid #e8eef0;
    border-radius: 15px;
    background: #fff;
    transition: .28s ease;
}

.rx-doctor-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 138px;
    background: linear-gradient(135deg, #dff4f1, #edf7ff);
}

.rx-doctor-image img {
    width: 104px;
    height: 104px;
    object-fit: cover;
    border: 5px solid #fff;
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(31, 78, 90, .15);
}

.rx-doctor-body {
    padding: 20px 21px 18px;
}

.rx-available {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 8px;
    border-radius: 20px;
    background: #fff;
    color: #15815b;
    font-size: 10px;
    font-weight: 800;
}

.rx-doctor-body h4 {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 800;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.rx-specialty {
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
    margin-top: 10px;
}

.rx-degree {
    /* min-height: 36px; */
    /* margin: 11px 0; */
    color: #687d8c;
    font-size: 12px;
    line-height: 1.5;
}

.rx-rating {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 8px 0 12px;
}

.rx-stars {
    display: flex;
    gap: 2px;
}

.rx-stars i {
    color: #f5b301;
    font-size: 14px;
}

.rx-rating-value {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.rx-review-count {
    font-size: 13px;
    color: #777;
}

.rx-doctor-meta {
    display: flex;
    gap: 15px;
    padding-top: 12px;
    border-top: 1px solid #edf1f2;
    color: #69808e;
    font-size: 11px;
}

.rx-socials {
    display: flex;
    gap: 7px;
    margin-top: 15px;
}

.rx-socials a {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border: 1px solid #dde9e9;
    border-radius: 7px;
    color: #63808a;
    font-size: 11px;
    transition: .2s;
}

.rx-socials a:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.rx-workflow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rx-step {
    position: relative;
    flex: 1;
    max-width: 240px;
    text-align: center;
}

.rx-step:not(:last-child):after {
    content: "";
    position: absolute;
    top: 31px;
    left: 62%;
    width: 76%;
    border-top: 2px dashed #b9dbd7;
}

.rx-step-number {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 17px;
    border: 7px solid #eaf7f5;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.rx-step h5 {
    font-size: 15px;
    font-weight: 800;
}

.rx-step p {
    margin: 7px auto 0;
    max-width: 195px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}

.rx-cta {
    position: relative;
    overflow: hidden;
    padding: 50px 56px;
    border-radius: 20px;
    background: linear-gradient(115deg, #0c7d76, #14a99e);
    color: #fff;
}

.rx-cta:after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -100px;
    top: -180px;
    border: 45px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
}

.rx-cta h2 {
    margin: 0 0 10px;
    font-size: 31px;
    font-weight: 800;
}

.rx-cta p {
    max-width: 580px;
    margin: 0;
    color: #d8fffa;
    font-size: 15px;
}

.rx-cta .rx-button {
    position: relative;
    z-index: 1;
    background: #fff;
    color: #087b72 !important;
    box-shadow: none;
}

@keyframes rxFloat {
    50% {
        transform: translateY(-9px);
    }
}

@media(max-width:991px) {
    .rx-dashboard {
        margin: 52px auto 0;
    }

    .rx-hero {
        padding: 62px 0 76px;
    }

    .rx-stat {
        padding: 0 14px;
    }

    .rx-workflow {
        flex-wrap: wrap;
        gap: 30px;
    }

    .rx-step {
        flex: 0 0 42%;
    }

    .rx-step:after {
        display: none;
    }
}

@media(max-width:575px) {
    .rx-hero {
        padding: 45px 0 64px;
    }

    .rx-hero h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .rx-hero p {
        font-size: 15px;
    }

    .rx-button {
        padding: 12px 15px;
        font-size: 12px;
    }

    .rx-trust {
        gap: 11px;
        font-size: 11px;
    }

    .rx-dashboard {
        margin-top: 40px;
    }

    .rx-rx-sheet {
        right: -9px;
        bottom: -24px;
        width: 160px;
    }

    .rx-stat-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 0;
    }

    .rx-stat:nth-child(2) {
        border: 0;
    }

    .rx-stat {
        padding: 0 12px;
    }

    .rx-stat b {
        font-size: 22px;
    }

    .rx-section {
        padding: 65px 0;
    }

    .rx-heading {
        margin-bottom: 30px;
    }

    .rx-heading h2 {
        font-size: 27px;
    }

    .rx-workflow {
        gap: 26px;
    }

    .rx-step {
        flex: 0 0 100%;
    }

    .rx-cta {
        padding: 35px 25px;
    }

    .rx-cta h2 {
        font-size: 26px;
    }

    .rx-cta .rx-button {
        margin-top: 20px;
    }
}

.rx-patient-panel {
    position: relative;
    overflow: hidden;
    padding: 42px;
    border-radius: 20px;
    background: linear-gradient(135deg, #102e40, #174e63);
    color: #fff;
}

.rx-patient-panel:after {
    content: "";
    position: absolute;
    width: 270px;
    height: 270px;
    right: -80px;
    bottom: -145px;
    border: 42px solid rgba(97, 229, 212, .12);
    border-radius: 50%;
}

.rx-patient-panel h2 {
    margin: 9px 0 12px;
    font-size: 32px;
    font-weight: 800;
}

.rx-patient-panel>p {
    max-width: 540px;
    color: #c9e1e7;
    line-height: 1.7;
}

.rx-patient-list {
    display: grid;
    gap: 13px;
    margin-top: 26px;
}

.rx-patient-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ecffff;
    font-size: 14px;
    font-weight: 600;
}

.rx-patient-benefit span {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 9px;
    background: rgba(64, 214, 195, .18);
    color: #65e2d0;
}

/* .rx-qr-card {
    position: relative;
    z-index: 1;
    max-width: 255px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 16px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .2);
    text-align: center;
}

.qr-img img{
    height: 120px;
    width: 120px;

}

.rx-qr {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3px;
    width: 112px;
    margin: 0 auto 13px;
    padding: 7px;
    background: #fff;
    border: 7px solid #102e40;
} */

/* .rx-qr span {
    aspect-ratio: 1;
    background: #102e40;
} */

/* .rx-qr span:nth-child(3n),
.rx-qr span:nth-child(7n) {
    background: #fff;
} */


.rx-qr-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 255px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 16px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .2);
    text-align: center;
    overflow: hidden;
}

.rx-qr-card .qr-img {
    width: 120px;
    height: 120px;
    max-width: 100%;
    margin: 0 auto 13px;
    overflow: hidden;
}

.rx-qr-card .qr-img img {
    display: block;
    width: 120px !important;
    height: 120px !important;
    max-width: 100% !important;
    object-fit: contain;
    margin: 0 auto;
}

.rx-qr-card h6,
.rx-qr-card p {
    overflow-wrap: break-word;
}


.rx-qr-card h6 {
    margin: 0 0 5px;
    font-size: 14px;
    font-weight: 800;
}

.rx-qr-card p {
    margin: 0;
    color: #718491;
    font-size: 11px;
    line-height: 1.55;
}

@media(max-width:991px) {
    .rx-patient-panel {
        margin-bottom: 0;
    }

    .rx-qr-card {
        margin-top: 30px;
    }
}

@media(max-width:575px) {
    .rx-patient-panel {
        padding: 29px 23px;
    }

    .rx-patient-panel h2 {
        font-size: 26px;
    }
}
