* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  display: flex;
  background-color: #f5f7fb;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background-color: #2A3F54;
    color: white;
    min-height: 100vh;
    position: fixed;
    left: 0;
}

.sidebar h2 {
    text-align: center;
    padding: 20px;
    background-color: #1A2732;
    font-size: 1.4rem;
}

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

.sidebar ul li {
    padding: 15px 20px;
    cursor: pointer;
}

.sidebar ul li:hover,
.sidebar ul li.active {
    background-color: #1A2732;
}

.sidebar ul li i {
    margin-right: 15px;
}

/* Main Content */
.main-content {
  margin-left: 250px;
  padding: 25px;
  width: calc(100% - 250px);
}

/* Page Title */
.page-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Table */
.table-container {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background-color: #9C7E99; /* same as sidebar */
  color: white;
}

th, td {
  padding: 15px 18px;
  text-align: left;
}

tbody tr {
  border-bottom: 1px solid #eee;
}

tbody tr:hover {
  background-color: #f9f9f9;
}

/* Status */
.status {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
}

.status.placed {
  background-color: #28a745;
  color: white;
}

.status.pending {
  background-color: #ffc107;
  color: white;
}

.status.cancelled {
  background-color: #dc3545;
  color: white;
}

/* Buttons */
.btn {
  padding: 6px 14px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-size: 13px;
}

.btn-update {
  background-color: #9C7E99;
  color: white;
}

.btn-update:hover {
  background-color: #9C7E99;
}
