@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #050609;
  --panel: #090a0f;
  --panel-2: #0c0d13;

  --text: #f8f5fb;
  --muted: #9692a3;
  --dim: #666270;

  --cyan: #21e8ff;
  --blue: #4285ff;
  --purple: #966cff;
  --pink: #ff35c8;

  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.16);

  --gradient:
    linear-gradient(
      100deg,
      var(--cyan),
      var(--blue),
      var(--purple),
      var(--pink)
    );

  --shadow:
    0 26px 70px rgba(0, 0, 0, 0.48);

  --radius: 18px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;

  color: var(--text);

  background:
    radial-gradient(
      circle at 5% 0%,
      rgba(33, 232, 255, 0.09),
      transparent 30%
    ),
    radial-gradient(
      circle at 100% 8%,
      rgba(255, 53, 200, 0.085),
      transparent 34%
    ),
    radial-gradient(
      circle at 50% 100%,
      rgba(150, 108, 255, 0.06),
      transparent 36%
    ),
    linear-gradient(
      180deg,
      #07090c,
      #050609 48%,
      #040407
    );

  font-family: "Inter", sans-serif;
  line-height: 1.5;

  overflow-x: hidden;
}

body::before {
  content: "";

  position: fixed;
  inset: 0;

  pointer-events: none;
  z-index: -2;

  opacity: 0.11;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.022) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.022) 1px,
      transparent 1px
    );

  background-size: 72px 72px;

  mask-image:
    linear-gradient(
      to bottom,
      black,
      transparent 88%
    );
}

::selection {
  color: #ffffff;
  background: rgba(150, 108, 255, 0.55);
}

::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: #050609;
}

::-webkit-scrollbar-thumb {
  background:
    linear-gradient(
      180deg,
      rgba(33, 232, 255, 0.55),
      rgba(150, 108, 255, 0.55),
      rgba(255, 53, 200, 0.55)
    );

  border: 3px solid #050609;
  border-radius: 999px;
}

.hidden {
  display: none !important;
}

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

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

button {
  appearance: none;
  -webkit-appearance: none;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: #ffffff;
}

p {
  color: var(--muted);
}

/* =========================================================
   MAIN PAGE LAYOUT
========================================================= */

.page-shell,
.dashboard-shell,
.workspace-shell,
.admin-shell,
.shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 36px 0 70px;
}

/* =========================================================
   TOP BAR
========================================================= */

.topbar {
  position: sticky;
  top: 14px;
  z-index: 100;

  width: min(calc(100% - 28px), 1320px);
  min-height: 84px;

  margin: 14px auto 0;
  padding: 14px 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 0 0,
      rgba(33, 232, 255, 0.055),
      transparent 35%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(255, 53, 200, 0.05),
      transparent 36%
    ),
    rgba(8, 9, 13, 0.90);

  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;

  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);

  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.topbar::before {
  content: "";

  position: absolute;
  top: 0;
  left: 55px;
  right: 55px;

  height: 1px;

  background: var(--gradient);

  opacity: 0.95;
}

.topbar-actions {
  position: relative;
  z-index: 3;

  display: flex;
  align-items: center;
  gap: 9px;
}

/* =========================================================
   PROJECT VAULT BRAND
========================================================= */

.brand {
  position: relative;
  z-index: 3;

  min-height: 52px;

  padding: 4px 0 4px 55px;

  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;

  color: #ffffff !important;

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.52rem;
  font-weight: 600;
  line-height: 1;

  letter-spacing: -0.025em;

  text-decoration: none !important;
}

.brand::before {
  content: "";

  position: absolute;
  left: 4px;
  top: 50%;

  width: 34px;
  height: 34px;

  transform: translateY(-50%);

  border-radius: 50%;

  background:
    conic-gradient(
      from 30deg,
      var(--pink),
      var(--purple),
      var(--blue),
      var(--cyan),
      var(--pink)
    );

  -webkit-mask:
    radial-gradient(
      farthest-side,
      transparent calc(100% - 6px),
      #000 0
    );

  mask:
    radial-gradient(
      farthest-side,
      transparent calc(100% - 6px),
      #000 0
    );

  filter:
    drop-shadow(
      0 0 10px rgba(33, 232, 255, 0.24)
    );
}

