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

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f1923;
  color: #e8e6e1;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 480px;
  background: #1a2634;
  border-radius: 24px;
  padding: 40px 28px;
  box-shadow:
    0 4px 24px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.04);
  text-align: center;
}

.icon-bell {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: rgba(56, 189, 126, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 22px;
  color: #b8c7d6;
  margin-bottom: 36px;
}

.btn-chamar {
  display: block;
  width: 100%;
  padding: 20px;
  font-family: inherit;
  font-size: 27px;
  font-weight: 700;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  background: #38bd7e;
  color: #0f1923;
  transition: background 0.2s, transform 0.1s;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.btn-chamar:hover { background: #2ea96d; }
.btn-chamar:active { transform: scale(0.97); }

.btn-chamar:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.btn-chamar.success {
  background: #1e7a4d;
  color: #c4f0d8;
}

.btn-chamar.error {
  background: #c0392b;
  color: #fff;
}

.spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(15, 25, 35, 0.3);
  border-top-color: #0f1923;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 10px;
}
@keyframes spin { to { transform: rotate(360deg); } }

#status {
  margin-top: 20px;
  font-size: 22px;
  line-height: 1.5;
  min-height: 24px;
  color: #8a9bb0;
}

#status.success { color: #38bd7e; }
#status.error   { color: #e74c3c; }

.cooldown-bar {
  height: 4px;
  background: #38bd7e;
  border-radius: 2px;
  margin-top: 16px;
  transform-origin: left;
  animation: shrink 30s linear forwards;
}
@keyframes shrink { to { transform: scaleX(0); } }

.footer {
  margin-top: 40px;
  font-size: 22px;
  color: #8a9bb0;
}

.lista-aptos {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-voltar {
  margin-top: 20px;
  background: transparent;
  color: #8a9bb0;
  border: none;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px;
}

.btn-voltar:hover {
  color: #b8c7d6;
}

.credito {
  margin-top: 20px;
  font-size: 13px;
  color: #4a5a6a;
  letter-spacing: 0.3px;
}

#tela-selecao .credito {
  margin-top: 40px;
}
