@import url("https://fonts.googleapis.com/css2?family=Life+Savers:wght@400;700;800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body {
    font-family: "Poppins", sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /* background-color: var(--background-color); */
    /* color: var(--white); */
}

:root {
    --body-bg: #f8fafc;
    --background-color: #f7f7f7;
    --primary-color: #4B49AC;
    --secoundry-color: #eef2ff;
    --heading-color: #4B49AC;
    --label-color: #374151;
    --border-color: #efefef;
}

html {
    font-size: 16px;
}

a {
    color: var(--primary-color);
}

a:hover {
    color: var(--primary-color);
}

.form-control, .form-select {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.form-control:focus, .form-select:focus {
    background-color: #fff;
    border-color: #4B49AC;
    box-shadow: 0 0 0 4px rgba(75, 73, 172, 0.1);
    outline: none;
}

label {
    color: #1e293b;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control:focus,
.form-check-input:focus {
    border-color: var(--heading-color);
    box-shadow: none;
}

.form-check-input:checked {
    background-color: var(--heading-color);
    border-color: var(--heading-color);
}

.form-check .form-check-input {
    width: 1.5em;
    height: 1.5em;
    float: inherit;
    margin-right: 15px;
}

.form-check {
    display: flex;
    justify-content: start;
    align-items: end;
}

/* table css */
.dashboard-table .custom-table-head {
    background-color: #d3ecff;
    color: #475569;
}

.dashboard-table .custom-table-head th {
    font-weight: 500;
}

.dashboard-table .table > :not(caption) > * > * {
    padding: 0.8rem 0.5rem;
}

.dashboard-table .active > .page-link,
.page-link.active {
    background-color: #0a5d9e;
    border-color: #0a5d9e;
}

.dashboard-table table > tbody > tr:nth-child(odd) {
    background-color: #fff;
}

.dashboard-table table > tbody > tr:nth-child(even) {
    background-color: #f8f8f8;
}

.dashboard-table
    table.table.dataTable.table-striped
    > tbody
    > tr:nth-of-type(2n + 1)
    > * {
    box-shadow: none;
}

.dashboard-table table.table.table-striped.dataTable thead tr th:first-child {
    border-radius: 10px 0 0 0;
}

.dashboard-table table.table.table-striped.dataTable thead tr th:last-child {
    border-radius: 0 10px 0 0;
}

/* multi-step */

.multi-step-head {
    padding: 15px 20px;
    background: #fff;
    border-radius: 55px;
    margin-bottom: 25px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.multi-step-head .steps {
    display: flex;
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: 10px;
}

.multi-step-head .steps .step {
    flex: 1;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.multi-step-head .steps .step .step-number {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #64748b;
    transition: all 0.3s ease;
    cursor: pointer;
}

.multi-step-head .steps .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20px;
    left: calc(50% + 20px);
    width: calc(100% - 40px);
    height: 2px;
    background: #e2e8f0;
    z-index: -1;
}

.multi-step-head .steps .step.active .step-number {
    background: #4B49AC;
    color: #fff;
    border-color: #4B49AC;
    box-shadow: 0 0 0 4px rgba(75, 73, 172, 0.1);
}

.multi-step-head .steps .step.completed .step-number {
    background: #28a745;
    color: #fff;
    border-color: #28a745;
}

.multi-step-head .steps .step.completed::after {
    background: #28a745;
}

.step-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step.active .step-label {
    color: #4B49AC;
}

.step.completed .step-label {
    color: #28a745;
}

.multi-step-card-body {
    padding: 20px 20px 80px 20px;
    position: relative;
}

.multi-step-card-body .tabs .tab {
    display: none;
}

.multi-step-card-body .tabs .tab.active {
    display: block !important;
}

.multi-step-card-footer {
    padding: 16px;
    text-align: end;
}

.multi-step-card-footer button:active {
    outline: none;
    transform: translate(0px, 5px);
    -webkit-transform: translate(0px, 5px);
    box-shadow: 0px 1px 0px 0px;
}

/* @media only screen and (max-width: 420px) {
    .multi-step-card-footer button {
        width: 100%;
    }
} */

.next-btn {
    border-radius: 50px;
    background: #4B49AC;
    padding: 10px 30px;
    color: #fff;
    border: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(75, 73, 172, 0.1);
}

.next-btn:hover {
    background: #3f3e91;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(75, 73, 172, 0.2);
}

.heading {
    border-radius: 5px;
    background: #0a5d9e;
    padding: 10px;
    color: #fff;
}

.heading span {
    font-size: 14px;
}

.user-profile-photo img {
    height: 150px;
    width: 190px;
    border-radius: 10px;
}

.user-name {
    position: relative;
}

.user-name::before {
    content: "";
    position: absolute;
    top: 7px;
    /* left: -20px; */
    vertical-align: bottom;
    height: 12px;
    width: 12px;
    border-radius: 15px;
    background-color: #198754;
}

.user-details p {
    color: #838393;
}

.card-front {
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
    display: flex;
    /* height: 100px; */
    padding: 20px 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.image-icon {
    border-radius: 8px;
    background: #cbd5e1;
    display: flex;
    width: 100%;
    height: 100px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    overflow: hidden;
}

.image-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.insurance-card-wrapper {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.insurance-card-image {
    cursor: pointer;
    flex: 1;
    aspect-ratio: 1;
    max-height: 100px;
    border-radius: 6px;
    overflow: hidden;
}

.insurance-card-image .image-icon {
    height: 100%;
    border-radius: 6px;
}

.patient-profile-square {
    width: 90px;
    height: 90px;
    margin: 0 auto;
    border-radius: 6px;
    overflow: hidden;
}

.patient-profile-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.save-btns {
    border-radius: 50px;
    background: #4B49AC;
    padding: 10px 30px;
    color: #fff;
    border: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(75, 73, 172, 0.1);
    float: right;
}

.save-btns:hover {
    background: #3f3e91;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(75, 73, 172, 0.2);
}

.cancel-btns {
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s;
    float: right;
}

.cancel-btns:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
}

.lables {
    color: #838393;
    font-size: 16px;
    font-weight: 500;
}

.details {
    color: #202224;
    font-size: 17px;
    font-weight: 500;
}

.edit-btns {
    border-radius: 5px;
    background: #6366f1;
    padding: 7px 15px;
    color: #fff;
}

.edit-btns:hover {
    background: #6366f1;
    color: #fff;
}

.Deactivate-btns {
    color: #ef4444;
    border: 1px solid #ef4444;
    border-radius: 8px;
    padding: 7px 15px;
}

.Deactivate-btns:hover {
    color: #ef4444;
    border: 1px solid #ef4444;
}

.custom-checkbox-bg {
    border: 1px solid #e2e8f0;
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    display: flex;
    align-items: center;
    width: 100%;
}

.custom-checkbox-sm {
    padding: 6px 12px;
    border-radius: 8px;
    width: auto;
    margin-bottom: 0;
    min-height: 34px;
}

.custom-checkbox-sm .form-check .form-check-input {
    width: 1.1em;
    height: 1.1em;
    margin-right: 8px;
}

.custom-checkbox-sm .form-check-label {
    font-size: 0.85rem;
}

.custom-checkbox-bg:hover {
    border-color: var(--primary-color);
}

.custom-checkbox-bg .form-check {
    margin-bottom: 0;
    width: 100%;
    cursor: pointer;
}

.custom-checkbox-bg .form-check-label {
    cursor: pointer;
    width: 100%;
    font-weight: 500;
    color: #475569;
}

/* Checked State for Checkboxes (Green) */
.custom-checkbox-bg.checked-green {
    background-color: #f0fdf4;
    border-color: #22c55e;
}

.custom-checkbox-bg.checked-green .form-check-label {
    color: #15803d;
    font-weight: 600;
}

.custom-checkbox-bg.checked-green .form-check-input {
    background-color: #22c55e;
    border-color: #22c55e;
}

/* Checked State for Radio Buttons (Blue) */
.custom-checkbox-bg.checked-blue {
    background-color: #f0fdf4;
    border-color: #22c55e;
}

.custom-checkbox-bg.checked-blue .form-check-label {
    color: #15803d;
    font-weight: 600;
}

.custom-checkbox-bg.checked-blue .form-check-input {
    background-color: #22c55e;
    border-color: #22c55e;
}

.social-error label,
.allergy-error label,
.surgical-error label,
.error {
    color: #dc3545 !important;
    font-weight: 500;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.log-bg {
    padding: 12px 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 10px 0 rgba(10, 93, 158, 0.05);
    border: 1px solid #ebebeb;
    margin: 15px 0;
}

.log-bg h6 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 500;
}

.asterisk {
    color: red;
    padding-left: 5px;
}

.check-in-heading {
    background: linear-gradient(135deg, #4B49AC 0%, #3f3e91 100%);
    padding: 25px;
    color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 15px -3px rgba(75, 73, 172, 0.2);
}

.check-in-heading span {
    font-size: 12px;
}

.intensity-option input:checked + span + span ~ *,
.intensity-option input:checked ~ * {
    color: inherit;
}
.intensity-option input:checked {
    display: none;
}
.intensity-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 12px 10px;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    background-color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 60px;
    text-align: center;
}

.intensity-option:hover {
    border-color: #4B49AC;
    background-color: #f0edff;
    transform: translateY(-3px);
}

.intensity-option:has(input:checked) {
    background-color: #4B49AC !important;
    border-color: #4B49AC !important;
    box-shadow: 0 10px 15px -3px rgba(75, 73, 172, 0.3);
}

.intensity-option:has(input:checked) span {
    color: #fff !important;
}

.custom-toll-tip [data-title] {
    font-size: 30px;
    position: relative;
    cursor: pointer;
}

.custom-toll-tip [data-title]:hover::before {
    content: attr(data-title);
    position: absolute;
    bottom: -135px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    padding: 12px 16px;
    border-radius: 4px;
    background: #004481;
    color: #fff;
    font-size: 14px;
    white-space: pre-wrap;
    word-wrap: break-word;
    width: 280px;
    text-align: left;
    line-height: 1.8;
    z-index: 1000;
}

.custom-toll-tip [data-title]:hover::after {
    content: "";
    position: absolute;
    bottom: -113px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    color: #fff;
    border: 8px solid transparent;
    border-bottom: 8px solid #004481;
    z-index: 1000;
}

.insurance-info-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    height: 100%;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.insurance-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.insurance-info-card .card-header {
    background: #4B49AC;
    border: none;
    padding: 25px 20px;
}

.insurance-info-card .card-header h6 {
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Medication History Styling */
.medication-history-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    margin-bottom: 12px;
}

.medication-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.medication-header {
    flex: 1;
}

.medication-name-dosage {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
    line-height: 1.4;
}

.medication-schedule {
    font-size: 14px;
    color: #64748b;
}

.medication-created-date {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

.medication-status-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.medication-status {
    min-width: 70px;
    text-align: center;
}

.status-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.status-taken {
    background: #00bcd4;
    color: #000;
    float: left;
}

.status-skipped {
    background: #ff0080;
    color: #fff;
    float: left;
}

.status-snooze {
    background: #e0e0e0;
    color: #666;
    float: left;
}

.activity-option {
    cursor: pointer;
    padding: 15px 20px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 15px !important;
    background-color: #fff !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.activity-option:hover {
    border-color: #4B49AC !important;
    background-color: #f0edff !important;
    transform: scale(1.02);
}

.activity-option:has(input:checked) {
    background-color: #4B49AC !important;
    border-color: #4B49AC !important;
    box-shadow: 0 10px 15px -3px rgba(75, 73, 172, 0.3);
}

.activity-option:has(input:checked) .activity-text {
    color: #fff !important;
}

.activity-option:has(input:checked) .activity-patient-icon {
    filter: brightness(0) invert(1);
}

.activity-patient-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: all 0.3s;
}

.activity-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1e293b;
    transition: all 0.3s;
}

.activity-radio {
    display: none !important;
}

.medication-actions {
    display: flex;
    gap: 8px;
}

.medication-action-form {
    display: flex;
    gap: 8px;
}

.medication-btn {
    padding: 6px 14px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-med-taken {
    background: #00bcd4;
    color: #000;
}

.btn-med-taken:hover:not(:disabled) {
    background: #00acc1;
    transform: translateY(-1px);
}

.btn-med-skipped {
    background: #ff0080;
    color: #fff;
}

.btn-med-skipped:hover:not(:disabled) {
    background: #e90073;
    transform: translateY(-1px);
}

.btn-med-snooze {
    background: #c0c0c0;
    color: #333;
}

.btn-med-snooze:hover:not(:disabled) {
    background: #a8a8a8;
    transform: translateY(-1px);
}

.medication-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.pain-history-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    margin-bottom: 16px;
}

.pain-info {
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%;
}

.pain-header {
    flex: 1;
}

.pain-intensity-display {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
}

.pain-location {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 4px;
}

.pain-created-date {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

/* Activity History Styling */
.activity-history-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    margin-bottom: 16px;
}

.activity-info {
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%;
}

.activity-header {
    flex: 1;
}

.activity-type-duration {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
}

.activity-details {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 4px;
}

.activity-created-date {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

.activity-option-card {
    position: relative;
}

.activity-radio {
    display: none !important;
}

.activity-option-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    width: 100%;
}

.activity-option-label:hover {
    border-color: #4B49AC;
    background: #f0edff;
    transform: translateY(-5px);
}

.activity-radio:checked + .activity-option-label {
    background: #4B49AC;
    border-color: #4B49AC;
    box-shadow: 0 10px 20px -5px rgba(75, 73, 172, 0.4);
}

.activity-radio:checked + .activity-option-label .activity-name {
    color: #fff !important;
}

.activity-radio:checked + .activity-option-label img {
    filter: brightness(0) invert(1);
}

.activity-icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.activity-icon-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s;
}

.activity-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #475569;
    transition: all 0.3s;
}

/* Intensity Scale Styles */
.intensity-wrapper {
    flex: 1;
    min-width: 55px;
}

.intensity-radio-hidden {
    display: none !important;
}

.intensity-emoji-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2px 10px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.intensity-emoji-label:hover {
    border-color: #4B49AC;
    background: #f0edff;
}

.intensity-num {
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
    margin-bottom: 4px;
}

.intensity-emoji {
    font-size: 1.5rem;
}

.intensity-radio-hidden:checked + .intensity-emoji-label {
    background: #4B49AC;
    border-color: #4B49AC;
    transform: scale(1.1);
}

.intensity-radio-hidden:checked + .intensity-emoji-label .intensity-num {
    color: rgba(255, 255, 255, 0.8);
}

/* Checkbox and Radio Card Styles */
.checkbox-option-card, .radio-option-card {
    height: 100%;
}

.checkbox-input-hidden, .radio-input-hidden {
    display: none !important;
}

.checkbox-label-card, .radio-label-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    width: 100%;
    font-weight: 600;
    color: #475569;
    font-size: 0.85rem;
    text-align: center;
}

