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

body {
  background-color: #030712;
  font-family: sans-serif;
  display: flex;
  justify-content: center;
  padding: 48px 24px;
}

.container {
  width: 100%;
  max-width: 720px;
}

a {
  color: #6b7280;
  font-size: 0.875rem;
  text-decoration: none;
  display: block;
  margin-bottom: 32px;
}

a:hover {
  color: #facc15;
}

h1 {
  color: white;
  font-size: 2.25rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 8px;
}

h1 span {
  color: #facc15;
}

p {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 40px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

label {
  display: block;
  color: #9ca3af;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

input {
  width: 100%;
  background: transparent;
  border: 1px solid #374151;
  color: white;
  font-size: 1rem;
  padding: 12px 16px;
  outline: none;
}

input:focus {
  border-color: #facc15;
}

button {
  width: 100%;
  background: #facc15;
  color: #000;
  font-weight: 900;
  font-size: 1rem;
  padding: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  margin-bottom: 32px;
}

button:hover {
  background: #fde047;
}

.resultado {
  border: 1px solid #374151;
  padding: 24px;
}

.resultado-titulo {
  color: #9ca3af;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.tabela-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  color: white;
  min-width: 520px;
}

thead tr {
  border-bottom: 1px solid #374151;
}

thead th {
  color: #9ca3af;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 12px;
  text-align: left;
}

thead th:not(:first-child) {
  text-align: right;
}

tbody tr {
  border-bottom: 1px solid #1f2937;
}

tbody td {
  padding: 12px;
  font-size: 0.95rem;
}

tbody td:not(:first-child) {
  text-align: right;
}

.col-parcela { color: #d1d5db; }
.col-juros   { color: #f87171; }
.col-total   { color: #facc15; font-weight: 700; }
.col-saldo   { color: #6b7280; }
