/* Garbage Truck Loader with Percentage */
.app-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.app-loader.active { opacity: 1; visibility: visible; }

.app-loader__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.app-loader.active .app-loader__card { transform: scale(1); }

.app-loader__truck {
  width: 320px;
  max-width: 80vw;
  height: auto;
  display: block;
  margin-bottom: 8px;
}

.app-loader__percent {
  font-family: 'Arial Black', 'Helvetica', sans-serif;
  font-size: 44px;
  font-weight: 900;
  color: #6b1f47;
  letter-spacing: 1px;
  margin-top: 4px;
  line-height: 1;
}
.app-loader__percent span {
  font-size: 26px;
  margin-left: 2px;
}

.app-loader__bar {
  margin-top: 14px;
  width: 280px;
  max-width: 75vw;
  height: 10px;
  background: rgba(107, 31, 71, 0.12);
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #6b1f47;
}
.app-loader__bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2dbe3f, #ee4434);
  border-radius: 6px;
  transition: width 0.3s ease;
}

.app-loader__subtext {
  font-size: 13px;
  color: #6b1f47;
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 14px;
  text-transform: uppercase;
  opacity: 0.75;
}

@media (max-width: 480px) {
  .app-loader__truck { width: 260px; }
  .app-loader__percent { font-size: 36px; }
  .app-loader__bar { width: 240px; }
}
