:root {
  --primary-color: #ffffff;
  --primary-dark: #1ca56c;
  --background-body: #18262d;
  --background-card: #152126;
  --text: #f0f0f0;
  --text-muted: #bbb;
  --radius: 10px;
}

* {
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--background-body);
  padding: 0.7rem;
  color: var(--text);
}

.container {
  max-width: 1000px;
  background-color: var(--background-card);
  margin: auto;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid #373737;
}

h1 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 0.75rem;
  border-bottom: 1px solid #2e3e44;
}

th {
  background-color: #1e2f37;
  color: var(--primary-color);
}

tr:hover {
  background-color: #1c2a31;
}

.btn {
  background-color: var(--primary-dark);
  color: #fff;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
}

.btn:hover {
  background-color: #17975f;
}

.actions {
  display: flex;
  gap: 0.5rem;
}

.status {
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: bold;
}

.status.ativa {
  background-color: #1ca56c33;
  color: #1ca56c;
}

.status.encerrada {
  background-color: #a51c1c33;
  color: #ff4d4d;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.top-bar .btn {
  padding: 0.6rem 1.2rem;
}