.brand::after {
  content: "MILLIONAIRE PRODUCTIONS";

  margin-top: 7px;

  color: #9b96a7;

  font-family: "Inter", sans-serif;
  font-size: 0.52rem;
  font-weight: 800;

  letter-spacing: 0.23em;
}

.brand:hover {
  color: #ffffff !important;
  text-decoration: none !important;
}

.brand-dot {
  display: none;
}

/* =========================================================
   BUTTONS
========================================================= */

.btn,
.button,
button.btn,
button.button,
a.button {
  min-height: 42px;

  padding: 0 16px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  color: #f8f5fb !important;

  background:
    linear-gradient(
      #0b0c11,
      #0b0c11
    ) padding-box,
    rgba(255, 255, 255, 0.12) border-box;

  border: 1px solid transparent !important;
  border-radius: 10px !important;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 28px rgba(0, 0, 0, 0.28);

  font-size: 0.70rem !important;
  font-weight: 700 !important;

  letter-spacing: 0.04em;

  text-decoration: none !important;

  cursor: pointer;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.btn:hover,
.button:hover {
  transform: translateY(-1px);

  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.38);
}

.btn:active,
.button:active {
  transform: translateY(0);
}

.btn-primary,
.button-primary {
  background:
    linear-gradient(
      #0b0c11,
      #0b0c11
    ) padding-box,
    var(--gradient) border-box !important;
}

/* =========================================================
   SIGN OUT / GHOST BUTTONS
========================================================= */

.btn-ghost,
.button-ghost,
#signOut,
#signOutButton {
  min-height: 44px !important;

  padding: 0 17px !important;

  color: #ffffff !important;

  background:
    linear-gradient(
      120deg,
      rgba(33, 232, 255, 0.045),
      rgba(150, 108, 255, 0.04),
      rgba(255, 53, 200, 0.06)
    ) padding-box,
    var(--gradient) border-box !important;

  border: 1px solid transparent !important;

  border-radius: 10px !important;

  box-shadow:
    0 0 20px rgba(33, 232, 255, 0.05),
    0 0 20px rgba(255, 53, 200, 0.04) !important;

  font-size: 0.69rem !important;
  font-weight: 700 !important;

  letter-spacing: 0.03em !important;

  text-transform: none !important;
}

.btn-ghost:hover,
.button-ghost:hover,
#signOut:hover,
#signOutButton:hover {
  background:
    linear-gradient(
      120deg,
      rgba(33, 232, 255, 0.08),
      rgba(150, 108, 255, 0.08),
      rgba(255, 53, 200, 0.09)
    ) padding-box,
    var(--gradient) border-box !important;
}

/* =========================================================
   PAGE HEADINGS
========================================================= */

.page-heading,
.page-header,
.workspace-header {
  position: relative;
  margin: 46px 0 28px;
}

.page-heading h1,
.page-header h1,
.workspace-header h1 {
  margin: 0 0 12px;

  color: #f7f3f9;

  font-family: "Cormorant Garamond", Georgia, serif;

  font-size: clamp(3.5rem, 7vw, 5.7rem);
  font-weight: 500;

  line-height: 0.92;

  letter-spacing: -0.05em;
}

.page-heading p,
.page-header p,
.workspace-header p,
#welcomeText {
  color: #9691a0;
}

.eyebrow,
.kicker,
.overline {
  display: flex;
  align-items: center;
  gap: 11px;

  margin-bottom: 14px;

  color: #aaa5b4;

  font-size: 0.64rem;
  font-weight: 800;

  letter-spacing: 0.20em;

  text-transform: uppercase;
}

