* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #333;
}

body {
  background-color: #f9f9f9;
}

.profile-icon img {
  height: 1.8rem;
  border-radius: 50%;
}

main.notification-page {
  padding: 2rem;
  height: 80vh;
}

.filters {
  margin-bottom: 1.5rem;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.filters button {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0.5rem 1.5rem;
  margin-right: 1rem;
  cursor: pointer;
  color: #303030;
  transition: transform 0.2s ease;
}

.filters button:hover {
  transform: translateY(-2px) scale(1.01);
  transition: 0.2s;
}

.filters button.active {
  background-color: #ffeea8;
  color: #f7931e !important;
  border: none;
}

.notifications {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.notification-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 0px 10px 3px #a6a6a625;
  display: flex;
  padding: 1.2rem;
  align-items: center;
  position: relative;
  animation: slideUp 0.4s ease-out;
  transition: transform 0.3s ease;
}

.notification-card:hover {
  transform: translateY(-1px) scale(1.02);
  transition: transform 0.3s;
}

.first {
  margin-top: 1rem;
}

.last {
  margin-bottom: 1rem;
}

.notification-icon {
  width: 50px;
  height: 50px;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
}

.notification-icon.yellow {
  background-color: #ffeea8;
}

.notification-content p {
  font-size: 0.95rem;
  color: #333;
  margin-left: 1rem;
}

.timestamp {
  font-size: 0.75rem;
  color: #999;
  margin-top: 0.5rem;
  display: block;
  margin-left: 1rem;
}

.profile-icon {
  position: relative;
  display: inline-block;
}

.profile-icon img {
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.profile-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  z-index: 1000;
  margin-top: 5px;
}

.profile-dropdown.show {
  display: block;
}

.profile-dropdown a {
  color: #303030;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.profile-dropdown a:hover {
  background-color: #f1f1f1;
  color: #ef8508;
}

.profile-dropdown a:first-child {
  border-radius: 8px 8px 0 0;
}

.profile-dropdown a:last-child {
  border-radius: 0 0 8px 8px;
}
