.logo {
  display: flex;
  align-items: center;
  gap: 0.05rem;           /* a little more breathing room */
}

.logo-mark {
  width: 60px;           /* ✅ upsized */
  height: 60px;          /* ✅ upsized */
  display: inline-flex;
  transform: translateY(1px) scaleX(0.75); /* tiny optical alignment */
  margin-left:-15px;
}

.logo-mark svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* constellation lines */
.logo-mark path {
  fill: none;
  stroke: rgba(226, 232, 240, 0.85);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* star points */
.logo-mark circle {
  fill: rgba(56, 189, 248, 0.95);
}

/* glow halos (the bigger soft circles) */
.logo-mark .star-glow {
  fill: rgba(56, 189, 248, 0.22);
}

.logo:hover .logo-mark path {
  stroke: rgba(56, 189, 248, 0.95);
}


/* Reset-ish */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: #050816;
  color: #f8fafc;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  background: rgba(5, 8, 22, 0.9);
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

.nav-links a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #e2e8f0;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: #38bdf8;
}

/* Button that looks exactly like a nav link */
.nav-link-btn {
  margin-left: 1.5rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;

  color: #e2e8f0;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-link-btn:hover {
  color: #38bdf8; /* matches .nav-links a:hover */
}

/* When logged in: hide landing links, show Dashboard */
body.logged-in .nav-links .nav-landing {
  display: none;
}

body.logged-in #go-dashboard {
  display: inline;
}

/* =========================
   Hide home CTA buttons for logged-in users
   ========================= */

body.logged-in #home .hero-buttons,
body.logged-in #home #btn-designer,
body.logged-in #home #btn-maker,
body.logged-in #home #btn-customer,
body.logged-in #home #open-signup {
  display: none !important;
}

body.logged-in #home .tagline {
  margin-bottom: 0.75rem;
}

body.logged-in #home #roles .roles {
  margin-top: 0.5rem;
}

body.hide-home-starfield .home-starfield {
  opacity: 0 !important;
}

/* Hero */
.hero {
  padding-bottom: 1.25rem;   /* was probably larger */
  margin-bottom: 0; 
  display: block;
}

#use-cases.section {
  padding-top: 0.75rem;      /* pulls it up closer */
  margin-top: 0;
}

/* If your .section has big top margin globally, override it just here */
#use-cases {
  margin-top: -0.75rem;      /* small lift; tweak -0.5 to -1.25 if needed */
}

/* Make use-case cards match the standard role-card styling */
#use-cases .role-card {
  background: rgba(15, 23, 42, 0.35);               /* matches your panel/card look */
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
}



.hero-sky {
  position: relative;
  overflow: hidden;
  padding: 5rem 2rem 3rem;    /* move your old .hero padding here */
  display: flex;
  justify-content: center;
  background: linear-gradient(to bottom, #010314 0%, #020617 65%, rgba(2,6,23,0.98) 100%);
}


/* keep text above star layers */
.hero-sky .hero-content {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.05rem;
  color: #cbd5f5;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}



/* Buttons */
.btn {
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn.primary {
  background: #0ea5e9;
  color: #0b1120;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
}

.btn.primary:hover {
  background: #38bdf8;
  transform: translateY(-1px);
}

.btn.secondary {
  background: #020617;
  color: #e2e8f0;
  border: 1px solid #38bdf8;
}

.btn.secondary:hover {
  background: #0f172a;
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  color: #e2e8f0;
  border: 1px dashed #64748b;
}

.btn.ghost:hover {
  border-style: solid;
  transform: translateY(-1px);
}

/* Sections */
.section {
  padding: 3rem 2rem;
  max-width: 960px;
  margin: 0 auto;
}

/* Let maker queue span wider than normal sections */
.section.maker-section {
  max-width: none;
  padding-left: 2rem;
  padding-right: 2rem;
}


.section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

/* Steps */
.steps {
  display: grid;
  gap: 1.5rem;
}

.step-card {
  background: #020617;
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.step-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* Roles */
#home .roles {
  display: grid;
  gap: 1.25rem;
}


#home .role-card {
  background: #020617;
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
}



/* CTA */
.cta-section {
  text-align: center;
}

/* Footer */
.footer {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  font-size: 0.85rem;
  color: #9ca3af;
}
/* Simple form styling */
.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  
}

.form-row label {
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  color: #cbd5f5;
}

.form-row input,
.form-row textarea {
  padding: 0.5rem 0.7rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: #020617;
  color: #e5e7eb;
  font-size: 0.95rem;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #38bdf8;
}
#signup-message {
  min-height: 1.2rem;
}

#signup-message.error {
  color: #f97373;
}

#signup-message.success {
  color: #4ade80;
}
#signup-cta {
  text-align: center;
}

/* Uploaded designs list */
#design-list {
  display: grid;
  gap: 0.75rem;
}

.design-card {
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 0.9rem 1rem;
  background: #020617;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%
}

/* Standard image frame used by browse cards + job cards */
.card-image-frame {
  width: 100%;
  aspect-ratio: 4 / 3;      /* change to 4 / 3 if you prefer */
  overflow: hidden;
  background: #0f172a;
  position: relative;
}

/* Real images */
.card-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder when no image exists */
.card-image-frame.placeholder::after {
  content: "Image not available";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.85rem;
  letter-spacing: 0.2px;
}

