* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #111111;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', Arial, sans-serif;
  padding: 20px;
}

@media (max-width: 480px) {
  body {
    background: #fff;
    align-items: flex-start;
    padding: 0;
    min-height: 100vh;
  }

  .card {
    border-radius: 0;
    box-shadow: none;
    min-height: 100vh;
    padding: 48px 24px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .logo-wrap {
    justify-content: center;
    margin-bottom: 28px;
  }

  .logo-wrap img {
    height: 100px;
  }

  .card-title {
    font-size: 18px;
    text-align: center;
  }

  .card-subtitle {
    text-align: center;
    font-size: 14px;
  }

  .cpf-input {
    font-size: 16px;
    padding: 14px;
  }

  .btn-primary {
    padding: 15px;
    font-size: 16px;
  }
}

/* ── CARD ── */
.card {
  background: #ffffff;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* ── LOGO ── */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.logo-name {
  font-size: 28px;
  font-weight: 700;
  color: #111111;
  letter-spacing: -0.5px;
}

/* ── TÍTULO ── */
.card-title {
  font-size: 18px;
  font-weight: 800;
  color: #111111;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

/* ── SUBTÍTULO ── */
.card-subtitle {
  font-size: 13.5px;
  color: #555555;
  text-align: center;
  line-height: 1.55;
  margin-bottom: 22px;
}

/* ── INPUT CPF ── */
.cpf-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #cccccc;
  border-radius: 6px;
  font-size: 15px;
  color: #111111;
  outline: none;
  background: #f0f4ff;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 6px;
}

.cpf-input:focus {
  border-color: #1a56db;
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.12);
  background: #fff;
}

.cpf-input::placeholder {
  color: #888888;
}

/* ── ERRO ── */
.error-msg {
  font-size: 12px;
  color: #dc2626;
  display: none;
  align-self: flex-start;
  margin-bottom: 8px;
  padding-left: 2px;
}

.error-msg.show {
  display: block;
}

/* ── BOTÃO ── */
.btn-primary {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  background: #1a56db;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s;
  letter-spacing: 0.2px;
}

.btn-primary:hover {
  background: #1648c0;
}

.btn-primary:active {
  background: #1240aa;
}

/* ════════════════════════════
   STATUS PAGE
════════════════════════════ */

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff7ed;
  color: #ea580c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid #fed7aa;
}

.alert-icon {
  width: 60px;
  height: 60px;
  background: #fef3c7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
  border: 3px solid #fde68a;
}

.status-title {
  font-size: 20px;
  font-weight: 800;
  color: #111111;
  text-align: center;
  margin-bottom: 10px;
}

.status-msg {
  font-size: 13.5px;
  color: #555555;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 20px;
}

.status-details {
  width: 100%;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 4px 16px;
  margin-bottom: 20px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 13px;
}

.detail-row:not(:last-child) {
  border-bottom: 1px solid #e5e7eb;
}

.detail-label {
  color: #6b7280;
  font-weight: 500;
}

.detail-value {
  color: #111111;
  font-weight: 700;
  text-align: right;
}

.detail-value.warning { color: #ea580c; }

.detail-value.urgent {
  color: #dc2626;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-danger {
  width: 100%;
  padding: 13px;
  background: #ea580c;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-danger:hover  { background: #c2410c; }
.btn-danger:active { background: #9a3412; }

.countdown {
  margin-top: 14px;
  font-size: 12px;
  color: #dc2626;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.countdown-timer {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

/* LOADING shimmer */
#nomeDisplay.loading {
  display: inline-block;
  width: 130px;
  height: 13px;
  border-radius: 4px;
  background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
  vertical-align: middle;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

