html,
body {
  height: 100%;
}

.page-layout {
  /* min-height: 100%; */
  /* display: grid; */
  /* grid-template-rows: auto 1fr auto; */
}

header {
  border-bottom: 0.08em solid var(--borderColor-default);
  margin-bottom: 1rem;
}

header a {
  text-decoration: none;
  color: var(--fgColor-default);
}

header h1,
header h2 {
  border-bottom: none;
}

footer {
  padding-top: 1rem;
  padding-bottom: 1rem;
  color: var(--fgColor-muted);
  font-size: 0.8em;
  border-top: 0.1em solid var(--borderColor-default);
}

#footer-left {
  float: left;
}

/* #footer-left a {
  color: var(--fgColor-muted);
} */

#footer-right {
  float: right;
}

#footer-right a {
  text-decoration: none;
  font-size: 1.2em;
}

#footer-right a:hover {
  border-bottom: none;
}

/* Project cards */
.project-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  list-style: none;
  padding: 0;
}

.project-card {
  border: 1px solid var(--borderColor-default);
  border-radius: 8px;
  padding: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: var(--fgColor-default);
  display: block;
}

.project-card:hover {
  border-color: var(--fgColor-accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.project-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2em;
  border-bottom: none;
}

.project-card p {
  margin: 0;
  color: var(--fgColor-muted);
  font-size: 0.9em;
}

/* Network badges */
.network-badge {
  display: inline-block;
  padding: 0.2em 0.6em;
  border-radius: 12px;
  font-size: 0.85em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.network-badge.ethereum {
  background-color: #627eea;
  color: white;
}

.network-badge.base {
  background-color: #0052ff;
  color: white;
}

/* Crypto portfolio styles */
.portfolio-summary {
  margin-bottom: 2rem;
}

.total-value {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}

.total-value .currency {
  color: var(--fgColor-muted);
}

.summary-section {
  margin-bottom: 1.5rem;
}

.summary-section h4 {
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--borderColor-default);
  padding-bottom: 0.2rem;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--borderColor-muted);
}

.breakdown-item:last-child {
  border-bottom: none;
}

.breakdown-item .name {
  flex: 1;
  font-weight: 500;
}

.breakdown-item .balance {
  margin-right: 1rem;
  color: var(--fgColor-muted);
  font-size: 0.9em;
}

.breakdown-item .value {
  font-weight: bold;
}

.chart {
  margin-bottom: 2rem;
}

/* Invert chart colors for light mode */
/* @media (prefers-color-scheme: light) {
  .chart {
    filter: invert(1) hue-rotate(180deg);
  }
}
*/