/* Ensure card body spacing is consistent */
.job-card-body,
.design-card-body {
  padding: 0.75rem 0.9rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Optional: keep meta lines from blowing up card height */
.design-card-meta {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}

.design-card-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.design-card-meta {
  color: #94a3b8;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

/* Ensure grid cards align and don’t collapse inconsistently */
.cards-grid, .design-grid, .job-grid {
  align-items: stretch;
}

/* Standard image frame for browse + job cards */
.card-image-frame {
  width: 100%;
  aspect-ratio: 1 / 1; /* change to 4 / 3 if you prefer */
  overflow: hidden;
  background: #0f172a;
  position: relative;
  border-radius: 12px;
}

/* Real images fill frame without stretching */
.card-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder frame when no image exists */
.card-image-frame.placeholder::after {
  content: "Image not available";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.85rem;
}

/* Modal backdrop (full-screen overlay) */
.modal-backdrop {
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  background: rgba(15, 23, 42, 0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

/* When visible, we turn it on */
.modal-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
  display: flex;
}

.modal {
  background: #020617;
  border-radius: 1rem;
  padding: 1.75rem 1.5rem 1.5rem;
  width: 100%;
  max-width: 420px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.7);
  position: relative;
}

/* Close button (X) */
.modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 1.4rem;
  cursor: pointer;
}

.modal-close:hover {
  color: #e5e7eb;
}

/* Responsive */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .steps,
  .roles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tabs {
  display: flex;
  justify-content: center;     /* ✅ center the group */
  gap: 1rem;                   /* more spacing */
  padding: 0.75rem 1rem 0.25rem;
}

.tab-btn {
  padding: 0.4em 1.0rem;      /* ✅ ~2x larger */
  font-size: 1.1rem;          /* bigger text */
  font-weight: 800;            /* more visible */
  letter-spacing: 0.04em;

  background: rgba(2, 6, 23, 0.55);
  color: rgba(226, 232, 240, 0.95);

  border: 1px solid rgba(148, 163, 184, 0.30);
  border-radius: 999px;

  backdrop-filter: blur(8px);
  text-transform: uppercase;

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

.tab-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(226, 232, 240, 0.55);
}

.tab-btn.active {
  border-color: rgba(226, 232, 240, 0.65);
}


.tab-panels h3 {
  margin-bottom: 0.5rem;
  justify-items: center;
}

.tagline {
  font-size: 1.25rem;
  color: #cbd5f5;
  margin: 1rem 0 2rem 0;
  max-width: 700px;
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}

.maker-jobs-layout {
  position: relative;
  padding-right: 300px; /* reserve space for sidebar only */
}



.section.maker-section .maker-panel {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
}


:root {
  --sky-height: 180px; /* adjust if needed */
}

/* Keep accepted jobs column aligned below starfield */


.maker-panel-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.maker-panel-subtext {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* Accepted jobs list: normal list, no scroll */
.maker-scroll-list {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}


/* Maker layout: two columns */
.section.maker-section {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

/* Make both panels participate nicely */
.section.maker-section .maker-panel {
  flex: 1;
  min-width: 0; /* prevents overflow issues */
}

/* Open queue: goes to RIGHT and fills remaining space */
.section.maker-section .maker-panel:not(.maker-panel-right) {
  order: 2;
  flex: 1;
  min-width: 0;
}


/* Mobile: stack */
@media (max-width: 900px) {
  .section.maker-section {
    flex-direction: column;
  }

  .section.maker-section .maker-panel-right {
  order: 1;
  width: 360px;
  flex: 0 0 360px;
  position: static;
  max-height: none;
  overflow: visible;
}

#my-job-list > * + * {
  margin-top: 1rem;
}
}


.browse-card {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  min-height: 170px;
  cursor: pointer;
}

.browse-card-title {
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 0.35rem;
}

.browse-card-meta {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.35;
}

.browse-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.75rem;
}

.browse-badge {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #cbd5f5;
  background: rgba(2, 6, 23, 0.35);
  white-space: nowrap;
}

.browse-card a {
  color: #38bdf8;
  font-size: 0.85rem;
  text-decoration: none;
}

.browse-card a:hover {
  text-decoration: underline;
}
/* Browse: grid layout */
#browse-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* was 3 */
  gap: 1rem;
}

@media (max-width: 1400px) {
  #browse-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  #browse-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  #browse-list { grid-template-columns: 1fr; }
}


/* Make project cards fill nicely in a grid */
#browse-list .project-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.project-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  margin-bottom: 0.75rem;
}

#browse-list .project-card .browse-request-btn {
  margin-top: auto; /* pushes button to bottom of card */
}
.tab-description {
  margin: 0.5rem auto 1.5rem;
  font-size: 0.95rem;
  color: #cbd5f5;
  max-width: 720px;
  line-height: 1.55;
  text-align: center;   /* ✅ center text */
}

.browser-designs {
  display: none;
}

.job-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.job-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  flex: 0 0 auto;
}

/* Slightly larger thumbnails for open job cards */
.job-thumb.job-thumb-lg {
  width: 78px;       /* tweak up/down */
  height: 78px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.job-card-body {
  flex: 1;
}

/* Make open job cards vertical like browse cards */
.job-card-vertical {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Image container (fixed aspect ratio, no stretching) */
.job-card-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;   /* square like browse cards */
  overflow: hidden;
  background: #0f172a;
}

.job-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* fills box without stretching */
  display: block;
}

/* Small spacing tweak */
.job-card-body {
  padding: 0.75rem 0.9rem;
}

.job-card-hint {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.5rem;
}

/* Browse / project cards */
.project-card {
  border: 1px solid rgba(148, 163, 184, 0.25); /* subtle slate border */
  border-radius: 14px;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.6); /* keeps your dark theme feel */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card p {
  flex: 0 0 auto;
}

/* Hover effect for marketplace feel */
.project-card:hover {
  border-color: rgba(56, 189, 248, 0.7); /* blue accent */
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.2),
              0 8px 24px rgba(0, 0, 0, 0.25);
}
/* Blur the page behind modal (backdrop already exists; this upgrades it) */
.modal-backdrop.visible {
  backdrop-filter: blur(8px);
}

/* Bigger modal layout */
.project-modal {
  max-width: 980px;
  width: min(980px, 92vw);
}

.project-modal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

@media (max-width: 860px) {
  .project-modal-grid {
    grid-template-columns: 1fr;
  }
}

.proj-designer-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
  flex-wrap: wrap;
}

.proj-tab-btn {
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.35);
  color: #cbd5f5;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.proj-tab-btn.active {
  background: rgba(59, 130, 246, 0.16);
  color: #e2e8f0;
  border-color: rgba(96, 165, 250, 0.45);
}

.project-viewer {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);

  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.project-viewer img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.project-details {
  min-height: 720px;
  display: flex;
  flex-direction: column;
}

#proj-details-panel,
#proj-feedback-panel {
  min-height: 560px;
}

#proj-feedback-panel {
  overflow-y: auto;
  padding-right: 0.25rem;
}

.img-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.75);
  color: #e2e8f0;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
}

.img-nav.left { left: 10px; }
.img-nav.right { right: 10px; }

.img-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.img-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.img-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.35);
}

.img-dot.active {
  background: rgba(56, 189, 248, 0.95);
}

.tab-btn.active[data-tab="design"] {
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.35),
    0 10px 32px rgba(56, 189, 248, 0.25);
  border-color: rgba(56, 189, 248, 0.85);
}

.tab-btn.active[data-tab="create"] {
  box-shadow:
    0 0 0 1px rgba(74, 222, 128, 0.35),
    0 10px 32px rgba(74, 222, 128, 0.22);
  border-color: rgba(74, 222, 128, 0.85);
}

.tab-btn.active[data-tab="browse"] {
  box-shadow:
    0 0 0 1px rgba(244, 114, 182, 0.35),
    0 10px 32px rgba(244, 114, 182, 0.22);
  border-color: rgba(244, 114, 182, 0.85);
}
.dashboard-sky h2 {
  text-align: center;
  margin-bottom: 0.75rem;
}


.proj-price-card {
  margin-top: 0.9rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.38);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

.proj-price-row,
.proj-price-subrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.proj-price-row + .proj-price-row,
.proj-price-subrow + .proj-price-row {
  margin-top: 0.7rem;
}

