/* ==========================================================================
   YourMD Patient Portal — Apple-Style Design System
   --------------------------------------------------------------------------
   This file is additive: every selector is namespaced under `.ymp-*` so it
   cannot override the legacy classes (.patient-dashboard, .record-card,
   .widget, etc.) that the current patient portal renders with. Pages opt
   into the new design by using the new classes; old pages keep working
   unchanged.
   --------------------------------------------------------------------------
   SECTIONS
     1.  Design tokens (replaces the missing yourmd-tokens.css — the spec
         calls for inheriting from that file but it never shipped, so we
         define the minimum `--ym-*` surface here)
     2.  Top navigation
     3.  Dashboard greeting + stat row + grid
     4.  Card component
     5.  Prescription list
     6.  Order tracking
     7.  Appointments
     8.  Messages
     9.  Treatment progress
     10. CTA banner
     11. Buttons
     12. Empty states
     13. Responsive breakpoints
   --------------------------------------------------------------------------
   Naming convention: patient portal uses the `ymp-` prefix. Doctor /
   clinical portals use `ym-` (reserved). Legacy patient markup uses
   semantic names (.patient-dashboard, .rx-item) and must not be touched
   by this file — it coexists.
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

:root {
  /* ---- Color ramps (teal is the primary brand accent) ---- */
  --ym-teal-50:  #E8F5F1;
  --ym-teal-100: #CCEBE1;
  --ym-teal-200: #A0DBC8;
  --ym-teal-600: #1D9E75;
  --ym-teal-700: #16825F;
  --ym-teal-800: #0F6449;

  --ym-blue-50:  #E8F0FE;
  --ym-blue-800: #1A4FA8;

  --ym-amber-50:  #FFF4E0;
  --ym-amber-600: #D97706;
  --ym-amber-800: #92400E;

  --ym-gray-50:  #FAFAFA;
  --ym-gray-100: #F2F2F4;
  --ym-gray-200: #E5E5E7;
  --ym-gray-400: #A1A1A6;
  --ym-gray-600: #6E6E73;
  --ym-gray-900: #1D1D1F;

  /* ---- Surfaces / text ---- */
  --ym-bg-primary:    #FFFFFF;
  --ym-bg-secondary:  #F5F5F7;
  --ym-text-primary:   var(--ym-gray-900);
  --ym-text-secondary: #6E6E73;
  --ym-text-tertiary:  #8A8A8E;
  --ym-border-light:   rgba(0, 0, 0, 0.06);
  --ym-border-default: #D2D2D7;

  /* ---- Spacing scale ---- */
  --ym-space-xs: 4px;
  --ym-space-sm: 8px;
  --ym-space-md: 12px;
  --ym-space-lg: 16px;
  --ym-space-xl: 24px;

  /* ---- Radii ---- */
  --ym-radius-sm:   6px;
  --ym-radius-md:   8px;
  --ym-radius-lg:   12px;
  --ym-radius-pill: 999px;

  /* ---- Motion ---- */
  --ym-duration-fast:   120ms;
  --ym-duration-normal: 220ms;
  --ym-duration-slow:   420ms;
  --ym-ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* ---- Shadows ---- */
  --ym-shadow-focus: 0 0 0 3px rgba(29, 158, 117, 0.22);

  /* ---- Patient portal specific ---- */
  --ymp-body-size: 13px;
  --ymp-heading-size: 20px;
  --ymp-card-radius: 12px;
  --ymp-card-padding: 16px;
  --ymp-content-max-width: 960px;
  --ymp-nav-height: 56px;

  --ymp-progress-bg: var(--ym-gray-100);
  --ymp-progress-fill: var(--ym-teal-600);
  --ymp-progress-radius: 4px;

  --ymp-gradient-start: #085041;
  --ymp-gradient-end:   #1D9E75;
}

/* ==========================================================================
   2. TOP NAVIGATION
   ========================================================================== */

