@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 24px 16px;
  background-color: #0d1117; /* Very dark blue matching print */
  color: #e2e8f0;
}

#header-container {
  max-width: 600px;
  margin: 0 auto 24px auto;
}

h2 {
  text-align: left;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

h3 {
  text-align: left;
  font-size: 1.1rem;
  color: #94a3b8;
  font-weight: 400;
  margin: 0;
}

#container {
  max-width: 600px;
  margin: 0 auto;
}

.card {
  background-color: #1e293b; 
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
  border-top: 4px solid #3b82f6; 
}

.linha {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #334155;
  font-size: 0.95rem;
}

.linha:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.linha.vertical {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border-bottom: none;
}

.label {
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.valor {
  font-weight: 500;
  color: #f8fafc;
  text-align: right;
  max-width: 70%;
}

.valor.destaque-verde {
  color: #34d399; 
  font-size: 1.25rem;
  font-weight: 700;
}

.codigo {
  font-family: monospace;
  background-color: #0f172a;
  color: #60a5fa;
  padding: 12px;
  border-radius: 6px;
  display: block;
  word-break: break-all;
  width: 100%;
  box-sizing: border-box;
  font-size: 0.95rem;
  border: 1px solid #334155;
}

.observacao {
  color: #ef4444; 
  font-weight: 500;
  font-size: 0.9rem;
  text-align: right;
  max-width: 70%;
}

.botao-copiar {
  margin-top: 20px;
  background-color: transparent;
  color: #3b82f6;
  border: 1px solid #3b82f6;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s;
}

.botao-copiar:hover {
  background-color: #3b82f6;
  color: white;
}

.botao-copiar:disabled {
  background-color: transparent !important;
  color: #64748b !important;
  border-color: #475569 !important;
  cursor: not-allowed;
}

a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

.check-ok {
  display: none;
  text-align: center;
  margin-top: 12px;
  color: #34d399;
  font-weight: 600;
  font-size: 0.9rem;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #34d399;
  color: #022c22;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.toast.show {
  opacity: 1;
}

@media (min-width: 600px) {
  body {
    padding: 32px;
  }
}