.proj-price-label {
  font-size: 0.95rem;
  color: #e2e8f0;
}

.proj-price-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f8fafc;
}

.proj-price-subrow {
  margin-top: 0.35rem;
}

.proj-price-sub-label {
  font-size: 0.82rem;
  color: #94a3b8;
}

.proj-price-sub-value {
  font-size: 0.82rem;
  color: #94a3b8;
}

.proj-price-divider {
  height: 1px;
  margin: 0.85rem 0 0.8rem;
  background: rgba(148, 163, 184, 0.16);
}

.proj-price-total-row {
  align-items: baseline;
}

.proj-price-total-label {
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
}

.proj-price-total-value {
  font-size: 1.08rem;
  font-weight: 800;
  color: #f8fafc;
}

/* ===============================
   Dashboard Sky — Parallax Starfield
   =============================== */

  .dashboard-sky {
  position: relative;
  padding: 1.6rem 0 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
  background: linear-gradient(
    to bottom,
    #010314 0%,
    #020617 65%,
    rgba(2,6,23,0.98) 100%
  );
  overflow: hidden;
    width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;    /* edge-to-edge */
  margin-top: 0;       /* hug the navbar divider */
}

/* Shared star layer styles */
.starfield::before,
.starfield::after,
.starfield .sky-stars {
  content: "";
  position: absolute;
  inset: -20%;
  background-repeat: repeat;
  pointer-events: none;
}

