/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 4;
  padding: 0;
  background-color: #f4f4f4;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Ensure the body takes up the full height of the viewport */
}

header {
  background-color: #ffffff;
  color: #000;
  padding: 20px;
  text-align: center;
}

a:link {
  color: #ff0000; /* Unvisited link color (red) */
}

a:visited {
  color: #00ff00; /* Visited link color (green) */
}

a:hover {
  color: #ffa500; /* Mouse over link color (orange) */
}

a:active {
  color: #0000ff; /* Selected link color (blue) */
}

nav {
  text-align: center;
  margin: 20px 0;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
}

.container {
  flex: 1; /* Allow the container to grow and take up remaining space */
  max-width: 800px;
  margin: 20px auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto; /* Enable vertical scrolling if content overflows */
}

h1,
h2 {
  color: #333;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

table th,
table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

table th {
  background-color: #007bff;
  color: #fff;
}

table tr:nth-child(even) {
  background-color: #f9f9f9;
}

footer {
  text-align: center;
  padding: 10px;
  background-color: #000000;
  color: #fff;
  position: sticky; /* Ensure the footer stays at the bottom of the viewport */
  bottom: 0;
  width: 100%;
}

#article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
@media print {
  /* Hide buttons and nav during printing */
  .no-print,
  .no-print * {
    display: none !important;

    button,
    nav {
      display: none !important;
    }
  }

  /* Center the report and remove background colors for better printing */
  body {
    background-color: white;
    margin-left: 10px;
    padding: 0;
  }

  .report-container {
    box-shadow: none;
    border: 1px solid #ccc;
    width: 100%;
    margin: 0;
  }
}

.dashboard-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
  margin: auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.points-badge {
  background: #04aa6d;
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 20px;
}
.info-row {
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}