.ymp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--ymp-nav-height);
  padding: 0 var(--ym-space-xl);
  background: var(--ym-bg-primary);
  border-bottom: 0.5px solid var(--ym-border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.ymp-nav-brand {
  display: flex;
  align-items: center;
  gap: var(--ym-space-sm);
  text-decoration: none;
}

.ymp-nav-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--ym-teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ymp-nav-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ym-text-primary);
  letter-spacing: -0.3px;
}

.ymp-nav-title span {
  font-weight: 400;
  color: var(--ym-text-secondary);
  font-size: 13px;
  margin-left: 4px;
}

.ymp-nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.ymp-nav-link {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 400;
  color: var(--ym-text-secondary);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--ym-duration-fast);
  position: relative;
}

.ymp-nav-link:hover {
  color: var(--ym-text-primary);
}

.ymp-nav-link.active {
  color: var(--ym-teal-600);
  font-weight: 500;
}

/* Apple-style active indicator — small dot, not an underline */
.ymp-nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ym-teal-600);
}

.ymp-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ymp-notif-btn {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  border: none;
  transition: background var(--ym-duration-fast);
}

.ymp-notif-btn:hover {
  background: var(--ym-bg-secondary);
}

.ymp-notif-btn svg {
  width: 18px;
  height: 18px;
  color: var(--ym-text-secondary);
}

.ymp-notif-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E24B4A;
  border: 2px solid var(--ym-bg-primary);
}

.ymp-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ym-teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  flex-shrink: 0;
}

/* Hide desktop links under 768px — a hamburger slot is reserved even if
   the current markup doesn't use it, so the class is safe to style now. */
.ymp-nav-hamburger { display: none; }

@media (max-width: 768px) {
  .ymp-nav-links { display: none; }
  .ymp-nav-hamburger { display: flex; }
}

/* ==========================================================================
   3. DASHBOARD — GREETING & HEALTH SNAPSHOT
   ========================================================================== */

.ymp-dashboard {
  padding: var(--ym-space-xl);
  max-width: var(--ymp-content-max-width);
  margin: 0 auto;
}

.ymp-greeting {
  font-size: var(--ymp-heading-size);
  font-weight: 500;
  color: var(--ym-text-primary);
  letter-spacing: -0.4px;
  margin-bottom: 4px;
}

.ymp-subgreeting {
  font-size: 13px;
  color: var(--ym-text-secondary);
  margin-bottom: var(--ym-space-xl);
  line-height: 1.5;
}

.ymp-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: var(--ym-space-xl);
}

.ymp-stat {
  text-align: center;
  padding: 12px 10px;
  background: var(--ym-bg-secondary);
  border-radius: var(--ym-radius-md);
}

.ymp-stat-value {
  font-size: 22px;
  font-weight: 500;
  color: var(--ym-text-primary);
  letter-spacing: -0.3px;
}

.ymp-stat-value.positive { color: var(--ym-teal-600); }
.ymp-stat-value.warning  { color: var(--ym-amber-600); }

.ymp-stat-label {
  font-size: 10px;
  color: var(--ym-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 2px;
}

.ymp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ==========================================================================
   4. CARD COMPONENT
   ========================================================================== */

.ymp-card {
  background: var(--ym-bg-primary);
  border: 0.5px solid var(--ym-border-light);
  border-radius: var(--ymp-card-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ymp-card.full-width {
  grid-column: 1 / -1;
}

.ymp-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--ymp-card-padding);
  border-bottom: 0.5px solid var(--ym-border-light);
}

.ymp-card-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ym-text-primary);
}

.ymp-card-title svg {
  width: 14px;
  height: 14px;
  color: var(--ym-text-secondary);
}

.ymp-card-action {
  font-size: 11px;
  font-weight: 500;
  color: var(--ym-teal-600);
  cursor: pointer;
  text-decoration: none;
  transition: color var(--ym-duration-fast);
}

