* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f5f8f6;
  color: #1f2937;
  font-size: 13px;
}

.portal-layout {
  min-height: 100vh;
  display: flex;
  background:
    radial-gradient(circle at top right, rgba(25, 135, 84, .12), transparent 32%),
    linear-gradient(180deg, #f8fbf9 0%, #eef5f1 100%);
}

.sidebar {
  width: 310px;
  background: rgba(255,255,255,.92);
  border-right: 1px solid #dfeee5;
  backdrop-filter: blur(14px);
  padding: 22px 18px;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 10;
  box-shadow: 8px 0 28px rgba(15, 23, 42, .04);
}

.brand-box {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #e1efe7;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
  margin-bottom: 20px;
}

.brand-logo {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #e1efe7;
  flex-shrink: 0;
}

.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 6px;
}

.brand-title h1 {
  font-size: 18px;
  font-weight: 800;
  color: #0b5d35;
  margin: 0;
  line-height: 1.18;
}

.brand-title span {
  display: block;
  font-size: 12px;
  color: #475569;
  margin-top: 4px;
  line-height: 1.4;
}

.side-menu-title {
  font-size: 11px;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 800;
  margin: 22px 12px 10px;
  letter-spacing: .06em;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  color: #334155;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 6px;
  transition: .2s ease;
}

.side-link i {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #eaf8ef;
  color: #198754;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.side-link:hover,
.side-link.active {
  background: #eef9f2;
  color: #0b5d35;
}

.side-card {
  margin-top: 24px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(145deg, #eefbf3, #ffffff);
  border: 1px solid #dcefe4;
  box-shadow: 0 12px 30px rgba(15,23,42,.04);
}

.side-card .shield {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: #dff5e7;
  color: #198754;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 14px;
}

.side-card strong {
  display: block;
  color: #0b5d35;
  font-size: 14px;
  margin-bottom: 6px;
}

.side-card span {
  color: #475569;
  line-height: 1.6;
  font-size: 12px;
}

.main-content {
  margin-left: 310px;
  width: calc(100% - 310px);
  padding: 26px 34px 40px;
}

.portal-container {
  width: 100% !important;
  max-width: 1800px;
  margin: 0 auto !important;
}

@media(max-width: 1100px) {
  .portal-layout {
    display: block;
  }

  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    bottom: auto;
  }

  .main-content {
    width: 100%;
    margin-left: 0;
    padding: 18px;
  }
}