.eyebrow::before,
.kicker::before,
.overline::before {
  content: "";

  width: 30px;
  height: 1px;

  flex: 0 0 auto;

  background: var(--gradient);
}

/* =========================================================
   CARD GRIDS
========================================================= */

.card-grid,
.tenant-grid,
.project-grid,
.folder-grid,
.resource-grid,
.resources-grid,
.content-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fill, minmax(280px, 310px));

  gap: 20px;

  align-items: start;
  justify-content: start;
}

/* =========================================================
   PROJECT / TENANT / FOLDER CARDS
========================================================= */

.card-grid > *,
.tenant-card,
.project-card,
.folder-card,
.resource-card,
.content-card {
  position: relative;

  width: 100%;
  min-height: 0;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 100% 0,
      rgba(255, 53, 200, 0.055),
      transparent 30%
    ),
    radial-gradient(
      circle at 0 0,
      rgba(33, 232, 255, 0.035),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.022),
      rgba(255, 255, 255, 0.003)
    ),
    rgba(8, 9, 13, 0.90);

  border: 1px solid rgba(255, 255, 255, 0.10);

  border-radius: 17px;

  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.34);

  transition:
    transform 0.20s ease,
    border-color 0.20s ease,
    box-shadow 0.20s ease;
}

.card-grid > *::before,
.tenant-card::before,
.project-card::before,
.folder-card::before,
.resource-card::before,
.content-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 20px;
  right: 20px;

  height: 1px;

  z-index: 4;

  background: var(--gradient);

  opacity: 0.75;
}

.card-grid > *:hover,
.tenant-card:hover,
.project-card:hover,
.folder-card:hover,
.resource-card:hover,
.content-card:hover {
  transform: translateY(-4px);

  border-color: rgba(255, 255, 255, 0.16);

  box-shadow:
    0 30px 72px rgba(0, 0, 0, 0.44);
}

/* =========================================================
   EMPTY PREVIEW AREAS
========================================================= */

.tenant-preview,
.project-preview,
.folder-preview,
.card-preview,
.preview-image {
  position: relative;

  width: calc(100% - 28px);

  height: 150px !important;
  min-height: 150px !important;
  max-height: 150px !important;

  margin: 14px 14px 0;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 100% 0,
      rgba(255, 53, 200, 0.06),
      transparent 42%
    ),
    radial-gradient(
      circle at 0 0,
      rgba(33, 232, 255, 0.045),
      transparent 42%
    ),
    #08090d;

  border: 1px solid rgba(255, 255, 255, 0.09);

  border-radius: 11px;
}

.tenant-preview:empty,
.project-preview:empty,
.folder-preview:empty,
.card-preview:empty {
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(255, 53, 200, 0.055),
      transparent 42%
    ),
    radial-gradient(
      circle at 0 0,
      rgba(33, 232, 255, 0.04),
      transparent 42%
    ),
    #08090d;
}

.card-grid img,
.tenant-preview img,
.project-preview img,
.folder-preview img,
.card-preview img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
}

/* =========================================================
   CARD CONTENT
========================================================= */

.card-body,
.card-content,
.tenant-body,
.project-body,
.folder-body,
.resource-body {
  padding: 16px 18px 18px !important;
}

.card-date,
.tenant-date,
.project-date,
.folder-date,
.meta,
.meta-text {
  margin-bottom: 7px;

  color: #aaa5b1;

  font-size: 0.59rem;
  font-weight: 700;

  letter-spacing: 0.18em;

  text-transform: uppercase;
}

.card-grid h2,
.card-grid h3,
.tenant-card h2,
.tenant-card h3,
.project-card h2,
.project-card h3,
.folder-card h2,
.folder-card h3,
.resource-card h2,
.resource-card h3 {
  margin: 0 0 13px;

  color: #f8f5fa;

  font-family: "Cormorant Garamond", Georgia, serif;

  font-size: 1.70rem;
  font-weight: 600;

  line-height: 1;

  letter-spacing: -0.025em;
}