.ymp-card-action:hover {
  color: var(--ym-teal-700);
}

.ymp-card-body {
  padding: 14px var(--ymp-card-padding);
  font-size: var(--ymp-body-size);
  color: var(--ym-text-primary);
  line-height: 1.6;
}

/* ==========================================================================
   5. PRESCRIPTION LIST
   ========================================================================== */

.ymp-rx-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 0.5px solid var(--ym-border-light);
}

.ymp-rx-item:last-child {
  border-bottom: none;
}

.ymp-rx-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--ym-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ymp-rx-icon svg {
  width: 18px;
  height: 18px;
}

/* Icon color per medication form — distinct hues so patients can scan
   their list at a glance. */
.ymp-rx-icon.injectable { background: var(--ym-teal-50); }
.ymp-rx-icon.injectable svg { color: var(--ym-teal-700); }
.ymp-rx-icon.oral       { background: var(--ym-blue-50); }
.ymp-rx-icon.oral svg       { color: var(--ym-blue-800); }
.ymp-rx-icon.topical    { background: var(--ym-amber-50); }
.ymp-rx-icon.topical svg    { color: var(--ym-amber-800); }
.ymp-rx-icon.sublingual { background: #EEEDFE; }
.ymp-rx-icon.sublingual svg { color: #534AB7; }

.ymp-rx-info {
  flex: 1;
  min-width: 0;
}

.ymp-rx-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ym-text-primary);
}

.ymp-rx-detail {
  font-size: 11px;
  color: var(--ym-text-secondary);
  margin-top: 1px;
}

.ymp-rx-right {
  text-align: right;
  flex-shrink: 0;
}

.ymp-rx-next-date {
  font-size: 10px;
  color: var(--ym-text-tertiary);
  margin-top: 3px;
}

.ymp-rx-status {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: var(--ym-radius-pill);
}

.ymp-rx-status.ordered       { background: var(--ym-blue-50);  color: var(--ym-blue-800); }
.ymp-rx-status.preparing     { background: var(--ym-amber-50); color: var(--ym-amber-800); }
.ymp-rx-status.shipped       { background: var(--ym-teal-50);  color: var(--ym-teal-700); }
.ymp-rx-status.delivered     { background: var(--ym-gray-50);  color: var(--ym-gray-600); }
.ymp-rx-status.action-needed { background: var(--ym-blue-50);  color: var(--ym-blue-800); }

.ymp-rx-refill-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ym-teal-600);
  background: var(--ym-teal-50);
  border: none;
  border-radius: var(--ym-radius-md);
  padding: 4px 10px;
  cursor: pointer;
  font-family: inherit;
  margin-top: 4px;
  transition: background var(--ym-duration-fast);
}

.ymp-rx-refill-btn:hover {
  background: var(--ym-teal-100);
}

/* ==========================================================================
   6. ORDER TRACKING
   ========================================================================== */

.ymp-track {
  padding: 12px 0;
  border-bottom: 0.5px solid var(--ym-border-light);
}

.ymp-track:last-child {
  border-bottom: none;
}

.ymp-track-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.ymp-track-drug {
  font-size: 13px;
  font-weight: 500;
  color: var(--ym-text-primary);
}

.ymp-track-bar {
  display: flex;
  gap: 3px;
  margin-bottom: 6px;
}

.ymp-track-segment {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--ymp-progress-bg);
  transition: background var(--ym-duration-normal) var(--ym-ease);
}

.ymp-track-segment.complete { background: var(--ym-teal-600); }
.ymp-track-segment.current  { background: var(--ym-amber-600); }

.ymp-track-steps {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--ym-text-tertiary);
}

.ymp-track-steps .complete { color: var(--ym-teal-600); }
.ymp-track-steps .current  { color: var(--ym-amber-600); font-weight: 500; }

.ymp-track-detail {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--ym-text-secondary);
  margin-top: 6px;
}