/* FAR stars — slowest */
.starfield::before {
  background-image:
    radial-gradient(1.5px 1.5px at 6% 14%, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 12% 62%, rgba(255,255,255,0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 18% 28%, rgba(255,255,255,0.50), transparent 60%),
    radial-gradient(1.5px 1.5px at 24% 78%, rgba(255,255,255,0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 30% 44%, rgba(255,255,255,0.50), transparent 60%),
    radial-gradient(1.5px 1.5px at 36% 12%, rgba(255,255,255,0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 42% 70%, rgba(255,255,255,0.50), transparent 60%),
    radial-gradient(1.5px 1.5px at 48% 36%, rgba(255,255,255,0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 54% 82%, rgba(255,255,255,0.50), transparent 60%),
    radial-gradient(1.5px 1.5px at 60% 18%, rgba(255,255,255,0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 66% 58%, rgba(255,255,255,0.50), transparent 60%),
    radial-gradient(1.5px 1.5px at 72% 30%, rgba(255,255,255,0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 78% 74%, rgba(255,255,255,0.50), transparent 60%),
    radial-gradient(1.5px 1.5px at 84% 42%, rgba(255,255,255,0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 90% 20%, rgba(255,255,255,0.50), transparent 60%),
    radial-gradient(1.5px 1.5px at 96% 66%, rgba(255,255,255,0.45), transparent 60%);
  animation: stars-drift-slow 140s linear infinite;
  opacity: 1;
}


/* MID stars — medium speed */
.starfield::after {
  background-image:
    radial-gradient(2.5px 2.5px at 8% 22%, rgba(255,255,255,0.95), transparent 60%),
    radial-gradient(2.5px 2.5px at 14% 80%, rgba(255,255,255,0.85), transparent 60%),
    radial-gradient(2.5px 2.5px at 22% 48%, rgba(255,255,255,0.90), transparent 60%),
    radial-gradient(2.5px 2.5px at 28% 16%, rgba(255,255,255,0.85), transparent 60%),
    radial-gradient(2.5px 2.5px at 34% 66%, rgba(255,255,255,0.92), transparent 60%),
    radial-gradient(2.5px 2.5px at 40% 34%, rgba(255,255,255,0.88), transparent 60%),
    radial-gradient(2.5px 2.5px at 46% 76%, rgba(255,255,255,0.95), transparent 60%),
    radial-gradient(2.5px 2.5px at 52% 24%, rgba(255,255,255,0.88), transparent 60%),
    radial-gradient(2.5px 2.5px at 58% 58%, rgba(255,255,255,0.92), transparent 60%),
    radial-gradient(2.5px 2.5px at 64% 12%, rgba(255,255,255,0.88), transparent 60%),
    radial-gradient(2.5px 2.5px at 70% 44%, rgba(255,255,255,0.92), transparent 60%),
    radial-gradient(2.5px 2.5px at 76% 82%, rgba(255,255,255,0.88), transparent 60%),
    radial-gradient(2.5px 2.5px at 82% 30%, rgba(255,255,255,0.95), transparent 60%),
    radial-gradient(2.5px 2.5px at 88% 70%, rgba(255,255,255,0.88), transparent 60%),
    radial-gradient(2.5px 2.5px at 94% 40%, rgba(255,255,255,0.92), transparent 60%),
    radial-gradient(2.5px 2.5px at 96% 18%, rgba(255,255,255,0.95), transparent 60%);
  animation: stars-drift-medium 90s linear infinite;
  opacity: 1;
}


/* NEAR stars — brightest + twinkle */
.starfield .sky-stars {
  background-image:
    radial-gradient(3.5px 3.5px at 10% 30%, rgba(255,255,255,1), transparent 60%),
    radial-gradient(3.5px 3.5px at 18% 64%, rgba(255,255,255,0.98), transparent 60%),
    radial-gradient(3.5px 3.5px at 26% 18%, rgba(255,255,255,1), transparent 60%),
    radial-gradient(3.5px 3.5px at 34% 78%, rgba(255,255,255,0.98), transparent 60%),
    radial-gradient(3.5px 3.5px at 42% 40%, rgba(255,255,255,1), transparent 60%),
    radial-gradient(3.5px 3.5px at 50% 12%, rgba(255,255,255,0.98), transparent 60%),
    radial-gradient(3.5px 3.5px at 58% 72%, rgba(255,255,255,1), transparent 60%),
    radial-gradient(3.5px 3.5px at 66% 28%, rgba(255,255,255,0.98), transparent 60%),
    radial-gradient(3.5px 3.5px at 74% 58%, rgba(255,255,255,1), transparent 60%),
    radial-gradient(3.5px 3.5px at 82% 20%, rgba(255,255,255,0.98), transparent 60%),
    radial-gradient(3.5px 3.5px at 90% 76%, rgba(255,255,255,1), transparent 60%),
    radial-gradient(3.5px 3.5px at 96% 36%, rgba(255,255,255,0.98), transparent 60%);
  animation:
    stars-drift-fast 60s linear infinite,
    stars-twinkle 3.6s ease-in-out infinite;
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.22));
}


/* Keyframes */
@keyframes stars-drift-slow {
  from { transform: translateY(0); }
  to   { transform: translateY(120px); }
}

@keyframes stars-drift-medium {
  from { transform: translateY(0); }
  to   { transform: translateY(220px); }
}

@keyframes stars-drift-fast {
  from { transform: translateY(0); }
  to   { transform: translateY(320px); }
}

@keyframes stars-twinkle {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}
.dashboard-sky h2,
.dashboard-sky .tabs {
  position: relative;
  z-index: 2;
}

/* ===============================
   Home-only full-page starfield
   =============================== */

.home-starfield {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
  background:
    radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.06), transparent 30%),
    radial-gradient(circle at 80% 15%, rgba(244, 114, 182, 0.06), transparent 28%),
    radial-gradient(circle at 50% 75%, rgba(74, 222, 128, 0.05), transparent 32%),
    linear-gradient(to bottom, #010314 0%, #020617 45%, #050816 100%);
}

body.view-home .home-starfield {
  opacity: 1;
}

/* hide the page-wide starfield in dashboard/utility views */
body.view-dashboard .home-starfield {
  opacity: 0;
}

.home-starfield::before,
.home-starfield::after,
.home-starfield .home-starfield-layer {
  content: "";
  position: absolute;
  inset: -20%;
  background-repeat: repeat;
  pointer-events: none;
}

/* far stars */
.home-starfield::before {
  background-image:
    radial-gradient(1.5px 1.5px at 6% 14%, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 12% 62%, rgba(255,255,255,0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 18% 28%, rgba(255,255,255,0.50), transparent 60%),
    radial-gradient(1.5px 1.5px at 24% 78%, rgba(255,255,255,0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 30% 44%, rgba(255,255,255,0.50), transparent 60%),
    radial-gradient(1.5px 1.5px at 36% 12%, rgba(255,255,255,0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 42% 70%, rgba(255,255,255,0.50), transparent 60%),
    radial-gradient(1.5px 1.5px at 48% 36%, rgba(255,255,255,0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 54% 82%, rgba(255,255,255,0.50), transparent 60%),
    radial-gradient(1.5px 1.5px at 60% 18%, rgba(255,255,255,0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 66% 58%, rgba(255,255,255,0.50), transparent 60%),
    radial-gradient(1.5px 1.5px at 72% 30%, rgba(255,255,255,0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 78% 74%, rgba(255,255,255,0.50), transparent 60%),
    radial-gradient(1.5px 1.5px at 84% 42%, rgba(255,255,255,0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 90% 20%, rgba(255,255,255,0.50), transparent 60%),
    radial-gradient(1.5px 1.5px at 96% 66%, rgba(255,255,255,0.45), transparent 60%);
  animation: home-stars-drift-slow 140s linear infinite;
  opacity: 1;
}

/* mid stars */
.home-starfield::after {
  background-image:
    radial-gradient(2.5px 2.5px at 8% 22%, rgba(255,255,255,0.95), transparent 60%),
    radial-gradient(2.5px 2.5px at 14% 80%, rgba(255,255,255,0.85), transparent 60%),
    radial-gradient(2.5px 2.5px at 22% 48%, rgba(255,255,255,0.90), transparent 60%),
    radial-gradient(2.5px 2.5px at 28% 16%, rgba(255,255,255,0.85), transparent 60%),
    radial-gradient(2.5px 2.5px at 34% 66%, rgba(255,255,255,0.92), transparent 60%),
    radial-gradient(2.5px 2.5px at 40% 34%, rgba(255,255,255,0.88), transparent 60%),
    radial-gradient(2.5px 2.5px at 46% 76%, rgba(255,255,255,0.95), transparent 60%),
    radial-gradient(2.5px 2.5px at 52% 24%, rgba(255,255,255,0.88), transparent 60%),
    radial-gradient(2.5px 2.5px at 58% 58%, rgba(255,255,255,0.92), transparent 60%),
    radial-gradient(2.5px 2.5px at 64% 12%, rgba(255,255,255,0.88), transparent 60%),
    radial-gradient(2.5px 2.5px at 70% 44%, rgba(255,255,255,0.92), transparent 60%),
    radial-gradient(2.5px 2.5px at 76% 82%, rgba(255,255,255,0.88), transparent 60%),
    radial-gradient(2.5px 2.5px at 82% 30%, rgba(255,255,255,0.95), transparent 60%),
    radial-gradient(2.5px 2.5px at 88% 70%, rgba(255,255,255,0.88), transparent 60%),
    radial-gradient(2.5px 2.5px at 94% 40%, rgba(255,255,255,0.92), transparent 60%),
    radial-gradient(2.5px 2.5px at 96% 18%, rgba(255,255,255,0.95), transparent 60%);
  animation: home-stars-drift-medium 90s linear infinite;
  opacity: 1;
}

/* near stars */
.home-starfield .home-starfield-layer {
  background-image:
    radial-gradient(3.5px 3.5px at 10% 30%, rgba(255,255,255,1), transparent 60%),
    radial-gradient(3.5px 3.5px at 18% 64%, rgba(255,255,255,0.98), transparent 60%),
    radial-gradient(3.5px 3.5px at 26% 18%, rgba(255,255,255,1), transparent 60%),
    radial-gradient(3.5px 3.5px at 34% 78%, rgba(255,255,255,0.98), transparent 60%),
    radial-gradient(3.5px 3.5px at 42% 40%, rgba(255,255,255,1), transparent 60%),
    radial-gradient(3.5px 3.5px at 50% 12%, rgba(255,255,255,0.98), transparent 60%),
    radial-gradient(3.5px 3.5px at 58% 72%, rgba(255,255,255,1), transparent 60%),
    radial-gradient(3.5px 3.5px at 66% 28%, rgba(255,255,255,0.98), transparent 60%),
    radial-gradient(3.5px 3.5px at 74% 58%, rgba(255,255,255,1), transparent 60%),
    radial-gradient(3.5px 3.5px at 82% 20%, rgba(255,255,255,0.98), transparent 60%),
    radial-gradient(3.5px 3.5px at 90% 76%, rgba(255,255,255,1), transparent 60%),
    radial-gradient(3.5px 3.5px at 96% 36%, rgba(255,255,255,0.98), transparent 60%);
  animation:
    home-stars-drift-fast 60s linear infinite,
    home-stars-twinkle 3.6s ease-in-out infinite;
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.22));
}

@keyframes home-stars-drift-slow {
  from { transform: translateY(0); }
  to   { transform: translateY(120px); }
}

@keyframes home-stars-drift-medium {
  from { transform: translateY(0); }
  to   { transform: translateY(220px); }
}

@keyframes home-stars-drift-fast {
  from { transform: translateY(0); }
  to   { transform: translateY(320px); }
}

@keyframes home-stars-twinkle {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

/* keep homepage sections transparent enough to show the site-wide sky */
body.view-home {
  background: #050816;
}

body.view-home .hero-sky {
  background: transparent;
}

body.view-home #home {
  position: relative;
  z-index: 1;
}


/* Dashboard section should not be constrained like normal sections */
#dashboard.section {
  max-width: none;     /* overrides .section max-width */
  padding: 0;          /* removes the big top gap under navbar */
  margin: 0;
}

/* Keep the actual dashboard content constrained and nicely padded */
#dashboard .dashboard-body {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 2rem 3rem;
  padding-top: 0.5rem; /* breathing room below divider */

}

/* ===============================
   Role-based background glow
   =============================== */

.role-card,
.step-card {
  position: relative;
  overflow: hidden;
}

/* shared glow layer */
.role-card::before,
.step-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: 0;
  opacity: 0.35;
  filter: blur(60px);
  pointer-events: none;
}

/* keep content above glow */
.role-card > *,
.step-card > * {
  position: relative;
  z-index: 1;
}

/* DESIGNER — blue */
.role-card.designer::before,
.step-card.designer::before {
  background:
    radial-gradient(circle at 30% 30%,
      rgba(56, 189, 248, 0.55),
      transparent 60%);
}

/* MAKER — green */
.role-card.maker::before,
.step-card.maker::before {
  background:
    radial-gradient(circle at 30% 30%,
      rgba(74, 222, 128, 0.55),
      transparent 60%);
}

/* CUSTOMER — magenta */
.role-card.customer::before,
.step-card.customer::before {
  background:
    radial-gradient(circle at 30% 30%,
      rgba(244, 114, 182, 0.45),
      rgba(167, 139, 250, 0.20),
      transparent 60%);
}
.role-card:hover::before,
.step-card:hover::before {
  opacity: 0.55;
  filter: blur(70px);
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.role-card.designer,
.step-card.designer {
  border-color: rgba(56, 189, 248, 0.35);
}

.role-card.maker,
.step-card.maker {
  border-color: rgba(74, 222, 128, 0.35);
}

.role-card.customer,
.step-card.customer {
  border-color: rgba(244, 114, 182, 0.35);
}

/* Full-bleed maker layout only (doesn't affect other tabs) */
#tab-create .maker-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding-left: 16px;   /* "hug" the left edge but not flush */
  padding-right: 16px;
}
/* 2-column maker layout */
#tab-create .maker-section {
  display: flex;
  gap: 1.25rem;         /* space between columns */
  align-items: flex-start;
}

/* Slim left column (Accepted Jobs) */
#tab-create .maker-panel-right {
  flex: 0 0 320px;
  width: 320px;
}

/* Right column fills the rest (Open Queue) */
#tab-create .maker-panel:not(.maker-panel-right) {
  flex: 1;
  min-width: 0;
}

/* If you want it even closer to the edge, drop to 8px or 0 */
.maker-intro {
  text-align: center;
  max-width: 720px;
  margin: 0.5rem auto 1rem;
}

#tab-create .maker-panels {
  margin-top: 0.5rem; /* tighter so it sits closer to starfield */
}

/* Tighten vertical spacing in Maker/Create tab only */
#tab-create {
  padding-top: 0;
  margin-top: 0px; /* small lift without breaking anything */
}

/* Reduce the "stubborn" empty space around the intro */
#tab-create .maker-intro {
  margin: 0.25rem auto 0.5rem; /* was 0.5rem auto 1rem */
}

