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

body {
  font-family: Arial, sans-serif;
  background: #f4f6f9;
  color: #1a1a1a;
  min-height: 100vh;
  padding: 2rem;
}

h1 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 1.5rem;
}

.metric {
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid #e0e0e0;
}

.metric-label {
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}

.metric-value {
  font-size: 24px;
  font-weight: 500;
}

.card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 1rem;
}

.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 1rem;
}

.tab {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: transparent;
  color: #666;
  font-size: 13px;
  cursor: pointer;
}

.tab.active {
  background: #f0f0f0;
  color: #1a1a1a;
  font-weight: 500;
}

.panel {
  display: none;
}

.panel.active {
  display: block;
}

.form-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.form-row input,
.form-row select {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  color: #1a1a1a;
}

.btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: transparent;
  font-size: 14px;
  cursor: pointer;
}

.btn-primary { background: #185FA5; color: #fff; border-color: #185FA5; }
.btn-primary:hover { background: #0C447C; }
.btn-success { background: #0F6E56; color: #fff; border-color: #0F6E56; }
.btn-success:hover { background: #085041; }
.btn-danger { background: #993C1D; color: #fff; border-color: #993C1D; }
.btn-danger:hover { background: #712B13; }

.account-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.account-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #f9f9f9;
  border-radius: 8px;
  font-size: 14px;
}

.account-name { font-weight: 500; }
.account-balance { color: #0F6E56; font-weight: 500; }

.extrato-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
}

.extrato-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #f9f9f9;
}

.extrato-plus { color: #0F6E56; font-weight: 500; }
.extrato-minus { color: #993C1D; font-weight: 500; }

.msg {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  margin-top: 8px;
}

.msg.success { background: #E1F5EE; color: #085041; }
.msg.error { background: #FAECE7; color: #712B13; }

.empty {
  font-size: 13px;
  color: #999;
  text-align: center;
  padding: 1rem;
}
