@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f6fafb;
    color: #102943;
    font-size: 16px;
    line-height: 1.5;
}

body,
button,
input,
textarea,
select,
a,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
strong,
div,
li {
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    width: calc(100% - 20px);
    height: 105px;
    margin: 4px auto 0;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 14px;
    position: fixed;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    box-shadow: 0 5px 25px rgba(20, 60, 80, 0.08);
    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.site-header.header-hidden {
    transform: translate(-50%, -130%);
    opacity: 0;
    pointer-events: none;
}

main {
    padding-top: 115px;
}


/* =========================================================
   HEADER CONTAINER
========================================================= */

.header-container {
    width: 100%;
    max-width: 1500px;
    height: 100%;
    margin: auto;
    padding: 0 38px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-self: start;
    flex-shrink: 0;
}

.brand-icon {
    width: 58px;
    height: 58px;
    background: #0b8d99;
    color: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 400;
    box-shadow: 0 8px 20px rgba(11, 141, 153, 0.18);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text strong {
    color: #102943;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.brand-text span {
    color: #667b96;
    font-size: 13px;
    font-weight: 400;
    margin-top: 5px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 0;
    justify-self: center;
}

.main-nav a {
    position: relative;
    color: #10233f;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 0;
    white-space: nowrap;
    transition: 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #078b98;
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 28px;
    height: 3px;
    background: #078b98;
    border-radius: 20px;
}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
    margin: 0;
    justify-self: end;
}

.login-link {
    color: #10233f;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: 0.2s ease;
}

.login-link:hover {
    color: #078b98;
}

.register-btn {
    min-width: 118px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    background: #0b8d99;
    color: #ffffff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(11, 141, 153, 0.18);
    transition: 0.2s ease;
}

.register-btn:hover {
    background: #087b86;
    color: #ffffff;
    transform: translateY(-2px);
}


/* =========================================================
   MOBILE BUTTON
========================================================= */

.mobile-menu-btn {
    display: none;
    border: none;
    background: transparent;
    font-size: 27px;
    color: #102943;
    cursor: pointer;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 700px;
    overflow: hidden;

    background:
        radial-gradient(circle at 90% 45%,
            rgba(12, 139, 151, 0.09),
            transparent 35%),
        linear-gradient(180deg,
            #ffffff 0%,
            #f4fafb 100%);
}

.hero-container {
    width: 100%;
    max-width: 1500px;
    min-height: 700px;
    margin: auto;
    padding: 45px 55px;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
    gap: 25px;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    max-width: 650px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 9px 18px;
    background: #eaf8f9;
    border: 1px solid #d4edef;
    border-radius: 30px;
    color: #078793;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 32px;
    box-shadow: 0 4px 12px rgba(30, 100, 110, 0.07);
}

.label-dot {
    width: 10px;
    height: 10px;
    background: #078793;
    border-radius: 50%;
}

.hero-content h1 {
    margin-bottom: 24px;
    font-size: 54px;
    line-height: 1.1;
    letter-spacing: -1.5px;
    font-weight: 700;
}

.heading-dark {
    display: block;
    color: #102943;
}

.heading-teal {
    display: block;
    color: #078b98;
}

.hero-description {
    max-width: 610px;
    color: #5f718b;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    margin-bottom: 30px;
}


/* =========================================================
   BUTTONS
========================================================= */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 35px;
}

.primary-btn,
.secondary-btn {
    min-height: 58px;
    padding: 0 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-radius: 11px;
    font-size: 15px;
    font-weight: 600;
    transition: 0.2s ease;
}

.primary-btn {
    min-width: 195px;
    background: #0b8d99;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(11, 141, 153, 0.18);
}

.primary-btn:hover {
    background: #087b86;
    transform: translateY(-2px);
}

.primary-btn i {
    font-size: 18px;
}

.secondary-btn {
    min-width: 195px;
    background: #ffffff;
    color: #078b98;
    border: 1px solid #078b98;
}

.secondary-btn:hover {
    background: #eaf8f9;
}


/* =========================================================
   TRUST FEATURES
========================================================= */

.trust-features {
    display: flex;
    align-items: center;
    gap: 22px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 11px;
}

.trust-icon {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #078b98;
    border-radius: 50%;
    font-size: 17px;
    box-shadow: 0 5px 15px rgba(30, 60, 80, 0.10);
}

.trust-text {
    display: flex;
    flex-direction: column;
}

.trust-text strong,
.trust-text span {
    color: #10233f;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}

.trust-divider {
    width: 1px;
    height: 48px;
    background: #d5e1e5;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {
    min-height: 550px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.body-card {
    width: 390px;
    height: 530px;
    position: relative;

    background:
        radial-gradient(circle at 50% 42%,
            rgba(10, 139, 151, 0.05),
            transparent 38%),
        #ffffff;

    border: 1px solid #d9eaed;
    border-radius: 30px;
    box-shadow: 0 20px 45px rgba(27, 68, 85, 0.07);
    overflow: hidden;
}

.body-title {
    position: absolute;
    top: 27px;
    left: 30px;
    color: #183b55;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    z-index: 5;
}


/* =========================================================
   BODY CIRCLES
========================================================= */

.body-circle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 1px dashed #cde7ea;
    border-radius: 50%;
}

.circle-large {
    width: 315px;
    height: 410px;
    top: 55px;
}

.circle-small {
    width: 255px;
    height: 345px;
    top: 88px;
}


/* =========================================================
   HUMAN BODY
========================================================= */

.human-body {
    width: 180px;
    height: 480px;
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.human-head {
    width: 58px;
    height: 73px;
    position: absolute;
    top: 0;
    left: 61px;
    background: rgba(211, 237, 239, 0.85);
    border: 2px solid #31a7b1;
    border-radius: 50%;
}

.human-neck {
    width: 28px;
    height: 42px;
    position: absolute;
    top: 63px;
    left: 76px;
    background: rgba(211, 237, 239, 0.85);
    border-left: 2px solid #31a7b1;
    border-right: 2px solid #31a7b1;
}

.human-torso {
    width: 108px;
    height: 170px;
    position: absolute;
    top: 88px;
    left: 36px;
    background: rgba(207, 235, 237, 0.72);
    border: 2px solid #31a7b1;
    border-radius: 50px 50px 28px 28px;
}

.chest-line {
    width: 2px;
    height: 135px;
    position: absolute;
    top: 15px;
    left: 52px;
    background: rgba(49, 167, 177, 0.28);
}

.abdomen-line {
    width: 72px;
    height: 1px;
    position: absolute;
    top: 75px;
    left: 17px;
    background: rgba(49, 167, 177, 0.28);
}

.human-arm {
    width: 32px;
    height: 175px;
    position: absolute;
    top: 96px;
    background: rgba(207, 235, 237, 0.72);
    border: 2px solid #31a7b1;
    border-radius: 22px;
}

.arm-left {
    left: 7px;
    transform: rotate(5deg);
}

.arm-right {
    right: 7px;
    transform: rotate(-5deg);
}

.human-leg {
    width: 40px;
    height: 215px;
    position: absolute;
    top: 245px;
    background: rgba(207, 235, 237, 0.72);
    border: 2px solid #31a7b1;
    border-radius: 0 0 24px 24px;
}

.leg-left {
    left: 44px;
}

.leg-right {
    right: 44px;
}


/* =========================================================
   PAIN POINTS
========================================================= */

.pain-point {
    width: 21px;
    height: 21px;
    position: absolute;
    background: #078b98;
    border: 4px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;

    box-shadow:
        0 0 0 7px rgba(7, 139, 152, 0.10),
        0 4px 12px rgba(7, 139, 152, 0.18);

    z-index: 10;
}

.pain-shoulder {
    top: 125px;
    left: 225px;
}

.pain-back {
    top: 220px;
    left: 177px;
}

.pain-knee {
    top: 375px;
    left: 208px;
}


/* =========================================================
   LABELS
========================================================= */

.location-label,
.clinical-label {
    position: absolute;
    background: #ffffff;
    border-radius: 11px;
    padding: 10px 15px;
    color: #152b43;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 7px 18px rgba(26, 59, 78, 0.10);
    z-index: 20;
}

.location-label {
    left: 22px;
    top: 185px;
}

.clinical-label {
    right: 35px;
    bottom: 85px;
}

.body-floor {
    width: 190px;
    height: 17px;
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    background: rgba(7, 139, 152, 0.09);
    border-radius: 50%;
}


/* =========================================================
   FLOATING CARDS
========================================================= */

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #e1eaed;
    border-radius: 15px;
    box-shadow: 0 12px 28px rgba(23, 59, 78, 0.10);
    z-index: 30;
}

.secure-card {
    top: 90px;
    right: -25px;
    width: 235px;
}

.journey-card {
    bottom: 105px;
    right: -25px;
    width: 235px;
}

.floating-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #e8f7f8;
    color: #078b98;
    font-size: 20px;
}

.shield-icon {
    background: #0b919c;
    color: #ffffff;
}

.floating-content strong {
    display: block;
    color: #10233f;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.floating-content span {
    display: block;
    color: #647994;
    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   JOURNEY CHART
========================================================= */

.journey-chart {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    padding: 8px;
    background: #ffffff;
    border-radius: 10px;
}

.journey-chart span {
    width: 7px;
    background: #0b9aa4;
    border-radius: 2px 2px 0 0;
}

.journey-chart span:nth-child(1) {
    height: 16px;
}

.journey-chart span:nth-child(2) {
    height: 26px;
}

.journey-chart span:nth-child(3) {
    height: 36px;
}

.journey-chart span:nth-child(4) {
    height: 44px;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.simple-section {
    padding: 85px 30px;
    background: #ffffff;
}

.section-container {
    max-width: 1150px;
    margin: auto;
    text-align: center;
}

.section-label {
    display: inline-block;
    color: #078b98;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-container h2 {
    color: #102943;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-container > p {
    max-width: 700px;
    margin: auto;
    color: #647994;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   CHOOSE DOMAIN
========================================================= */

.domain-section {
    position: relative;
    padding: 100px 30px;
    background:
        radial-gradient(circle at 10% 20%,
            rgba(11, 141, 153, 0.06),
            transparent 28%),
        linear-gradient(180deg,
            #f8fcfd 0%,
            #eef8f9 100%);
    border-top: 1px solid #e3eff1;
    border-bottom: 1px solid #e3eff1;
}

.domain-heading {
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center;
}

.domain-heading .section-label {
    margin-bottom: 12px;
}

.domain-heading h2 {
    margin-bottom: 15px;
}

.domain-heading p {
    max-width: 650px;
    margin: auto;
    color: #647994;
    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   DOMAIN GRID
========================================================= */

.domain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1150px;
    margin: auto;
}


/* =========================================================
   DOMAIN CARD
========================================================= */

.domain-card {
    position: relative;
    min-height: 390px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid #dcebed;
    border-radius: 22px;

    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(27, 68, 85, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.domain-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -90px;
    right: -70px;

    background: rgba(11, 141, 153, 0.07);

    border-radius: 50%;

    transition: 0.35s ease;
}

.domain-card:hover {
    transform: translateY(-8px);

    border-color: rgba(11, 141, 153, 0.35);

    box-shadow:
        0 20px 45px rgba(27, 68, 85, 0.11);
}

.domain-card:hover::before {
    transform: scale(1.35);
}


/* =========================================================
   DOMAIN CARD TOP
========================================================= */

.domain-card-top {
    position: relative;

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    margin-bottom: 30px;

    z-index: 2;
}

.domain-icon {
    width: 65px;
    height: 65px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 17px;

    font-size: 25px;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.patient-icon {
    background: #e8f7f8;
    color: #078b98;
}

.clinician-icon {
    background: #edf5ff;
    color: #2477b8;
}

.investigator-icon {
    background: #f3efff;
    color: #7354b7;
}

.domain-card:hover .domain-icon {
    transform: translateY(-3px) scale(1.05);
}

.domain-arrow {
    width: 39px;
    height: 39px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #dcebed;

    border-radius: 50%;

    color: #668095;

    background: #ffffff;

    font-size: 13px;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.domain-card:hover .domain-arrow {
    background: #0b8d99;
    color: #ffffff;
    border-color: #0b8d99;
    transform: rotate(45deg);
}


/* =========================================================
   DOMAIN CONTENT
========================================================= */

.domain-card-content {
    position: relative;
    z-index: 2;
}

.domain-number {
    display: block;

    margin-bottom: 9px;

    color: #8ca0b2;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;
}

.domain-card h3 {
    color: #102943;

    font-size: 21px;

    line-height: 1.3;

    font-weight: 700;

    margin-bottom: 13px;
}

.domain-card p {
    min-height: 76px;

    color: #647994;

    font-size: 13px;

    line-height: 1.7;

    margin-bottom: 24px;
}

.domain-action {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: #078b98;

    font-size: 13px;

    font-weight: 700;

    transition: gap 0.25s ease;
}

.domain-card:hover .domain-action {
    gap: 15px;
}

.domain-action i {
    font-size: 13px;
}


/* =========================================================
   DOMAIN NOTE
========================================================= */

.domain-note {
    max-width: 1150px;

    margin: 30px auto 0;

    padding: 14px 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    color: #6a7f91;

    font-size: 12px;

    text-align: center;
}

.domain-note i {
    color: #078b98;
    font-size: 14px;
}


/* =========================================================
   CONDITIONS
========================================================= */

.conditions-section {
    padding: 85px 30px;
    background: #f5fafb;
}

.condition-grid {
    margin-top: 45px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.condition-card {
    padding: 28px;

    background: #ffffff;

    border: 1px solid #e1ebee;

    border-radius: 17px;

    text-align: left;

    transition: 0.2s ease;
}

.condition-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 15px 30px rgba(25, 60, 80, 0.07);
}

.condition-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 18px;

    background: #e7f7f8;

    color: #078b98;

    border-radius: 12px;

    font-size: 19px;
}

.condition-card h3 {
    color: #102943;

    font-size: 17px;

    font-weight: 600;

    margin-bottom: 8px;
}

.condition-card p {
    color: #6c7f91;

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   STEPS
========================================================= */

.steps-grid {
    margin-top: 45px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.step-card {
    padding: 30px;

    background: #ffffff;

    border: 1px solid #e0e9ed;

    border-radius: 17px;

    text-align: left;
}

.step-number {
    color: #078b98;

    font-size: 13px;

    font-weight: 700;

    display: block;

    margin-bottom: 16px;
}

.step-card h3 {
    color: #102943;

    font-size: 18px;

    font-weight: 600;

    margin-bottom: 8px;
}

.step-card p {
    color: #6b7e90;

    font-size: 13px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    padding: 75px 30px;
    background: #f5fafb;
}

.contact-box {
    max-width: 1150px;

    margin: auto;

    padding: 45px;

    background: #e8f7f8;

    border: 1px solid #d2ecee;

    border-radius: 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.contact-box h2 {
    color: #102943;

    font-size: 30px;

    font-weight: 700;

    line-height: 1.25;

    margin-bottom: 12px;
}

.contact-box p {
    color: #61768e;

    font-size: 14px;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding-top: 55px;

    background: #102b3e;

    color: #ffffff;
}

.footer-container {
    max-width: 1150px;

    margin: auto;

    padding: 0 30px 45px;

    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 50px;
}

.footer-brand .brand-text strong {
    color: #ffffff;
}

.footer-brand .brand-text span {
    color: #91a4b1;
}

.footer-brand p {
    max-width: 350px;

    margin-top: 18px;

    color: #91a4b1;

    font-size: 12px;

    line-height: 1.7;
}

.footer-links {
    display: flex;

    flex-direction: column;

    gap: 9px;
}

.footer-links h4 {
    font-size: 14px;

    font-weight: 600;

    margin-bottom: 7px;
}

.footer-links a {
    color: #91a4b1;

    font-size: 12px;

    transition: 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding: 18px 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    text-align: center;

    color: #8297a5;

    font-size: 11px;
}


/* =========================================================
   TABLET - 1200
========================================================= */

@media (max-width: 1200px) {

    .header-container {
        padding: 0 25px;
    }

    .main-nav {
        gap: 20px;
    }

    .main-nav a,
    .login-link {
        font-size: 13px;
    }

    .header-actions {
        gap: 18px;
    }

    .hero-container {
        padding-left: 35px;
        padding-right: 35px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .body-card {
        width: 350px;
        height: 490px;
    }

    .secure-card,
    .journey-card {
        right: -15px;
    }

    .domain-grid {
        gap: 18px;
    }

    .domain-card {
        padding: 25px;
    }
}


/* =========================================================
   TABLET - 1000
========================================================= */

@media (max-width: 1000px) {

    .site-header {
        height: 90px;
    }

    main {
        padding-top: 100px;
    }

    .brand-icon {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }

    .brand-text strong {
        font-size: 25px;
    }

    .brand-text span {
        font-size: 11px;
    }

    .main-nav {
        gap: 13px;
    }

    .main-nav a,
    .login-link {
        font-size: 12px;
    }

    .register-btn {
        min-width: 95px;
        height: 46px;
        font-size: 12px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 55px;
    }

    .hero-content {
        max-width: 700px;
        margin: auto;
    }

    .hero-label,
    .hero-buttons,
    .trust-features {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 20px;
    }

    .condition-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .domain-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
    }

    .domain-card {
        min-height: 320px;
    }

    .domain-card p {
        min-height: auto;
    }
}


/* =========================================================
   MOBILE - 700
========================================================= */

@media (max-width: 700px) {

    .site-header {
        width: calc(100% - 12px);
        height: 78px;
        margin-top: 6px;
        top: 6px;
    }

    main {
        padding-top: 85px;
    }

    .header-container {
        padding: 0 15px;
        display: flex;
        justify-content: space-between;
    }

    .brand {
        gap: 10px;
    }

    .brand-icon {
        width: 44px;
        height: 44px;
        border-radius: 11px;
        font-size: 25px;
    }

    .brand-text strong {
        font-size: 21px;
    }

    .brand-text span {
        font-size: 9px;
    }

    .main-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        margin-left: auto;
    }

    .main-nav.mobile-open {
        display: flex;

        position: absolute;

        top: 82px;
        left: 8px;
        right: 8px;

        padding: 18px;

        flex-direction: column;
        align-items: stretch;

        gap: 4px;

        background: #ffffff;

        border: 1px solid #e0eaed;

        border-radius: 14px;

        box-shadow: 0 15px 35px rgba(20, 60, 80, 0.12);
    }

    .main-nav.mobile-open a {
        padding: 12px 10px;
    }

    .main-nav.mobile-open a.active::after {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-container {
        min-height: auto;
        padding: 45px 18px 65px;
    }

    .hero-content h1 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        max-width: 300px;
    }

    .trust-features {
        flex-wrap: wrap;
    }

    .trust-divider {
        display: none;
    }

    .hero-visual {
        min-height: 520px;
    }

    .body-card {
        width: 310px;
        height: 450px;
    }

    .secure-card,
    .journey-card {
        width: 205px;
        padding: 12px;
        right: -5px;
    }

    .floating-icon,
    .journey-chart {
        width: 42px;
        height: 42px;
    }

    .floating-content strong {
        font-size: 13px;
    }

    .floating-content span {
        font-size: 11px;
    }

    .domain-section {
        padding: 75px 18px;
    }

    .domain-heading {
        margin-bottom: 35px;
    }

    .domain-heading h2 {
        font-size: 32px;
    }

    .domain-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .domain-card {
        min-height: 350px;
        padding: 25px;
        border-radius: 19px;
    }

    .domain-card h3 {
        font-size: 20px;
    }

    .domain-note {
        align-items: flex-start;
        padding-left: 5px;
        padding-right: 5px;
    }

    .condition-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .contact-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   SMALL MOBILE - 450
========================================================= */

@media (max-width: 450px) {

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-label {
        font-size: 11px;
    }

    .hero-description {
        font-size: 14px;
    }

    .body-card {
        width: 285px;
        height: 430px;
    }

    .human-body {
        transform: translateX(-50%) scale(0.78);
        transform-origin: top center;
    }

    .body-circle.circle-large {
        width: 245px;
        height: 340px;
    }

    .body-circle.circle-small {
        width: 200px;
        height: 290px;
    }

    .secure-card,
    .journey-card {
        width: 185px;
    }

    .floating-content strong {
        font-size: 12px;
    }

    .floating-content span {
        font-size: 10px;
    }

    .section-container h2 {
        font-size: 30px;
    }

    .simple-section,
    .conditions-section {
        padding: 65px 18px;
    }

    .domain-section {
        padding: 65px 15px;
    }

    .domain-heading h2 {
        font-size: 29px;
    }

    .domain-heading p {
        font-size: 14px;
    }

    .domain-card {
        min-height: 340px;
        padding: 23px;
    }

    .domain-icon {
        width: 58px;
        height: 58px;
        border-radius: 15px;
        font-size: 22px;
    }

    .domain-card h3 {
        font-size: 19px;
    }

    .domain-card p {
        font-size: 12px;
    }

    .domain-action {
        font-size: 12px;
    }

    .contact-section {
        padding: 55px 18px;
    }

    .contact-box {
        padding: 30px 22px;
    }

    .contact-box h2 {
        font-size: 27px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   PAINCARE - REGISTER PAGE
========================================================= */

.register-page {
    background: #f6fafb;
    min-height: 100vh;
}


/* =========================================================
   REGISTER HEADER
========================================================= */

.register-header {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    transform: none;
}

.register-header-login {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #667085;
}

.register-header-login a {
    color: #087f8c;
    font-weight: 700;
    text-decoration: none;
}

.register-header-login a:hover {
    text-decoration: underline;
}


/* =========================================================
   REGISTER MAIN
========================================================= */

.register-main {
    min-height: calc(100vh - 90px);
    padding: 70px 24px;
}

.register-wrapper {
    width: min(1120px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;

    align-items: center;
}


/* =========================================================
   LEFT INTRO
========================================================= */

.register-intro {
    padding: 20px 0;
}

.register-intro h1 {
    margin: 18px 0 20px;

    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.08;
    font-weight: 800;

    color: #152b35;
    letter-spacing: -1.5px;
}

.register-intro h1 span {
    display: block;
    color: #087f8c;
}

.register-intro > p {
    max-width: 500px;

    margin-bottom: 32px;

    font-size: 16px;
    line-height: 1.8;

    color: #667085;
}


/* =========================================================
   SELECTED DOMAIN
========================================================= */

.selected-domain-card {
    display: flex;
    align-items: center;
    gap: 16px;

    width: min(100%, 430px);

    padding: 18px;

    background: #ffffff;

    border: 1px solid #e2ecee;
    border-radius: 16px;

    box-shadow: 0 12px 35px rgba(20, 60, 70, 0.07);
}

.selected-domain-icon {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #e7f7f8;
    color: #087f8c;

    font-size: 20px;
}

.selected-domain-card > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.selected-domain-card span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #98a2b3;
}

.selected-domain-card strong {
    font-size: 16px;
    color: #152b35;
}


/* =========================================================
   SECURITY CARD
========================================================= */

.register-security {
    display: flex;
    gap: 14px;

    margin-top: 28px;
    max-width: 500px;
}

.security-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #eaf6f2;
    color: #087f8c;
}

.register-security strong {
    display: block;

    margin-bottom: 4px;

    color: #263c45;
    font-size: 14px;
}

.register-security p {
    margin: 0;

    color: #7a8790;

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   CHANGE DOMAIN
========================================================= */

.back-domain {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 30px;

    color: #087f8c;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}

.back-domain:hover {
    gap: 12px;
}


/* =========================================================
   REGISTER CARD
========================================================= */

.register-card {
    background: #ffffff;

    padding: 42px;

    border: 1px solid #e3ecee;
    border-radius: 24px;

    box-shadow: 0 25px 70px rgba(20, 60, 70, 0.10);
}

.register-card-header {
    margin-bottom: 30px;
}

.form-step {
    display: inline-flex;

    padding: 6px 11px;

    border-radius: 30px;

    background: #e7f7f8;
    color: #087f8c;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;
}

.register-card-header h2 {
    margin: 14px 0 8px;

    color: #152b35;

    font-size: 28px;
    font-weight: 800;
}

.register-card-header p {
    margin: 0;

    color: #7a8790;

    font-size: 14px;
}


/* =========================================================
   FORM
========================================================= */

.register-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #344054;

    font-size: 13px;
    font-weight: 600;
}

.input-wrapper {
    position: relative;
}

.input-wrapper > i:first-child {
    position: absolute;

    left: 16px;
    top: 50%;

    transform: translateY(-50%);

    color: #98a2b3;

    font-size: 14px;

    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    height: 52px;

    padding: 0 45px 0 45px;

    border: 1px solid #dce5e7;
    border-radius: 12px;

    background: #fbfdfd;

    color: #152b35;

    font-family: "Poppins", sans-serif;
    font-size: 13px;

    outline: none;

    box-sizing: border-box;

    transition: 0.2s ease;
}

.input-wrapper input::placeholder {
    color: #a7b0b5;
}

.input-wrapper input:focus {
    border-color: #087f8c;

    background: #ffffff;

    box-shadow: 0 0 0 4px rgba(8, 127, 140, 0.08);
}


/* =========================================================
   PASSWORD TOGGLE
========================================================= */

.password-toggle {
    position: absolute;

    right: 14px;
    top: 50%;

    transform: translateY(-50%);

    border: none;
    background: transparent;

    color: #98a2b3;

    cursor: pointer;

    padding: 5px;
}

.password-toggle:hover {
    color: #087f8c;
}


/* =========================================================
   TERMS
========================================================= */

.register-terms {
    margin-top: 2px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    color: #667085;

    font-size: 12px;
    line-height: 1.5;

    cursor: pointer;
}

.checkbox-label input {
    margin-top: 3px;
    accent-color: #087f8c;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.register-submit {
    width: 100%;
    min-height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    margin-top: 4px;

    border: none;
    border-radius: 12px;

    background: #087f8c;
    color: #ffffff;

    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.25s ease;
}

.register-submit:hover {
    background: #066b76;

    transform: translateY(-1px);

    box-shadow: 0 10px 25px rgba(8, 127, 140, 0.20);
}


/* =========================================================
   LOGIN LINK
========================================================= */

.form-login-link {
    text-align: center;

    color: #8a969c;

    font-size: 12px;
}

.form-login-link a {
    color: #087f8c;

    font-weight: 700;

    text-decoration: none;
}

.form-login-link a:hover {
    text-decoration: underline;
}


/* =========================================================
   REGISTER FOOTER
========================================================= */

.register-footer {
    padding: 22px 20px;

    text-align: center;

    border-top: 1px solid #e5eeee;

    background: #ffffff;

    color: #98a2b3;

    font-size: 12px;
}


/* =========================================================
   REGISTER RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .register-wrapper {
        grid-template-columns: 1fr;

        gap: 40px;

        max-width: 650px;
    }

    .register-intro {
        text-align: center;
    }

    .register-intro > p {
        margin-left: auto;
        margin-right: auto;
    }

    .selected-domain-card {
        margin-left: auto;
        margin-right: auto;

        text-align: left;
    }

    .register-security {
        margin-left: auto;
        margin-right: auto;

        text-align: left;
    }

    .back-domain {
        justify-content: center;
    }
}


@media (max-width: 600px) {

    .register-main {
        padding: 40px 16px;
    }

    .register-card {
        padding: 26px 20px;

        border-radius: 18px;
    }

    .register-card-header h2 {
        font-size: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .register-header-login span {
        display: none;
    }

    .register-intro h1 {
        font-size: 38px;
    }
}


/* =========================================================
   LOGIN SUCCESS POPUP
========================================================= */

.login-success-popup {
    position: fixed;
    top: 90px;
    right: 25px;

    z-index: 999999;

    width: 360px;
    min-height: 72px;

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 14px 16px;

    background: #ffffff;

    border: 1px solid #d1fae5;

    border-radius: 14px;

    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.18);

    animation: loginPopupShow 0.35s ease;
}

.login-success-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #10b981;
    color: #ffffff;

    font-size: 17px;
}

.login-success-text {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.login-success-text strong {
    color: #0f172a;

    font-size: 14px;
    font-weight: 700;
}

.login-success-text span {
    color: #64748b;

    font-size: 12px;
}

.login-success-close {
    width: 30px;
    height: 30px;

    margin-left: auto;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;

    background: transparent;

    color: #94a3b8;

    border-radius: 7px;

    cursor: pointer;

    font-size: 15px;
}

.login-success-close:hover {
    background: #f1f5f9;
    color: #334155;
}

@keyframes loginPopupShow {

    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {

    .login-success-popup {
        top: 80px;
        left: 15px;
        right: 15px;
        width: auto;
    }
}


/* =========================================================
   PAINCARE - PATIENT DASHBOARD
   LARGE PROFESSIONAL CONTENT
========================================================= */

/* Main dashboard base */
.patient-dashboard {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #102943;
}

/* Make ALL text inside patient dashboard readable */
.patient-dashboard p {
    font-size: 15px;
    line-height: 1.65;
}

.patient-dashboard span {
    font-size: 15px;
}

.patient-dashboard label {
    font-size: 15px;
}

.patient-dashboard li {
    font-size: 15px;
}


/* =========================================================
   WELCOME
========================================================= */

.patient-welcome h1 {
    font-size: 40px !important;
    font-weight: 700;
    line-height: 1.3;
}

.patient-welcome p {
    font-size: 16px !important;
}


/* =========================================================
   STAT CARDS
========================================================= */

.patient-stat-content span {
    font-size: 25px !important;
    font-weight: 500;
}

.patient-stat-content strong {
    font-size: 23px !important;
    font-weight: 700;
}


/* =========================================================
   CARD HEADINGS
========================================================= */

.patient-card-header h2 {
    font-size: 30px !important;
    font-weight: 700;
}

.patient-card-header span {
    font-size: 14px !important;
}


/* =========================================================
   PROFILE
========================================================= */

.profile-item span {
    font-size: 24px !important;
    font-weight: 500;
}

.profile-item strong {
    font-size: 16px !important;
    font-weight: 600;
}


/* =========================================================
   QUICK ACCESS
========================================================= */

.quick-action span {
    font-size: 16px !important;
    font-weight: 600;
}


/* =========================================================
   PATIENT CODE
========================================================= */

.patient-code-box > span {
    font-size: 14px !important;
    font-weight: 600;
}

.patient-code-box strong {
    font-size: 23px !important;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.patient-code-box p {
    font-size: 15px !important;
    line-height: 1.6;
}


/* =========================================================
   JOURNEY / SECURITY
========================================================= */

.empty-state p {
    font-size: 15px !important;
    line-height: 1.6;
}


/* =========================================================
   TOP HEADER
========================================================= */

.patient-page-title span {
    font-size: 14px !important;
}

.patient-page-title strong {
    font-size: 21px !important;
    font-weight: 700;
}

.patient-user-info strong {
    font-size: 16px !important;
    font-weight: 600;
}

.patient-user-info span {
    font-size: 14px !important;
}


/* =========================================================
   DASHBOARD BUTTONS
========================================================= */

.patient-dashboard button {
    font-family: 'Poppins', sans-serif;
    font-size: 15px !important;
}

.patient-dashboard a {
    font-size: 15px;
}


/* =========================================================
   DASHBOARD TABLES
========================================================= */

.patient-dashboard table {
    font-size: 15px;
}

.patient-dashboard th {
    font-size: 14px !important;
    font-weight: 600;
}

.patient-dashboard td {
    font-size: 15px !important;
}


/* =========================================================
   DASHBOARD FORM FIELDS
========================================================= */

.patient-dashboard input,
.patient-dashboard textarea,
.patient-dashboard select {
    font-family: 'Poppins', sans-serif;
    font-size: 15px !important;
}

.patient-dashboard input::placeholder,
.patient-dashboard textarea::placeholder {
    font-size: 14px;
}


/* =========================================================
   DASHBOARD MOBILE
========================================================= */

@media (max-width: 700px) {

    .patient-dashboard {
        font-size: 15px;
    }

    .patient-welcome h1 {
        font-size: 27px !important;
    }

    .patient-welcome p {
        font-size: 15px !important;
    }

    .patient-stat-content span {
        font-size: 14px !important;
    }

    .patient-stat-content strong {
        font-size: 21px !important;
    }

    .patient-card-header h2 {
        font-size: 18px !important;
    }

    .profile-item span {
        font-size: 13px !important;
    }

    .profile-item strong {
        font-size: 15px !important;
    }

    .quick-action span {
        font-size: 15px !important;
    }

    .patient-code-box > span {
        font-size: 13px !important;
    }

    .patient-code-box strong {
        font-size: 21px !important;
    }

    .patient-code-box p {
        font-size: 14px !important;
    }

    .patient-dashboard p {
        font-size: 14px;
    }

    .patient-dashboard table {
        font-size: 14px;
    }

    .patient-dashboard td {
        font-size: 14px !important;
    }
}
/* =========================================================
   PAINCARE PATIENT DASHBOARD
   FORCE LARGE CONTENT SIZE
   ADD THIS AT THE VERY END OF style.css
========================================================= */

/* Main dashboard text */
.patient-dashboard,
.patient-dashboard * {
    font-family: 'Poppins', sans-serif;
}

/* Welcome section */
.patient-welcome h1 {
    font-size: 34px !important;
    font-weight: 700 !important;
}

.patient-welcome p {
    font-size: 17px !important;
    line-height: 1.7 !important;
}

/* =========================================================
   STAT CARDS
========================================================= */

.patient-stat-content span {
    font-size: 15px !important;
    font-weight: 500 !important;
}

.patient-stat-content strong {
    font-size: 28px !important;
    font-weight: 700 !important;
}

/* =========================================================
   CARD HEADINGS
========================================================= */

.patient-card-header h2 {
    font-size: 21px !important;
    font-weight: 700 !important;
}

.patient-card-header span {
    font-size: 14px !important;
}

/* =========================================================
   PROFILE
========================================================= */

.profile-item span {
    font-size: 14px !important;
    font-weight: 500 !important;
}

.profile-item strong {
    font-size: 17px !important;
    font-weight: 600 !important;
}

/* =========================================================
   QUICK ACCESS
========================================================= */

.quick-action span {
    font-size: 16px !important;
    font-weight: 600 !important;
}

/* =========================================================
   PATIENT CODE
========================================================= */

.patient-code-box > span {
    font-size: 14px !important;
    font-weight: 600 !important;
}

.patient-code-box strong {
    font-size: 30px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
}

.patient-code-box p {
    font-size: 15px !important;
    line-height: 1.7 !important;
}

/* =========================================================
   JOURNEY / SECURITY
========================================================= */

.empty-state p {
    font-size: 15px !important;
    line-height: 1.7 !important;
}

/* =========================================================
   PATIENT TOP HEADER
========================================================= */

.patient-page-title span {
    font-size: 14px !important;
}

.patient-page-title strong {
    font-size: 23px !important;
    font-weight: 700 !important;
}

.patient-user-info strong {
    font-size: 16px !important;
    font-weight: 600 !important;
}

.patient-user-info span {
    font-size: 14px !important;
}

/* =========================================================
   GENERAL DASHBOARD TEXT
========================================================= */

.patient-dashboard p {
    font-size: 15px !important;
}

.patient-dashboard label {
    font-size: 14px !important;
}

.patient-dashboard button {
    font-size: 15px !important;
}

.patient-dashboard a {
    font-size: 15px !important;
}

/* =========================================================
   TABLE CONTENT
========================================================= */

.patient-dashboard table th {
    font-size: 14px !important;
    font-weight: 700 !important;
}

.patient-dashboard table td {
    font-size: 15px !important;
}

/* =========================================================
   DASHBOARD CARDS
========================================================= */

.patient-dashboard .card,
.patient-dashboard .dashboard-card,
.patient-dashboard .patient-card {
    font-size: 15px !important;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .patient-welcome h1 {
        font-size: 28px !important;
    }

    .patient-welcome p {
        font-size: 15px !important;
    }

    .patient-stat-content span {
        font-size: 14px !important;
    }

    .patient-stat-content strong {
        font-size: 25px !important;
    }

    .patient-card-header h2 {
        font-size: 19px !important;
    }

    .profile-item span {
        font-size: 13px !important;
    }

    .profile-item strong {
        font-size: 16px !important;
    }

    .quick-action span {
        font-size: 15px !important;
    }

    .patient-code-box strong {
        font-size: 27px !important;
    }

    .patient-code-box p {
        font-size: 14px !important;
    }
}
#backBody {
    display: none;
}

/* =========================================================
   BODY IMAGE
========================================================= */

.body-image {
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);

    width: 180px;
    height: 480px;

    object-fit: contain;
    object-position: center center;

    display: block;

    z-index: 4;
    pointer-events: none;
}
@media (max-width: 700px) {

    .body-image {
        width: 170px;
        height: 450px;
        top: 55px;
    }
}

@media (max-width: 450px) {

    .body-image {
        width: 160px;
        height: 420px;
        top: 55px;
    }
}
/* =====================================================
   PAIN DRAWING CARD
===================================================== */

.pain-drawing-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 28px;
    margin-top: 20px;
}

.drawing-header h2 {
    font-size: 19px;
    color: #0f172a;
    margin-bottom: 5px;
}

.drawing-header h2 i {
    color: #0f766e;
    margin-right: 8px;
}

.drawing-header p {
    color: #64748b;
    font-size: 12px;
}


/* =====================================================
   AGE / GENDER
===================================================== */

.patient-selection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 25px;
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: #94a3b8;
    font-size: 10px;
}


/* =====================================================
   SECTION
===================================================== */

.drawing-section-title {
    font-size: 15px;
    color: #0f172a;
    margin-top: 28px;
    margin-bottom: 7px;
}

.scale-description {
    color: #64748b;
    font-size: 11px;
    margin-bottom: 15px;
}


/* =====================================================
   BODY VIEWS
===================================================== */

.body-view-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.view-btn {
    border: 1px solid #dbe3e8;
    background: #f8fafc;
    color: #64748b;
    padding: 12px 10px;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    transition: .2s ease;
}

.view-btn i {
    margin-right: 5px;
}

.view-btn:hover {
    border-color: #0f766e;
    color: #0f766e;
}

.view-btn.active {
    background: #ecfdf5;
    border-color: #0f766e;
    color: #0f766e;
}


/* =====================================================
   PAIN SCALE
===================================================== */

.pain-scale-section {
    margin-top: 10px;
}

.pain-scale {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    gap: 7px;
}

.pain-number {
    height: 43px;
    border: 2px solid #e2e8f0;
    border-radius: 9px;
    background: #ffffff;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    transition: .2s ease;
}

.pain-number:hover {
    transform: translateY(-2px);
}

.pain-number.selected {
    color: #ffffff;
    border-color: transparent;
}


/* severity colors */

.pain-number[data-level="0"].selected {
    background: #22c55e;
}

.pain-number[data-level="1"].selected {
    background: #4ade80;
}

.pain-number[data-level="2"].selected {
    background: #86efac;
    color: #14532d;
}

.pain-number[data-level="3"].selected {
    background: #bef264;
    color: #365314;
}

.pain-number[data-level="4"].selected {
    background: #facc15;
    color: #713f12;
}

.pain-number[data-level="5"].selected {
    background: #fbbf24;
}

.pain-number[data-level="6"].selected {
    background: #f59e0b;
}

.pain-number[data-level="7"].selected {
    background: #f97316;
}

.pain-number[data-level="8"].selected {
    background: #ef4444;
}

.pain-number[data-level="9"].selected {
    background: #dc2626;
}

.pain-number[data-level="10"].selected {
    background: #991b1b;
}

.pain-scale-labels {
    display: flex;
    justify-content: space-between;
    color: #94a3b8;
    font-size: 10px;
    margin-top: 8px;
}


/* =====================================================
   DRAWING TOOLS
===================================================== */

.drawing-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 15px 0;
}

.tool-btn {
    border: 1px solid #dbe3e8;
    background: #ffffff;
    color: #475569;
    padding: 10px 15px;
    border-radius: 9px;
    cursor: pointer;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
}

.tool-btn i {
    margin-right: 5px;
}

.tool-btn:hover {
    border-color: #0f766e;
    color: #0f766e;
}

.tool-btn.active {
    background: #0f766e;
    border-color: #0f766e;
    color: #ffffff;
}

.tool-btn.danger:hover {
    color: #dc2626;
    border-color: #dc2626;
}


/* =====================================================
   BODY CANVAS
===================================================== */

.body-drawing-wrapper {
    display: flex;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px;
    overflow: auto;
}

.body-canvas-container {
    position: relative;
    width: min(420px, 90vw);
    line-height: 0;
    user-select: none;
    touch-action: none;
}

.body-drawing-image {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
    user-select: none;
}

#painCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: crosshair;
    touch-action: none;
}


/* =====================================================
   STATUS
===================================================== */

.drawing-status {
    margin-top: 12px;
    padding: 12px 15px;
    background: #f8fafc;
    border-radius: 10px;

    display: flex;
    justify-content: space-between;
    gap: 15px;

    color: #64748b;
    font-size: 11px;
}

.drawing-status strong {
    color: #0f172a;
}

.pain-value {
    font-size: 13px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 800px) {

    .patient-selection-grid {
        grid-template-columns: 1fr;
    }

    .body-view-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .pain-scale {
        gap: 4px;
    }

    .pain-number {
        height: 38px;
        font-size: 11px;
    }

    .pain-drawing-card {
        padding: 18px;
    }
}


@media (max-width: 500px) {

    .body-view-buttons {
        grid-template-columns: 1fr 1fr;
    }

    .pain-scale {
        grid-template-columns: repeat(6, 1fr);
    }

    .pain-scale-labels {
        font-size: 8px;
    }

    .drawing-status {
        flex-direction: column;
    }

}
/* =========================================================
   PAIN BODY MAP - REMOVE BLUE ACTIVE COLOR
   KEEP PAINCARE EXISTING THEME
========================================================= */

/* BODY VIEW BUTTONS */

.body-view-buttons .view-btn {
    background: #ffffff !important;
    color: #334155 !important;
    border: 1px solid #dbe2ea !important;
    box-shadow: none !important;
}

.body-view-buttons .view-btn:hover {
    background: #f8fafc !important;
    color: #1e293b !important;
    border-color: #94a3b8 !important;
}

.body-view-buttons .view-btn.active {
    background: #334155 !important;
    color: #ffffff !important;
    border-color: #334155 !important;
    box-shadow: none !important;
}


/* =========================================================
   PAIN NUMBER BUTTONS
========================================================= */

.pain-scale .pain-number {
    background: #ffffff !important;
    color: #334155 !important;
    border: 1px solid #dbe2ea !important;
    box-shadow: none !important;
}

.pain-scale .pain-number:hover {
    background: #f8fafc !important;
    color: #1e293b !important;
    border-color: #94a3b8 !important;
}

.pain-scale .pain-number.selected {
    background: #334155 !important;
    color: #ffffff !important;
    border-color: #334155 !important;
    box-shadow: none !important;
}


/* =========================================================
   DRAWING TOOL BUTTONS
========================================================= */

.drawing-tools .tool-btn {
    background: #ffffff !important;
    color: #334155 !important;
    border: 1px solid #dbe2ea !important;
    box-shadow: none !important;
}

.drawing-tools .tool-btn:hover {
    background: #f8fafc !important;
    color: #1e293b !important;
    border-color: #94a3b8 !important;
}

.drawing-tools .tool-btn.active {
    background: #334155 !important;
    color: #ffffff !important;
    border-color: #334155 !important;
    box-shadow: none !important;
}


/* CLEAR BUTTON */

.drawing-tools .tool-btn.danger {
    background: #ffffff !important;
    color: #b91c1c !important;
    border-color: #fecaca !important;
}

.drawing-tools .tool-btn.danger:hover {
    background: #fef2f2 !important;
    color: #991b1b !important;
}


/* =========================================================
   SAVE BUTTON
========================================================= */

.form-actions .save-btn {
    background: #334155 !important;
    color: #ffffff !important;
    border-color: #334155 !important;
}

.form-actions .save-btn:hover {
    background: #1e293b !important;
}


/* =========================================================
   CANCEL BUTTON
========================================================= */

.form-actions .cancel-btn {
    background: #ffffff !important;
    color: #475569 !important;
    border: 1px solid #dbe2ea !important;
}

.form-actions .cancel-btn:hover {
    background: #f8fafc !important;
    color: #334155 !important;
}
/* =====================================================
   FAQ SECTION
===================================================== */

.faq-section {
    padding: 100px 20px;
    background: #f5fafb;
}

.faq-section .section-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}

.faq-heading .section-label {
    display: inline-block;
    margin-bottom: 14px;
}

.faq-heading h2 {
    margin: 0 0 14px;
    font-size: 44px;
    line-height: 1.2;
    font-weight: 800;
    color: #062b4c;
}

.faq-heading p {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: #50677d;
}


/* FAQ LIST */

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}


/* FAQ ITEM */

.faq-item {
    background: #ffffff;
    border: 1px solid #dcecef;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(6, 43, 76, 0.05);
    transition: all 0.25s ease;
}

.faq-item:hover {
    border-color: #0b95a3;
    box-shadow: 0 8px 24px rgba(6, 43, 76, 0.08);
}


/* QUESTION */

.faq-question {
    width: 100%;
    padding: 22px 24px;
    border: none;
    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    text-align: left;

    font-family: "Poppins", sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #062b4c;

    cursor: pointer;
}

.faq-question:hover {
    color: #0b95a3;
}

.faq-question i {
    font-size: 14px;
    color: #0b95a3;
    transition: transform 0.25s ease;
}


/* ANSWER */

.faq-answer {
    display: none;

    padding: 0 24px 22px;

    font-family: "Poppins", sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #617589;
}

.faq-answer.show {
    display: block;
}


/* ACTIVE QUESTION */

.faq-item.active {
    border-color: #0b95a3;
}

.faq-item.active .faq-question {
    color: #0b95a3;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}


/* =====================================================
   FAQ MOBILE
===================================================== */

@media (max-width: 768px) {

    .faq-section {
        padding: 70px 18px;
    }

    .faq-heading {
        margin-bottom: 35px;
    }

    .faq-heading h2 {
        font-size: 32px;
    }

    .faq-heading p {
        font-size: 15px;
    }

    .faq-question {
        padding: 18px;
        font-size: 15px;
        gap: 15px;
    }

    .faq-answer {
        padding: 0 18px 18px;
        font-size: 14px;
    }

}
/* =====================================================
   PAIN DURATION
===================================================== */

.pain-duration-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}


/* =====================================================
   NEXT BUTTON
===================================================== */

.pain-next-btn {
    margin-top: 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 44px;

    padding: 0 20px;

    border: 1px solid #108b82;

    border-radius: 10px;

    background: #108b82;

    color: #fff;

    font-family: 'Poppins', sans-serif;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    transition: .2s ease;
}


.pain-next-btn:hover {
    background: #0b746d;
    border-color: #0b746d;
}


/* =====================================================
   STEP
===================================================== */

.pain-step {
    animation: painStepShow .25s ease;
}


@keyframes painStepShow {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .pain-duration-row {
        grid-template-columns: 1fr;
    }

    .pain-next-btn {
        width: 100%;
    }

}
/* =====================================================
   PAIN DETAIL BUTTONS
===================================================== */

.pain-detail-item {
    margin-bottom: 12px;
    border: 1px solid #dce6ec;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}


.pain-detail-button {
    width: 100%;
    min-height: 54px;

    padding: 0 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 0;
    background: #fff;

    color: #173b5e;

    font-family: 'Poppins', sans-serif;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}


.pain-detail-button:hover {
    background: #f7fafb;
}


.pain-detail-button span {
    display: flex;
    align-items: center;
    gap: 10px;
}


.pain-detail-button span i {
    color: #108b82;
    font-size: 16px;
}


.pain-detail-button > i {
    color: #8ba0b8;
    transition: transform .2s ease;
}


.pain-detail-item.open
.pain-detail-button > i {
    transform: rotate(180deg);
}


/* =====================================================
   CONTENT
===================================================== */

.pain-detail-content {
    display: none;

    padding: 15px;

    border-top: 1px solid #edf1f4;

    background: #f9fbfc;
}


.pain-detail-item.open
.pain-detail-content {
    display: block;
}


/* =====================================================
   DURATION
===================================================== */

.duration-row {
    display: grid;

    grid-template-columns:
        1fr 180px;

    gap: 10px;
}


.duration-row input,
.duration-row select {

    width: 100%;

    height: 48px;

    padding: 0 13px;

    border: 1px solid #d6e1e8;

    border-radius: 9px;

    background: #fff;

    font-family: 'Poppins', sans-serif;

    font-size: 12px;

    color: #173b5e;

    outline: none;
}


.duration-row input:focus,
.duration-row select:focus {

    border-color: #108b82;

    box-shadow:
        0 0 0 3px
        rgba(16,139,130,.10);
}


/* =====================================================
   PAIN TYPE
===================================================== */

.pain-type-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 9px;
}


.pain-type-option {

    min-height: 45px;

    padding: 8px 10px;

    border: 1px solid #d6e1e8;

    border-radius: 9px;

    background: #fff;

    color: #173b5e;

    font-family: 'Poppins', sans-serif;

    font-size: 11px;

    font-weight: 600;

    cursor: pointer;
}


.pain-type-option:hover {

    border-color: #108b82;

    color: #108b82;
}


.pain-type-option.selected {

    background: #108b82;

    border-color: #108b82;

    color: #fff;
}


/* =====================================================
   SELECTED VALUE
===================================================== */

.selected-value {

    margin-top: 10px;

    color: #108b82;

    font-size: 11px;

    font-weight: 700;
}


/* =====================================================
   DESCRIPTION
===================================================== */

#pain_description {

    width: 100%;

    min-height: 140px;

    padding: 13px 14px;

    resize: vertical;

    border: 1px solid #d6e1e8;

    border-radius: 10px;

    background: #fff;

    color: #173b5e;

    font-family: 'Poppins', sans-serif;

    font-size: 12px;

    outline: none;
}


#pain_description:focus {

    border-color: #108b82;

    box-shadow:
        0 0 0 3px
        rgba(16,139,130,.10);
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .duration-row {

        grid-template-columns: 1fr;

    }

    .pain-type-grid {

        grid-template-columns: 1fr 1fr;

    }

}