/* Your <p> has an inline margin-bottom: 1rem; override it */
#tab-create .maker-intro p {
  margin-bottom: 0.25rem !important;
}

/* Pull the panels up closer to the intro text */
#tab-create .maker-panels {
  margin-top: 0.25rem; /* was 0.5rem */
}

/* Open jobs: 5 cards per row */
#job-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

/* Responsive fallbacks */
@media (max-width: 1400px) { #job-list { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1150px) { #job-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 850px)  { #job-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { #job-list { grid-template-columns: 1fr; } }

/* Make cards behave nicely in a grid */
#job-list .job-card {
  height: 100%;
  flex-direction: column;
  height: 100%;
  display: flex;
}
#job-list .job-actions {
  margin-top: auto;
  align-self: stretch;   /* same width across cards */
  margin-bottom: 0.25rem;

}
#job-list .job-actions .accept-job-btn {
  width: 100px;
}

/* Make the body fill the available height so actions can push down */
#job-list .job-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;              /* ✅ THIS is the missing piece */
  min-height: 0;
}

#job-list .accept-job-btn { 
  width: 100px;                 /* full card width */
  height: 42px;                /* fixed height */
  box-sizing: border-box;

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

  padding: 0;                  /* remove variable padding */
  font-weight: 700;
}

#job-list .accept-job-btn:hover {
  transform: translateY(-1px);
}

/* Accepted jobs smaller image */
.job-card-accepted .job-card-image-small {
  width: 100%;
  aspect-ratio: 4 / 1;   /* wide banner strip */
  overflow: hidden;
  background: #0f172a;
}

.job-card-accepted .job-card-image-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-card-accepted {
  border: 1px solid #1e293b;
  background: #050816;;
  margin-bottom: 7px;
}

/* =========================
   Maker queue filters
   ========================= */

.maker-job-filters {
  display: grid;
  grid-template-columns:
    minmax(240px, 2fr)
    repeat(4, minmax(110px, 1fr))
    minmax(190px, 1.15fr)
    auto;
  gap: 0.75rem;
  align-items: end;
  margin: 0 0 1rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.42);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.16);
}

.maker-job-results-meta {
  min-height: 1.2rem;
  margin-bottom: 1rem;
  padding: 0 0.1rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

#job-list {
  margin-top: 0.25rem;
}

.maker-job-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.maker-job-filter-group label {
  font-size: 0.8rem;
  color: #94a3b8;
}

.maker-job-filter-group input,
.maker-job-filter-group select {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(2, 6, 23, 0.75);
  color: #e2e8f0;
  outline: none;
}

.maker-job-filter-group input:focus,
.maker-job-filter-group select:focus {
  border-color: rgba(34, 197, 94, 0.9);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.3);
}

#maker-job-apply-filters {
  border-color: rgba(34, 197, 94, 0.45);
}

#maker-job-apply-filters:hover {
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.25);
}

.maker-job-filter-actions {
  display: flex;
  gap: 0.5rem;
  align-items: end;
}

.maker-job-results-meta {
  min-height: 1.2rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.job-card-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.45rem;
  width: 100%;
  align-items: flex-start;
  align-content: flex-start;
}

.job-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  white-space: nowrap;

  font-size: 0.72rem;
  line-height: 1;
  padding: 0.24rem 0.5rem;
  border-radius: 999px;

  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #cbd5f5;
}

.job-card-meta-compact {
  font-size: 0.82rem;
  color: #cbd5f5;
  line-height: 1.45;
  margin-top: 0.35rem;
}