.card-grid p,
.tenant-card p,
.project-card p,
.folder-card p,
.resource-card p {
  color: #85808e;

  font-size: 0.75rem;
  line-height: 1.6;
}

/* =========================================================
   OPEN PROJECT BUTTONS
========================================================= */

.card-grid .button,
.card-grid .btn,
.card-grid button,
.tenant-card .button,
.tenant-card button,
.project-card .button,
.project-card button,
.folder-card .button,
.folder-card button,
.resource-card .button,
.resource-card button {
  min-height: 42px;

  margin-top: 5px;

  padding: 0 17px;

  color: #ffffff !important;

  background:
    linear-gradient(
      #0b0c11,
      #0b0c11
    ) padding-box,
    var(--gradient) border-box !important;

  border: 1px solid transparent !important;

  border-radius: 10px !important;

  font-size: 0.68rem !important;
  font-weight: 700 !important;

  letter-spacing: 0.025em !important;

  text-transform: none !important;
}

/* =========================================================
   WORKSPACE SECTIONS
========================================================= */

.section-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(210px, 1fr));

  gap: 14px;

  margin: 26px 0;
}

.section-card,
.section-button {
  position: relative;

  min-height: 108px;

  padding: 22px 21px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;

  overflow: hidden;

  color: #f7f4fa;

  text-align: left;

  background:
    radial-gradient(
      circle at 100% 0,
      rgba(255, 53, 200, 0.045),
      transparent 40%
    ),
    radial-gradient(
      circle at 0 100%,
      rgba(33, 232, 255, 0.035),
      transparent 40%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.025),
      rgba(255, 255, 255, 0.003)
    ),
    rgba(8, 9, 13, 0.88);

  border: 1px solid rgba(255, 255, 255, 0.085);

  border-radius: 15px;

  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);

  cursor: pointer;

  transition:
    transform 0.20s ease,
    border-color 0.20s ease,
    background 0.20s ease,
    box-shadow 0.20s ease;
}

.section-card::before,
.section-button::before {
  content: "";

  position: absolute;

  top: 0;
  left: 22px;
  right: 22px;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      var(--cyan),
      var(--purple),
      var(--pink)
    );

  opacity: 0.55;
}

.section-card:hover,
.section-button:hover {
  transform: translateY(-2px);

  border-color: rgba(150, 108, 255, 0.22);

  background:
    radial-gradient(
      circle at 100% 0,
      rgba(255, 53, 200, 0.065),
      transparent 40%
    ),
    radial-gradient(
      circle at 0 100%,
      rgba(33, 232, 255, 0.045),
      transparent 40%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.005)
    ),
    rgba(9, 10, 15, 0.92);

  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.32);
}

/* =========================================================
   CLASSY WORKSPACE SECTION TITLES
========================================================= */

.section-card h1,
.section-card h2,
.section-card h3,
.section-card h4,
.section-card strong,
.section-card .section-title,
.section-button h1,
.section-button h2,
.section-button h3,
.section-button h4,
.section-button strong,
.section-button .section-title {
  display: block;

  margin: 0 0 7px !important;

  color: #f6f2f8 !important;

  font-family:
    "Cormorant Garamond",
    Georgia,
    serif !important;

  font-size: 1.32rem !important;

  font-weight: 500 !important;

  line-height: 1.08 !important;

  letter-spacing: -0.018em !important;

  text-transform: none !important;
}

.section-card p,
.section-card span:not(.section-title),
.section-button p,
.section-button span:not(.section-title) {
  margin: 0;

  color: #77727f;

  font-family: "Inter", sans-serif;

  font-size: 0.67rem;
  font-weight: 500;

  line-height: 1.45;

  letter-spacing: 0.025em;

  text-transform: none;
}

/* =========================================================
   PANELS
========================================================= */

.panel {
  position: relative;

  margin-top: 22px;

  padding: 26px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.025),
      rgba(255, 255, 255, 0.003)
    ),
    rgba(8, 9, 13, 0.88);

  border: 1px solid var(--border);

  border-radius: 17px;

  box-shadow: var(--shadow);
}

