/* v14.02.08 — financial-suite styled UI for all attendance pages */
:root{
  --ngatt-font:var(--suite-core-font-family, Vazirmatn, Vazir, IRANSans, Tahoma, Arial, sans-serif);
  --ngatt-bg:#f5f7fb;
  --ngatt-card:#ffffff;
  --ngatt-text:#0f172a;
  --ngatt-muted:#64748b;
  --ngatt-border:#e2e8f0;
  --ngatt-border-strong:#cbd5e1;
  --ngatt-primary:#0f766e;
  --ngatt-primary-2:#2563eb;
  --ngatt-danger:#dc2626;
  --ngatt-warning:#d97706;
  --ngatt-success:#16a34a;
  --ngatt-purple:#7c3aed;
  --ngatt-shadow:0 18px 45px rgba(15,23,42,.08);
  --ngatt-shadow-sm:0 8px 22px rgba(15,23,42,.07);
  --ngatt-radius:18px;
  --ngatt-radius-sm:13px;
}

#ngatt-user-panel.ngatt-card,
#ngatt-manager-panel.ngatt-card,
#ngatt-overview.ngatt-card,
.ngatt-card{
  direction:rtl;
  text-align:right;
  box-sizing:border-box;
  color:var(--ngatt-text);
  font-family:var(--ngatt-font)!important;
  line-height:1.85;
}
#ngatt-user-panel.ngatt-card *,#ngatt-user-panel.ngatt-card *::before,#ngatt-user-panel.ngatt-card *::after,
#ngatt-manager-panel.ngatt-card *,#ngatt-manager-panel.ngatt-card *::before,#ngatt-manager-panel.ngatt-card *::after,
#ngatt-overview.ngatt-card *,#ngatt-overview.ngatt-card *::before,#ngatt-overview.ngatt-card *::after,
.ngatt-card *,.ngatt-card *::before,.ngatt-card *::after{box-sizing:border-box}
#ngatt-user-panel.ngatt-card,
#ngatt-manager-panel.ngatt-card,
#ngatt-overview.ngatt-card{
  max-width:1240px;
  width:100%;
  margin:32px auto;
  padding:0 16px;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
}
.ngatt-card{
  background:var(--ngatt-card);
  border:1px solid var(--ngatt-border);
  border-radius:var(--ngatt-radius);
  padding:18px;
  margin:14px 0;
  box-shadow:var(--ngatt-shadow-sm);
}
#ngatt-user-panel.ngatt-card a,#ngatt-user-panel.ngatt-card button,#ngatt-user-panel.ngatt-card input,#ngatt-user-panel.ngatt-card select,#ngatt-user-panel.ngatt-card textarea,
#ngatt-manager-panel.ngatt-card a,#ngatt-manager-panel.ngatt-card button,#ngatt-manager-panel.ngatt-card input,#ngatt-manager-panel.ngatt-card select,#ngatt-manager-panel.ngatt-card textarea,
#ngatt-overview.ngatt-card a,#ngatt-overview.ngatt-card button,#ngatt-overview.ngatt-card input,#ngatt-overview.ngatt-card select,#ngatt-overview.ngatt-card textarea,
.ngatt-card a,.ngatt-card button,.ngatt-card input,.ngatt-card select,.ngatt-card textarea{font-family:var(--ngatt-font)!important}

.ngatt-panel-head{
  display:flex;
  align-items:stretch;
  justify-content:space-between;
  gap:18px;
  background:linear-gradient(135deg,#eef6ff 0%,#ffffff 52%,#ecfdf5 100%);
  border:1px solid #d8e7f6;
  border-top:4px solid var(--ngatt-primary);
  border-radius:24px;
  padding:26px;
  margin:0 0 18px;
  box-shadow:var(--ngatt-shadow);
  overflow:hidden;
  position:relative;
}
.ngatt-panel-head:before{
  content:"";
  position:absolute;
  width:210px;
  height:210px;
  border-radius:999px;
  background:rgba(37,99,235,.08);
  left:-70px;
  top:-90px;
}
.ngatt-panel-head>*{position:relative;z-index:1}
.ngatt-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 12px;
  border-radius:999px;
  background:#e0f2fe;
  color:#075985;
  font-size:12px;
  font-weight:900;
  margin-bottom:8px;
}
.ngatt-panel-head h3{
  margin:0 0 6px;
  font-size:26px;
  line-height:1.5;
  font-weight:950;
  color:#111827;
}
.ngatt-panel-subtitle{
  margin:0;
  color:#475569;
  font-size:14px;
  max-width:760px;
}
.ngatt-card h4{
  margin:20px 0 12px;
  font-size:20px;
  line-height:1.5;
  font-weight:950;
  color:#0f172a;
}
.ngatt-card h5{
  margin:0 0 12px;
  font-size:15px;
  font-weight:900;
  color:#111827;
}
.ngatt-card p{line-height:1.9}

