body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: #f5f8fb;
  color: #25324b;
}

.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 230px;
  background: #fff;
  box-shadow: 2px 0 18px 0 rgba(44, 62, 80, 0.06);
  display: flex;
  flex-direction: column;
  padding: 24px 0 0 0;
  position: relative;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px 24px 24px;
}

.logo-gradient {
  width: 40px;
  height: 40px;
  background: linear-gradient(to right, #2563eb, #4338ca);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.12);
}

.anchor-icon {
  width: 22px;
  height: 22px;
  color: white;
}

.sidebar-title {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -1px;
  color: #223046;
}

.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}

.nav-link {
  padding: 10px 32px 10px 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  color: #5a6785;
  text-decoration: none;
  border-left: 4px solid transparent;
  transition: background 0.1s, border 0.2s, color 0.15s;
  border-radius: 0 24px 24px 0;
}

.nav-link:hover, .nav-link.active {
  background: #eef5fa;
  color: #2563eb;
  border-left: 4px solid #2563eb;
}

.sidebar-footer {
  padding: 20px 20px 24px 20px;
  border-top: 1px solid #eef2fa;
}

.user-card {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-initial {
  background: #2563eb;
  color: white;
  font-weight: 700;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.1rem;
}

.user-name {
  font-weight: 600;
  font-size: 1rem;
}

.user-role {
  font-size: 0.89rem;
  color: #7e8aa5;
}

.main-content {
  flex: 1;
  padding: 36px 42px 42px 42px;
  display: flex;
  flex-direction: column;
  background: #f5f8fb;
}

.dashboard-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.dashboard-header h1 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 800;
  color: #223046;
}
.dashboard-header p {
  color: #6e7ba6;
  margin: 0 0 0 8px;
  font-size: 1.14rem;
  flex: 1;
}
.import-btn {
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 11px 26px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(44, 62, 80, 0.06);
  transition: background 0.17s;
}
.import-btn:hover {
  background: #1e429f;
}

.dashboard-cards {
  display: flex;
  gap: 28px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.dashboard-card {
  flex: 1;
  min-width: 165px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.07);
  padding: 22px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 8px;
}
.card-label {
  color: #7b8fb2;
  font-size: 1rem;
  margin-bottom: 8px;
}
.card-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: #25324b;
  margin-bottom: 4px;
}
.card-sub {
  color: #13b56b;
  font-size: 1.02rem;
}

.dashboard-tables {
  display: flex;
  gap: 38px;
  flex-wrap: wrap;
}
.table-section {
  flex: 1;
  min-width: 300px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.06);
  padding: 18px 22px 22px 22px;
  margin-bottom: 8px;
}
.table-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #23345a;
}
.table-section table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.02rem;
}
.table-section th, .table-section td {
  padding: 10px 8px;
  text-align: left;
}
.table-section th {
  color: #7b8fb2;
  font-weight: 600;
  background: #f6fafd;
}
.table-section tr:nth-child(odd) {
  background: #f9fbfd;
}
.badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.89em;
  border-radius: 8px;
  font-weight: 500;
  margin-left: 6px;
}
.badge-domestic {
  background: #dbeafe;
  color: #2563eb;
}
.badge-green {
  background: #e6f9ef;
  color: #12bb78;
}
.badge-blue {
  background: #dbeafe;
  color: #2563eb;
}
.badge-pending {
  background: #fbeada;
  color: #e68c3a;
}

.activity-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.activity-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid #f2f5fa;
  font-size: 1.01rem;
}
.activity-code {
  font-family: monospace;
  font-size: 1.04em;
  color: #23345a;
  min-width: 115px;
  display: inline-block;
}
.activity-desc {
  color: #6271a8;
  flex: 1;
}

@media (max-width: 1200px) {
  .dashboard-cards, .dashboard-tables {
    flex-direction: column;
    gap: 22px;
  }
  .main-content {
    padding: 28px 10px 28px 10px;
  }
}

@media (max-width: 700px) {
  .dashboard-layout {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    flex-direction: row;
    padding: 12px 0 12px 0;
    justify-content: space-between;
    align-items: center;
  }
  .sidebar-logo, .sidebar-footer {
    padding: 0 14px;
  }
  .sidebar-nav {
    flex-direction: row;
    gap: 10px;
    margin-top: 0;
    font-size: 0.98rem;
  }
  .nav-link {
    padding: 8px 10px;
    border-radius: 12px;
    border-left: 0;
  }
  .sidebar-footer {
    padding: 8px 10px 10px 10px;
  }
}
