/* Update App Modal */
.update-app-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  border: none;
  background: transparent;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0.75);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.update-app-modal[open] {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.update-app-content {
  background: linear-gradient(135deg, #2b2b2b 0%, #262626 100%);
  border: 1px solid rgba(178, 254, 18, 0.2);
  border-radius: 24px;
  padding: 32px 24px;
  width: 90%;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.update-app-modal[open] .update-app-content {
  transform: scale(1);
}

.update-app-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: inline-block;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.update-app-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.update-app-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.update-progress-container {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}

.update-progress-bar {
  height: 100%;
  background: #b2fe12;
  width: 0%;
  border-radius: 3px;
  transition: width 0.2s linear;
  box-shadow: 0 0 10px rgba(178, 254, 18, 0.5);
}

.update-progress-percent {
  font-size: 12px;
  font-weight: 600;
  color: #b2fe12;
  margin-bottom: 24px;
  font-variant-numeric: tabular-nums;
}

.update-app-actions {
  display: flex;
  justify-content: center;
}