@media (max-width: 1550px) {
  .maker-job-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .maker-job-filter-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .maker-job-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .maker-job-filters {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Browse: sidebar + main
   ========================= */

/* Full-bleed only for Browse tab (doesn't affect other tabs) */
#tab-browse .browse-shell {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding-left: 16px;
  padding-right: 16px;

  display: grid;
  grid-template-columns: 320px minmax(0, 1200px);
  gap: 1.25rem;

  justify-content: start; /* keeps main column same size/placement */
  align-items: start;
}

/* If the My Orders sidebar is hidden, make Browse a single-column layout */
#tab-browse .browse-shell.no-orders-sidebar {
  grid-template-columns: minmax(0, 1200px);
  justify-content: center;
}


#tab-browse .browse-panel {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
}

#tab-browse .browse-panel-left {
  width: 320px;
}

#tab-browse .browse-main {
  margin-left: auto;
  margin-right: auto;
}

/* Orders list: normal vertical flow, no scrolling container */
#my-orders-list {
  display: grid;
  gap: 0.75rem;
}

/* Make order cards feel like the job cards (thumb + body) */
.order-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  cursor: pointer;
}

.order-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  flex: 0 0 auto;
}

/* Mobile: stack sidebar on top */
@media (max-width: 900px) {
  #tab-browse .browse-shell {
    grid-template-columns: 1fr;
  }

  #tab-browse .browse-panel-left {
    width: auto;
  }
}

/* =========================
   Browse filters
   ========================= */
.browse-filters {
  display: grid;
  grid-template-columns: minmax(240px, 2fr) repeat(4, minmax(120px, 1fr)) auto;
  gap: 0.75rem;
  align-items: end;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.35);
}

.browse-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.browse-filter-group label {
  font-size: 0.8rem;
  color: #94a3b8;
}

.browse-filter-group input,
.browse-filter-group select {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(2, 6, 23, 0.75);
  color: #e2e8f0;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* ✨ Aurora pink focus */
.browse-filter-group input:focus,
.browse-filter-group select:focus {
  border-color: rgba(244, 114, 182, 0.85);
  box-shadow:
    0 0 0 1px rgba(244, 114, 182, 0.35),
    0 0 12px rgba(244, 114, 182, 0.18);
}

.browse-filter-actions {
  display: flex;
  gap: 0.5rem;
  align-items: end;
}

.browse-results-meta {
  min-height: 1.25rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

/* =========================
   Browse Apply button (purple accent)
   ========================= */

#browse-apply-filters {
  border-color: rgba(244, 114, 182, 0.55);

}

#browse-apply-filters:hover,
#browse-apply-filters:focus-visible {
  border-color: rgba(244, 114, 182, 0.85);
  box-shadow: 0 0 0 1px rgba(244, 114, 182, 0.28);
}

@media (max-width: 1200px) {
  .browse-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .browse-filter-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .browse-filters {
    grid-template-columns: 1fr;
  }
}



/* =========================
   Design: pull form much closer to My Designs
   ========================= */

#tab-design .design-shell {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding-left: 16px;
  padding-right: 16px;

  display: grid;
  grid-template-columns: 360px minmax(0, 920px);
  gap: 3.5rem;
  justify-content: start;
  align-items: start;
}

#tab-design .design-panel-left {
  width: 360px;
  max-width: 360px;
}

#tab-design .design-main {
  min-width: 0;
  display: flex;
  justify-content: flex-start;
}

#tab-design .design-form-wrapper {
  width: 100%;
  max-width: 920px;
  margin-left: 0;
  margin-right: 0;
}

/* keep the form fields filling the wrapper cleanly */
#tab-design #upload-form {
  width: 100%;
  max-width: none;
}

#tab-design #upload-form .form-row input,
#tab-design #upload-form .form-row textarea,
#tab-design #upload-form .form-row select {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

/* =========================
   My Designs panel: restore bubble + add left accent
   ========================= */

#tab-design #my-designs-panel {
  background: rgba(15, 23, 42, 0.38);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-left:3px;
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.16);
    display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Center the upload form within the design main column */
#tab-design .design-form-wrapper {
  max-width: 900px;      /* controls perceived form width */
  margin-left: auto;
  margin-right: auto;
}

#my-designs-panel .design-card {
  margin-bottom: 0.6rem;
}

#my-designs-panel .design-card:last-child {
  margin-bottom: 0;
}

/* =========================
   My Designs: card spacing
   ========================= */

#designer-projects-list > * {
  margin-bottom: 0.6rem;
  background:#050816;
}

#designer-projects-list > *:last-child {
  margin-bottom: 0;
}

/* Optional: tighten vertical rhythm */
#tab-design .design-form-wrapper h3 {
  margin-top: 0;
}

.file-list {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.file-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.35);
  font-size: 0.9rem;
  color: #e2e8f0;
}

.file-chip .meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.file-chip .name {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-chip .size {
  font-size: 0.8rem;
  color: #94a3b8;
}

.file-chip button {
  border: none;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0.1rem 0.25rem;
}

.file-chip button:hover {
  color: #f87171;
}

/* Shared file row styling */
.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.file-item:last-child {
  border-bottom: none;
}

/* Image-specific row (optional extra spacing) */
.image-file-item {
  padding: 0.6rem 0;
}

/* File metadata block */
.file-meta {
  min-width: 0;
}

.file-name {
  font-size: 0.9rem;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-size {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* Small X remove button */
.file-remove-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  transition: color 0.15s ease, transform 0.15s ease;
}

.file-remove-btn:hover {
  color: #f87171;
  transform: scale(1.1);
}

.file-remove-btn:active {
  transform: scale(0.95);
}

.request-modal {
  max-width: 720px;
}

.request-summary {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  color: #cbd5f5;
}

.request-pricing {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #cbd5f5;
  font-size: 0.95rem;
}

.request-pricing .line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.25rem 0;
}

.request-pricing .total {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  font-weight: 700;
}

.request-info-box {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;

  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);

  font-size: 0.85rem;
  line-height: 1.45;
  color: #dbeafe;
}

.request-info-box p {
  margin: 0.25rem 0;
}

.request-info-box strong {
  color: #ffffff;
}

.request-info-title {
  font-weight: 600;
  font-size: 0.8rem;
  color: #93c5fd;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* =========================
   Create tab: green hover
   ========================= */

#tab-create .design-card {
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#tab-create .design-card:hover {
  border-color: #22c55e; /* emerald-500 */
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.45);
}
/* =========================
   Browse tab: purple hover
   ========================= */

#tab-browse .project-card:hover {
  border-color: #f472b6;
  box-shadow: 0 0 0 1px rgba(244, 114, 182, 0.45);
}
/* =========================
   My Orders: purple hover
   ========================= */

#my-orders-panel .order-card {
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#my-orders-panel .order-card:hover {
  border-color: #f472b6;
  box-shadow: 0 0 0 1px rgba(244, 114, 182, 0.35);
}

/* =========================
   Home page role buttons
   ========================= */

