:root { --main-font: 'Overpass', sans-serif; }

* { font-family: var(--main-font); }

body {
  margin: 2rem;
  /* darker overlay on the background image to increase contrast */
  background-image: linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.62)), url('FONDITO.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

h1.site-title {
  color: white;
  font-family: 'Overpass', sans-serif;
  font-size: 72px;
}

.spacer { height: 24px; }

h3 {
  color: white;
}

canvas {
  max-width: 600px;
  margin: 2rem 0;
}

#jsonOutput {
  background: rgba(0,0,0,0.78);
  color: #fff;
  padding: 1rem;
  border-radius: 8px;
  overflow: auto;
  max-height: 320px;
  white-space: pre-wrap;
}

.container {
  width: 75%;
  margin: auto;
}

/* Center the app and make text white-friendly for dark background */
#root {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.app {
  width: 100%;
  max-width: 900px;
  padding: 2rem;
  text-align: center;
  color: #fff;
}

/* Landing hero styles */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 80vh;
  padding: 4rem;
  color: #fff;
}
.hero h1 { font-size: 3.68rem; margin: 0 0 1rem 0; }
.hero p { max-width: 680px; line-height: 1.6; opacity: 0.9; }
.hero .start-btn {
  display: block;
  margin: 2rem auto 0; /* center horizontally */
  padding: 14px 26px;
  font-size: 1.32rem; /* 20% larger */
  border-radius: 12px;
  background: linear-gradient(90deg,#7dd3fc 0%,#0ea5e9 100%);
  color: #042023;
  border: none;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(2,6,23,0.35);
}

.site-title-bottom{
  position: absolute;
  left: 28px;
  bottom: 34px;
  color: #fff;
  font-size: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 4px;
}

.site-credit{
  position: absolute;
  left: 28px;
  bottom: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  opacity: 0.95;
}
.repos{
  position: absolute;
  right: 400px;
  bottom: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  opacity: 0.95;
}
.repoback{
  position: absolute;
  right: 300px;
  bottom: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  opacity: 0.95;
}
.repofront{
  position: absolute;
  right: 200px;
  bottom: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  opacity: 0.95;
}
.repoIA{
  position: absolute;
  right: 100px;
  bottom: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  opacity: 0.95;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline; /* optional, for hover effect */
}
/* Table styles */
table { background: rgba(255,255,255,0.06); border-radius: 8px; }
th { padding: 12px 8px; color: #cfeaf7; }
td { padding: 10px 8px; color: #e6f7ff; }
tr:hover { background: rgba(255,255,255,0.04); }
.highlight { background: linear-gradient(90deg, rgba(54,162,235,0.12), rgba(54,162,235,0.06)); }

.table-controls { display:flex; gap:12px; align-items:center; margin-bottom:12px; }
.search-input { padding:8px 10px; border-radius:8px; border:1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.03); color:#fff; }
.pagination { display:flex; gap:8px; align-items:center; }
.page-btn { padding:6px 10px; border-radius:8px; background: rgba(255,255,255,0.03); color:#fff; border:none; cursor:pointer; }
.page-btn:disabled { opacity:0.4; cursor:default; }

/* Make canvas take a reasonable height */
.container canvas {
  width: 100% !important;
  height: 320px !important;
}

/* Percent display under chart */
.percent-row { display:flex; gap:18px; align-items:center; justify-content:center; margin-top:12px; color:#dff6ff; }
.percent-item { background: rgba(255,255,255,0.03); padding:10px 14px; border-radius:10px; min-width:120px; text-align:center; }
.percent-value { font-size:1.1rem; font-weight:700; color:#e6f7ff; }
.percent-label { font-size:0.85rem; color:#bfeaf7; margin-top:4px; }

/* Cool button styles for dark background */
.btn {
  background: linear-gradient(90deg, #6dd5ed 0%, #2193b0 100%);
  color: #051923;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(33,147,176,0.25);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  margin-left: 10px;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(33,147,176,0.3); }
.btn:active { transform: translateY(0); }

/* Style file input to match */
input[type="file"] {
  background: rgba(255,255,255,0.06);
  color: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
}

