/* css/splash.css - Tela de Carregamento Unificada com Barra de Progresso */

.splash-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  text-align: center;
  background-color: #fafafc;
  user-select: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  box-sizing: border-box;
  z-index: 10;
}

.splash-card {
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.splash-icon-box {
  width: 74px;
  height: 74px;
  background: linear-gradient(135deg, #0077ff 0%, #0055cc 100%);
  color: #ffffff;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 12px 28px -6px rgba(0, 119, 255, 0.35);
}

.splash-icon-box svg {
  width: 36px;
  height: 36px;
  stroke: #ffffff;
}

.splash-title {
  font-size: 21px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 10px 0;
}

.splash-message {
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  margin: 0 0 12px 0;
}

.splash-progress-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.splash-progress-track {
  flex: 1;
  height: 7px;
  border-radius: 9999px;
  background-color: #e2e8f0;
  overflow: hidden;
}

.splash-progress-fill {
  width: 10%;
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #0077ff 0%, #38bdf8 100%);
  transition: width 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.splash-progress-pct {
  min-width: 34px;
  text-align: right;
  font-size: 11.5px;
  font-weight: 700;
  color: #0066dd;
  font-variant-numeric: tabular-nums;
}

.splash-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  padding: 7px 14px;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 18px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #1d4ed8;
  margin-bottom: 0;
}

.splash-spinner-dot {
  width: 13px;
  height: 13px;
  border: 2px solid rgba(0, 119, 255, 0.22);
  border-top-color: #0077ff;
  border-radius: 50%;
  animation: splash-spin 0.75s linear infinite;
  flex-shrink: 0;
}

.splash-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(0, 119, 255, 0.18);
  border-top-color: #0077ff;
  border-radius: 50%;
  animation: splash-spin 0.75s linear infinite;
  margin-bottom: 14px;
}

@keyframes splash-spin {
  to { transform: rotate(360deg); }
}