#btn-maker,
#btn-customer {
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#btn-maker {
  border-color: #22c55e; /* green */
  color: #e2e8f0;
}

#btn-customer {
  border-color: #f472b6; /* magenta */
}

#btn-maker:hover {
  border-color: #4ade80;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.45);
}

#btn-customer:hover {
  border-color: #f472b6;
  box-shadow: 0 0 0 2px rgba(244, 114, 182, 0.45);
}
.modal {
  max-height: 85vh;            /* never taller than viewport */
  overflow-y: auto;            /* scroll content if needed */
}
/* Project details modal image */
#project-modal img#proj-img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
/* Maker job modal image */
#maker-job-modal img {
  max-height: 40vh;
  width: 100%;
  object-fit: contain;
  display: block;
  margin-bottom: 1rem;
}


#maker-job-notes .btn {
  width: 100%;
}

/* =========================
   Maker open-job modal notes fix
   ========================= */

#maker-job-notes {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

#maker-job-notes > div {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Maker modal carousel image sizing */
#maker-job-modal #maker-job-image {
  max-height: 40vh;   /* keeps the rest of modal visible */
  width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

#maker-job-files .btn {
  width: 100%;
}

#maker-job-files {
  overflow: visible;
}

/* Optional: slightly tighter viewer spacing in maker modal */
#maker-job-modal .maker-viewer {
  margin-bottom: 1rem;
}
.maker-status-select {
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: #020617;
  color: #e5e7eb;
  font-size: 0.95rem;
}

#maker-accepted-files {
  padding-top: 0.75rem;
  border-top: 1px solid #1e293b;
  margin-bottom: 0.75rem
}

/* Customer order modal image sizing (same feel as maker modal) */
#customer-order-modal #customer-order-image {
  max-height: 40vh;
  width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
/* ============================
   Disabled / inactive tab buttons
   ============================ */

.tab-btn.disabled {
  opacity: 0.45;
  cursor: pointer;
  pointer-events: auto;

  /* visual tone-down */
  filter: grayscale(60%);
  position: relative;
}

/* Optional: subtle lock indicator using :after */
.tab-btn.disabled::after {
  content: "🔒";
  margin-left: 0.35rem;
  font-size: 0.75rem;
  opacity: 0.75;
}

/* Prevent hover styles on disabled tabs */
.tab-btn.disabled:hover {
  background: inherit;
  color: inherit;
  box-shadow: none;
  content: "+";
}

.legal-tab-btn {
  /* You can paste the same rules you use for .tab-btn */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.35);
  color: #e2e8f0;
  cursor: pointer;
}

.legal-tab-btn.active {
  /* match your active tab look */
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.35);
}

.legal-tab-btn:hover {
  filter: brightness(1.1);
}

.payout-setup-callout {
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(250, 204, 21, 0.08); /* subtle amber glow */
  border: 1px solid rgba(250, 204, 21, 0.25);
}


/* =========================
   Maker open queue: remove outer shell
   ========================= */

/* Make the LEFT open-jobs panel behave like Browse main content:
   no extra wrapper background/border/padding */
#tab-create .maker-panel:not(.maker-panel-right) {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

/* Keep the accepted-jobs sidebar styled as its own panel */
#tab-create .maker-panel.maker-panel-right {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
}

/* =========================
   About page / FAQ page
   ========================= */

.utility-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 2rem 3rem;
}

.about-page-shell {
  display: grid;
  gap: 1.25rem;
}

.about-hero-card,
.about-story-card,
.about-faq-card {
  background: rgba(15, 23, 42, 0.38);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  padding: 1.5rem 1.35rem;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.2);
}

.about-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a78bfa;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.about-hero-card h2,
.about-story-card h3,
.about-faq-card h3 {
  text-align: left;
  margin-bottom: 0.75rem;
}

.about-lead {
  color: #cbd5f5;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 760px;
}

.about-role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-role-card {
  padding: 1.2rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.42);
}

.about-role-card h3 {
  margin-bottom: 0.45rem;
}

.about-role-card p {
  color: #cbd5f5;
  line-height: 1.55;
  font-size: 0.94rem;
}

.about-role-card.designer {
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.14);
}

.about-role-card.maker {
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.14);
}

.about-role-card.customer {
  box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.14);
}

.about-story-card p {
  color: #cbd5f5;
  line-height: 1.72;
  margin-bottom: 1rem;
}

.about-story-card p:last-child {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.42);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.faq-item h4 {
  margin-bottom: 0.35rem;
  color: #f8fafc;
  font-size: 1rem;
}

.faq-item p {
  color: #cbd5f5;
  line-height: 1.62;
  font-size: 0.94rem;
}

@media (max-width: 900px) {
  .about-role-grid {
    grid-template-columns: 1fr;
  }

  .utility-page {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* =========================
   Contact page
   ========================= */

.contact-page-shell {
  display: flex;
  justify-content: center;
}

.contact-card {
  width: 100%;
  max-width: 760px;
  background: rgba(15, 23, 42, 0.38);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.2);
}

.contact-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a78bfa;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.contact-card h2 {
  text-align: left;
  margin-bottom: 0.75rem;
}

.contact-lead {
  color: #cbd5f5;
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.contact-note {
  color: #fcd34d;
  background: rgba(250, 204, 21, 0.08);
  border: 1px solid rgba(250, 204, 21, 0.22);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  margin-bottom: 1.1rem;
  line-height: 1.55;
  font-size: 0.94rem;
}

.contact-form {
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-actions {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

.contact-form-message {
  min-height: 1.25rem;
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.92rem;
  color: #94a3b8;
}

.admin-support-list {
  display: grid;
  gap: 0.9rem;
}

.support-message-card {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.42);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.support-message-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.65rem;
}

.support-message-subject {
  font-weight: 700;
  color: #f8fafc;
}

.support-message-meta {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.5;
}

.support-message-body {
  color: #cbd5f5;
  line-height: 1.6;
  margin: 0.75rem 0;
  white-space: pre-wrap;
}

.support-message-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.support-status-badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.5);
}

.support-status-badge.open {
  border-color: rgba(248, 113, 113, 0.35);
}

.support-status-badge.in_progress {
  border-color: rgba(250, 204, 21, 0.35);
}

.support-status-badge.resolved {
  border-color: rgba(34, 197, 94, 0.35);
}

/* =========================
   Chat page
   ========================= */

.chat-page-shell {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.chat-sidebar-card,
.chat-thread-card {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  padding: 1rem;
}

.chat-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.chat-search-results {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.chat-search-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.5);
}

.chat-search-user-name {
  font-weight: 700;
  color: #e2e8f0;
}

.chat-conversations-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.chat-conversation-item {
  width: 100%;
  text-align: left;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  cursor: pointer;
  color: #e2e8f0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.chat-conversation-item:hover {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.18);
}

.chat-conversation-item.active {
  border-color: rgba(56, 189, 248, 0.85);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.24);
}

