* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg-page);
  color: var(--text-base);
  font-family: var(--font-main);
}

body {
  overflow-x: hidden;
}

button,
a,
input,
select {
  font: inherit;
}

button {
  border: 0;
  background: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.app {
  width: 100%;
  min-height: 100vh;
  background: var(--bg-page);
  display: flex;
}

.main {
  margin-left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
  min-height: 100vh;
  background: var(--bg-page);
}

.main-canvas {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  padding: 24px 32px 96px;
}

/* Topbar */

.topbar {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.breadcrumb {
  flex: 1;
  height: 24px;
}

.topbar-actions {
  width: 274px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.circle-button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-base);
  border-radius: 6px;
  background: #ffffff;
  position: relative;
  flex-shrink: 0;
}

.circle-button img {
  width: 20px;
  height: 20px;
  display: block;
  margin: 9px auto;
}

.profile-button {
  width: 170px;
  height: 40px;
  border: 1px solid var(--border-base);
  border-radius: 6px;
  background: #ffffff;
  display: flex;
  align-items: center;
  padding: 8px;
  gap: 8px;
  color: var(--text-base);
  font-size: 14px;
  line-height: 1;
}

.profile-avatar {
  width: 24px;
  height: 24px;
  padding: 1.5px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow:
    0 0 0 1px #ebeced,
    0 1px 2px rgba(9, 18, 23, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-avatar span {
  width: 100%;
  height: 100%;
  padding: 0 7px;
  border-radius: 999px;
  background: #f5f5f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #757c80;
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
}

/* Tabs */

.tabs {
  width: 100%;
  height: 47px;
  margin-top: 7px;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--border-base);
}

.tab {
  height: 44px;
  padding: 13px 8px 10px;
  color: var(--text-base);
  font-size: 14px;
  line-height: 19px;
  position: relative;
  margin-right: 20px;
}

.tab.active::after {
  content: "";
  position: absolute;
  height: 1px;
  left: 8px;
  right: 8px;
  bottom: -1px;
  background: #000000;
}

/* Page title */

.page-title {
  margin-top: 72px;
  width: 100%;
}

.page-title h1 {
  margin: 0 0 7px;
  max-width: 480px;
  color: var(--text-stone);
  font-size: 24px;
  line-height: 29px;
  font-weight: 430;
}

.page-title p {
  margin: 0;
  max-width: 762px;
  color: var(--text-stone);
  font-size: 16px;
  line-height: 19px;
  font-weight: 430;
}

/* Overview KPIs */

.overview-kpis {
  margin-top: 40px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 8px;
}

/* Sections */

.dashboard-section {
  width: 100%;
}

.security-exposure {
  margin-top: 60px;
}

.shadow-it {
  margin-top: 96px;
}

.login-behaviour {
  margin-top: 96px;
}

.section-heading {
  width: 100%;
  max-width: 564px;
  margin-bottom: 33px;
}

.section-heading h2 {
  margin: 0 0 8px;
  color: var(--text-stone);
  font-size: 20px;
  line-height: 24px;
  font-weight: 430;
}

.section-heading p {
  margin: 0;
  color: var(--text-stone);
  font-size: 16px;
  line-height: 19px;
  font-weight: 430;
}

.login-heading {
  max-width: 458px;
}

/* Responsive */

@media (max-width: 1280px) {
  .main-canvas {
    padding-left: 24px;
    padding-right: 24px;
  }

  .overview-kpis {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }
}

@media (max-width: 980px) {
  .sidebar {
    position: absolute;
  }

  .main {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
  }

  .overview-kpis {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .topbar {
    min-width: 700px;
  }
}

@media (max-width: 760px) {
  body {
    overflow-x: auto;
  }

  .app {
    min-width: 1060px;
  }

  .main {
    width: calc(1060px - var(--sidebar-width));
  }
}