body {
    font-family: 'Inter', Arial, sans-serif;
    background: #f0f2f5;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    /* Add these two lines below */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}


..container {
  max-width: 400px;
  width: 90%; /* Added for better mobile responsiveness */
  margin: 20px auto;
  background: white;
  padding: 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column; /* This ensures everything stays in one column */
}

.stats-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 15px;
  margin-top: 20px;
  width: 100%; /* Ensures it takes full width of the container */
  box-sizing: border-box;
}


.balance-box {
  background: #2e7d32; /* Darker green looks more professional */
  color: white;
  padding: 20px;
  text-align: center;
  border-radius: 12px;
  margin-bottom: 20px;
}

input, select, button {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border: 1px solid #ddd;
  border-radius: 8px; /* Consistent rounding */
  box-sizing: border-box; /* Fixes width issues */
}

button {
  background: #1a1a1a; /* Dark buttons look very 'Web3' */
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #333;
}

/* Specific styles for the transaction list */
li {
  display: flex;
  justify-content: space-between;
  background: #fff;
  padding: 12px;
  margin-top: 8px;
  border-left: 5px solid #ccc; /* We can change this color via JS */
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.income-item { border-left-color: #4caf50; }
.expense-item { border-left-color: #f44336; }

/* Fix for Smart Insights text readability */
#prediction-text {
    color: #2c3e50 !important; /* A deep dark blue/grey that's very easy to read on white */
    font-weight: 500;
    line-height: 1.4;
    margin-top: 10px;
}

/* Fix for the Converter text on the green background */
#converted-amount {
    color: #ffffff !important; /* Pure white */
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2); /* Adds a tiny shadow to make it pop */
}

/* Optional: Make the "Smart Insights" title stand out */
.stats-box h3 {
    color: #000000;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}