.ymp-track-detail svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.ymp-track-number {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  color: var(--ym-teal-600);
  text-decoration: none;
  cursor: pointer;
}

.ymp-track-number:hover {
  text-decoration: underline;
}

/* ==========================================================================
   7. APPOINTMENTS
   ========================================================================== */

.ymp-appt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 0.5px solid var(--ym-border-light);
}

.ymp-appt:last-child { border-bottom: none; }

.ymp-appt-date {
  min-width: 46px;
  text-align: center;
  flex-shrink: 0;
}

.ymp-appt-day {
  font-size: 20px;
  font-weight: 500;
  color: var(--ym-text-primary);
  line-height: 1;
  letter-spacing: -0.3px;
}

.ymp-appt-month {
  font-size: 10px;
  color: var(--ym-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-top: 2px;
}

.ymp-appt-info {
  flex: 1;
  min-width: 0;
}

.ymp-appt-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--ym-text-primary);
}

.ymp-appt-meta {
  font-size: 11px;
  color: var(--ym-text-secondary);
  margin-top: 1px;
}

.ymp-appt-join {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--ym-radius-md);
  background: var(--ym-teal-600);
  color: white;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--ym-duration-fast);
  flex-shrink: 0;
}

.ymp-appt-join:hover  { background: var(--ym-teal-700); }
.ymp-appt-join:active { background: var(--ym-teal-800); transform: scale(0.98); }
.ymp-appt-join:disabled {
  background: var(--ym-gray-200);
  color: var(--ym-gray-400);
  cursor: not-allowed;
}

/* ==========================================================================
   8. MESSAGES
   ========================================================================== */

.ymp-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 0.5px solid var(--ym-border-light);
  cursor: pointer;
  transition: background var(--ym-duration-fast);
  margin: 0 -16px;
  border-radius: 0;
}

.ymp-msg:hover   { background: var(--ym-bg-secondary); }
.ymp-msg:last-child { border-bottom: none; }

.ymp-msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ym-teal-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
  font-weight: 500;
  flex-shrink: 0;
  margin-top: 2px;
}

.ymp-msg-avatar.system   { background: var(--ym-gray-600); }
.ymp-msg-avatar.pharmacy { background: var(--ym-blue-800); }

.ymp-msg-content {
  flex: 1;
  min-width: 0;
}

.ymp-msg-from {
  font-size: 12px;
  font-weight: 500;
  color: var(--ym-text-primary);
}

/* Unread affordance — tiny teal dot next to sender name */
.ymp-msg.unread .ymp-msg-from::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ym-teal-600);
  margin-left: 6px;
  vertical-align: middle;
}

.ymp-msg-preview {
  font-size: 12px;
  color: var(--ym-text-secondary);
  margin-top: 2px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ymp-msg.unread .ymp-msg-preview { color: var(--ym-text-primary); }

.ymp-msg-time {
  font-size: 10px;
  color: var(--ym-text-tertiary);
  flex-shrink: 0;
  white-space: nowrap;
}

/* ==========================================================================
   9. TREATMENT PROGRESS
   ========================================================================== */

.ymp-program {
  margin-bottom: 16px;
}

.ymp-program-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.ymp-program-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--ym-text-primary);
}

.ymp-program-phase {
  font-size: 11px;
  font-weight: 500;
  color: var(--ym-teal-600);
}

.ymp-progress-track {
  height: 6px;
  background: var(--ymp-progress-bg);
  border-radius: 3px;
  overflow: hidden;
}

.ymp-progress-fill {
  height: 100%;
  background: var(--ymp-progress-fill);
  border-radius: 3px;
  transition: width var(--ym-duration-slow) var(--ym-ease);
}

.ymp-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--ym-text-tertiary);
  margin-top: 4px;
}

/* Weight-trend sparkbar — color intensity encodes recency. */
.ymp-sparkbar {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 64px;
}

