:root {
  --app-bg: #050814;
  --app-bg-soft: #090d1a;
  --app-panel: rgba(12, 17, 33, 0.78);
  --app-panel-strong: rgba(14, 19, 37, 0.94);
  --app-border: rgba(134, 101, 255, 0.2);
  --app-border-soft: rgba(255, 255, 255, 0.08);
  --app-text: #ffffff;
  --app-muted: #a4a8b8;
  --app-faint: #6c7183;
  --app-accent: #7c3cff;
  --app-blue: #1463ff;
  --app-pink: #d62983;
  --app-card-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

:root[data-theme="light"] {
  --app-bg: #f8f9fd;
  --app-bg-soft: #ffffff;
  --app-panel: rgba(255, 255, 255, 0.86);
  --app-panel-strong: rgba(255, 255, 255, 0.98);
  --app-border: rgba(20, 99, 255, 0.16);
  --app-border-soft: rgba(8, 17, 41, 0.1);
  --app-text: #081129;
  --app-muted: #596174;
  --app-faint: #7f8798;
  --app-card-shadow: 0 24px 70px rgba(32, 43, 76, 0.12);
}

html,
body {
  background: var(--app-bg);
  color: var(--app-text);
}

.luflo-gradient-text {
  background: linear-gradient(90deg, #0879ff 0%, #244fff 42%, #a424f2 78%, #d629c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.luflo-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--app-border);
  border-radius: 999px;
  background: var(--app-panel);
  color: var(--app-text);
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.14);
}

.auth-page .luflo-theme-toggle {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 20;
}

.luflo-theme-toggle span:first-child {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--app-blue), #9b24ee);
  color: #fff;
}

.auth-page {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 5% 110%, rgba(124, 60, 255, 0.1), transparent 28%),
    radial-gradient(circle at 45% 120%, rgba(20, 99, 255, 0.08), transparent 24%),
    var(--app-bg-soft);
  color: var(--app-text);
  font-family: "Outfit", sans-serif;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
  width: min(1320px, 92vw);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 72px) 0;
  position: relative;
}

.auth-brand {
  position: relative;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-logo {
  width: min(520px, 80vw);
  margin-left: -18px;
  filter: drop-shadow(0 18px 32px rgba(20, 99, 255, 0.13));
}

.auth-title {
  max-width: 560px;
  margin-top: 36px;
  font-size: clamp(42px, 4.2vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 900;
  color: var(--app-text);
}

.auth-copy {
  max-width: 440px;
  margin-top: 24px;
  color: var(--app-muted);
  font-size: 21px;
  line-height: 1.45;
}

.auth-feature-row {
  display: flex;
  gap: 44px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.auth-feature {
  display: grid;
  gap: 10px;
  justify-items: center;
  color: var(--app-text);
  font-weight: 700;
  font-size: 14px;
}

.auth-feature-icon,
.mini-stat-icon,
.dashboard-icon {
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(124, 60, 255, 0.08);
  color: var(--app-accent);
  box-shadow: 0 14px 34px rgba(124, 60, 255, 0.12);
}

.auth-feature-icon {
  width: 56px;
  height: 56px;
  font-size: 24px;
}

.auth-stat {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  margin-top: 44px;
  padding: 18px 28px;
  border: 1px solid var(--app-border-soft);
  border-radius: 16px;
  background: var(--app-panel-strong);
  box-shadow: var(--app-card-shadow);
}

.mini-stat-icon {
  width: 48px;
  height: 48px;
  font-size: 23px;
}

.auth-stat strong {
  display: block;
  color: var(--app-text);
  font-size: 27px;
  line-height: 1;
}

.auth-stat span {
  display: block;
  margin-top: 4px;
  color: var(--app-muted);
  font-size: 15px;
}

.auth-card {
  width: min(470px, 100%);
  justify-self: center;
  border: 1px solid var(--app-border-soft);
  border-radius: 18px;
  background: var(--app-panel-strong);
  box-shadow: var(--app-card-shadow);
  padding: clamp(30px, 4vw, 56px);
}

.auth-card h1 {
  margin: 0;
  color: var(--app-text);
  font-size: 36px;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.auth-card > p {
  margin: 12px 0 34px;
  color: var(--app-muted);
  font-size: 19px;
  line-height: 1.55;
}

.auth-label {
  display: block;
  margin-bottom: 10px;
  color: var(--app-text);
  font-size: 14px;
  font-weight: 800;
}

.auth-input-wrap {
  position: relative;
  margin-bottom: 22px;
}

.auth-input-wrap svg,
.auth-input-wrap .auth-input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--app-faint);
}

.auth-input {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--app-border-soft);
  border-radius: 10px;
  background: transparent;
  color: var(--app-text);
  padding: 0 18px 0 58px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.auth-input:focus {
  border-color: rgba(36, 79, 255, 0.58);
  box-shadow: 0 0 0 4px rgba(36, 79, 255, 0.08);
}

.auth-input::placeholder {
  color: var(--app-faint);
}

.auth-forgot {
  display: block;
  margin: -10px 0 28px;
  text-align: right;
  color: #1c40a8;
  font-size: 14px;
  font-weight: 700;
}

[data-theme="dark"] .auth-forgot {
  color: #9d8cff;
}

.auth-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, #065cff, #6b28ef 55%, #bd25d6);
  color: white;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(92, 51, 232, 0.24);
}

.auth-separator {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  margin: 34px 0 24px;
  color: var(--app-faint);
  font-size: 14px;
}

.auth-separator::before,
.auth-separator::after {
  content: "";
  height: 1px;
  background: var(--app-border-soft);
}

.auth-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 52px;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: #ffffff;
  color: #1f1f1f;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.auth-google:hover {
  background: #f8fafd;
  border-color: #cfd4dc;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.18);
}