.checkbox-label-card:hover, .radio-label-card:hover {
    border-color: #4B49AC;
    background: #f0edff;
}

.checkbox-input-hidden:checked + .checkbox-label-card,
.radio-input-hidden:checked + .radio-label-card {
    background: #4B49AC;
    border-color: #4B49AC;
    color: #fff;
}

.hidden {
    display: none;
}

/* Gamified Card Styles */
.gamified-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    background: #fff;
    margin-bottom: 20px;
}

.gamified-card .card-header {
    background: #4B49AC !important;
    border: none !important;
    padding: 1.25rem 1.5rem !important;
    color: #fff !important;
}

.gamified-card .card-header h6 {
    color: #fff !important;
    font-weight: 700 !important;
    margin-bottom: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-icon-container {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #fff;
}

.header-icon-container i {
    font-size: 1rem;
}

.header-icon-container img {
    width: 18px;
    height: 18px;
}

/* Activity Log Standardized Icons */
.activity-option-card {
    height: 100%;
    position: relative;
}

.activity-radio {
    display: none !important;
}

.activity-option-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    width: 100%;
    margin-bottom: 0;
}

.activity-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.activity-icon-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.activity-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    line-height: 1.2;
}

.activity-radio:checked + .activity-option-label {
    background: #f0edff;
    border-color: #4B49AC;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(75, 73, 172, 0.1);
}

.activity-radio:checked + .activity-option-label .activity-name {
    color: #4B49AC;
}

/* Pain Body Map Layout */
.pain-body-selector {
    border-radius: 20px;
    overflow: hidden;
}

.body-image-wrapper {
    background: #fff;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.body-image-wrapper:hover {
    border-color: #4B49AC;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

#frontCanvas, #backCanvas {
    touch-action: none;
}


/* Selection Card Styles for Pain Log */
.selection-card-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    width: 100%;
}

.selection-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    width: 100%;
}

.selection-card:hover {
    border-color: #4B49AC;
    background: #f8faff;
}

.selection-card input[type="checkbox"],
.selection-card input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #4B49AC;
}

.selection-card label {
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 600;
    color: #475569;
    font-size: -1.1rem;
    flex: 1;
}

.selection-card:has(input:checked) {
    border-color: #4B49AC;
    background: #f0edff;
    box-shadow: 0 4px 12px rgba(75, 73, 172, 0.1);
}

.selection-card:has(input:checked) label {
    color: #4B49AC;
}