.ymp-sparkbar-col {
  width: 100%;
  border-radius: 2px;
  transition: height var(--ym-duration-normal) var(--ym-ease);
}

.ymp-sparkbar-col.week-old  { background: var(--ym-teal-50); }
.ymp-sparkbar-col.month-old { background: var(--ym-teal-100); }
.ymp-sparkbar-col.recent    { background: var(--ym-teal-200); }
.ymp-sparkbar-col.current   { background: var(--ym-teal-600); }

.ymp-sparkbar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--ym-text-tertiary);
  margin-top: 4px;
}

.ymp-milestone {
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--ym-bg-secondary);
  border-radius: var(--ym-radius-md);
  font-size: 12px;
  color: var(--ym-text-primary);
  line-height: 1.55;
}

.ymp-milestone-label {
  font-weight: 500;
  color: var(--ym-teal-600);
}

/* ==========================================================================
   10. CTA BANNER
   ========================================================================== */

.ymp-cta-banner {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--ymp-gradient-start), var(--ymp-gradient-end));
  border-radius: var(--ymp-card-radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}

.ymp-cta-text {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.2px;
}

.ymp-cta-subtext {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 2px;
}

.ymp-cta-button {
  font-size: 12px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--ym-radius-md);
  background: white;
  color: var(--ymp-gradient-start);
  border: none;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
  transition: transform var(--ym-duration-fast);
}

.ymp-cta-button:hover  { transform: scale(1.02); }
.ymp-cta-button:active { transform: scale(0.98); }

/* ==========================================================================
   11. BUTTONS
   ========================================================================== */

.ymp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: var(--ym-radius-md);
  background: var(--ym-teal-600);
  color: white;
  border: none;
  cursor: pointer;
  transition: all var(--ym-duration-fast) var(--ym-ease);
}

.ymp-btn-primary:hover  { background: var(--ym-teal-700); }
.ymp-btn-primary:active { background: var(--ym-teal-800); transform: scale(0.98); }
.ymp-btn-primary:focus-visible { box-shadow: var(--ym-shadow-focus); }

.ymp-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: var(--ym-radius-md);
  background: var(--ym-bg-primary);
  color: var(--ym-text-secondary);
  border: 0.5px solid var(--ym-border-default);
  cursor: pointer;
  transition: all var(--ym-duration-fast);
}

.ymp-btn-secondary:hover {
  background: var(--ym-bg-secondary);
  color: var(--ym-text-primary);
}

.ymp-btn-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--ym-teal-600);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.ymp-btn-link:hover { color: var(--ym-teal-700); }

/* ==========================================================================
   12. EMPTY STATES
   ========================================================================== */

.ymp-empty {
  text-align: center;
  padding: 24px 16px;
}

.ymp-empty-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--ym-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ymp-empty-icon svg {
  width: 20px;
  height: 20px;
  color: var(--ym-text-tertiary);
}

.ymp-empty-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--ym-text-primary);
  margin-bottom: 4px;
}

.ymp-empty-text {
  font-size: 12px;
  color: var(--ym-text-secondary);
  line-height: 1.5;
  max-width: 280px;
  margin: 0 auto;
}

/* ==========================================================================
   13. RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .ymp-dashboard { padding: 16px; }
  .ymp-grid      { grid-template-columns: 1fr 1fr; gap: 10px; }
}

@media (max-width: 768px) {
  .ymp-grid           { grid-template-columns: 1fr; }
  .ymp-card.full-width{ grid-column: 1; }
  .ymp-stat-row       { grid-template-columns: repeat(2, 1fr); }
  .ymp-greeting       { font-size: 18px; }
  .ymp-nav            { padding: 0 12px; }
  .ymp-dashboard      { padding: 12px; }

  .ymp-rx-item { flex-wrap: wrap; }
  .ymp-rx-right {
    text-align: left;
    flex-basis: 100%;
    margin-top: 6px;
    padding-left: 50px; /* align with text after the icon */
  }
}
