.rx-lines .rx-col-medicine {
    min-width: 240px;
}

.rx-lines td .form-control-sm {
    min-width: 110px;
}

.rx-card {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: .7rem .9rem;
    margin-bottom: 10px;
    background: var(--bg-ffffff);
}

.rx-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.rx-card-items {
    margin: .5rem 0 .25rem;
    padding-inline-start: 20px;
    font-size: 13.5px;
}

.rx-card-items li {
    padding: 2px 0;
}

.lab-notes-text {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.lab-steps {
    display: flex;
    gap: 0;
}

.lab-step {
    position: relative;
    flex: 1;
    text-align: center;
    font-size: 12.5px;
    color: var(--muted);
}

.lab-step::before {
    content: "";
    position: absolute;
    top: 7px;
    inset-inline-start: 50%;
    width: 100%;
    height: 2px;
    background: var(--line);
}

.lab-step:last-child::before {
    display: none;
}

.lab-step.is-done::before,
.lab-step.is-done .lab-step-dot {
    background: var(--bg-15803d);
}

.lab-step-dot {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--line);
    box-shadow: 0 0 0 3px var(--sh-ffffff);
}

.lab-step.is-done .lab-step-label {
    color: var(--ink);
    font-weight: 700;
}

.lab-step-user {
    font-size: 11.5px;
    color: var(--ink);
    margin-top: 2px;
}