.panel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 18px;

  margin-bottom: 22px;
}

.panel-heading h2,
.panel-heading h3 {
  margin-bottom: 0;

  font-family: "Cormorant Garamond", Georgia, serif;

  font-weight: 500;
}

.compact-heading {
  align-items: center;
}

/* =========================================================
   ADMIN
========================================================= */

.admin-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(320px, 1fr));

  gap: 18px;

  margin-top: 24px;
}

.admin-card {
  position: relative;

  padding: 24px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.025),
      rgba(255, 255, 255, 0.003)
    ),
    rgba(8, 9, 13, 0.88);

  border: 1px solid var(--border);

  border-radius: 17px;

  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.34);
}

.admin-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 24px;
  right: 24px;

  height: 1px;

  background: var(--gradient);

  opacity: 0.50;
}

.admin-card h2,
.admin-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;

  font-weight: 500;
}

/* =========================================================
   FORMS
========================================================= */

.form-grid,
.form-stack {
  display: grid;
  gap: 13px;
}

label {
  display: grid;
  gap: 7px;

  color: #898492;

  font-size: 0.64rem;
  font-weight: 800;

  letter-spacing: 0.09em;

  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;

  min-height: 46px;

  padding: 0 13px;

  color: #ffffff;

  background:
    rgba(255, 255, 255, 0.025);

  border:
    1px solid rgba(255, 255, 255, 0.09);

  border-radius: 10px;

  outline: none;

  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

textarea {
  min-height: 110px;

  padding-top: 12px;

  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #54515c;
}

input:focus,
select:focus,
textarea:focus {
  background:
    rgba(255, 255, 255, 0.035);

  border-color:
    rgba(150, 108, 255, 0.50);

  box-shadow:
    0 0 0 3px rgba(150, 108, 255, 0.07);
}

select option {
  color: #ffffff;
  background: #090a0f;
}

/* =========================================================
   TABLES / LOGS
========================================================= */

.table-wrap,
.log-wrap,
.list-wrap {
  width: 100%;

  overflow-x: auto;

  border:
    1px solid rgba(255, 255, 255, 0.07);

  border-radius: 13px;
}

table {
  width: 100%;

  min-width: 700px;

  border-collapse: collapse;
}

th {
  padding: 12px 14px;

  color: #77727f;

  background:
    rgba(255, 255, 255, 0.025);

  border-bottom:
    1px solid rgba(255, 255, 255, 0.07);

  font-size: 0.61rem;
  font-weight: 800;

  letter-spacing: 0.10em;

  text-align: left;

  text-transform: uppercase;
}

td {
  padding: 13px 14px;

  color: #bbb7c4;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.045);

  font-size: 0.74rem;
}

tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover td {
  background:
    rgba(255, 255, 255, 0.018);
}

/* =========================================================
   EMPTY STATES
========================================================= */

.empty-state {
  margin-top: 20px;

  padding: 36px 22px;

  color: #716c79;

  background:
    rgba(255, 255, 255, 0.015);

  border:
    1px dashed rgba(255, 255, 255, 0.09);

  border-radius: 16px;

  text-align: center;
}

.empty-state h2,
.empty-state h3 {
  font-family: "Cormorant Garamond", Georgia, serif;

  font-weight: 500;
}

/* =========================================================
   STATUS / BADGES
========================================================= */

.status,
.message,
.notice,
.alert {
  margin-top: 14px;

  padding: 11px 13px;

  color: #aaa6b3;

  background:
    rgba(255, 255, 255, 0.025);

  border:
    1px solid var(--border);

  border-radius: 11px;

  font-size: 0.74rem;
}

.status-pill,
.badge,
.pill {
  display: inline-flex;
  align-items: center;

  min-height: 25px;

  padding: 0 9px;

  color: #d9d5e0;

  background:
    rgba(255, 255, 255, 0.035);

  border:
    1px solid rgba(255, 255, 255, 0.075);

  border-radius: 999px;

  font-size: 0.58rem;
  font-weight: 800;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

/* =========================================================
   LOGIN PAGE
========================================================= */

.gate-page,
.login-page {
  min-height: 100vh;
}

.login-page,
.gate-shell {
  width: min(calc(100% - 32px), 500px);

  min-height: 100vh;

  margin: 0 auto;

  padding: 28px 0;

  display: grid;
  place-items: center;
}

.login-card,
.gate-card {
  position: relative;

  width: 100%;

  padding: 52px 38px 44px;

  overflow: hidden;

  text-align: center;

  background:
    radial-gradient(
      circle at 0 100%,
      rgba(33, 232, 255, 0.045),
      transparent 40%
    ),
    radial-gradient(
      circle at 100% 0,
      rgba(255, 53, 200, 0.055),
      transparent 40%
    ),
    rgba(8, 9, 13, 0.91);

  border:
    1px solid rgba(255, 255, 255, 0.11);

  border-radius: 20px;

  box-shadow:
    0 35px 100px rgba(0, 0, 0, 0.55);
}

.login-card::before,
.gate-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 30px;
  right: 30px;

  height: 1px;

  background: var(--gradient);
}

.login-card h1,
.gate-card h1 {
  margin: 12px 0 13px;

  color: #f8f5fa;

  font-family: "Cormorant Garamond", Georgia, serif;

  font-size:
    clamp(3.3rem, 11vw, 4.8rem);

  font-weight: 500;

  line-height: 0.92;

  letter-spacing: -0.05em;
}

.login-card .eyebrow,
.gate-card .eyebrow {
  justify-content: center;
}

.lede {
  margin-bottom: 26px;

  color: #85808e;

  font-size: 0.86rem;
}

/* =========================================================
   GOOGLE LOGIN CONTAINER
========================================================= */

#googleLoginContainer {
  width: min(320px, 100%);

  margin: 28px auto 0;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border-radius: 999px;

  background: transparent;
}