.auth-google:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.auth-google-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.auth-bottom {
  margin-top: 32px;
  text-align: center;
  color: var(--app-faint);
  font-size: 15px;
}

.auth-bottom a {
  color: #5b28e8;
  font-weight: 900;
}

.dashboard-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 75% -10%, rgba(124, 60, 255, 0.14), transparent 26%),
    radial-gradient(circle at 35% 0%, rgba(20, 99, 255, 0.1), transparent 20%),
    var(--app-bg);
  color: var(--app-text);
}

[data-theme="light"] .dashboard-shell {
  --app-panel: rgba(255, 255, 255, 0.82);
  --app-panel-strong: rgba(255, 255, 255, 0.96);
  --app-border-soft: rgba(13, 25, 58, 0.1);
  background:
    radial-gradient(circle at 72% -8%, rgba(124, 60, 255, 0.11), transparent 26%),
    radial-gradient(circle at 18% 4%, rgba(20, 99, 255, 0.08), transparent 24%),
    #f6f8ff;
}

.dashboard-sidebar {
  width: 288px;
  background: rgba(3, 6, 16, 0.72);
  border-right: 1px solid var(--app-border-soft);
  backdrop-filter: blur(18px);
}

.dashboard-sidebar.is-collapsed {
  width: 82px;
  overflow-x: hidden;
}

[data-theme="light"] .dashboard-sidebar {
  background: rgba(255, 255, 255, 0.86);
}

.dashboard-sidebar > div:first-child {
  padding: 18px 20px;
}

