body {
      font-family: Arial, sans-serif;
      background: #f9f9f9;
      margin: 0;
      padding: 0;
    }

    header {
      background-color: #ffffff;
      border-bottom: 1px solid #ddd;
      padding: 15px 20px;
    }

    .header-container {
      max-width: 1200px;
      margin: -18px auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      position: relative;
    }

    .logo a {
      text-decoration: none;
      font-size: 1.5rem;
      font-weight: bold;
      color: #333;
    }
    .container {
      display: flex;
      flex-direction: row;
      max-width: 1300px;
      margin: 30px auto;
      padding: 0 20px;
      gap: 30px;
    }

    .main-content {
      flex: 3;
      background: white;
      padding: 30px;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    .blog-title {
      font-size: 2rem;
      margin-bottom: 10px;
      color: #111;
    }

    .blog-meta {
      font-size: 0.9rem;
      color: #777;
      margin-bottom: 20px;
    }

    .blog-image {
      width: 100%;
      height: auto;
      margin-bottom: 20px;
      border-radius: 5px;
    }

    .blog-content p {
      font-size: 1rem;
      line-height: 1.6;
      margin-bottom: 1.2rem;
      color: #333;
    }

    aside {
      flex: 1;
      background: #fff;
      padding: 20px;
      border: 1px solid #ddd;
      border-radius: 5px;
      box-sizing: border-box;
      height: fit-content;
    }

    .widget {
      margin-bottom: 25px;
    }

    .widget h3 {
      font-size: 1.1rem;
      margin-bottom: 10px;
      color: #111;
    }

    .widget ul {
      list-style: none;
      padding: 0;
    }

    .widget ul li {
      margin-bottom: 8px;
    }

    .widget ul li a {
      color: #0073e6;
      text-decoration: none;
      font-size: 0.95rem;
    }

    .widget ul li a:hover {
      text-decoration: underline;
    }

    footer {
      background-color: #ffffff;
      border-top: 1px solid #ddd;
      text-align: center;
      padding: 20px 10px;
      margin-top: 40px;
      font-size: 0.9rem;
      color: #555;
    }

    .footer-links {
      margin-bottom: 10px;
    }

    .footer-links a {
      margin: 0 10px;
      color: #0073e6;
      text-decoration: none;
    }

    .footer-links a:hover {
      text-decoration: underline;
    }

    @media (max-width: 992px) {
      .container {
        flex-direction: column;
      }

      aside {
        margin-top: 20px;
        width: 100%;
      }
    }

    @media (max-width: 600px) {
      header {
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
      }

      nav {
        margin-top: 10px;
      }

      .logo {
        font-size: 1.2rem;
      }
    }
    
      table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 20px;
    }
    th, td {
      border: 1px solid #ccc;
      padding: 12px;
      text-align: left;
      vertical-align: top;
    }
    th {
      background-color: #f2f2f2;
    }
     .table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-responsive table {
  width: 100%;
  min-width: 600px; /* ensures horizontal scroll on small screens */
  border-collapse: collapse;
}

.table-responsive th, .table-responsive td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.table-responsive th {
  background-color: #f2f2f2;
}

@media (max-width: 600px) {
  .table-responsive table {
    font-size: 0.9rem;
  }
}
 #recent-posts-list li {
  background-color: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 10px;
  transition: background-color 0.3s ease;
}

#recent-posts-list li:hover {
  background-color: #eaeaea;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#recent-posts-list li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 0.95rem;
  display: block;
}

/* Popup Styling */
  .popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    z-index: 1000;
  }

  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 300px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
  }

  .modal[data-type] {
    display: block;
  }

  .modalDialog {
    margin: auto;
    padding: 25px;
    background-color: white;
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .grantButtons,
  .rewardButtons {
    display: none;
  }

  .modal[data-type="grant"] .grantButtons,
  .modal[data-type="reward"] .rewardButtons {
    display: block;
  }

  .modal input[type="button"] {
    padding: 0.5rem;
    background: blue;
    border: none;
    border-radius: 4px;
    margin: 4px;
    color: white;
  }