/* SHE Pharmacy Core */
.she-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:600;line-height:1.6;white-space:nowrap;vertical-align:middle}
.she-badge--approved{background:#e3f6ea;color:#137a3a}
.she-badge--pending{background:#fff4d6;color:#8a5a00}
.she-badge--rejected{background:#fde4e4;color:#b42318}
.she-badge--expired{background:#eef0f3;color:#4b5563}
.she-tick{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:#16a34a;color:#fff;font-size:10px}
.she-rx-pill{display:inline-block;padding:1px 7px;border-radius:4px;background:#b42318;color:#fff;font-size:11px;font-weight:700;letter-spacing:.3px;vertical-align:middle}
.she-rx-pill--loop{margin:4px 0}
.she-rx-notice{margin:12px 0;padding:10px 12px;border:1px solid #f3c9c5;background:#fff7f6;border-radius:8px;font-size:14px}
.she-box{margin:0 0 16px;padding:12px 14px;border-radius:8px;border:1px solid;font-size:14px;line-height:1.5}
.she-box .button{margin-left:6px}
.she-box--warn{background:#fff7f6;border-color:#f3c9c5}
.she-box--info{background:#f3f8ff;border-color:#c9dcf7}
.she-box--ok{background:#effaf3;border-color:#bfe6cc}
.she-box--points{background:#fffaf0;border-color:#f2dfb5}
.she-points-form{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px;margin:6px 0 0}
.she-points-form input[type=number]{padding:4px 6px}
.she-points-hint{font-size:13px;color:#8a5a00;margin:8px 0}
.she-card{border:1px solid #e5e7eb;border-radius:10px;padding:16px;margin:0 0 20px;background:#fff}
.she-form .she-row{display:flex;flex-direction:column;gap:4px;margin:0 0 12px}
.she-form input[type=text],.she-form textarea{width:100%}
.she-form small{color:#6b7280}
.she-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.she-table td,.she-table th{vertical-align:middle}
.she-in{color:#137a3a;font-weight:600}.she-out{color:#b42318;font-weight:600}
.she-plus{color:#137a3a;font-weight:700}.she-minus{color:#b42318;font-weight:700}
.she-muted{color:#6b7280;font-size:13px}
.she-points-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 12px}
.she-points-card{border:1px solid #e5e7eb;border-radius:10px;padding:14px;text-align:center;background:#fff}
.she-points-card span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.5px;color:#6b7280}
.she-points-card strong{display:block;font-size:26px;line-height:1.3}
.she-points-card small{color:#6b7280}
.she-points-card--available{border-color:#16a34a;background:#effaf3}
.she-expiry{margin:0 0 16px;padding-left:18px}
.she-pager a,.she-pager strong{display:inline-block;padding:2px 8px}
.she-reorder-wrap{margin:16px 0}
/* Tracking timeline */
.she-track{margin:0 0 24px;padding:16px;border:1px solid #e5e7eb;border-radius:10px;background:#fff}
.she-track__title{font-size:18px;margin:0 0 14px}
.she-steps{list-style:none;margin:0;padding:0;display:flex;justify-content:space-between;position:relative;counter-reset:s}
.she-steps:before{content:"";position:absolute;top:9px;left:9px;right:9px;height:3px;background:#e5e7eb}
.she-steps li{position:relative;flex:1;text-align:center;font-size:13px;padding:0 4px;color:#9ca3af}
.she-steps li b{display:block;margin-top:8px;font-weight:600}
.she-steps li small{display:block;color:#6b7280;font-size:11px}
.she-dot{display:block;width:20px;height:20px;margin:0 auto;border-radius:50%;background:#e5e7eb;border:3px solid #fff;box-shadow:0 0 0 1px #e5e7eb;position:relative;z-index:1}
.she-steps li.is-done,.she-steps li.is-current{color:#111827}
.she-steps li.is-done .she-dot{background:#16a34a;box-shadow:0 0 0 1px #16a34a}
.she-steps li.is-current .she-dot{background:#2a9fb5;box-shadow:0 0 0 4px rgba(42,159,181,.25)}
.she-steps li.is-cancelled .she-dot{background:#b42318;box-shadow:0 0 0 1px #b42318}
.she-steps--cancelled{justify-content:flex-start;gap:60px}
.she-steps--cancelled li{flex:0 0 auto}
.she-tracking-info{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:16px;padding-top:12px;border-top:1px dashed #e5e7eb;font-size:14px}
.she-track-form{max-width:420px}
.she-track-form input{width:100%}
/* Sections */
.she-section{margin:0 0 32px}
.she-section__title{margin:0 0 16px}
.she-brands{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px}
.she-brands li a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:100px;padding:12px;border:1px solid #e5e7eb;border-radius:10px;text-align:center;text-decoration:none;background:#fff}
.she-brands img{max-height:60px;width:auto;object-fit:contain}
.she-brand-name{font-weight:700;font-size:15px}
/* Admin review */
.she-admin .she-review{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;align-items:start}
.she-review__file img{max-width:100%;height:auto;border:1px solid #dcdcde;border-radius:6px;background:#fff}
.she-review__file iframe{width:100%;height:80vh;border:1px solid #dcdcde;border-radius:6px;background:#fff}
.she-admin .she-btn-danger{color:#b42318;border-color:#b42318}
.she-admin h1 .she-badge{margin-left:8px;font-size:13px}
@media (max-width:900px){.she-admin .she-review{grid-template-columns:1fr}}
@media (max-width:768px){
 .she-grid-2{grid-template-columns:1fr}
 .she-points-cards{grid-template-columns:repeat(2,1fr)}
 .she-steps{flex-direction:column;gap:14px}
 .she-steps:before{top:9px;bottom:9px;left:9px;right:auto;width:3px;height:auto}
 .she-steps li{display:grid;grid-template-columns:20px 1fr;column-gap:12px;text-align:left;padding:0}
 .she-steps li .she-dot{margin:0;grid-row:span 2}
 .she-steps li b{margin-top:0}
 .she-steps--cancelled{gap:14px}
 .she-points-form{display:flex}
}

.she-rx-notice--ok{border-color:#bfe6cc;background:#effaf3}
.she-orders-check td{vertical-align:top}
