.student-id-card{overflow:hidden;width:100%;border:1px solid #bfdbfe;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.1);font-family:"Segoe UI",Arial,sans-serif}
.student-id-card header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;color:#fff;background:linear-gradient(135deg,#1d4ed8,#2563eb)}
.student-id-card header p{margin:0;font-size:11px;font-weight:800;letter-spacing:1px}.student-id-card h3{margin:4px 0 0;font-size:20px}.student-id-card header i{font-size:35px;opacity:.8}
.student-id-card .card-body{display:grid;grid-template-columns:90px minmax(0,1fr) 105px;align-items:center;gap:18px;padding:22px}
.student-id-card .card-photo{display:grid;place-items:center;width:90px;height:90px;border:3px solid #dbeafe;border-radius:50%;color:#1d4ed8;background:#eff6ff;font-size:28px;font-weight:800}
.student-id-card .card-details{min-width:0}.student-id-card .card-details h4{margin:0 0 10px;font-size:19px;line-height:1.35;overflow-wrap:anywhere}.student-id-card .card-details p{margin:5px 0;color:#475569;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.student-id-card .card-qr{display:block;width:105px;height:105px;padding:5px;border:1px solid #dbe3ec;border-radius:7px;background:#fff;object-fit:contain}.student-id-card .card-qr[hidden]{display:none}
@media(max-width:600px){.student-id-card .card-body{grid-template-columns:72px minmax(0,1fr);gap:13px;padding:17px}.student-id-card .card-photo{width:72px;height:72px;font-size:22px}.student-id-card .card-qr{grid-column:span 2;justify-self:center;width:110px;height:110px}}