#googleLoginContainer > div,
#googleLoginContainer iframe {
  display: block !important;

  margin: 0 !important;

  max-width: 100% !important;

  border: 0 !important;
}

#loginStatus {
  min-height: 17px;

  margin-top: 15px;

  color: #77727f;

  font-size: 0.69rem;
}

/* =========================================================
   OLD GOOGLE BUTTON COMPATIBILITY
========================================================= */

.button-google,
.btn-google,
#googleLogin {
  width: 100%;

  min-height: 46px;

  margin-top: 22px;

  color: #ffffff !important;

  background:
    linear-gradient(
      #111217,
      #111217
    ) padding-box,
    var(--gradient) border-box !important;

  border: 1px solid transparent !important;

  border-radius: 999px !important;
}

.google-g {
  display: inline-grid;
  place-items: center;

  width: 24px;
  height: 24px;

  border-radius: 50%;

  background: #ffffff;

  color: #4285f4;

  font-size: 0.90rem;
  font-weight: 800;
}

/* =========================================================
   MODALS
========================================================= */

.modal,
.modal-overlay {
  position: fixed;
  inset: 0;

  z-index: 1000;

  display: grid;
  place-items: center;

  padding: 20px;

  background:
    rgba(0, 0, 0, 0.76);

  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.modal-card,
.modal-content {
  position: relative;

  width: min(100%, 470px);

  padding: 28px;

  background:
    radial-gradient(
      circle at 100% 0,
      rgba(255, 53, 200, 0.055),
      transparent 38%
    ),
    #090a0f;

  border:
    1px solid var(--border-strong);

  border-radius: 18px;

  box-shadow:
    0 35px 100px rgba(0, 0, 0, 0.65);
}

.modal-card::before,
.modal-content::before {
  content: "";

  position: absolute;

  top: 0;
  left: 25px;
  right: 25px;

  height: 1px;

  background: var(--gradient);
}

.modal-card h2,
.modal-content h2 {
  margin-bottom: 8px;

  font-family:
    "Cormorant Garamond",
    Georgia,
    serif;

  font-size: 2rem;

  font-weight: 500;
}

.modal-actions {
  display: flex;
  gap: 9px;

  margin-top: 18px;
}

.modal-actions .btn,
.modal-actions .button {
  flex: 1;
}

/* =========================================================
   SECTION DIVIDER
========================================================= */

.section-divider {
  height: 1px;

  margin: 30px 0;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(33, 232, 255, 0.20),
      rgba(150, 108, 255, 0.22),
      rgba(255, 53, 200, 0.18),
      transparent
    );
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 680px) {

  .topbar {
    top: 8px;

    width: calc(100% - 18px);

    min-height: 70px;

    margin-top: 8px;

    padding: 10px 11px;

    border-radius: 15px;
  }

  .topbar::before {
    left: 38px;
    right: 38px;
  }

  .brand {
    min-height: 45px;

    padding-left: 45px;

    font-size: 1.22rem;
  }

  .brand::before {
    left: 2px;

    width: 29px;
    height: 29px;
  }

  .brand::after {
    margin-top: 5px;

    font-size: 0.42rem;

    letter-spacing: 0.17em;
  }

  #signOut,
  #signOutButton,
  .btn-ghost,
  .button-ghost {
    min-height: 39px !important;

    padding: 0 11px !important;

    font-size: 0.62rem !important;
  }

  .page-shell,
  .dashboard-shell,
  .workspace-shell,
  .admin-shell,
  .shell {
    width: calc(100% - 28px);

    padding-top: 25px;
  }

  .page-heading,
  .page-header,
  .workspace-header {
    margin-top: 26px;
  }

  .page-heading h1,
  .page-header h1,
  .workspace-header h1 {
    font-size:
      clamp(3.1rem, 15vw, 4.5rem);
  }

  #welcomeText {
    font-size: 0.78rem;

    overflow-wrap: anywhere;
  }

  .card-grid,
  .tenant-grid,
  .project-grid,
  .folder-grid,
  .resource-grid,
  .resources-grid,
  .content-grid {
    grid-template-columns: 1fr;

    gap: 15px;
  }

  .card-grid > *,
  .tenant-card,
  .project-card,
  .folder-card,
  .resource-card,
  .content-card {
    width: 100%;
    min-height: 0;
  }

  .tenant-preview,
  .project-preview,
  .folder-preview,
  .card-preview,
  .preview-image {
    height: 135px !important;
    min-height: 135px !important;
    max-height: 135px !important;
  }

  .section-grid {
    grid-template-columns: 1fr;

    gap: 11px;
  }

  .section-card,
  .section-button {
    min-height: 86px;

    padding: 18px 19px;
  }

  .section-card h1,
  .section-card h2,
  .section-card h3,
  .section-card h4,
  .section-card strong,
  .section-card .section-title,
  .section-button h1,
  .section-button h2,
  .section-button h3,
  .section-button h4,
  .section-button strong,
  .section-button .section-title {
    font-size: 1.20rem !important;

    font-weight: 500 !important;

    line-height: 1.08 !important;
  }

  .section-card p,
  .section-card span:not(.section-title),
  .section-button p,
  .section-button span:not(.section-title) {
    font-size: 0.64rem;
  }

  .panel {
    padding: 20px 17px;

    border-radius: 17px;
  }

  .panel-heading {
    flex-direction: column;

    align-items: flex-start;
  }

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

  .admin-card {
    padding: 20px 17px;
  }

  .login-page,
  .gate-shell {
    width: calc(100% - 30px);
  }

  .login-card,
  .gate-card {
    padding: 43px 22px 36px;
  }

  #googleLoginContainer {
    width: min(320px, 100%);
  }

  .modal,
  .modal-overlay {
    align-items: end;

    padding: 10px;
  }

  .modal-card,
  .modal-content {
    width: 100%;

    padding: 24px 19px;

    border-radius: 18px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
