
#newprescription.hero{display:flex;justify-content:center;padding:10px 0;background:none;}
#newprescription .hero-card{width:90%;max-width:1100px;background:#fff;border-radius:24px;padding:60px;box-shadow:0 4px 24px rgba(0,0,0,0.05);}
#newprescription h1{font-size:2.6rem;margin-bottom:10px;}
#newprescription p.lead{font-size:1.15rem;color:#555;margin-bottom:25px;}
.alert.mediplus{background:#f9f9f9;border-radius:12px;padding:14px 18px;font-weight:600;margin-bottom:25px;}
.alert.success{background:#e8f8ee;border-left:4px solid #3c9f63;color:#1e4d32;padding:12px;border-radius:8px;margin:20px auto;max-width:800px;}
.alert.error{background:#ffeaea;border-left:4px solid #d33;color:#5a0a0a;padding:12px;border-radius:8px;margin:20px auto;max-width:800px;}
.grid-2{display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));text-align:left;}
input,select,textarea{width:100%;padding:10px;border:1px solid #ddd;border-radius:6px;font-size:15px;}
textarea{resize:vertical;}
label{display:block;margin-top:12px;margin-bottom:6px;font-weight:600;}
.btn.primary{background:#3c9f63;color:#fff;font-weight:600;padding:12px 24px;border:none;border-radius:8px;margin-top:25px;cursor:pointer;transition:0.3s;}
.btn.primary:hover{background:#348d58;}
.custom-file-upload{display:inline-block;padding:10px 20px;margin-top:15px;background:#3c9f63;color:#fff;border-radius:6px;font-weight:600;cursor:pointer;text-align:center;}
.custom-file-upload:hover{background:#348d58;}
.image-preview-container{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px;}
.image-preview{position:relative;display:inline-block;}
.preview-image{width:100px;height:100px;object-fit:cover;border-radius:8px;box-shadow:0 2px 6px rgba(0,0,0,0.2);}
.remove-image{position:absolute;top:-6px;right:-6px;background:#ff4747;border:none;color:#fff;border-radius:50%;width:22px;height:22px;cursor:pointer;line-height:18px;font-weight:bold;}
.pdf-preview{width:100px;height:100px;border-radius:8px;background:#f4f4f4;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(0,0,0,0.2);}
.pdf-preview i{color:#d32f2f;font-size:30px;margin-bottom:6px;}
.pdf-preview span{font-size:12px;text-align:center;padding:0 4px;word-break:break-word;}