.chat-conversation-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.chat-conversation-meta,
.chat-conversation-preview,
.chat-thread-subtitle {
  font-size: 0.82rem;
  color: #94a3b8;
}

.chat-conversation-preview {
  margin-top: 0.35rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.chat-thread-empty {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.chat-thread-header {
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.chat-thread-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #f8fafc;
}

.chat-messages {
  min-height: 320px;
  max-height: 55vh;
  overflow-y: auto;
  display: grid;
  gap: 0.75rem;
  padding-right: 0.35rem;
}

.chat-message-row {
  display: flex;
}

.chat-message-row.mine {
  justify-content: flex-end;
}

.chat-message-bubble {
  max-width: min(560px, 78%);
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.6);
}

.chat-message-row.mine .chat-message-bubble {
  background: rgba(14, 165, 233, 0.16);
  border-color: rgba(56, 189, 248, 0.35);
}

.chat-message-author {
  font-size: 0.78rem;
  font-weight: 700;
  color: #cbd5f5;
  margin-bottom: 0.25rem;
}

.chat-message-body {
  color: #e2e8f0;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-message-time {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.45rem;
}

.chat-compose-form {
  margin-top: 1rem;
}

.chat-compose-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 88px;
  padding: 0.75rem 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: #020617;
  color: #e5e7eb;
  font-size: 0.95rem;
}

.chat-compose-form textarea:focus {
  outline: none;
  border-color: #38bdf8;
}

.chat-compose-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
}

@media (max-width: 900px) {
  .chat-page-shell {
    grid-template-columns: 1fr;
  }

  .chat-thread-empty {
    min-height: 240px;
  }

  .chat-message-bubble {
    max-width: 100%;
  }
}

.chat-messages {
  height: 56vh;
  max-height: 56vh;
  min-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-right: 0.35rem;
  padding-bottom: 0.25rem;
}

.chat-message-row {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.chat-message-row.mine {
  justify-content: flex-end;
}

.chat-message-bubble {
  display: inline-block;
  width: fit-content;
  max-width: min(520px, 78%);
  padding: 0.72rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.6);
  box-sizing: border-box;
}

.chat-message-row.mine .chat-message-bubble {
  background: rgba(14, 165, 233, 0.16);
  border-color: rgba(56, 189, 248, 0.35);
}

.chat-message-author {
  font-size: 0.78rem;
  font-weight: 700;
  color: #cbd5f5;
  margin-bottom: 0.25rem;
}

.chat-message-body {
  color: #e2e8f0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.4;
}

.chat-message-time {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.45rem;
}

.maker-feedback-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #1e293b;
}

.maker-feedback-header {
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.maker-feedback-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  color: #cbd5f5;
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}

.maker-feedback-empty {
  color: #94a3b8;
  font-size: 0.92rem;
}

.maker-feedback-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.maker-feedback-entry {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-left-width: 4px;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  background: rgba(15, 23, 42, 0.35);
}

.maker-feedback-entry.pass {
  border-left-color: rgba(96, 165, 250, 0.9);
}

.maker-feedback-entry.release {
  border-left-color: rgba(248, 113, 113, 0.95);
}

.maker-feedback-entry-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}

.maker-feedback-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.maker-feedback-badge.pass {
  background: rgba(59, 130, 246, 0.16);
  color: #bfdbfe;
}

.maker-feedback-badge.release {
  background: rgba(239, 68, 68, 0.16);
  color: #fecaca;
}

.maker-feedback-date {
  color: #94a3b8;
  font-size: 0.82rem;
}

.maker-feedback-meta {
  color: #cbd5f5;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
}

.maker-feedback-text {
  color: #e2e8f0;
  line-height: 1.45;
}

.job-expiry {
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  font-size: 0.82rem;
  color: #cbd5f5;
}

.job-expiry strong {
  color: #f8fafc;
}

.job-expiry-urgent {
  color: #fbbf24;
  font-weight: 700;
}

.job-expiry-badge {
  background: rgba(99, 102, 241, 0.18);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #c7d2fe;
}

/* Urgent state (less than 24h) */
.job-expiry-badge.urgent {
  background: rgba(251, 191, 36, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.5);
  color: #fbbf24;
  font-weight: 600;
}

/* =========================
   Browse heading alignment
   ========================= */

/* =========================
   Full-width tab headers (Browse + Design)
   ========================= */

/* =========================
   Visually center headers across full page
   ========================= */

#tab-browse .browse-main > h3,
#tab-browse .browse-main > p,
#tab-design .design-main > h3,

/* =========================
   Full-width tab page headers
   ========================= */

.tab-page-header {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 0.85rem;
  text-align: center;
  padding: 0 1rem;
}

.tab-page-header h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #f8fafc;
}

.tab-page-header p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #cbd5f5;
}

#tab-design .tab-page-header,
#tab-browse .tab-page-header {
  margin-top: 0;
  margin-bottom: 0.9rem;
}

/* =========================
   Create tab vertical tightening
   ========================= */

#tab-create {
  padding-top: 0;
  margin-top: 0;
}

#tab-create .maker-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 0.35rem;
}

#tab-create .maker-intro h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

#tab-create .maker-intro p {
  margin-bottom: 0.2rem !important;
}

#tab-create .maker-panels {
  margin-top: 0.1rem;
}

/* =========================
   Create panel top alignment
   ========================= */

#tab-create .maker-section {
  align-items: flex-start;
  margin-top: 0;
  padding-top: 0;
}

#tab-create .maker-panel,
#tab-create .maker-panel.maker-panel-right {
  margin-top: 0;
}

/* =========================
   Account page
   ========================= */

.account-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.account-card {
  background: rgba(15, 23, 42, 0.38);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.2);
}

.account-card h3 {
  margin: 0 0 1rem;
}

.account-role-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.account-role-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(2, 6, 23, 0.5);
  color: #e2e8f0;
}

.account-role-badge.customer {
  border-color: rgba(244, 114, 182, 0.35);
}

.account-role-badge.maker {
  border-color: rgba(34, 197, 94, 0.35);
}

.account-role-badge.designer {
  border-color: rgba(56, 189, 248, 0.35);
}

.account-stripe-list {
  display: grid;
  gap: 0.55rem;
  color: #cbd5f5;
  font-size: 0.92rem;
  line-height: 1.45;
}

@media (max-width: 1000px) {
  .account-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Read-only input styling
   ========================= */
.account-readonly-field {
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.15);
  color: #cbd5f5;
}

/* =========================
   Maker modal pricing colors
   ========================= */

.price-positive {
  color: #34d399; /* soft green */
  font-weight: 600;
}

.price-fee {
  color: #f472b6; /* soft aurora magenta */
  font-weight: 600;
}

.price-total {
  color: #e2e8f0;
  font-weight: 700;
}