/* style.css - Sistem Real Count C1 Plano & Amunisi GERINDRA Dapil Jatim IX */

body { 
  background-color: #f1f4f9; 
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
}

.login-backdrop { 
  background: radial-gradient(circle at center, #7b1212 0%, #450808 100%); 
}

.gerindra-gradient { 
  background: linear-gradient(90deg, #780000 0%, #9e0e0e 50%, #780000 100%); 
}

.card-maroon { 
  background-color: #5c0606; 
  background-image: linear-gradient(145deg, #6c0808 0%, #470303 100%); 
}

.banner-dark { 
  background: linear-gradient(135deg, #111827 0%, #2a0808 50%, #700b0b 100%); 
}

.btn-rekap-uniform {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  border: 1px solid transparent;
  gap: 8px;
  width: 100%;
  cursor: pointer;
}

@media (min-width: 640px) {
  .btn-rekap-uniform {
    width: auto;
    min-width: 175px !important;
  }
}

.btn-rekap-uniform:hover {
  transform: translateY(-1px);
}

.btn-rekap-uniform .btn-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-rekap-uniform .badge-inner {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, monospace;
  text-transform: uppercase;
  font-weight: 800;
}

/* Desain Khusus Tombol Aksi Operasional: Kuning Muda Transparan & Bersinar Tipis */
.btn-operasional-glow {
  background: rgba(254, 240, 138, 0.16) !important;
  color: #fef9c3 !important;
  border: 1px solid rgba(253, 224, 71, 0.45) !important;
  box-shadow: 0 0 10px rgba(253, 224, 71, 0.22), inset 0 0 6px rgba(254, 240, 138, 0.12) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.btn-operasional-glow:hover {
  background: rgba(254, 240, 138, 0.28) !important;
  color: #ffffff !important;
  border-color: rgba(253, 224, 71, 0.85) !important;
  box-shadow: 0 0 16px rgba(253, 224, 71, 0.48), inset 0 0 10px rgba(254, 240, 138, 0.22) !important;
  transform: translateY(-1.5px);
}

.btn-operasional-glow .btn-label i {
  color: #fde047 !important;
  filter: drop-shadow(0 0 4px rgba(253, 224, 71, 0.4));
}

.btn-operasional-glow .badge-inner {
  background: rgba(0, 0, 0, 0.38) !important;
  color: #fde047 !important;
  border: 1px solid rgba(253, 224, 71, 0.35) !important;
}

.nav-btn-uniform {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px !important;
  min-height: 38px !important;
  min-width: 145px !important;
  padding: 0 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  gap: 7px;
  flex-shrink: 0;
  cursor: pointer;
}

.no-scrollbar::-webkit-scrollbar { 
  display: none; 
}

.no-scrollbar { 
  -ms-overflow-style: none; 
  scrollbar-width: none; 
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
}

.pulse-live { 
  animation: livePulse 1.8s infinite ease-in-out; 
}

@media print {
  body * { 
    visibility: hidden; 
  }
  #print-laporan-amunisi, #print-laporan-amunisi * { 
    visibility: visible; 
  }
  #print-laporan-amunisi {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    margin: 0;
    padding: 10px;
    background-color: #fff !important;
    color: #000 !important;
    display: block !important;
  }
  .no-print { 
    display: none !important; 
  }
  @page { 
    size: A4 landscape; 
    margin: 10mm; 
  }
}