/* RxEvidence pill lookup by drug name. Loaded only on the by-name page.
 * The first block repeats the Pill Identifier's own type, color and card
 * rules (that page keeps its CSS inline), so both read as one tool. */
.rxe-pid{max-width:720px;margin:0 auto;font-family:'Lato',sans-serif;color:#132A55;line-height:1.55;}
.rxe-pid *{box-sizing:border-box;}
.rxe-pid h1,.rxe-pid h2,.rxe-pid h3{font-family:'Source Serif 4',Georgia,serif;font-weight:600;color:#132A55;margin:0 0 10px;}
.rxe-pid h1{font-size:32px;text-align:center;}
.rxe-pid h2{font-size:21px;}
.rxe-pid h3{font-size:17px;margin-bottom:6px;}
.rxe-pid p{margin:0 0 12px;}
.rxe-pid .rxe-intro{text-align:center;color:#516384;font-size:15px;max-width:560px;margin:0 auto 14px;}
.rxe-pid label{display:block;font-weight:700;font-size:14px;margin-bottom:6px;color:#132A55;}
.rxe-pid .rxe-hint{font-weight:400;color:#516384;font-size:13px;}
.rxe-pid input[type="text"]{width:100%;padding:14px 16px;font-size:17px;border:1.5px solid #D7DEEC;border-radius:10px;font-family:'Lato',sans-serif;min-height:48px;color:#132A55;background:#fff;}
.rxe-pid button:focus-visible,.rxe-pid input:focus-visible,.rxe-pid a:focus-visible,.rxe-pid summary:focus-visible,.rxe-pid [tabindex]:focus-visible{outline:3px solid #1B4FBA;outline-offset:2px;}
.rxe-pid .rxe-btn-secondary{display:inline-block;width:100%;background:#fff;color:#1B4FBA;border:1.5px solid #1B4FBA;border-radius:10px;padding:13px 20px;font-size:15px;font-weight:700;font-family:'Lato',sans-serif;cursor:pointer;min-height:48px;margin-top:4px;}
.rxe-pid .rxe-results-summary{font-size:14px;color:#516384;margin-bottom:8px;font-weight:700;}
.rxe-pid .rxe-result-card{border:1px solid #E5E9F5;border-radius:14px;padding:18px 20px;margin-bottom:14px;}
.rxe-pid .rxe-result-card::after{content:"";display:block;clear:both;}
.rxe-pid .rxe-result-card h3{margin-bottom:8px;}
.rxe-pid .rxe-result-tag{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;padding:4px 9px;border-radius:20px;margin-bottom:10px;}
.rxe-pid .rxe-tag-partial{background:#FFF3E0;color:#B06A0F;}
.rxe-pid .rxe-tag-appearance{background:#F0F3FA;color:#516384;}
.rxe-pid .rxe-result-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px 18px;font-size:14px;margin:0 0 10px;}
.rxe-pid .rxe-result-grid dt{color:#516384;display:inline;}
.rxe-pid .rxe-result-grid dd{display:inline;margin:0 0 0 4px;font-weight:600;}
.rxe-pid .rxe-result-grid div{margin:0;}
.rxe-pid .rxe-dailymed-link{font-size:13.5px;font-weight:700;color:#1B4FBA;text-decoration:none;white-space:nowrap;}
.rxe-pid .rxe-dailymed-link:hover{text-decoration:underline;}
.rxe-pid .rxe-no-results{background:#F8FAFF;border:1px solid #E5E9F5;border-radius:12px;padding:20px 22px;font-size:14.5px;color:#40506E;}
.rxe-pid .rxe-footer-note{margin-top:34px;padding-top:18px;border-top:1px solid #E5E9F5;font-size:12.5px;color:#8A97AD;text-align:center;line-height:1.6;}
.rxe-pid .rxe-spinner{display:inline-block;width:14px;height:14px;border:2px solid #C7D3EC;border-top-color:#1B4FBA;border-radius:50%;animation:rxe-spin .7s linear infinite;vertical-align:-2px;margin-right:6px;}
@keyframes rxe-spin{to{transform:rotate(360deg);}}
.rxe-pid .rxe-result-photo{float:right;margin:0 0 8px 14px;}
.rxe-pid .rxe-result-photo img{display:block;width:120px;max-height:90px;object-fit:contain;border:1px solid #D7DEEC;border-radius:8px;background:#fff;}

/* ---- by-name only ---- */
.rxe-byname .rxe-byname-back{text-align:center;font-size:14px;margin-bottom:24px;}
.rxe-byname a{color:#1B4FBA;}
.rxe-byname .rxe-byname-back a{font-weight:700;text-decoration:none;}
.rxe-byname .rxe-byname-back a:hover{text-decoration:underline;}
.rxe-byname .rxe-byname-search{margin-bottom:22px;}
.rxe-byname .rxe-byname-combo{position:relative;margin-bottom:8px;}
.rxe-byname #rxe-byname-list{position:absolute;z-index:20;left:0;right:0;top:100%;margin:4px 0 0;padding:6px;list-style:none;background:#fff;border:1.5px solid #D7DEEC;border-radius:10px;box-shadow:0 6px 18px rgba(19,42,85,.12);max-height:320px;overflow-y:auto;}
.rxe-byname #rxe-byname-list li{padding:11px 12px;border-radius:7px;font-size:16px;cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.rxe-byname #rxe-byname-list li[aria-selected="true"],.rxe-byname #rxe-byname-list li:hover{background:#EEF3FD;color:#123B8F;}
.rxe-byname .rxe-byname-opt-sub{font-size:13px;color:#516384;}
.rxe-byname .rxe-byname-loading{font-size:14px;color:#516384;}
.rxe-byname #rxe-byname-results{margin-top:8px;}
.rxe-byname #rxe-byname-heading{margin-bottom:4px;}
.rxe-byname .rxe-byname-why{font-size:13.5px;color:#516384;margin-bottom:14px;}
.rxe-byname .rxe-byname-filter{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px;}
.rxe-byname .rxe-byname-chip{border:1.5px solid #D7DEEC;background:#fff;color:#132A55;border-radius:22px;padding:9px 14px;font-family:'Lato',sans-serif;font-size:14px;font-weight:700;cursor:pointer;min-height:44px;}
.rxe-byname .rxe-byname-chip[aria-pressed="true"]{background:#1B4FBA;border-color:#1B4FBA;color:#fff;}
.rxe-byname .rxe-byname-strength{margin-bottom:26px;}
.rxe-byname .rxe-byname-strength-h{font-size:19px;padding-bottom:8px;border-bottom:1px solid #E5E9F5;margin-bottom:14px;}
.rxe-byname .rxe-byname-tags{margin-bottom:0;}
/* The theme makes headings clear floats; let the imprint sit beside the photo. */
.rxe-byname .rxe-byname-card h3{clear:none;}
.rxe-byname #rxe-byname-heading:focus{outline:none;}
.rxe-byname .rxe-byname-strength-h .rxe-hint{font-family:'Lato',sans-serif;}
.rxe-byname .rxe-byname-k{font-family:'Lato',sans-serif;font-size:13px;font-weight:400;color:#516384;}
.rxe-byname .rxe-byname-noimprint{font-size:13.5px;color:#516384;margin-bottom:8px;}
.rxe-byname .rxe-byname-ph{float:right;margin:0 0 8px 14px;width:120px;min-height:80px;padding:10px 8px;border:1px dashed #C3CCDF;border-radius:8px;background:#F8FAFF;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:4px;}
.rxe-byname .rxe-byname-ph-imprint{font-weight:700;font-size:15px;color:#132A55;line-height:1.25;overflow-wrap:anywhere;}
.rxe-byname .rxe-byname-ph-note{font-size:11px;color:#5B6B86;text-transform:uppercase;letter-spacing:.04em;}
.rxe-byname .rxe-byname-products{font-size:14px;margin-bottom:6px;clear:both;}
.rxe-byname .rxe-byname-pname{color:#516384;}
.rxe-byname .rxe-byname-details{font-size:14px;}
.rxe-byname .rxe-byname-details summary{cursor:pointer;color:#1B4FBA;font-weight:700;font-size:13.5px;padding:6px 0;min-height:32px;}
.rxe-byname .rxe-byname-details ul{margin:8px 0 0;padding-left:18px;}
.rxe-byname .rxe-byname-details li{margin-bottom:8px;}
.rxe-byname .rxe-byname-caution{margin-top:26px;background:#FFF9E8;border:1px solid #F0DFA0;border-radius:12px;padding:14px 18px;font-size:14px;color:#6B5710;}
.rxe-byname .rxe-byname-caution a{color:#6B5710;font-weight:700;}
@media (max-width:560px){
  .rxe-pid .rxe-result-grid{grid-template-columns:1fr;}
  .rxe-pid h1{font-size:27px;}
}
/* Phones: imprint heading first, then the photo or placeholder, then details. */
@media (max-width:480px){
  .rxe-byname .rxe-byname-card{display:flex;flex-direction:column;align-items:flex-start;}
  .rxe-byname .rxe-byname-card > *{order:2;max-width:100%;}
  .rxe-byname .rxe-byname-card > .rxe-byname-tags,.rxe-byname .rxe-byname-card > h3{order:0;}
  .rxe-byname .rxe-byname-card > .rxe-result-photo,.rxe-byname .rxe-byname-card > .rxe-byname-ph{order:1;float:none;margin:2px 0 12px;}
  .rxe-byname .rxe-result-photo img{width:150px;max-height:100px;}
  .rxe-byname .rxe-byname-ph{width:150px;}
  .rxe-pid .rxe-dailymed-link{white-space:normal;}
}
