/* Smarttech NOC Dark Premium • Employee CR80 ID card studio.
   Isolated to ID card components to avoid altering Payroll/Finance pages. */
.smart-id-studio{width:min(100%,1040px);background:#09172b;border:1px solid #25476f;border-radius:22px;box-shadow:0 24px 70px rgba(0,8,25,.24);overflow:hidden}
.smart-id-studio-heading{padding:24px 28px;border-bottom:1px solid #27527e;background:radial-gradient(circle at 82% 0%,rgba(21,107,219,.22),transparent 40%),linear-gradient(120deg,#10284a,#091b37 75%);position:relative}
.smart-id-studio-heading:after{content:'';position:absolute;right:6%;bottom:0;width:25%;height:3px;background:linear-gradient(90deg,transparent,#1d9dff,transparent)}
.smart-id-studio-heading h2{font-size:clamp(19px,2vw,24px);font-weight:800;letter-spacing:-.45px;margin:6px 0}
.smart-id-studio-heading p{font-size:12px;color:#bcd0e8}
.smart-studio-kicker{color:#ffc95e;letter-spacing:2px}
.smart-studio-ready{background:#0b453c;border:1px solid #1ab98e;color:#c9ffee;padding:10px 15px}
.smart-id-studio-stage{padding:30px 20px 26px;background:radial-gradient(ellipse at 50% 36%,#1a3e69 0%,#102644 38%,#091930 90%)}
.smart-id-studio-stage .smart-id-print-area{justify-content:center;gap:clamp(18px,4vw,48px);margin:0}
.smart-id-studio-stage .smart-id-card{width:54mm!important;height:85.6mm!important;min-height:0!important;max-height:85.6mm!important;border-radius:13px;box-shadow:0 15px 35px #030c1e75,0 0 0 1px #ffffff18}
.smart-id-front,.smart-id-back{background:#082d78}
.smart-id-card::before{background:radial-gradient(circle at 105% 45%,#286de07e,transparent 58%),linear-gradient(140deg,#071d54,#10428e 66%,#07235e)}
.smart-id-brand{min-height:19mm;height:19mm;padding:2mm 2.5mm;gap:1.6mm;background:#fff}
.smart-id-brand img{width:14mm;height:14mm}.smart-id-brand b,.smart-id-brand strong{font-size:10px;line-height:1.08}.smart-id-brand small{font-size:5px;letter-spacing:.65px}
.smart-id-waves{height:3.5mm;flex:0 0 3.5mm;background:linear-gradient(160deg,#db1d33 0 42%,#ffc029 43% 59%,transparent 60%)}
.smart-id-body{padding:1.6mm 2.5mm .8mm;gap:1mm;min-height:0;flex:1 1 auto;justify-content:flex-start}
.smart-id-photo-wrap{width:24mm;height:26mm;border:2px solid #ffc23b;border-radius:7px;box-shadow:0 4px 12px #0008}
.smart-id-person{gap:.8mm;min-height:0}
.smart-id-person strong{font-size:11.5px;line-height:1.13;text-transform:uppercase;max-width:100%}
.smart-id-person span{font-size:7.2px;line-height:1.15;padding:2px 8px;max-width:96%;background:#df283d}
.smart-id-person small{font-size:6.5px;line-height:1.15;color:#e2edff}
.smart-id-employee-code{padding:1mm 3mm;font-size:9.2px;background:linear-gradient(90deg,#ffcd56,#f2a51f)}
.smart-id-barcode{width:46mm;min-height:11mm;height:11mm;flex:0 0 11mm;padding:.8mm 1.5mm;gap:.4mm;border-radius:5px}
.smart-id-barcode .id-barcode{height:6.3mm}.smart-id-barcode span{font-size:5.5px;letter-spacing:.2px}
.smart-id-bottom{height:5.3mm;min-height:5.3mm;flex:0 0 5.3mm;margin-top:1mm;font-size:6.6px;background:linear-gradient(95deg,#d21c36,#ffa826)}
.smart-id-backhead{min-height:20mm;height:20mm;padding:0 2.5mm;gap:1.5mm}
.smart-id-backhead img{width:14mm;height:14mm}.smart-id-backhead b,.smart-id-backhead strong{font-size:10.6px}
.smart-id-backhead .smart-id-tagline{font-size:5.5px}
.smart-id-backband{height:4mm;min-height:4mm;background:linear-gradient(160deg,#df1e35 20%,#ffb422 36% 48%,transparent 49%)}
.smart-id-backinfo{padding:1.6mm 4.5mm 0;gap:1mm}
.smart-id-backinfo div{min-height:7.3mm;padding-bottom:.6mm;border-bottom:1px solid #ffffff50}
.smart-id-backinfo small{font-size:5.5px}.smart-id-backinfo b{font-size:8.4px;line-height:1.14}
.smart-id-backcode{height:11.5mm;min-height:11.5mm;margin:1.6mm 4.5mm 0;padding:.7mm 1.3mm;gap:.3mm;flex:0 0 11.5mm}
.smart-id-backcode .id-barcode{height:6.6mm}.smart-id-backcode span{font-size:5.3px}
.smart-id-notice{padding:1.3mm 4.5mm;font-size:5.9px;line-height:1.2}
.smart-id-web{min-height:6mm;height:6mm;flex:0 0 6mm;font-size:9.4px;background:linear-gradient(90deg,#ca2038,#f5a821)}
.smart-id-studio-footer{padding:18px 22px;background:#102541;border-top:1px solid #2a4d70;gap:14px}
.smart-id-studio-note{max-width:350px;align-items:center}.smart-id-studio-note>span{background:#20c873;color:#fff;width:33px;height:33px;font-size:19px}
.smart-id-studio-note strong{font-size:13px;color:#f3f8ff}.smart-id-studio-note small{font-size:11px;color:#b6cce5}
.smart-id-studio-footer .smart-id-actions{gap:9px}
.smart-id-studio-footer .smart-id-actions .btn{min-height:40px;border-radius:9px;padding:9px 14px;font-size:12px}
.smart-id-action-scan{background:#173454;border-color:#4a7096;color:#eff8ff}
.smart-id-action-scan:hover{background:#21466d}
.smart-id-studio-footer .smart-id-action-print{background:linear-gradient(120deg,#098ef3,#0755e9);border-color:#43adff;color:#fff}
.smart-id-management{border-radius:16px}.smart-id-management .table-scroll{border-radius:12px;overflow-x:auto}
.smart-photo-panel{border-radius:14px}
@media(max-width:740px){.smart-id-studio{border-radius:15px}.smart-id-studio-heading{padding:20px 17px}.smart-id-studio-stage{padding:21px 10px}.smart-id-studio-stage .smart-id-print-area{gap:18px;flex-wrap:wrap}.smart-id-studio-footer{padding:16px}.smart-id-studio-footer .smart-id-actions{width:100%;justify-content:stretch}.smart-id-studio-footer .smart-id-actions .btn{flex:1 1 150px}}
@media print{
 @page{size:A4 portrait;margin:12mm}
 html,body{background:white!important}
 body:has(.smart-id-print-area) .smart-id-studio,body:has(.smart-id-print-area) .smart-id-studio-stage{width:auto!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;overflow:visible!important}
 body:has(.smart-id-print-area) .smart-id-studio-stage .smart-id-print-area{display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start!important;gap:12mm!important;margin:0!important}
 body:has(.smart-id-print-area) .smart-id-studio-stage .smart-id-card{width:54mm!important;height:85.6mm!important;min-height:85.6mm!important;max-height:85.6mm!important;transform:none!important;box-shadow:none!important;border-radius:2mm!important;page-break-inside:avoid!important;break-inside:avoid!important;print-color-adjust:exact!important;-webkit-print-color-adjust:exact!important}
}
