/* Reset Styling */
body,
h1,
h2,
h3,
h4,
p,
ul,
li,
a {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

/* Global Styling */
body {
  background-color: #fde5dc;
  color: #333;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
}

/* Container Styling */
.container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}

.row {
  display: flex;
  justify-content: center;
}

/* Header Styling */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 30px;
}

.logo {
  font-size: 26px;
  font-weight: bold;
  color: #ff6b6b;
}

.inbox-header {
  font-size: 26px;
  font-weight: 600;
  color: #333;
}

.home-link {
  text-decoration: none;
  color: #ff6b6b;
  font-size: 18px;
  font-weight: bold;
  transition: color 0.3s;
}

.home-link:hover {
  color: #e63946;
}

/* Sidebar Styling */
.sidebar {
  width: 260px;
  background-color: #fef2f0;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  margin-bottom: 18px;
}

.sidebar ul li a {
  color: #333;
  font-size: 18px;
  text-decoration: none;
  display: block;
  padding: 12px;
  border-radius: 10px;
  transition: background-color 0.3s, color 0.3s;
}

.sidebar ul li a:hover {
  background-color: #ff6b6b;
  color: white;
}

/* Message List Styling */
.message-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: 30px;
  margin-top: 20px;
}

.message-item {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.message-item:hover {
  transform: translateY(-3px);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}

.message-item .message-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.message-item .message-content p {
  color: #777;
  font-size: 15px;
  line-height: 1.5;
  margin: 6px 0;
}

.message-item .message-action a {
  font-size: 16px;
  font-weight: bold;
  color: #ff6b6b;
  text-decoration: none;
  transition: color 0.3s;
}

.message-item .message-action a:hover {
  color: #e63946;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .container {
    padding: 20px;
  }

  .sidebar {
    width: 50%;
    margin-bottom: 20px;
    margin-right: 10px;
  }

  .message-list {
    margin-left: 0;
    width: 80%;
  }
  .message-item .message-action a {
    font-size: 10px;
  }
}
