:root {
    --bg-light: #fff;
    --text-light: #222;
    --card-light: #f8f8f8;
    --bg-dark: #121212;
    --text-dark: #eee;
    --card-dark: #1e1e1e;
    --turn-he-light: #D1EAF0;
    --turn-she-light: #f9e2e7;
    --turn-he-dark: #1F6E7F;
    --turn-she-dark: #601e28;
    --yes: #43cea2;
    --partner: #ffcc33;
    --maybe: #ff9966;
    --no: #e52d27;
    --accent: #c2185b;
    }
body {
  font-family: Arial, sans-serif;
  background-color: #121212;
  color: #fff;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}
input[type=text]{
    background-color: #1e1e1e;
    color: #fff;
    width: 90%;
    border:none;
    border-bottom: 2px solid var(--accent);
}
.card {
  background-color: #2e2e2e;
  padding: 20px;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.6);
  max-width: 600px;
  width: 90%;
}
.hidden {
    display: none;
}
h1, h2 {
  text-align: center;
  color: var(--accent); /* romantic accent */
}
button {
  padding: 10px 20px;
  margin: 5px;
  border-radius: 5px;
  cursor: pointer;
  color: white;
  background-color: #555555;
  font-weight: bold;
  border: 2px solid #2e2e2e;
  width: 160px;
}
.info {
    position: absolute;
    top: 140px;
    right: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    background: var(--accent); /* Accentkleur achtergrond */
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%; /* Maakt het rond */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
button:hover { opacity: 0.9; }
.answers button {
  display: inline-block;
  margin: 5px;
  border-radius:5px;
  padding:10px 15px;
  width:90%;
  font-weight: bold;
}
.answers{
  position: absolute;
  bottom: 80px;
  margin-left:auto;
  width: 90%;
}
.answers button.selected {
    background-color: var(--accent);
    border: 2px solid #fff;
}
button.yes {
    background-color: #28a745;
}
button.ifpartner {
    background-color: #ffc107;
    color:#fff;
}
button.maybe {
    background-color: #fd7e14;
}
button.no {
    background-color: #dc3545;
}
.subcategory {
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 10px;
}
.nav-buttons {
    text-align: center;
    margin-top: 20px;
}
.answers-overview {
    display: flex;
    justify-content:space-between;
    margin-top: 10px;
}
.answers-overview div {
    flex: 1;
    text-align: center;
}
#tableArea.card {
  padding: 2%;
}
#resultsTable {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
#resultsTable table {
  width: 96%;
  min-width: 360px; /* voorkomt dat kolommen te smal worden */
  border-collapse: collapse;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size:0.6em;
    color: #fff;
}
table, th, td {
    border: 1px solid #444;
}
th { background-color: #2c2c2c; }
td { background-color: #1e1e1e; }
td.yes {
    background-color: var(--yes);
    color:white; }
td.ifpartner {
    background-color: var(--partner);
    color:#fff;
}
td.maybe {
    background-color: var(--maybe);
    color:white;
}
td.no {
    background-color: var(--no);
    color:white;
}
th, td {
    padding: 5px;
    text-align: left;
}
#progressBar, #progressBarReview {
    margin-bottom:10px;
    font-size:0.9em;
    color:var(--accent);
    text-align:center;
}
.modal {
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.8);
  justify-content:center;
  align-items:center;
  z-index:1000;
}
.modal-content {
  background:#1e1e1e;
  color:white;
  padding:20px;
  border-radius:10px;
  max-width:80%;
  position:relative;
}
.closeBtn {
  position:absolute;
  top:-10px;
  right:10px;
  cursor:pointer;
  font-weight:bold;
  font-size:18px;
  background:none;
  border:none;
  color:var(--accent);
}
.list-chip {
  display:inline-block;
  border:1px solid var(--accent);
  padding:5px 10px;
  margin:5px;
  border-radius:20px;
  cursor:pointer;
  color:#fff;
}
.list-chip.selected {
    background:var(--accent);
    color:white;
}
@media(max-width:480px){ .answers button{ width:100%; margin:5px 0; } }