:root {
  --bg-color: #f7f7f7;
  --text-color: #333;
  --card-bg: #fff;
  --primary-color: #007BFF;
  --primary-hover: #0056b3;
  --accent-color: #ffc107;
  --border-color: #ccc;
}

body.dark-mode {
  --bg-color: #121212;
  --text-color: #eee;
  --card-bg: #1e1e1e;
  --primary-color: #1e90ff;
  --primary-hover: #63b3ed;
  --accent-color: #f4c542;
  --border-color: #444;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--primary-color);
  padding: 10px 20px;
  color: white;
}

.topbar .logo {
  font-weight: bold;
  font-size: 20px;
  display: flex;
  align-items: center;
}

.topbar .logo i {
  margin-right: 8px;
  font-size: 22px;
  color: var(--accent-color);
}

.topbar .menu a {
  margin-left: 15px;
  text-decoration: none;
  color: white;
}

.topbar .menu a:hover { text-decoration: underline; }

.dark-mode-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  margin-left: 10px;
}

.container {
  padding: 20px;
  max-width: 900px;
  margin: auto;
}

.company-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.company-card h3 { margin: 0; }

.company-card .stars {
  margin: 5px 0;
}

.star { color: grey; font-size: 18px; }
.star.filled { color: orange; }

.btn-primary {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 6px 10px;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 5px;
}

.btn-primary:hover { background: var(--primary-hover); }

footer {
  background: #333;
  color: #ccc;
  text-align: center;
  padding: 15px;
  margin-top: 20px;
}

footer .footer-menu a {
  color: #ccc;
  margin: 0 10px;
  text-decoration: none;
}

footer .footer-menu a:hover { color: #fff; }

@media(max-width: 600px){
  .topbar { flex-direction: column; align-items: flex-start; }
  .topbar .menu { margin-top: 10px; }
  .topbar .menu a { margin: 5px 0 0; }
}

.star {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: grey;
  color: white;
  text-align: center;
  line-height: 20px;
  margin: 0 1px;
  border-radius: 3px;
  font-size: 14px;
}
.star.filled {
  background: orange;
}
