
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --dark: #10313b;
  --dark-deep: #0b2730;
  --teal: #118c89;
  --mint: #a4f5d7;
  --text: #203b43;
  --muted: #83969b;
  --border: #dfebea;
  --bg: #eef3f3;
  --ease: cubic-bezier(.76, 0, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
}

button, input { font: inherit; }
button { cursor: pointer; }

button:disabled {
  opacity: .65;
  cursor: wait;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #71d0bd;
  outline-offset: 3px;
}

a { text-decoration: none; }

.auth-body {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 25px;
  background:
    radial-gradient(ellipse at 5% 10%, #c4e7df, transparent 38%),
    radial-gradient(ellipse at 95% 90%, #d9d7f1, transparent 40%),
    #edf3f3;
}

/* MAIN AUTH CARD */

.auth-container {
  width: min(1080px, 100%);
  height: 680px;
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: white;
  box-shadow:
    0 30px 90px rgba(35, 66, 73, .16),
    0 0 0 1px rgba(255,255,255,.9);
}

/* MOVING ART PANEL */

.art-panel {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
  color: white;
  border-radius: 0 110px 110px 0;
  background:
    radial-gradient(circle at 6% 90%, #23898d, transparent 48%),
    radial-gradient(circle at 95% 15%, #1b8790, transparent 35%),
    linear-gradient(145deg, #102e3b, #125662 66%, #137b81);
  transition:
    left .85s var(--ease),
    border-radius .85s var(--ease);
}

.auth-container.signup .art-panel {
  left: 50%;
  border-radius: 110px 0 0 110px;
}

.art-panel::before,
.art-panel::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(199,255,239,.13);
  border-radius: 50%;
  pointer-events: none;
}

.art-panel::before {
  width: 520px;
  height: 520px;
  top: 10%;
  left: -280px;
}

.art-panel::after {
  width: 350px;
  height: 350px;
  right: -190px;
  top: -130px;
}

.art-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 39px clamp(25px, 4vw, 47px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: 'Outfit', sans-serif;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.brand-light { color: white; }

.brand-symbol {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  background: #b6f5df;
  color: #0b5961;
  font-size: 26px;
}

.brand-period { color: #a4f3d8; }

/* ABSTRACT ARTWORK */

.art-showcase {
  position: relative;
  height: 230px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.orbit {
  position: absolute;
  width: 325px;
  max-width: 92%;
  height: 117px;
  border: 1px solid rgba(198,255,236,.52);
  border-radius: 50%;
  transform: rotate(-28deg);
}

.orbit-second {
  transform: rotate(32deg);
  opacity: .28;
}

.hero-object {
  width: 174px;
  height: 174px;
  display: grid;
  place-items: center;
  border-radius: 47px;
  background:
    linear-gradient(145deg, #ecfff8, #92ddd0 43%, #288e9c);
  color: #135f69;
  font-size: 96px;
  box-shadow:
    inset -18px -20px 30px rgba(9,70,85,.32),
    20px 25px 45px rgba(0,24,36,.38);
  animation: floatObject 5s ease-in-out infinite;
}

.floating-tag {
  position: absolute;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 13px;
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(14px);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0,20,30,.12);
}

.tag-top { top: 9px; right: 0; }
.tag-bottom { bottom: 5px; left: 0; }

.spark {
  position: absolute;
  background: #c2ffe9;
  border-radius: 50%;
  box-shadow: 0 0 22px #bbffe6;
}

.spark-one {
  width: 12px;
  height: 12px;
  left: 15%;
  top: 13%;
}

.spark-two {
  width: 7px;
  height: 7px;
  right: 14%;
  bottom: 11%;
}

.overline, .eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.overline {
  color: #a5f4d8;
  margin-bottom: 14px;
}

.art-description h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 3.8vw, 46px);
  letter-spacing: -1.7px;
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 14px;
}

.art-description h2 span { color: #aaf9dd; }

.art-description p {
  max-width: 360px;
  color: #c4e0e1;
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 13px 25px;
  color: white;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.65);
  background: rgba(255,255,255,.09);
  font-size: 12px;
  font-weight: 800;
  transition: background .25s, transform .25s;
}

.outline-button:hover {
  background: rgba(255,255,255,.23);
  transform: translateY(-2px);
}

.art-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #b8d9d8;
  font-size: 10px;
}

/* AUTH FORM SIDE */

.form-panel {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 25px;
  background: white;
  transition: left .85s var(--ease);
}

.auth-container.signup .form-panel { left: 0; }

.form-view {
  grid-area: 1 / 1;
  width: 100%;
  max-width: 345px;
  max-height: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity .28s ease,
    visibility .28s ease,
    transform .28s ease;
}

.auth-container:not(.signup) .login-view,
.auth-container.signup .register-view {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.eyebrow { color: #188f89; }

.form-view h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(30px, 3.3vw, 43px);
  line-height: 1.12;
  letter-spacing: -1.6px;
  margin: 13px 0 10px;
  font-weight: 800;
}

.form-view h1 span { color: #18a99d; }

.form-description {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 27px;
}

.field { margin-bottom: 17px; }

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #3b545a;
}

.input-box {
  min-height: 53px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: 13px;
  background: #f7faf9;
  transition: .25s;
}

.input-box:focus-within {
  border-color: #36b9a9;
  background: white;
  box-shadow: 0 0 0 4px rgba(55,185,169,.12);
}

.input-symbol {
  color: #8aa4a6;
  font-size: 20px;
  flex-shrink: 0;
}

.input-box input {
  width: 100%;
  min-width: 0;
  height: 51px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
}

.input-box input::placeholder { color: #a0b3b5; }

.password-toggle {
  flex-shrink: 0;
  padding: 6px 0 6px 5px;
  border: 0;
  background: transparent;
  color: #188c86;
  font-size: 11px;
  font-weight: 800;
}

.form-options {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #879ba0;
  margin: 5px 0 24px;
  font-size: 11px;
}

.submit-button {
  width: 100%;
  min-height: 54px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  border: 0;
  border-radius: 13px;
  color: white;
  background: linear-gradient(110deg,#105d67,#13988c);
  box-shadow: 0 11px 26px rgba(20,122,119,.2);
  font-size: 13px;
  font-weight: 800;
  transition: transform .25s, box-shadow .25s;
}

.submit-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 15px 32px rgba(20,122,119,.28);
}

.button-arrow { font-size: 21px; }

.form-message {
  min-height: 19px;
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.6;
}

.form-message.error { color: #c33d50; }
.form-message.success { color: #188b61; }

.form-footer {
  margin: 21px 0 0;
  text-align: center;
  color: #81979b;
  font-size: 12px;
}

.text-button {
  padding: 4px;
  border: none;
  background: transparent;
  color: #148980;
  font-weight: 800;
  font-size: 12px;
}

.text-button:hover { text-decoration: underline; }

/* DASHBOARD */

.dashboard-body {
  min-height: 100vh;
  background: #f3f7f6;
}

.dashboard-layout {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 245px minmax(0,1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  color: white;
  background: #102f3a;
}

.sidebar .brand { margin-left: 9px; }

.sidebar-group { margin-top: 66px; }

.sidebar-label {
  margin: 0 0 16px 14px;
  color: #81a7aa;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sidebar-link {
  padding: 15px;
  border-radius: 12px;
  color: #aac5c8;
  font-size: 13px;
  font-weight: 700;
  transition: background .2s;
}

.sidebar-link:hover { background: #234852; }

.sidebar-link.active {
  color: white;
  background: #27545f;
}

.sidebar-bottom { margin-top: auto; }

.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px 4px;
  min-width: 0;
}

.mini-avatar,
.header-avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  flex-shrink: 0;
  font-weight: 800;
  color: #105c60;
  background: #b6f2da;
}

.mini-avatar { width: 39px; height: 39px; }
.header-avatar { width: 47px; height: 47px; }

.sidebar-profile strong {
  display: block;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.sidebar-profile small {
  display: block;
  margin-top: 4px;
  color: #88afb0;
  font-size: 10px;
}

.logout-button {
  width: 100%;
  padding: 15px;
  border: 1px solid #416874;
  border-radius: 12px;
  background: #214a55;
  color: white;
  text-align: left;
  font-size: 12px;
  font-weight: 800;
}

.logout-button:hover { background: #32636d; }

.dashboard-main {
  width: 100%;
  max-width: 1450px;
  min-width: 0;
  margin: 0 auto;
  padding: clamp(22px,4vw,48px);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.dashboard-eyebrow {
  color: #829b9f;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1px;
}

.dashboard-date {
  margin-top: 6px;
  color: #9baeb0;
  font-size: 12px;
}

.page-heading { margin: 44px 0 28px; }

.page-heading h1 {
  font-family: 'Outfit',sans-serif;
  margin: 11px 0 8px;
  font-size: clamp(28px,4vw,42px);
  letter-spacing: -1.4px;
  line-height: 1.15;
}

.page-heading h1 span { color: #159386; }

.page-heading p {
  font-size: 13px;
  color: #83989b;
}

.welcome-banner {
  position: relative;
  overflow: hidden;
  min-height: 275px;
  border-radius: 25px;
  padding: clamp(24px,4vw,43px);
  background:
    radial-gradient(circle at 90% 35%,#219e97,transparent 40%),
    linear-gradient(120deg,#103944,#126d72);
  color: white;
  display: flex;
  align-items: center;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.banner-eyebrow {
  font-size: 10px;
  font-weight: 800;
  color: #a9f6dc;
  letter-spacing: 1.8px;
}

.banner-content h2 {
  font-family: 'Outfit',sans-serif;
  font-size: clamp(30px,4vw,48px);
  letter-spacing: -1.6px;
  line-height: 1.1;
  margin: 17px 0 12px;
}

.banner-content h2 span { color: #a6f4d8; }

.banner-content p {
  max-width: 470px;
  font-size: 13px;
  line-height: 1.8;
  color: #c9e9e4;
}

.banner-button {
  display: inline-flex;
  gap: 17px;
  align-items: center;
  margin-top: 22px;
  padding: 12px 20px;
  border-radius: 30px;
  background: #b7f3db;
  color: #154e57;
  font-weight: 800;
  font-size: 12px;
}

.banner-button:hover { background: white; }

.banner-art {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
}

.banner-ring {
  position: absolute;
  width: 240px;
  height: 95px;
  border: 1px solid #b1f9e083;
  border-radius: 50%;
  left: -35px;
  top: 70px;
  transform: rotate(-30deg);
}

.banner-shape {
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
  background: linear-gradient(145deg,#e2fff2,#78cfc7,#288d98);
  color: #115664;
  border-radius: 45px;
  font-size: 100px;
  box-shadow: 18px 24px 40px #00313b66;
  transform: rotate(-18deg);
}

.banner-small-star {
  position: absolute;
  right: -30px;
  top: -15px;
  color: #b9ffe4;
  font-size: 45px;
}

.section-heading,
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
}

.section-heading { margin: 37px 0 18px; }

.section-heading h2,
.panel-heading h2 {
  font-family: 'Outfit',sans-serif;
  font-size: 23px;
  letter-spacing: -.6px;
  margin: 9px 0 0;
}

.section-tag {
  padding: 9px 13px;
  border-radius: 30px;
  background: #def3ea;
  color: #39877a;
  font-size: 11px;
  font-weight: 800;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 17px;
}

.stat-card {
  padding: 25px;
  background: white;
  border: 1px solid #e5eeed;
  border-radius: 19px;
  transition: transform .25s,box-shadow .25s;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px #174e5310;
}

.stat-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #e0f4ef;
  color: #168b81;
  font-size: 27px;
}

.stat-icon.mint { background: #e4f5e0; color: #599b61; }
.stat-icon.warm { background: #f8f0de; color: #c19b4f; }

.stat-caption {
  display: block;
  margin-top: 23px;
  color: #93a7aa;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.1px;
}

.stat-card h3 {
  font-size: 19px;
  margin: 8px 0;
}

.stat-card p {
  margin: 0;
  color: #91a4a7;
  font-size: 12px;
}

.dashboard-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0,1.55fr) minmax(0,1fr);
  gap: 18px;
  margin-top: 21px;
}

.explore-panel,
.account-panel {
  background: white;
  border: 1px solid #e5eeed;
  border-radius: 21px;
  padding: 27px;
  min-width: 0;
}

.panel-spark {
  font-size: 27px;
  color: #18a294;
}

.panel-description {
  margin-top: 10px;
  color: #91a4a7;
  font-size: 12px;
  line-height: 1.7;
}

.feature-list { margin-top: 19px; }

.feature-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-top: 1px solid #edf2f1;
}

.feature-symbol {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: #eff8f5;
  color: #178e85;
  font-size: 22px;
  flex-shrink: 0;
}

.feature-item > div { flex: 1; min-width: 0; }

.feature-item strong {
  display: block;
  font-size: 12px;
}

.feature-item small {
  display: block;
  color: #9aabad;
  font-size: 11px;
  margin-top: 5px;
}

.coming-soon {
  color: #5c978c;
  background: #eaf7f0;
  border-radius: 20px;
  padding: 6px 9px;
  font-size: 10px;
  font-weight: 800;
}

.account-panel { text-align: center; }

.profile-art {
  display: grid;
  place-items: center;
  height: 135px;
  margin-top: 10px;
  background: radial-gradient(ellipse,#e8faf1,transparent 70%);
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 91px;
  height: 91px;
  border-radius: 27px;
  transform: rotate(-8deg);
  background: linear-gradient(145deg,#caffed,#61c9b8);
  color: #176f71;
  font-size: 49px;
  font-weight: 900;
  box-shadow: 12px 15px 26px #23756e25;
}

.account-panel h2 {
  margin: 6px 0;
  font-size: 20px;
  overflow-wrap: anywhere;
}

.account-panel > p {
  margin: 0;
  color: #91a5a8;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.account-divider {
  height: 1px;
  background: #edf1f0;
  margin: 24px 0 15px;
}

.account-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  font-size: 11px;
}

.account-meta span { color: #98a8a9; }
.account-meta strong { text-align: right; }

.dashboard-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 35px 0 8px;
  color: #a1b0b1;
  font-size: 11px;
}

/* ANIMATIONS */

@keyframes floatObject {
  0%,100% { transform: rotate(-17deg) translateY(0); }
  50% { transform: rotate(-11deg) translateY(-13px); }
}

/* TABLET */

@media (max-width: 950px) {
  .auth-container { height: 650px; }
  .art-inner { padding: 27px; }
  .form-panel { padding: 20px; }
  .art-description h2 { font-size: 33px; }
  .art-showcase { height: 190px; }
  .hero-object { width: 135px; height: 135px; font-size: 75px; }
  .floating-tag { font-size: 9px; }
  .dashboard-layout { grid-template-columns: 210px minmax(0,1fr); }
  .banner-art { right: 3%; opacity: .55; }
}

/* MOBILE — VERTICAL SLIDING */

@media (max-width: 650px) {
  .auth-body {
    display: block;
    padding: 12px;
  }

  .auth-container {
    width: 100%;
    max-width: 460px;
    height: 760px;
    margin: 0 auto;
    border-radius: 25px;
  }

  .art-panel,
  .form-panel {
    left: 0 !important;
    width: 100%;
  }

  .art-panel {
    top: 0;
    height: 245px;
    border-radius: 0 0 60px 60px;
    transition:
      top .85s var(--ease),
      border-radius .85s var(--ease);
  }

  .form-panel {
    top: 245px;
    height: 515px;
    transition: top .85s var(--ease);
    padding: 17px 22px;
  }

  .auth-container.signup .art-panel {
    top: 515px;
    border-radius: 60px 60px 0 0;
  }

  .auth-container.signup .form-panel { top: 0; }

  .art-inner { padding: 19px 23px; }

  .brand { font-size: 21px; }
  .brand-symbol { width: 31px; height: 31px; font-size: 21px; }

  .art-showcase {
    position: absolute;
    width: 112px;
    height: 105px;
    right: 22px;
    top: 75px;
  }

  .hero-object {
    width: 76px;
    height: 76px;
    border-radius: 21px;
    font-size: 43px;
  }

  .orbit { width: 115px; height: 47px; }
  .floating-tag, .art-footer { display: none; }

  .art-description {
    max-width: 67%;
    margin-top: 23px;
  }

  .overline { font-size: 8px; margin-bottom: 7px; }
  .art-description h2 { font-size: 23px; margin-bottom: 7px; }
  .art-description p { font-size: 10px; line-height: 1.5; }

  .outline-button {
    margin-top: 10px;
    padding: 9px 15px;
    font-size: 10px;
  }

  .form-view h1 { font-size: 31px; margin: 8px 0; }
  .form-description { margin-bottom: 16px; font-size: 11px; }
  .field { margin-bottom: 12px; }
  .field label { margin-bottom: 6px; }
  .input-box { min-height: 45px; }
  .input-box input { height: 43px; font-size: 12px; }
  .form-options { margin-bottom: 16px; }
  .submit-button { min-height: 47px; }
  .form-footer { margin-top: 13px; }

  .dashboard-layout { display: block; }

  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    gap: 12px;
  }

  .sidebar .brand { margin: 0; }
  .sidebar-group, .sidebar-profile { display: none; }
  .sidebar-bottom { margin: 0; }
  .logout-button { padding: 11px 14px; }

  .dashboard-main { padding: 22px 17px; }
  .page-heading { margin: 26px 0 20px; }
  .welcome-banner { min-height: 250px; padding: 24px; }
  .banner-art { right: -65px; opacity: .25; }
  .section-heading { align-items: start; }
  .section-tag { display: none; }

  .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
  .stat-card { padding: 17px; }
  .stat-card h3 { font-size: 16px; }

  .dashboard-bottom-grid { grid-template-columns: 1fr; }
  .explore-panel,.account-panel { padding: 20px; }
}

@media (max-width: 380px) {
  .auth-body { padding: 7px; }
  .art-inner { padding: 15px; }
  .art-description h2 { font-size: 20px; }
  .art-description p { font-size: 9px; }
  .form-panel { padding: 12px 16px; }
  .form-view h1 { font-size: 28px; }
  .stats-grid { grid-template-columns: 1fr; }
}

@media (max-height: 740px) and (min-width: 651px) {
  .auth-body { align-items: start; }
  .auth-container { margin: 12px auto; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
