/* General Styling */
body {
  font-family: 'Poppins', sans-serif; /* Clean and modern font */
  margin: 0;
  display: flex;
  color: #555; /* Neutral text color */
  background-color: #f4f7fc; /* Original background color */
}

h1, p {
  margin: 0;
}

/* Sidebar Styling */
.sidebar {
  width: 250px;
  background: #d7bfc0; /* Original light rose background */
  color: #555; /* Neutral text color */
  height: 100vh;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  left: 0;
  top: 0;
  overflow-y: auto;
  border-radius: 0 10px 10px 0; /* Rounded edge on the right */
}

/* Sidebar Toggle Button */
.sidebar-toggle {
  background: none;
  border: none;
  color: #555;
  font-size: 1.5em;
  margin-bottom: 20px;
  cursor: pointer;
  transition: color 0.3s;
}

.sidebar-toggle:hover {
  color: #333; /* Darker hover color */
}

/* User Profile Section */
.user-profile {
  background-color: #fff; /* White background */
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 20px;
  width: 100%;
  text-align: center;
  font-size: 0.9em;
}

.user-profile img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.user-profile p {
  margin: 0;
  color: #555;
}

.placeholder {
  font-style: italic;
  color: #888;
}

/* Section Titles */
.section-title {
  font-size: 0.9em;
  color: #777; /* Muted text color */
  text-transform: uppercase;
  margin-bottom: 10px;
  margin-top: 20px;
}

/* Sidebar Menu */
.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.sidebar-menu li {
  margin: 10px 0;
}

.menu-link {
  text-decoration: none;
  color: #555; /* Neutral text color */
  font-size: 1em;
  padding: 10px 15px;
  display: block;
  border-radius: 8px; /* Rounded edges for menu items */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.menu-link.active {
  background-color: white; /* Highlight active menu */
  color: #333; /* Darker text for active state */
  font-weight: bold;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.menu-link:hover {
  background-color: rgba(255, 255, 255, 0.3); /* Slight highlight on hover */
  color: #000; /* Darker text on hover */
}

/* Separators */
.section-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.5); /* Soft divider */
  margin: 15px 0;
}

/* Main Content */
.main-content {
  margin-left: 250px;
  padding: 40px;
  flex-grow: 1;
  transition: margin-left 0.3s ease;
}

.main-content h1 {
  font-size: 2.5em;
  color: #34495e; /* Original heading color */
  margin-bottom: 10px;
}

.main-content p {
  font-size: 1.3em;
  color: #7f8c8d; /* Original paragraph color */
  line-height: 1.6;
}

/* Data Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.data-table th, .data-table td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
}

.data-table th {
  background-color: #d7bfc0; /* Original rose color */
  color: white;
}

.data-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    box-shadow: none;
  }
  .sidebar-menu {
    display: flex;
    justify-content: space-around;
  }
  .main-content {
    margin-left: 0;
    padding: 20px;
  }
}
