.announcements {
  width: 100%;
  margin: 30px 0;
}

.announcement-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.announcement-table th {
  background: #006633;
  color: white;
  padding: 14px;
  text-align: center;
}

.announcement-table td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  vertical-align: middle;
}

.announcement-table tr:hover {
  background: #f5faf7;
}

.new_ann {
  background: #e8f8ef;
  font-weight: bold;
}

.announcement-table a {
  text-decoration: none;
  font-weight: bold;
}

.pdf-link {
  color: #555;
}

.register-link {
  color: #006633;
}

.announcement-date {
  white-space: nowrap;
}

/* Mobile design */
@media (max-width: 768px) {
  .announcement-table thead {
    display: none;
  }

  .announcement-table,
  .announcement-table tbody,
  .announcement-table tr,
  .announcement-table td {
    display: block;
    width: 100%;
  }

  .announcement-table tr {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    background: white;
  }

  .announcement-table td {
    border: none;
    padding: 8px;
    text-align: left;
  }

  .announcement-table td:first-child {
    font-size: 16px;
    color: #006633;
  }

  .announcement-table td:nth-child(2)::before {
    content: "Date: ";
    font-weight: bold;
  }

  .announcement-table td:nth-child(3)::before {
    content: "Document: ";
    font-weight: bold;
  }

  .announcement-table td:nth-child(4)::before {
    content: "Action: ";
    font-weight: bold;
  }

  .new_ann {
    border-left: 5px solid #006633;
  }
}
