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

body {
  background: #d9d9d9;
}

.dashboard-wrapper {
  width: 100%;
  min-height: 100vh;
  padding: 14px;
}

.dashboard-layout {
  display: flex;
  gap: 18px;
  align-items: stretch;
  min-height: calc(100vh - 28px);
}

/* SIDEBAR */
.sidebar {
  width: 245px;
  background: #384054;
  border-radius: 18px;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar-logo {
  display: flex;
  justify-content: center;
  margin: 12px 0 18px;
}

.sidebar-logo img {
  width: 120px;
  height: auto;
}

.sidebar-menu {
  list-style: none;
  padding: 0 14px;
}

.sidebar-item {
  margin-bottom: 8px;
}

.sidebar-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  padding: 12px 14px;
  border-radius: 30px;
  font-size: 16px;
}

.sidebar-item.active a {
  background: #ffffff;
  color: #000;
}

.sidebar-item:not(.active) a:hover {
  background: rgba(255,255,255,0.08);
}

.icon {
  width: 20px;
  text-align: center;
}

.sidebar-bottom {
  padding: 0 14px;
}

.logout-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 30px;
}

.logout-btn:hover {
  background: rgba(255,255,255,0.08);
}

/* MAIN */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.top-bar {
  display: flex;
  justify-content: flex-end;
}

.profile-bar {
  min-width: 280px;
  background: #f3f3f3;
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-name {
  font-size: 16px;
  color: #222;
}

.page-header {
  padding: 10px 4px 0;
}

.page-header h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.page-header p {
  font-size: 18px;
  color: #333;
}

.alert {
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
}

.alert.success {
  background: #d9f2dc;
  color: #1f6b2b;
}

.table-card {
  background: #f3f3f3;
  border-radius: 22px;
  padding: 18px;
  overflow: hidden;
}

.table-card table {
  width: 100%;
  border-collapse: collapse;
  background: #f8f8f4;
  border-radius: 18px;
  overflow: hidden;
}

.table-card thead th {
  text-align: left;
  padding: 18px 16px;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  background: #f3f3ed;
  border-bottom: 1px solid #d6d6d0;
}

.table-card tbody td {
  padding: 20px 16px;
  font-size: 16px;
  color: #222;
  border-bottom: 1px solid #d9d9d9;
}

.no-data {
  text-align: center;
  color: #666;
}

.status-badge {
  font-weight: 600;
}

.status-active {
  color: #4f9f3b;
}

.status-inactive {
  color: #d24a4a;
}

.status-pending {
  color: #c8961c;
}

.status-rejected {
  color: #b93838;
}

.status-default {
  color: #444;
}

.action-btn {
  display: inline-block;
  min-width: 96px;
  text-align: center;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 15px;
}

.archive-btn {
  background: #24a8e0;
}

.activate-btn {
  background: #2fbf63;
}

.pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  padding: 18px 6px 4px;
}

.page-arrow {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #e9e9e3;
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-arrow.disabled {
  pointer-events: none;
  opacity: 0.45;
}

.page-info {
  font-size: 15px;
  color: #333;
}