
* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;

  --bg: #0a0910;
  --panel: #111019;
  --border: rgba(255,255,255,.075);
  --text: #f7f5fb;
  --muted: #aaa4b5;

  --accent: #E94C6E;
  --accent-soft: rgba(233,76,110,.14);

  --sidebar: 248px;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}

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

button {
  font: inherit;
}

.shell {
  min-height: 100vh;
}

/* SIDEBAR */

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  z-index: 4;
  padding: 27px 17px 18px;
  background: linear-gradient(180deg,#111019,#0d0c13);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 10px;
  margin-bottom: 68px;
}

.brand-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  font-size: 25px;
  font-weight: 800;
  font-style: italic;
  background: var(--accent);
  color: white;
  clip-path: polygon(50% 0,100% 100%,72% 100%,50% 48%,27% 100%,0 100%);
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.5px;
}

.brand-name small {
  font-weight: 500;
  color: #aaa4b7;
}

.nav-heading {
  padding: 0 12px;
  margin-bottom: 13px;
  color: #777283;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.nav-link {
  height: 47px;
  margin: 5px 0;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 10px;
  color: #c1bdca;
  font-size: 13px;
  transition: .18s;
}

.nav-link i {
  width: 18px;
  text-align: center;
  font-size: 15px;
}

.nav-link:hover {
  background: #ffffff0b;
  color: white;
}

.nav-link.active {
  color: white;
  background: linear-gradient(
    100deg,
    rgba(233,76,110,.27),
    rgba(233,76,110,.09)
  );
  box-shadow: inset 0 0 0 1px rgba(233,76,110,.3);
}

/* SIDEBAR USER */

.sidebar-bottom {
  margin-top: auto;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff06;
}

.sidebar-user img,
.top-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.user-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.user-copy strong {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-copy small {
  font-size: 10px;
  color: var(--muted);
}

.logout {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #aaa4b5;
  cursor: pointer;
}

.logout:hover {
  background: #ffffff12;
  color: white;
}

/* MAIN CONTENT */

.main {
  min-height: 100vh;
  margin-left: var(--sidebar);
  position: relative;
  overflow: hidden;
}

.main:before {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 760px;
  height: 400px;
  right: 3%;
  top: -250px;
  background: radial-gradient(
    ellipse,
    rgba(233,76,110,.10),
    transparent 68%
  );
}

/* TOPBAR */

.topbar {
  height: 76px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
  padding: 0 38px;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  color: #c8c2d2;
  font-size: 17px;
  cursor: pointer;
}

.icon-button:hover {
  color: white;
  background: #ffffff0d;
}

.dot {
  position: absolute;
  width: 7px;
  height: 7px;
  right: 9px;
  top: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.top-avatar {
  width: 42px;
  height: 42px;
  padding: 3px;
  border: 1px solid var(--border);
}

/* HOMEPAGE */

.landing {
  min-height: calc(100vh - 76px);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 25px 30px 90px;
  background: radial-gradient(
    ellipse at 50% 28%,
    rgba(233,76,110,.09),
    transparent 48%
  );
}

.landing-content {
  position: relative;
  z-index: 1;
  width: min(1100px,100%);
  text-align: center;
  margin-top: -45px;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #d79aa8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.4px;
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent)
  );
}

.landing h1 {
  margin: 30px 0 24px;
  min-height: 1.08em;
  font-size: clamp(76px,9vw,124px);
  line-height: 1.08;
  letter-spacing: -6px;
  font-weight: 850;
  white-space: nowrap;
}

.landing h1 em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 35px rgba(233,76,110,.22);
}

#typed-axera {
  color: #fff;
}

.typing-cursor {
  display: inline-block;
  margin-left: 5px;
  color: var(--accent);
  animation: blink .8s steps(2,start) infinite;
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

.landing p {
  margin: 0 auto;
  color: #c0bbc9;
  font-size: 15px;
  line-height: 1.9;
}

.sign-in {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-width: 190px;
  height: 52px;
  margin-top: 35px;
  padding: 0 28px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 13px;
  color: white;
  font-weight: 700;
  font-size: 14px;
  background: linear-gradient(
    110deg,
    #d83d60,
    var(--accent)
  );
  box-shadow:
    0 0 34px rgba(233,76,110,.22),
    inset 0 1px #ffffff33;
  transition: .18s;
}

.sign-in:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(233,76,110,.35);
}

