*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:Noto Sans Ethiopic;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/NotoSansEthiopic-Regular.ttf) format("truetype")}@font-face{font-family:Noto Sans Ethiopic;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/NotoSansEthiopic-Medium.ttf) format("truetype")}@font-face{font-family:Noto Sans Ethiopic;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/NotoSansEthiopic-SemiBold.ttf) format("truetype")}@font-face{font-family:Noto Sans Ethiopic;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/NotoSansEthiopic-Bold.ttf) format("truetype")}@font-face{font-family:Ethiopic-Semi-Bold-Font;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/NotoSansEthiopic-SemiBold.ttf) format("truetype")}@font-face{font-family:Ethiopic-Semi-Bold-Font;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/NotoSansEthiopic-SemiBold.ttf) format("truetype")}@font-face{font-family:Noto Sans Ethiopic SemiCondensed;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/NotoSansEthiopic_SemiCondensed-SemiBold.ttf) format("truetype")}.id-card-template{position:relative;width:850px;height:540px;margin:20px auto;border:1px solid #ccc}.background-image{position:absolute;width:100%;height:100%;z-index:1}.user-photo{position:absolute;top:170px;left:70px;width:261px;height:315px;overflow:hidden;z-index:5;border-radius:20px 20px 5px 5px;filter:brightness(1.1);background:transparent!important}.user-photo img{width:100%;height:100%;object-fit:contain;display:block;background:transparent}.placeholder-photo{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#e5e7eb;color:#6b7280;font-size:14px}.overlay-container1:before{content:"";position:absolute;top:152px;left:71px;width:261px;height:334px;background:#0000;z-index:4;border-radius:20px 20px 5px 5px}.overlay-container1{position:relative;width:100%;height:100%;overflow:hidden}.full-name,.full-nameamh{position:absolute;top:178px;left:345px;font-size:24px;letter-spacing:0;line-height:1.3;color:#000;z-index:2;max-width:600px;font-weight:700}.full-name{font-family:Noto Sans Ethiopic,sans-serif;top:180px;line-height:1.3}.full-nameamh{top:146px;line-height:1.35;max-width:500px;font-family:Ethiopic-Semi-Bold-Font,sans-serif;font-weight:700}.details{position:absolute;top:260px;left:340px;z-index:2;font-size:16px;color:#000}.dob,.sex,.expiry-date,.issue-date{font-family:Noto Sans Ethiopic,sans-serif}.dobamh,.sexamh,.expiry-dateamh,.issue-dateamh{font-family:Ethiopic-Semi-Bold-Font,sans-serif}.dob{position:absolute;top:-1px;left:157px;font-size:23px;font-weight:700;white-space:nowrap!important;width:auto;display:block}.dobamh{position:absolute;top:-1px;left:2px;font-size:24px;letter-spacing:1px;font-weight:700;white-space:nowrap!important;display:inline-block;min-width:0;max-width:140px;overflow:hidden;text-overflow:ellipsis}.sex{position:absolute;top:53px;left:92px;font-size:24px;letter-spacing:1px;font-weight:700}.sexamh{position:absolute;top:53px;left:5px;font-size:25px;letter-spacing:2px;font-weight:700;max-width:75px;overflow:hidden;text-overflow:ellipsis}.issue-date{transform:rotate(-90deg);position:absolute;white-space:nowrap;bottom:364px;left:-18px;z-index:2;font-size:19px;font-weight:700;width:100px;text-align:center;color:#000}.issue-dateamh{transform:rotate(-90deg);position:absolute;bottom:150px;left:-18px;z-index:2;font-size:19px;font-weight:700;width:100px;text-align:center;color:#000}.expiry-date{position:absolute;top:110px;left:172px;font-size:23px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700}.expiry-dateamh{position:absolute;top:111px;left:5px;font-size:23px;font-weight:700;max-width:150px;overflow:hidden;text-overflow:ellipsis}.national-id{position:absolute;top:160px;left:65px;font-size:18px;color:#111112;font-weight:700;z-index:2;letter-spacing:2px;white-space:nowrap!important;font-family:monospace}.user-photo2{position:relative;top:123px;left:354px;width:86px;height:113px;overflow:hidden;z-index:2;border-radius:20px 20px 5px 5px}.overlay-container:before{content:"";position:absolute;top:118px;left:354px;width:101px;height:113px;background:#0000000a;z-index:4;border-radius:20px 20px 5px 5px}.user-photo2 img{width:100%;height:100%;object-fit:contain;display:block;z-index:2}.barcode{position:absolute;top:169px;left:49px;letter-spacing:2px}.controls{max-width:850px;margin:20px auto;padding:20px;display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.controls input,.controls select{padding:8px;margin:5px 0}.controls button{grid-column:span 2;padding:12px;background:#1a237e;color:#fff;border:none;cursor:pointer}.id-card-template .info-value,.id-card-template .dob-text{white-space:nowrap!important;display:inline-block!important;word-spacing:-2px;font-size:.9em}.info-row{display:flex;justify-content:flex-start;width:100%}