.dashboard-logo-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.dashboard-logo-mark {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  background-image: url("../img/luflo-mark-face.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  filter: drop-shadow(0 8px 18px rgba(70, 105, 255, 0.24));
}

.dashboard-logo-text {
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.dashboard-logo-text strong {
  background: linear-gradient(90deg, #42b7ff, #8f45ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dashboard-sidebar.is-collapsed .dashboard-logo-text,
.dashboard-sidebar.is-collapsed .sidebar-text {
  display: none;
}

.dashboard-sidebar.is-collapsed > div:first-child {
  justify-content: center;
  padding-inline: 12px;
}

.dashboard-sidebar.is-collapsed .dashboard-logo-brand {
  display: none;
}

.dashboard-sidebar.is-collapsed #desktop-sidebar-collapse svg {
  transform: rotate(180deg);
}

.sidebar-section-title {
  padding: 20px 16px 12px;
  color: var(--app-muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sidebar-section-label {
  margin: 12px 14px 10px;
  padding: 0px 14px;
  color: var(--app-faint);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 44px;
  margin: 5px 12px;
  padding: 0 14px;
  border-radius: 8px;
  color: var(--app-text);
  font-size: 14px;
  font-weight: 500;
  opacity: 0.78;
  transition: background 0.16s ease, color 0.16s ease, opacity 0.16s ease;
}

.dashboard-sidebar.is-collapsed .sidebar-link {
  justify-content: center;
  width: 46px;
  min-height: 46px;
  margin: 7px auto;
  padding: 0;
}

.sidebar-link .sidebar-text:first-of-type {
  min-width: 0;
  flex: 1;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-badge {
  margin-left: auto;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(124, 60, 255, 0.14);
  color: #bba4ff;
  padding: 3px 6px;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.sidebar-link:hover,
.sidebar-link.is-active {
  background: rgba(124, 60, 255, 0.12);
  color: var(--app-text);
  opacity: 1;
}

.sidebar-link.is-disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.sidebar-link.is-disabled:hover {
  background: transparent;
  color: var(--app-text);
  opacity: 0.56;
}

.sidebar-link.is-active {
  font-weight: 800;
}

.sidebar-link svg {
  width: 20px;
  height: 20px;
  color: currentColor;
  opacity: 0.9;
  flex: 0 0 auto;
}

.sidebar-link.is-active svg {
  color: #a978ff;
  opacity: 1;
}

.sidebar-profile-link {
  min-height: 54px;
  margin-bottom: 10px;
}

.sidebar-profile-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6f1fb2, #3a0b63);
  color: #f5dfff;
  font-size: 13px;
  font-weight: 900;
}

.sidebar-profile-link strong {
  font-size: 14px;
  font-weight: 600;
}

.sidebar-profile-link small {
  font-size: 12px;
}

.sidebar-settings-link {
  background: transparent !important;
  font-weight: 500 !important;
}

.sidebar-settings-link svg {
  color: currentColor !important;
}

.dashboard-sidebar.is-collapsed .support-card {
  justify-content: center;
  padding: 10px 0;
}

.dashboard-main {
  background: transparent;
}

.dashboard-topbar {
  min-height: 82px;
  border-bottom: 0;
  background: transparent;
  padding: 24px 34px 18px;
}

.dashboard-plan-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(169, 120, 255, 0.42);
  border-radius: 10px;
  background: rgba(18, 12, 42, 0.78);
  padding: 9px 14px;
  margin-right: 8px;
}

[data-theme="light"] .dashboard-plan-chip {
  background: rgba(255, 255, 255, 0.9);
}

.dashboard-plan-icon {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(192, 82, 255, 0.42), transparent 56%),
    rgba(124, 60, 255, 0.12);
  color: #d472ff;
  font-size: 16px;
  line-height: 1;
}

.dashboard-plan-chip strong {
  font-size: 12px;
}

.dashboard-plan-chip div span {
  font-size: 10px;
}

.dashboard-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3a0b63, #220633);
  color: #f4dfff;
  font-weight: 900;
  font-size: 15px;
  margin-left: 8px;
}

[data-theme="light"] .dashboard-avatar {
  background: linear-gradient(135deg, #eef3ff, #efe1ff);
  color: #5a20d5;
}

.dashboard-content {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: 0 22px 36px;
}

.hub-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.hub-hero h1 {
  margin: 0;
  color: var(--app-text);
  font-size: clamp(30px, 2.8vw, 40px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.hub-hero p {
  margin-top: 9px;
  color: var(--app-muted);
  font-size: 18px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.module-card {
  min-height: 312px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(45, 94, 190, 0.34);
  border-radius: 12px;
  background:
    radial-gradient(circle at 78% 24%, rgba(38, 95, 255, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(7, 20, 49, 0.96), rgba(5, 9, 24, 0.94));
  box-shadow: var(--app-card-shadow);
  padding: 30px 176px 30px 30px;
}

[data-theme="light"] .module-card {
  border-color: rgba(20, 99, 255, 0.16);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 244, 255, 0.92));
}

.module-card:nth-child(2) {
  border-color: rgba(124, 60, 255, 0.28);
  background:
    radial-gradient(circle at 76% 24%, rgba(124, 60, 255, 0.24), transparent 38%),
    linear-gradient(135deg, rgba(28, 15, 55, 0.96), rgba(8, 8, 25, 0.94));
}

[data-theme="light"] .module-card:nth-child(2) {
  border-color: rgba(124, 60, 255, 0.18);
  background:
    radial-gradient(circle at 78% 24%, rgba(124, 60, 255, 0.13), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 240, 255, 0.94));
}

.module-card.pink {
  border-color: rgba(214, 41, 131, 0.42);
  background:
    radial-gradient(circle at 76% 24%, rgba(214, 41, 131, 0.22), transparent 38%),
    linear-gradient(135deg, rgba(47, 8, 27, 0.97), rgba(15, 7, 19, 0.94));
}

[data-theme="light"] .module-card.pink {
  border-color: rgba(214, 41, 131, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 242, 249, 0.92));
}

.dashboard-icon {
  width: 58px;
  height: 58px;
  font-size: 28px;
  margin-bottom: 48px;
  color: #8558ff;
  background: linear-gradient(135deg, rgba(20, 99, 255, 0.35), rgba(86, 47, 210, 0.38));
}

.module-card:nth-child(2) .dashboard-icon {
  color: #d15cff;
  background: linear-gradient(135deg, rgba(88, 41, 170, 0.54), rgba(124, 60, 255, 0.3));
}

.module-card.pink .dashboard-icon {
  color: #ff4fa4;
  background: linear-gradient(135deg, rgba(214, 41, 131, 0.56), rgba(124, 20, 91, 0.34));
}

.module-card .dashboard-icon > svg {
  display: block;
 
  
}

.module-card h2 {
  margin: 0 0 12px;
  font-size: 27px;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.module-card p {
  max-width: 285px;
  color: var(--app-muted);
  font-size: 16px;
  line-height: 1.5;
  min-height: 72px;
}

.module-visual {
  position: absolute;
  right: 30px;
  top: 46px;
  width: 118px;
  height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  transform: rotate(5deg);
  background:
    radial-gradient(circle at 55% 44%, rgba(169, 120, 255, 0.58), transparent 28%),
    linear-gradient(160deg, #07101e, #3d2a86 58%, #bda1ff);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

.module-card:first-child .module-visual {
  top: 52px;
  right: 42px;
  width: 154px;
  height: 216px;
  overflow: hidden;
}

.module-card:first-child .module-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.module-card:first-child .module-visual::after {
  display: none;
}

.module-card:nth-child(2) .module-visual {
  top: 57px;
  right: 24px;
  width: 154px;
  height: 216px;
  overflow: hidden;
  background:
    radial-gradient(circle at 58% 45%, rgba(216, 197, 255, 0.62), transparent 30%),
    linear-gradient(160deg, #f0e8ff, #7851d8 56%, #251245);
}

.module-card:nth-child(2) .module-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.module-card:nth-child(2) .module-visual::after {
  display: none;
}

.module-card.pink .module-visual {
  top: 58px;
  right: 42px;
  width: 154px;
  height: 216px;
  overflow: hidden;
  background: #2d1431;
}

.module-card.pink .module-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.module-card.pink .module-visual::after {
  display: none;
}

.module-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 36px;
  height: 74px;
  transform: translateX(-50%);
  border-radius: 16px 16px 10px 10px;
  background: linear-gradient(180deg, #f2e6ff, #7b4bd8);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.module-button,
.plan-upgrade {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 156px;
  min-height: 50px;
  margin-top: auto;
  border-radius: 8px;
  background: linear-gradient(90deg, #1463ff, #7c3cff 65%, #bd25d6);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.plan-upgrade {
  min-height: 46px;
  width: 100%;
  margin-top: 18px;
  border-radius: 8px;
  font-size: 15px;
  box-shadow: 0 12px 28px rgba(88, 55, 238, 0.22);
}

.plan-upgrade-icon {
  width: 18px;
  height: 18px;
  color: #ffffff;
}

.module-card:nth-child(2) .module-button {
  background: linear-gradient(90deg, #6d35e8, #7c3cff 58%, #a22ee9);
}

.module-card.pink .module-button {
  background: linear-gradient(90deg, #d62983, #c32689 58%, #e12f8e);
}

.hub-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.72fr);
  gap: 24px;
  margin-top: 24px;
}

.hub-bottom-projects-only {
  grid-template-columns: minmax(0, 1fr);
}

.hub-panel {
  border: 1px solid var(--app-border-soft);
  border-radius: 12px;
  background: var(--app-panel);
  box-shadow: var(--app-card-shadow);
  padding: 24px;
}

.hub-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.hub-panel h2 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.025em;
  font-weight: 900;
}

.project-row {
  display: grid;
  grid-template-columns: 88px 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid var(--app-border-soft);
}

.project-thumb {
  width: 82px;
  height: 62px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1d163e, #d9c5ff);
  position: relative;
  overflow: hidden;
}

.project-thumb::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 9px;
  width: 24px;
  height: 44px;
  transform: translateX(-50%);
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, #804dd8);
}

.project-row strong {
  display: block;
  color: var(--app-text);
  font-size: 17px;
}

.project-row span {
  color: var(--app-muted);
  font-size: 14px;
}

.projects-empty-state {
  min-height: 275px;
  border-top: 1px solid var(--app-border-soft);
}

.project-badge {
  border-radius: 8px;
  background: rgba(124, 60, 255, 0.15);
  color: #ba8cff;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 800;
}

.plan-card {
  border: 1px solid var(--app-border-soft);
  border-radius: 10px;
  padding: 22px;
}

.plan-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.plan-card-icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 45% 35%, rgba(106, 125, 255, 0.45), transparent 36%),
    linear-gradient(135deg, rgba(31, 54, 166, 0.72), rgba(22, 24, 74, 0.78));
  color: #74a7ff;
  font-size: 18px;
  line-height: 1;
}

.plan-card-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

.plan-card-title strong {
  display: block;
  color: var(--app-text);
  font-size: 18px;
  line-height: 1.15;
  font-weight: 900;
}

.plan-card-title span {
  display: block;
  margin-top: 4px;
  color: var(--app-muted);
  font-size: 13px;
  line-height: 1.2;
}

.plan-list {
  display: grid;
  gap: 13px;
  margin: 24px 0;
  color: var(--app-text);
  font-size: 15px;
}

.plan-list span {
  color: #61d98b;
  margin-right: 10px;
}

.support-card {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 18px 0 14px;
  border: 1px solid var(--app-border-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  padding: 13px 12px;
  min-height: 74px;
  width: 100%;
}

.support-card strong {
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.support-card small {
  font-size: 11px;
  line-height: 1.25;
  white-space: nowrap;
}

.support-card > span:first-child {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  background: rgba(55, 65, 150, 0.22);
}

.support-card svg {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0;
}

@media (max-width: 1100px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-brand {
    min-height: auto;
  }
}

@media (max-width: 860px) {
  .module-grid,
  .hub-bottom {
    grid-template-columns: 1fr;
  }

  .module-card {
    min-height: 270px;
    padding-right: 28px;
  }
}

@media (max-width: 767px) {
  .dashboard-sidebar {
    width: 280px;
  }

  .auth-shell {
    width: min(94vw, 520px);
    padding: 24px 0;
  }

  .auth-logo {
    width: min(360px, 90vw);
  }

  .auth-title {
    font-size: 38px;
  }

  .auth-card {
    padding: 28px 22px;
  }

  .project-row {
    grid-template-columns: 74px 1fr;
  }

  .project-badge,
  .project-row .dots {
    display: none;
  }
}
