.prescriptions-backdrop{position:fixed;inset:0;z-index:10020;display:grid;place-items:center;overflow:auto;padding:24px;background:rgba(4,25,39,.76);backdrop-filter:blur(5px);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}.prescriptions-modal{width:min(1180px,100%);max-height:calc(100vh - 48px);overflow:auto;border-radius:22px;color:#173247;background:#f3f7f9;box-shadow:0 28px 80px rgba(0,17,28,.4)}.prescriptions-header{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:23px 27px;border-bottom:1px solid #d7e4e9;background:rgba(255,255,255,.97);backdrop-filter:blur(8px)}.prescriptions-header p{margin:0 0 5px;color:#078c89;font-size:11px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.prescriptions-header h2{margin:0;font-size:27px;letter-spacing:-.03em}.prescriptions-header span{display:block;margin-top:6px;color:#637b89;font-size:12px}.prescriptions-header>button{width:38px;height:38px;border:1px solid #d6e3e8;border-radius:11px;color:#496478;background:#fff;font-size:25px;cursor:pointer}.prescriptions-content{display:grid;grid-template-columns:minmax(390px,.85fr) minmax(420px,1.15fr);gap:18px;padding:22px 27px 28px}.prescriptions-content>section:only-child{grid-column:1/-1;max-width:900px;width:100%;margin:auto}.prescription-form,.prescription-history-panel{align-self:start;padding:21px;border:1px solid #d8e5e9;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(24,61,82,.06)}.prescription-section-title{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:17px}.prescription-section-title strong,.prescription-section-title span{display:block}.prescription-section-title strong{font-size:16px}.prescription-section-title span{margin-top:4px;color:#6a808c;font-size:11px}.prescription-section-title em{padding:6px 9px;border-radius:999px;color:#08736c;background:#e2f5f2;font-size:9px;font-style:normal;font-weight:900}.prescription-form label,.prescription-patient-filter{display:grid;gap:6px;color:#476276;font-size:11px;font-weight:800}.prescription-form input,.prescription-form select,.prescription-form textarea,.prescription-patient-filter select{width:100%;min-height:40px;box-sizing:border-box;border:1px solid #d6e3e8;border-radius:9px;padding:8px 10px;color:#173247;background:#fff;font:inherit}.prescription-form textarea{resize:vertical}.prescription-wide{grid-column:1/-1}.prescription-medicine{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:14px 0;padding:15px;border:1px solid #dce8eb;border-radius:13px;background:#f5f9fa}.prescription-medicine legend{padding:0 6px;color:#0d7c76;font-size:11px;font-weight:900}.medicine-remove{position:absolute;top:-13px;right:8px;width:27px;height:27px;border:1px solid #ebc9cd;border-radius:50%;color:#a34950;background:#fff;font-size:18px;cursor:pointer}.prescription-secondary,.prescription-primary{width:100%;min-height:43px;border-radius:10px;font:inherit;font-size:12px;font-weight:850;cursor:pointer}.prescription-secondary{border:1px solid #cfe0e5;color:#196f73;background:#f7fbfc}.prescription-primary{margin-top:13px;border:0;color:#fff;background:linear-gradient(135deg,#087ea4,#0aa6a6);box-shadow:0 8px 20px rgba(8,126,164,.18)}.prescription-primary:disabled{opacity:.6;cursor:wait}.prescription-history-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:flex-start;gap:9px!important;margin-top:14px;padding:11px;border-radius:9px;background:#eef8f7}.prescription-history-check input{width:17px!important;min-height:17px!important;margin:0;accent-color:#0aa6a6}.prescription-patient-filter{margin-bottom:14px}.prescription-message{display:none;margin:10px 0;padding:10px;border-radius:9px;font-size:11px}.prescription-message.ok{display:block;color:#087064;border:1px solid #b9e8df;background:#eafaf7}.prescription-message.error{display:block;color:#a83a46;border:1px solid #f1c6cc;background:#fff0f2}.prescription-list{display:grid;gap:12px;max-height:540px;overflow:auto;padding-right:3px}.prescription-empty{margin:0;padding:30px;text-align:center;color:#758c97;border:1px dashed #cadce1;border-radius:12px;background:#fafcfd}.prescription-card{padding:14px;border:1px solid #dce7ea;border-left:4px solid #12a5a1;border-radius:12px;background:#fbfdfd}.prescription-card header{display:flex;justify-content:space-between;gap:12px}.prescription-card header span,.prescription-card header strong{display:block}.prescription-card header span{color:#728892;font-size:8px;font-weight:850;text-transform:uppercase}.prescription-card header strong{margin-top:3px;font-size:11px}.prescription-card header em{height:max-content;padding:5px 8px;border-radius:999px;color:#11746d;background:#e2f4f1;font-size:8px;font-style:normal;font-weight:850}.prescription-professional{display:grid;grid-template-columns:1fr 1fr;gap:5px 12px;margin:11px 0;padding:9px;border-radius:8px;color:#526e79;background:#f0f6f7;font-size:9px}.prescription-professional span:last-child{grid-column:1/-1}.prescription-card>p{margin:9px 0;font-size:9px;line-height:1.5}.prescription-card ol{display:grid;gap:7px;margin:10px 0;padding-left:25px}.prescription-card li{font-size:9px}.prescription-card li strong,.prescription-card li span,.prescription-card li small{display:block}.prescription-card li span{margin-top:2px;color:#4c6874}.prescription-card li small{margin-top:2px;color:#718792}.prescription-card footer{margin-top:10px;padding:8px;border-radius:7px;color:#7a531e;background:#fff3dc;font-size:8px;font-weight:800}.prescriptions-nav-button .prescriptions-nav-icon,.prescriptions-mobile-button .prescriptions-nav-icon{display:grid;place-items:center;width:19px;height:19px;border:1px solid currentColor;border-radius:5px;font-size:8px;font-weight:900}.doctor-important-data{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 11px;width:100%;margin-top:9px;padding:9px;border-radius:9px;color:#476875;background:#eff7f7;font-size:8px}.doctor-important-data span{min-width:0}.history-prescriptions-section{display:grid;gap:11px;margin-top:17px;padding-top:17px;border-top:1px solid #dce7ea}.history-prescriptions-heading{display:flex;justify-content:space-between;align-items:center}.history-prescriptions-heading span,.history-prescriptions-heading strong{display:block}.history-prescriptions-heading span{color:#0a8883;font-size:8px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.history-prescriptions-heading strong{margin-top:3px;font-size:12px}.history-prescriptions-heading em{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;color:#0b756f;background:#dff4f1;font-size:10px;font-style:normal;font-weight:900}.mobile-nav:has(.prescriptions-mobile-button){grid-template-columns:repeat(5,1fr)}@media(max-width:900px){.prescriptions-content{grid-template-columns:1fr}.prescription-list{max-height:none}}@media(max-width:600px){.prescriptions-backdrop{padding:0;place-items:start}.prescriptions-modal{width:100%;min-height:100vh;max-height:none;border-radius:0}.prescriptions-header,.prescriptions-content{padding-left:16px;padding-right:16px}.prescription-medicine{grid-template-columns:1fr}.prescription-professional,.doctor-important-data{grid-template-columns:1fr}.prescription-professional span:last-child{grid-column:auto}}