/* DECORATIVE ORNAMENTS */

.ornament {
  position: absolute;
  width: 350px;
  height: 350px;
  opacity: .12;
  pointer-events: none;
  border: 1px solid var(--accent);
  border-radius: 48% 52% 62% 38%;
  transform: rotate(35deg);
}

.ornament:before,
.ornament:after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid var(--accent);
  border-radius: inherit;
}

.ornament:after {
  inset: 48px;
}

.ornament-left {
  left: -235px;
  top: 90px;
}

.ornament-right {
  right: -230px;
  top: 110px;
  transform: rotate(-35deg);
}

.bottom-glow {
  position: absolute;
  width: 80%;
  height: 1px;
  bottom: 0;
  left: 10%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(233,76,110,.5),
    transparent
  );
  box-shadow: 0 0 35px 8px rgba(233,76,110,.08);
}

/* SIGNED-IN DASHBOARD */

.dashboard {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  padding: 45px 42px 70px;
  margin: auto;
}

.dashboard-label {
  justify-content: flex-start;
  margin-bottom: 17px;
}

.dashboard h1 {
  margin: 0;
  font-size: clamp(36px,4vw,50px);
  line-height: 1.16;
  letter-spacing: -2px;
}

.dashboard h1 em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 35px rgba(233,76,110,.2);
}

.subtitle {
  margin: 13px 0 32px;
  color: var(--muted);
  font-size: 14px;
}

.welcome-card {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 21px 23px;
  margin-bottom: 23px;
  border: 1px solid rgba(233,76,110,.18);
  border-radius: 15px;
  background: linear-gradient(
    110deg,
    rgba(233,76,110,.10),
    #ffffff05
  );
}

.welcome-icon,
.quick-icon,
.simple-icon {
  display: grid;
  place-items: center;
  flex: none;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(233,76,110,.18);
}

.welcome-icon {
  width: 43px;
  height: 43px;
  border-radius: 12px;
}

.welcome-card strong {
  font-size: 14px;
}

.welcome-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 15px;
}

.quick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 91px;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff06;
  transition: .18s;
}

.quick-card:hover {
  transform: translateY(-2px);
  border-color: rgba(233,76,110,.45);
  background: rgba(233,76,110,.06);
}

.quick-icon {
  width: 43px;
  height: 43px;
  border-radius: 12px;
}

.quick-card>span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.quick-card strong {
  font-size: 13px;
}

.quick-card small {
  color: var(--muted);
  font-size: 11px;
}

.arrow {
  margin-left: auto;
  color: #898294;
  font-size: 12px;
}

/* COMING SOON / SIMPLE PAGES */

.simple-page,
.error-page main {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 76px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
}

.simple-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 18px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 22px;
}

.simple-page h1,
.error-page h1 {
  margin: 13px 0;
  font-size: 42px;
  letter-spacing: -1.5px;
}

.simple-page p,
.error-page p {
  max-width: 460px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.back-link {
  margin-top: 22px;
  color: var(--accent);
  font-size: 13px;
}

.error-page {
  min-height: 100vh;
}

.error-page main {
  min-height: 100vh;
}

/* RESPONSIVE */

@media(max-width:800px) {
  :root {
    --sidebar: 205px;
  }

  .dashboard {
    padding: 30px 22px 50px;
  }

  .topbar {
    padding: 0 22px;
  }
}

@media(max-width:600px) {
  :root {
    --sidebar: 66px;
  }

  .sidebar {
    padding: 20px 9px;
  }

  .brand {
    justify-content: center;
    padding: 0;
    margin-bottom: 52px;
  }

  .brand-name,
  .nav-heading,
  .nav-link span,
  .sidebar-user .user-copy,
  .sidebar-user form {
    display: none;
  }

  .nav-link {
    justify-content: center;
    padding: 0;
  }

  .sidebar-user {
    justify-content: center;
    padding: 7px 0;
  }

  .dashboard {
    padding: 24px 16px 40px;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .landing {
    padding-left: 18px;
    padding-right: 18px;
  }

  .landing h1 {
    font-size: clamp(48px,11vw,76px);
    letter-spacing: -3px;
    white-space: normal;
  }

  .landing p {
    font-size: 13px;
  }

  .landing-content {
    margin-top: -20px;
  }
}

@media(prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
