* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  min-height: 100vh;
}

body {
  font-family: "Space Grotesk", sans-serif;
  font-optical-sizing: auto;
  color: var(--ink);
  position: relative;

  /* ── Global background: warm-grey base + whisper of brand yellow bottom-right ── */
  background:
    radial-gradient(ellipse 65% 55% at 100% 100%, rgb(var(--brand-rgb) / 0.16) 0%, transparent 70%),
    linear-gradient(160deg, var(--neutral-50) 0%, var(--warm-50) 50%, var(--warm-50) 100%);
  background-attachment: fixed;
}



code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
    monospace;
}

/* Prevent horizontal scroll on all pages */
#root {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Home page specific styles */
.home-page-container {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
  /* Dynamic viewport height for mobile */
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  .home-page-container {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  /* Prevent zoom on input focus */
  input[type="text"],
  input[type="email"],
  input[type="tel"] {
    font-size: 16px !important;
  }

  /* Ensure all containers don't exceed viewport */
  * {
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
}
.App {
  text-align: center;
}

.App-logo {
  height: 40vmin;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

.App-header {
  background-color: var(--slate-800);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: var(--paper);
}

.App-link {
  color: var(--react-blue);
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

#root {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.main-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .main-content {
    align-items: center;
    /* Center items on smaller screens */
  }
}

@media (max-width: 768px) {
  .main-content {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .main-content {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }
}

header.app-header {
  position: static;
  height: 0;
  width: 0;
}

.content-wrapper {
  margin-top: 60px;
  /* Matches the height of the header */
  flex: 1 1;
  width: 100%;
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  min-height: calc(100vh - 60px);
}

.content-wrapper.with-plan-expiry-banner {
  margin-top: 124px;
  /* Header (60px) + Plan banner (~64px) */
}

/* Special styling for home page to allow full centering */
.content-wrapper.home-page-wrapper {
  margin-top: 0;
  max-width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Prevent scrolling on mobile */
@media (max-width: 768px) {
  .content-wrapper.home-page-wrapper {
    height: 100vh;
    height: 100dvh;
    /* Dynamic viewport height for mobile */
    overflow: hidden;
  }

  /* Ensure inputs are not hidden by keyboard */
  .content-wrapper.home-page-wrapper .MuiTextField-root {
    margin-bottom: 1rem;
  }

  /* Adjust form container for mobile */
  .content-wrapper.home-page-wrapper .MuiBox-root {
    padding: 1rem;
  }
}

/* When plan expiry banner is visible, add extra margin */
.content-wrapper.with-plan-expiry-banner {
  margin-top: 124px;
  /* Header (60px) + Plan Expiry Banner (64px) */
  margin-left: auto;
  margin-right: auto;
}

/* Legacy support for old class name */
.content-wrapper.with-trial-banner {
  margin-top: 124px;
  /* Header (60px) + Trial Banner (64px) */
  margin-left: auto;
  margin-right: auto;
}

/* Dashboard page — always white surface, fixed width */
.dashboard-wrapper {
  background-color: var(--paper);
  min-height: calc(100vh - 60px);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Signed-in layout: content sits right of the fixed left sidebar */
.content-wrapper.has-side-nav {
  margin: 0 0 0 248px;
  margin: 0 0 0 var(--side-nav-w, 248px);
  width: calc(100% - 248px);
  width: calc(100% - var(--side-nav-w, 248px));
  max-width: none;
  min-height: 100vh;
  padding: 28px 36px;
}

@media (max-width: 899px) {
  .content-wrapper.has-side-nav {
    margin: 56px 0 0;
    width: 100%;
    min-height: calc(100vh - 56px);
    padding: 16px;
  }
}

.app-loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper);
    z-index: 9999;
    overflow: hidden;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Simple animated logo */
.loading-logo {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.logo-ring {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 4px solid var(--brand);
    border-radius: 50%;
    border-top-color: transparent;
    border-right-color: transparent;
    animation: spin 1.5s linear infinite;
}

.logo-ring-inner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 4px solid var(--brand);
    border-radius: 50%;
    border-bottom-color: transparent;
    border-left-color: transparent;
    animation: spin 1s linear infinite reverse;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Brand logo with shimmer effect */
.brand-logo-container {
    position: relative;
    width: auto;
    max-width: 300px;
    display: inline-block;
    animation: fadeInScale 0.8s ease-out;
}

.brand-logo {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgb(var(--accent-600-rgb) / 0.3));
    animation: flash 3s ease-in-out infinite;
}

/* Shimmer overlay effect */
.shimmer-overlay {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgb(var(--paper-rgb) / 0.3) 50%,
            transparent 100%);
    animation: shimmer 2s infinite;
    pointer-events: none;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes flash {

    0%,
    100% {
        filter: drop-shadow(0 2px 8px rgb(var(--accent-600-rgb) / 0.3)) brightness(1);
    }

    50% {
        filter: drop-shadow(0 4px 16px rgb(var(--accent-600-rgb) / 0.6)) brightness(1.15);
    }
}


/* Loading text */
.loading-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    color: var(--neutral-500);
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.5px;
    min-width: 100px;
    text-align: center;
}

/* Simple spinner dots */
.spinner-dots {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: var(--brand);
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite;
}

.dot:nth-child(1) {
    animation-delay: 0s;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .loading-content {
        padding: 20px;
        gap: 25px;
    }

    .loading-logo {
        width: 80px;
        height: 80px;
    }

    .logo-ring {
        width: 80px;
        height: 80px;
        border-width: 3px;
    }

    .logo-ring-inner {
        width: 48px;
        height: 48px;
        border-width: 3px;
    }

    .brand-logo-container {
        max-width: 220px;
    }

    .loading-text {
        font-size: 14px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .spinner-dots {
        gap: 10px;
    }
}
/* Left sidebar shell */
.side-nav {
  position: fixed;
  inset: 0 auto 0 0;
  width: 248px;
  width: var(--side-nav-w, 248px);
  background: var(--ink);
  color: var(--paper);
  z-index: 1200;
  display: flex;
}

.side-nav.is-collapsed .side-nav-brand,
.side-nav.is-collapsed .side-nav-caption,
.side-nav.is-collapsed .side-nav-label,
.side-nav.is-collapsed .side-nav-user-text {
  display: none;
}

.side-nav.is-collapsed .side-nav-panel {
  padding: 68px 10px 16px;
}

.side-nav.is-collapsed .side-nav-item {
  justify-content: center;
  padding: 11px 0;
}

.side-nav.is-collapsed .side-nav-user {
  justify-content: center;
  padding: 8px 0;
}

.side-nav-clip {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.side-nav-toggle.MuiIconButton-root {
  position: absolute;
  top: 24px;
  right: -14px;
  width: 28px;
  height: 28px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid rgb(var(--paper-rgb) / 0.3);
  z-index: 1;
}

.side-nav-toggle.MuiIconButton-root:hover {
  background: var(--neutral-800);
}

.side-nav-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 20px 14px 16px;
}

.side-nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 20px;
  cursor: pointer;
}

.side-nav-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.side-nav-beta {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.side-nav-caption {
  padding: 0 10px 8px;
  font-size: 0.68rem !important;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--neutral-400) !important;
}

.side-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1;
}

.side-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--neutral-200);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.side-nav-item:hover {
  background: rgb(var(--paper-rgb) / 0.08);
  color: var(--paper);
}

.side-nav-item.is-active {
  background: rgb(var(--brand-rgb) / 0.16);
  border-left-color: var(--brand);
  color: var(--brand);
  font-weight: 700;
}

.side-nav-icon {
  display: inline-flex;
}

.side-nav-icon svg {
  font-size: 1.3rem;
}

.side-nav-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid rgb(var(--paper-rgb) / 0.14);
}

.side-nav-user {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px;
  border: 0;
  border-radius: 10px;
  background: rgb(var(--paper-rgb) / 0.06);
  color: var(--paper);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.side-nav-user:hover {
  background: rgb(var(--paper-rgb) / 0.12);
}

.side-nav-avatar.MuiAvatar-root {
  width: 34px;
  height: 34px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 700;
  font-size: 0.95rem;
}

.side-nav-user-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.side-nav-user-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 600;
}

.side-nav-user-sub {
  font-size: 0.72rem;
  color: var(--neutral-300);
}

/* Mobile: slim top bar + slide-in drawer */
.side-nav-topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  background: var(--ink);
  z-index: 1200;
}

.side-nav-topbar .side-nav-logo {
  height: 28px;
  cursor: pointer;
}

.side-nav-burger.MuiSvgIcon-root {
  color: var(--brand);
  font-size: 2rem;
}

.side-nav-drawer-paper.MuiPaper-root {
  width: 280px;
  background: var(--ink);
  color: var(--paper);
}

.side-nav-close.MuiIconButton-root {
  align-self: flex-end;
  margin: 8px 8px 0 0;
  color: var(--paper);
}


/*# sourceMappingURL=main.88f4ebb2.css.map*/