body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #222;
}

header, footer {
  background: #01A200; /* SwishGreen */
  color: white;
  padding: 1rem;
  text-align: center;
}

main {
  padding: 2rem;
  max-width: 800px;
  margin: auto;
}

section {
  margin-bottom: 2rem;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #01A200; /* SwishGreen */
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

.button:hover {
  background: #018A00; /* Slightly darker green for hover */
}

form {
  background: white;
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  font-weight: bold;
  margin-bottom: 0.25rem;
}

input[type="email"],
input[type="password"] {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

input[type="email"]:focus,
input[type="password"]:focus {
  border-color: #01A200;
  outline: none;
}

button.button {
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 1rem;
}

#userName {
  color: #01A200; /* SwishGreen */
  font-weight: bold;
}

ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

section {
  background: white;
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 2rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

a {
  color: #01A200;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

#logoutLink {
  color: #c00;
  font-weight: bold;
}

.active {
  border-bottom: 2px solid #01A200;
  font-weight: bold;
}

.motion-card {
  border: 1px solid #ccc;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  background: #f9f9f9;
}

.vote-buttons button {
  margin-right: 1rem;
  padding: 0.5rem 1rem;
  background-color: #01A200;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.vote-buttons button:hover {
  background-color: #018500;
}

.success {
  color: #01A200;
  font-weight: bold;
}

.error {
  color: red;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.data-table th,
.data-table td {
  border: 1px solid #ccc;
  padding: 0.75rem;
  text-align: left;
}

.data-table th {
  background-color: #01A200;
  color: white;
}

.navbar {
  background-color: #01A200;
  color: white;
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.navbar .nav-brand {
  font-weight: bold;
  font-size: 1.2rem;
  color: white;
  text-decoration: none;
}

.navbar .nav-links a {
  margin-left: 1rem;
  color: white;
  text-decoration: none;
}

.navbar .nav-links a:hover {
  text-decoration: underline;
}

.card {
  background: #fff;
  border: 1px solid #ddd;
  border-left: 5px solid #01A200; /* SwishGreen */
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.card p {
  margin-bottom: 0.75rem;
}

.card strong {
  display: inline-block;
  min-width: 160px;
  color: #333;
}

#profile-card span {
  color: #444;
}

textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

button {
  background-color: #01A200;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  margin-top: 1rem;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #018000;
}
