/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #f7f7f9;
  --card: #fff;
  --text: #17171b;
  --muted: #73737d;
  --line: #e8e8ed;
  --brand: #6d28d9;
  --sidebar-width: 250px;
  --sidebar-width-compact: 72px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-width: 320px;
}

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

/* Keep the navigation out of the document flow and reserve its exact width
   for every page rendered in the main content area. */
.app-shell {
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-width);
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 22px 14px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 20;
}

.main {
  margin-left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
  min-width: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #666674;
  font-size: 14px;
}

.nav-item.active {
  background: #f1edff;
  color: #6d28d9;
  font-weight: 600;
}

.nav-item:focus-visible,
.btn:focus-visible,
.switch:focus-visible,
.field:focus-visible {
  outline: 3px solid #c4b5fd;
  outline-offset: 2px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.btn {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 14px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn.primary {
  background: #6d28d9;
  border-color: #6d28d9;
  color: #fff;
}

.pill {
  font-size: 12px;
  border-radius: 999px;
  padding: 4px 9px;
  background: #f2f2f5;
  align-self: flex-start;
  white-space: nowrap;
}

.switch {
  width: 38px;
  height: 22px;
  border-radius: 99px;
  background: #d7d7df;
  padding: 2px;
  border: 0;
  cursor: pointer;
  flex: 0 0 auto;
}

.switch.on {
  background: #7c3aed;
}

.switch i {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: 0.2s;
}

.switch.on i {
  transform: translateX(16px);
}

.field {
  width: 100%;
  padding: 11px;
  border: 1px solid #ddd;
  border-radius: 9px;
  margin-top: 7px;
  background: #fff;
}

.error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
}

.success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
}

/* The header and page body are children of .main, so they already start
   beside the sidebar. They only need to stay inside the available width. */
.header {
  flex: 0 0 auto;
  width: 100%;
}

.page-pad {
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
}

.rule-row {
  min-width: 0;
}

.rule-row > div,
.rule-row > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .rule-row {
    grid-template-columns: 1.2fr 0.9fr 0.9fr 86px 42px 42px !important;
  }

  .rule-row > .rule-follow {
    display: none;
  }
}

@media (max-width: 800px) {
  .sidebar {
    width: var(--sidebar-width-compact);
    padding: 18px 10px;
  }

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

  .sidebar .brand-text,
  .sidebar .workspace-label,
  .sidebar .help-card,
  .sidebar .nav-label {
    display: none;
  }

  .sidebar .nav-item {
    justify-content: center;
    padding: 11px;
  }

  .header {
    padding: 0 18px !important;
  }

  .page-pad {
    padding: 18px !important;
  }

  .rule-grid {
    grid-template-columns: 1fr !important;
  }

  .rule-row {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px !important;
  }

  .rule-row > div:first-child {
    width: 100%;
  }

  .rule-row > span {
    flex: 1 1 38%;
    min-width: 120px;
  }

  .rule-row > .rule-follow {
    display: block;
  }

  .rule-row > button {
    flex: 0 0 auto;
  }

  .inbox {
    grid-template-columns: 1fr !important;
  }

  .inbox-list {
    display: none;
  }
}

