/* SMART Construction UI safety patch: icons + native checkboxes + iCheck fallback */
:root{--scg-blue:#1d64e8;--scg-border:#dbe6f3;--scg-text:#17375f}
/* Keep checkboxes visible even if iCheck skin/images are missing */
input[type="checkbox"],input[type="radio"]{opacity:1!important;position:static!important;visibility:visible!important;display:inline-block!important;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;margin:0 5px!important;vertical-align:middle!important;appearance:auto!important;-webkit-appearance:auto!important;accent-color:var(--scg-blue)}
.icheckbox_square-blue,.iradio_square-blue,.icheckbox_minimal-blue,.iradio_minimal-blue{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:18px!important;height:18px!important;border:2px solid #94a3b8!important;border-radius:4px!important;background:#fff!important;margin:0 6px!important;vertical-align:middle!important;position:relative!important}
.iradio_square-blue,.iradio_minimal-blue{border-radius:50%!important}.icheckbox_square-blue.checked,.icheckbox_minimal-blue.checked,.iradio_square-blue.checked,.iradio_minimal-blue.checked{background:var(--scg-blue)!important;border-color:var(--scg-blue)!important}.icheckbox_square-blue.checked:after,.icheckbox_minimal-blue.checked:after{content:'✓';color:#fff;font-size:13px;font-weight:900;line-height:1}.iradio_square-blue.checked:after,.iradio_minimal-blue.checked:after{content:'';width:7px;height:7px;border-radius:50%;background:#fff;display:block}.icheckbox_square-blue.disabled,.iradio_square-blue.disabled{opacity:.45!important}
/* FontAwesome fallback when icon fonts are missing on shared hosting */
.fa,.fas,.far,.fab,.glyphicon{font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",Arial,sans-serif!important;font-style:normal!important;font-weight:400!important;display:inline-flex!important;align-items:center;justify-content:center;min-width:18px;line-height:1!important;color:inherit}.fa:before,.fas:before,.far:before,.fab:before,.glyphicon:before{font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",Arial,sans-serif!important;font-weight:400!important;line-height:1!important}
.fa-home:before{content:'🏠'!important}.fa-users:before{content:'👥'!important}.fa-user:before,.fa-user-circle:before{content:'👤'!important}.fa-sitemap:before{content:'🗂️'!important}.fa-id-badge:before{content:'🪪'!important}.fa-clock-o:before,.fa-clock:before{content:'🕒'!important}.fa-fingerprint:before{content:'🔐'!important}.fa-mobile:before,.fa-mobile-alt:before{content:'📱'!important}.fa-calendar-check-o:before,.fa-calendar-check:before{content:'✅'!important}.fa-map-marker:before,.fa-map-marker-alt:before{content:'📍'!important}.fa-tags:before{content:'🏷️'!important}.fa-plane:before{content:'✈️'!important}.fa-money:before,.fa-dollar-sign:before{content:'💵'!important}.fa-gift:before{content:'🎁'!important}.fa-list-alt:before,.fa-list:before{content:'📋'!important}.fa-calculator:before{content:'🧮'!important}.fa-university:before,.fa-bank:before{content:'🏦'!important}.fa-file-text-o:before,.fa-file-alt:before,.fa-file:before{content:'📄'!important}.fa-bar-chart:before,.fa-chart-bar:before{content:'📊'!important}.fa-check-square-o:before,.fa-check-square:before{content:'☑️'!important}.fa-bell-o:before,.fa-bell:before{content:'🔔'!important}.fa-line-chart:before{content:'📈'!important}.fa-book:before{content:'📘'!important}.fa-shield:before{content:'🛡️'!important}.fa-tachometer:before,.fa-dashboard:before{content:'📌'!important}.fa-cubes:before,.fa-cube:before{content:'📦'!important}.fa-shopping-cart:before,.fa-cart-plus:before{content:'🛒'!important}.fa-download:before{content:'⬇️'!important}.fa-upload:before{content:'⬆️'!important}.fa-envelope:before,.fa-envelope-o:before{content:'✉️'!important}.fa-cog:before,.fa-gear:before{content:'⚙️'!important}.fa-search:before{content:'🔎'!important}.fa-plus:before{content:'➕'!important}.fa-edit:before,.fa-pencil:before{content:'✏️'!important}.fa-trash:before{content:'🗑️'!important}.fa-print:before{content:'🖨️'!important}.fa-eye:before{content:'👁️'!important}.fa-angle-up:before{content:'⌃'!important}.fa-angle-down:before{content:'⌄'!important}.fa-angle-left:before{content:'‹'!important}.fa-angle-right:before{content:'›'!important}
/* If an icon class is unknown, do not show an empty square */
i.fa:not([class*="fa-"]):before,i.fas:not([class*="fa-"]):before{content:''!important}.hrp-nav a i.fa,.sidebar i.fa,.side-bar i.fa{background:rgba(29,100,232,.08);border-radius:7px;padding:2px;width:22px;height:22px;font-size:14px}.hrp-nav a.active i.fa{background:rgba(255,255,255,.18)}
/* Mobile attendance map helpers */
.scg-map-card{border:1px solid var(--scg-border);border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 8px 25px rgba(15,23,42,.06)}.scg-map-toolbar{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:10px 12px;background:#f8fbff;border-bottom:1px solid var(--scg-border)}.scg-map{height:380px;min-height:320px;width:100%;border-radius:0 0 18px 18px}.leaflet-container{font-family:inherit!important;z-index:1}.leaflet-control-container a{color:#111!important}.scg-help-note{background:#eff6ff;color:#1e3a8a;border:1px solid #bfdbfe;border-radius:14px;padding:10px 12px;margin:10px 0;font-weight:700}
