body {
  background-color: #f5f5f5;
  font-family: Arial, sans-serif;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 15px;
  width: 80%;
  max-width: 200px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* .logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
  } */

.date {
  font-size: 12px;
  color: gray;
}

.badge {
  background: #007bff;
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
}

.message {
  font-size: 13px;
  margin: 10px 0;
}

.post-image {
  width: 100%;
  border-radius: 8px;
  margin: 10px 0;
}

.footer {
  font-weight: bold;
  text-align: center;
  margin: 10px 0;
}

.actions {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: gray;
  padding: 10px 0;
  border-top: 1px solid #ddd;
}


/* Layout styling */
.layout {
  display: flex;
  width: 100%;
}

/* Sidebar styling */
/* .sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: white;
    height: 100vh;
    padding: 20px;
    position: fixed;
  } */

.sidebar h2 {
  text-align: center;
  margin-bottom: 20px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  padding: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.sidebar li:hover {
  background-color: #34495e;
}

.dashboard-container {
  margin-top: 130px;
  margin-right: 30px;
  margin-left: 18%;
  width: 50%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Ensures 3 columns per row */
  gap: 10px;
  /* Adjust spacing between items */
  padding: 20px;
}


.grid-item {
  background: #B276C3;
  height: 100px;
  width: 140px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.2s ease-in-out;
}

.grid-item:hover {
  transform: translateY(-2px);
}

.icon-container {
  position: relative;
  margin-bottom: 10px;
}

.new-badge {
  position: absolute;
  top: -5px;
  right: -10px;
  background: red;
  color: white;
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 5px;
}





/* Content styling */
.content {
  margin-left: 940px;
  margin-top: -440px;
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  /* margin-bottom:150px; */
}

/* Post card styling */
.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 15px;
  width: 100%;
  margin-top: 10px;
  max-width: 350px;
  margin-bottom: 20px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* .logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
  } */

.date {
  font-size: 12px;
  color: gray;
}

.badge {
  background: #007bff;
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
}

.post-image {
  width: 100%;
  border-radius: 8px;
  margin: 10px 0;
}

.footer {
  font-weight: bold;
  text-align: center;
  margin: 10px 0;
}

.actions {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: gray;
  padding: 10px 0;
  border-top: 1px solid #ddd;
}