.ngatt-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  background:#fff;
  border:1px solid var(--ngatt-border);
  border-radius:20px;
  padding:10px;
  box-shadow:var(--ngatt-shadow-sm);
  margin:0 0 16px;
}
.ngatt-tab-btn,
.ngatt-card a.ngatt-tab-btn{
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 18px;
  border:1px solid transparent!important;
  border-radius:14px!important;
  background:#f8fafc!important;
  color:#334155!important;
  text-decoration:none!important;
  font-size:14px;
  font-weight:850;
  line-height:1;
  cursor:pointer;
  box-shadow:none;
  transition:background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.ngatt-tab-btn:hover{background:#eef2ff!important;color:#1d4ed8!important;border-color:#dbeafe!important}
.ngatt-tab-btn.active,
.ngatt-tab-btn.active:hover{
  color:#fff!important;
  background:linear-gradient(135deg,var(--ngatt-primary-2),var(--ngatt-primary))!important;
  border-color:transparent!important;
  box-shadow:0 12px 24px rgba(37,99,235,.22);
}
.ngatt-tab{
  display:none;
  background:#fff;
  border:1px solid var(--ngatt-border);
  border-radius:22px;
  padding:22px;
  box-shadow:var(--ngatt-shadow-sm);
}

.ngatt-row{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  margin:12px 0;
}
.ngatt-row.ngatt-actions{justify-content:flex-end}
.ngatt-field,
.ngatt-form-grid>div,
.ngatt-row>div{
  min-width:0;
}
.ngatt-form-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(150px,1fr));
  gap:14px;
  align-items:end;
  margin:10px 0 14px;
}
.ngatt-field-wide{grid-column:1/-1}
.ngatt-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.ngatt-form-actions .ngatt-btn{min-width:120px}
.ngatt-field{
  display:flex;
  flex-direction:column;
  gap:7px;
}
.ngatt-field label,
.ngatt-card label{
  color:#1f2937;
  font-size:13px;
  font-weight:900;
}
.ngatt-field .ngatt-field-title,
.ngatt-card .ngatt-field-title{
  color:#1f2937;
  font-size:13px;
  font-weight:900;
  margin-bottom:7px;
}
.ngatt-inp,
.ngatt-card input[type=text],
.ngatt-card input[type=number],
.ngatt-card input[type=date],
.ngatt-card input[type=time],
.ngatt-card input[type=url],
.ngatt-card select,
.ngatt-card textarea{
  width:100%;
  min-height:44px;
  border:1px solid var(--ngatt-border-strong)!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#111827!important;
  padding:10px 13px!important;
  font-size:14px;
  outline:none!important;
  box-shadow:0 1px 0 rgba(15,23,42,.03)!important;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.ngatt-card textarea{min-height:96px;resize:vertical;line-height:1.9}
.ngatt-card select[multiple]{min-height:168px;line-height:1.7}
.ngatt-inp:focus,
.ngatt-card input:focus,
.ngatt-card select:focus,
.ngatt-card textarea:focus{
  border-color:#60a5fa!important;
  box-shadow:0 0 0 4px rgba(96,165,250,.18)!important;
  background:#fff!important;
}
.ngatt-card input[type=checkbox],
.ngatt-card input[type=radio]{width:auto;min-height:0;box-shadow:none!important;vertical-align:middle;margin-left:6px}
.ngatt-card input[type=range]{width:100%;accent-color:var(--ngatt-primary);cursor:pointer}
.ngatt-inline-inputs{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end}
.ngatt-radio-group{display:flex;gap:12px;align-items:center;flex-wrap:wrap;min-height:44px}.ngatt-radio-group label{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}

.ngatt-btn,
.ngatt-card a.ngatt-btn,
.ngatt-card button.ngatt-btn,
.ngatt-card input.ngatt-btn{
  appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px;
  min-height:42px;
  min-width:96px;
  padding:0 16px!important;
  border:1px solid #dbe3ef!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#0f172a!important;
  text-decoration:none!important;
  font-size:13px;
  font-weight:900;
  line-height:1!important;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(15,23,42,.06);
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease,color .16s ease,border-color .16s ease,filter .16s ease;
  white-space:nowrap;
}
.ngatt-btn:hover,
.ngatt-card a.ngatt-btn:hover,
.ngatt-card button.ngatt-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(15,23,42,.10);
  background:#f8fafc!important;
  color:#0f172a!important;
}
.ngatt-btn:focus-visible{outline:0;box-shadow:0 0 0 4px rgba(96,165,250,.22),0 12px 24px rgba(15,23,42,.10)!important}
.ngatt-btn:active{transform:translateY(0) scale(.98);filter:saturate(.92) brightness(.98)}
.ngatt-btn:disabled{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none;filter:grayscale(.15)}
.ngatt-blue,
.ngatt-card a.ngatt-blue,
.ngatt-card button.ngatt-blue{
  background:linear-gradient(135deg,var(--ngatt-primary-2),var(--ngatt-primary))!important;
  color:#fff!important;
  border-color:transparent!important;
}
.ngatt-green,
.ngatt-card a.ngatt-green,
.ngatt-card button.ngatt-green{
  background:linear-gradient(135deg,#22c55e,#15803d)!important;
  color:#fff!important;
  border-color:transparent!important;
}
.ngatt-red,
.ngatt-card a.ngatt-red,
.ngatt-card button.ngatt-red{
  background:linear-gradient(135deg,#ef4444,#b91c1c)!important;
  color:#fff!important;
  border-color:transparent!important;
}
.ngatt-warning,
.ngatt-card a.ngatt-warning,
.ngatt-card button.ngatt-warning{
  background:linear-gradient(135deg,#f59e0b,#d97706)!important;
  color:#fff!important;
  border-color:transparent!important;
}
.ngatt-purple,
.ngatt-card a.ngatt-purple,
.ngatt-card button.ngatt-purple{
  background:linear-gradient(135deg,#8b5cf6,#6d28d9)!important;
  color:#fff!important;
  border-color:transparent!important;
}
.ngatt-blue:hover,.ngatt-green:hover,.ngatt-red:hover,.ngatt-warning:hover,.ngatt-purple:hover,
.ngatt-card a.ngatt-blue:hover,.ngatt-card a.ngatt-green:hover,.ngatt-card a.ngatt-red:hover,
.ngatt-card button.ngatt-blue:hover,.ngatt-card button.ngatt-green:hover,.ngatt-card button.ngatt-red:hover{
  color:#fff!important;
  filter:saturate(1.05) brightness(.98);
}
@keyframes ngattBlink{50%{opacity:.55}}
.ngatt-blink{animation:ngattBlink 1s step-start infinite}
@media (prefers-reduced-motion:reduce){.ngatt-blink{animation:none}}

.ngatt-badge,
.ngatt-status-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:30px;
  padding:5px 11px;
  border-radius:999px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  color:#334155;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}
.ngatt-status{font-size:14px;color:#475569;min-height:28px;font-weight:700}
.ngatt-empty{
  padding:14px 16px;
  background:#f8fafc;
  border:1px dashed #cbd5e1;
  border-radius:16px;
  color:#475569;
  font-weight:800;
}
.ngatt-muted{color:var(--ngatt-muted);font-size:12px;font-weight:700}
.ngatt-map-error{margin-top:8px;background:#fff4f4;border:1px solid #fecaca;color:#991b1b;padding:12px 14px;border-radius:14px;font-size:13px;font-weight:800}

.ngatt-scroll{
  width:100%;
  max-height:480px;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  border:1px solid var(--ngatt-border);
  border-radius:18px;
  background:#fff;
}
.ngatt-table{
  width:100%;
  min-width:760px;
  border-collapse:separate;
  border-spacing:0;
  direction:rtl;
  background:#fff;
}
.ngatt-table th,
.ngatt-table td{
  padding:15px 14px;
  border-bottom:1px solid #edf2f7;
  text-align:right;
  vertical-align:middle;
  font-size:13px;
  background:transparent;
}
.ngatt-table th{
  position:sticky;
  top:0;
  z-index:1;
  background:#f8fafc;
  color:#0f172a;
  font-weight:950;
  white-space:nowrap;
}
.ngatt-table tbody tr:nth-child(even){background:#fcfdff}
.ngatt-table tbody tr:hover{background:#f8fbff}
.ngatt-table tbody tr:last-child td{border-bottom:0}
.ngatt-table td.ngatt-actions-cell{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex-wrap:nowrap;
  min-width:120px;
}
.ngatt-table .ngatt-btn{min-width:76px;min-height:38px;padding:0 12px!important;font-size:12px}
.ngatt-row-auto td{background:#fef2f2!important;color:#991b1b}
.ngatt-row-manual td{background:#fff7ed!important;color:#9a3412}
.ngatt-legend{display:flex;gap:10px;margin:10px 0 14px;flex-wrap:wrap}
.ngatt-legend .legend-item{padding:7px 11px;border-radius:999px;font-size:12px;font-weight:900;border:1px solid var(--ngatt-border)}
.ngatt-legend .legend-item.auto{background:#fef2f2;color:#991b1b;border-color:#fecaca}
.ngatt-legend .legend-item.manual{background:#fff7ed;color:#9a3412;border-color:#fed7aa}

#ngatt-map,#ngatt-loc-map,#ngatt-edit-map,#ngatt-overview-map{
  width:100%;
  height:430px;
  min-height:340px;
  border-radius:18px;
  border:1px solid var(--ngatt-border-strong);
  margin-top:12px;
  background:#eef2f7;
  overflow:hidden;
  position:relative;
  isolation:isolate;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}
#ngatt-map.leaflet-container,#ngatt-loc-map.leaflet-container,#ngatt-edit-map.leaflet-container,#ngatt-overview-map.leaflet-container{height:430px;direction:ltr!important;text-align:left!important;font:12px/1.5 Tahoma,Arial,sans-serif!important}
.ngatt-card .leaflet-container img{max-width:none!important;max-height:none!important}
.ngatt-card .leaflet-pane,.ngatt-card .leaflet-tile-pane,.ngatt-card .leaflet-overlay-pane,.ngatt-card .leaflet-marker-pane,.ngatt-card .leaflet-shadow-pane{position:absolute;left:0;top:0}
.ngatt-card .leaflet-tile,.ngatt-card .leaflet-marker-icon,.ngatt-card .leaflet-marker-shadow,.ngatt-card .leaflet-image-layer{max-width:none!important;max-height:none!important;width:auto;height:auto;padding:0;border:0}
.ngatt-card .leaflet-control-container a{text-decoration:none!important}
.ngatt-card .leaflet-control{direction:ltr!important;text-align:left!important}

.ngatt-offline-map{position:relative;overflow:hidden;background:#eef2ff!important}
.ngatt-offline-map__grid{position:absolute;inset:0;background-image:linear-gradient(rgba(37,99,235,.10) 1px,transparent 1px),linear-gradient(90deg,rgba(37,99,235,.10) 1px,transparent 1px);background-size:28px 28px}
.ngatt-offline-map__grid:after{content:"";position:absolute;inset:14px;border:1px dashed rgba(37,99,235,.35);border-radius:12px}
.ngatt-offline-map__layers{position:absolute;inset:0}
.ngatt-offline-map__circle{position:absolute;border:2px solid #2563eb;border-radius:999px;box-sizing:border-box;transform:translateZ(0)}
.ngatt-offline-map__marker{position:absolute;width:18px;height:18px;border-radius:999px;background:#ef4444;border:3px solid #fff;box-shadow:0 4px 12px rgba(0,0,0,.2);transform:translate(-50%,-50%)}
.ngatt-offline-map__marker:after{content:"";position:absolute;left:50%;top:100%;width:2px;height:10px;background:#ef4444;transform:translateX(-50%)}
.ngatt-offline-map__badge{position:absolute;right:12px;top:12px;z-index:2;background:#111827;color:#fff;border-radius:999px;padding:7px 11px;font-size:12px;box-shadow:0 8px 18px rgba(0,0,0,.15)}
.ngatt-offline-map__hint{position:absolute;left:12px;right:12px;bottom:12px;z-index:2;background:rgba(255,255,255,.92);border:1px solid var(--ngatt-border);border-radius:12px;padding:9px 12px;color:#334155;font-size:12px}
.ngatt-offline-map__popup{position:absolute;z-index:4;max-width:220px;background:#fff;border:1px solid var(--ngatt-border);border-radius:12px;padding:10px;box-shadow:0 12px 28px rgba(0,0,0,.15);font-size:12px}

.ngatt-quota-box,
.ngatt-limit-box{
  padding:13px 15px;
  border-radius:16px;
  margin:10px 0;
  font-size:13px;
  font-weight:800;
}
.ngatt-quota-box{background:#ecfdf5;border:1px solid #bbf7d0;color:#065f46}
.ngatt-quota-box.ngatt-quota-empty,.ngatt-limit-box.is-blocked{background:#fff7ed;border-color:#fed7aa;color:#9a3412}
.ngatt-limit-box{background:#eff6ff;border:1px solid #bfdbfe;color:#1e3a8a}
.ngatt-offline-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:14px;margin-top:12px}
.ngatt-offline-box{border:1px solid var(--ngatt-border);border-radius:18px;padding:18px;background:#fff;box-shadow:var(--ngatt-shadow-sm)}
.ngatt-offline-box .description{margin:10px 0 0;color:var(--ngatt-muted);font-size:12px;line-height:1.8;font-weight:700}
.ngatt-offline-status{margin-top:12px}

#ngatt-edit-list .ngatt-location-card,
.ngatt-location-card{
  border:1px solid var(--ngatt-border);
  border-radius:18px;
  padding:16px;
  margin:12px 0;
  background:#fff;
  box-shadow:var(--ngatt-shadow-sm);
}
#ngatt-edit-list .ngatt-location-card .ngatt-row:first-child{display:grid;grid-template-columns:2fr repeat(3,1fr) auto;gap:12px;align-items:end}
#ngatt-edit-list .ngatt-location-card label{display:flex;flex-direction:column;gap:7px}
#ngatt-edit-list .ngatt-location-card label:has(input[type="checkbox"]){flex-direction:row;align-items:center;min-height:44px}
#ngatt-edit-list .ngatt-location-card .ngatt-row:last-child{justify-content:flex-end}

.ngatt-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-top:12px}
.ngatt-stats-grid .box{padding:16px;border-radius:16px;color:#0f172a;font-weight:900;box-shadow:var(--ngatt-shadow-sm);border:1px solid var(--ngatt-border);background:#fff}
.ngatt-stats-grid .box .t{font-size:13px;color:#334155}
.ngatt-stats-grid .box .n{font-size:25px;margin-top:6px;line-height:1.4}
.ngatt-stats-grid .box.green{background:#ecfdf5;border-color:#bbf7d0}
.ngatt-stats-grid .box.blue{background:#eff6ff;border-color:#bfdbfe}
.ngatt-stats-grid .box.red{background:#fef2f2;border-color:#fecaca}
.ngatt-stats-grid .box.blue2{background:#eef2ff;border-color:#c7d2fe}
.ngatt-stats-grid .box.gray{background:#f8fafc;border-color:#e2e8f0}
.ngatt-toast{position:fixed;bottom:24px;left:24px;background:#0f172a;color:#fff;padding:14px 18px;border-radius:16px;opacity:0;transform:translateY(12px);transition:all .25s;z-index:999999;font-size:13px;font-weight:900;box-shadow:0 20px 50px rgba(2,6,23,.22)}
.ngatt-toast.show{opacity:1;transform:translateY(0)}

@media (max-width:980px){
  .ngatt-panel-head{flex-direction:column;padding:20px}
  .ngatt-tabs{overflow-x:auto;flex-wrap:nowrap}
  .ngatt-tab-btn{flex:0 0 auto}
  .ngatt-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #ngatt-edit-list .ngatt-location-card .ngatt-row:first-child{grid-template-columns:1fr 1fr}
  .ngatt-inline-inputs{grid-template-columns:1fr 1fr}
  .ngatt-inline-inputs .ngatt-btn{grid-column:1/-1}
}

@media (max-width:640px){
  #ngatt-user-panel.ngatt-card,#ngatt-manager-panel.ngatt-card,#ngatt-overview.ngatt-card{margin:18px auto;padding:0 10px}
  .ngatt-panel-head h3{font-size:21px}
  .ngatt-tab{padding:16px;border-radius:18px}
  .ngatt-form-grid{grid-template-columns:1fr}
  .ngatt-row{align-items:stretch}
  .ngatt-row>*,.ngatt-btn{width:100%;min-width:unset}
  .ngatt-radio-group label{width:auto}
  .ngatt-form-actions{justify-content:stretch}
  .ngatt-form-actions .ngatt-btn{width:100%}
  #ngatt-map,#ngatt-loc-map,#ngatt-edit-map,#ngatt-overview-map,#ngatt-map.leaflet-container,#ngatt-loc-map.leaflet-container,#ngatt-edit-map.leaflet-container,#ngatt-overview-map.leaflet-container{height:340px}
  .ngatt-offline-actions{grid-template-columns:1fr}
  #ngatt-edit-list .ngatt-location-card .ngatt-row:first-child{grid-template-columns:1fr}
  .ngatt-table{min-width:720px}
  .ngatt-toast{left:12px;right:12px;bottom:12px;max-width:none;text-align:center}
}

/* v14.02.08 — polished uniform controls, Jalali monthly reports, active-tab state */
.ngatt-tab-btn:hover,
.ngatt-tab-btn.active,
.ngatt-tab-btn.active:hover,
.ngatt-card a.ngatt-tab-btn:hover,
.ngatt-card a.ngatt-tab-btn.active,
.ngatt-card a.ngatt-tab-btn.active:hover{
  background:#eef2ff!important;
  color:#1d4ed8!important;
  border-color:#bfdbfe!important;
  box-shadow:0 10px 22px rgba(37,99,235,.12)!important;
}

.ngatt-inp,
.ngatt-card input[type=text],
.ngatt-card input[type=number],
.ngatt-card input[type=date],
.ngatt-card input[type=time],
.ngatt-card input[type=url],
.ngatt-card select{
  height:48px!important;
  min-height:48px!important;
  line-height:48px!important;
  padding:0 14px!important;
  border-radius:15px!important;
}
.ngatt-card textarea{padding:12px 14px!important;line-height:1.9!important}
.ngatt-card select:not([multiple]){
  appearance:auto!important;
  cursor:pointer;
}
.ngatt-card select[multiple]{height:auto!important;min-height:48px!important;line-height:1.8!important}
.ngatt-field{gap:8px}.ngatt-field label,.ngatt-card label{line-height:1.55}
.ngatt-btn,
.ngatt-card a.ngatt-btn,
.ngatt-card button.ngatt-btn,
.ngatt-card input.ngatt-btn{
  height:46px;
  min-height:46px!important;
  min-width:108px;
  padding:0 18px!important;
  border-radius:14px!important;
}
.ngatt-form-grid{gap:16px;align-items:end}.ngatt-row{gap:14px}.ngatt-row.ngatt-actions{align-items:center}
.ngatt-form-actions{gap:12px;align-items:center}.ngatt-form-actions .ngatt-btn{min-width:128px}

.ngatt-head-stats{
  display:grid;
  grid-template-columns:repeat(2,minmax(150px,1fr));
  gap:12px;
  min-width:min(380px,100%);
  align-self:center;
}
.ngatt-head-stat-card{
  background:rgba(255,255,255,.82);
  border:1px solid #dbeafe;
  border-radius:18px;
  padding:14px 16px;
  box-shadow:0 10px 24px rgba(15,23,42,.06);
}
.ngatt-head-stat-card span{display:block;color:#64748b;font-size:12px;font-weight:900;margin-bottom:4px}
.ngatt-head-stat-card strong{display:block;color:#0f172a;font-size:18px;font-weight:950;line-height:1.5}

.ngatt-report-card{
  border:1px solid #dbeafe;
  background:linear-gradient(135deg,#f8fbff 0%,#ffffff 70%);
  border-radius:22px;
  padding:18px;
  box-shadow:var(--ngatt-shadow-sm);
  margin-bottom:14px;
}
.ngatt-report-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}
.ngatt-report-head h4{margin:4px 0 4px!important}.ngatt-report-head p{margin:0;color:#64748b;font-size:13px;font-weight:750}
.ngatt-report-grid{
  grid-template-columns:minmax(160px,1fr) minmax(130px,.8fr) minmax(220px,1.35fr) minmax(150px,.9fr) auto;
  align-items:end;
  margin:0;
}
.ngatt-report-actions{min-width:260px}.ngatt-report-actions .ngatt-form-actions{justify-content:flex-start;flex-wrap:nowrap}
.ngatt-hidden-label{visibility:hidden;height:20px;display:block}
.ngatt-input-icon-wrap{position:relative;display:block}
.ngatt-input-icon-wrap .ngatt-inp{padding-inline-start:42px!important}
.ngatt-input-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);z-index:2;font-size:16px;line-height:1;pointer-events:none;opacity:.82}
.ngatt-report-range-note{margin:0 0 12px;padding:11px 14px;border:1px solid #bfdbfe;background:#eff6ff;color:#1e3a8a;border-radius:15px;font-size:13px;font-weight:900}
.ngatt-duration{font-weight:950;color:#0f172a;white-space:nowrap}

#ngatt-manual-loc-holder{
  display:grid;
  grid-template-columns:110px minmax(220px,360px);
  align-items:center;
  gap:10px;
  margin:10px 0;
}
#ngatt-manual-loc-holder label{font-weight:950;color:#1f2937}
#ngatt-manual-loc-holder select{max-width:360px}
.ngatt-offline-actions .ngatt-field{max-width:260px}.ngatt-offline-actions .ngatt-actions{justify-content:flex-start}
.ngatt-location-form{grid-template-columns:minmax(220px,1.15fr) minmax(220px,1.15fr) minmax(220px,1fr) minmax(130px,.65fr)}
.ngatt-inline-inputs{grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto}
#ngatt-edit-list .ngatt-location-card .ngatt-row:first-child{grid-template-columns:minmax(220px,2fr) repeat(3,minmax(130px,1fr)) minmax(90px,.6fr)}

.ngatt-table td.ngatt-actions-cell{
  display:table-cell;
  text-align:center;
  white-space:nowrap;
  min-width:130px;
}
.ngatt-table td.ngatt-actions-cell .ngatt-btn{margin:0 3px;vertical-align:middle}
.ngatt-table th,.ngatt-table td{vertical-align:middle!important}

@media (max-width:1120px){
  .ngatt-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ngatt-report-actions{min-width:0}.ngatt-report-actions .ngatt-form-actions{justify-content:flex-end}.ngatt-hidden-label{display:none}.ngatt-location-form{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px){
  .ngatt-head-stats{grid-template-columns:1fr;min-width:0}.ngatt-report-grid{grid-template-columns:1fr}.ngatt-report-actions .ngatt-form-actions{justify-content:stretch;flex-wrap:wrap}.ngatt-report-actions .ngatt-form-actions>*{width:100%}#ngatt-manual-loc-holder{grid-template-columns:1fr}#ngatt-manual-loc-holder select{max-width:none}.ngatt-inline-inputs{grid-template-columns:1fr}.ngatt-location-form{grid-template-columns:1fr}
}
