
/* =========================================
   NOVELUXI CREATIVE REVIEW STUDIO
   Complete interface stylesheet
========================================= */

:root {
  --ink: #292723;
  --muted: #77736d;
  --paper: #f7f6f3;
  --white: #ffffff;
  --line: #e9e5de;
  --gold: #b78350;
  --green: #168348;
  --green-bg: #e0f5e9;
  --red: #a94b26;
  --soft: #f3f3f2;
  --shadow: 0 5px 22px rgba(40, 32, 20, .045);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 14px;
}

button,
select {
  font: inherit;
}

/* HEADER */

.topbar {
  height: 68px;
  padding: 0 clamp(22px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}

.brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 21px;
  letter-spacing: 2px;
}

.brand-sub {
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 2.5px;
}

.top-label {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1.6px;
}

/* MAIN LAYOUT */

.shell {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 55px 0 48px;
}

.intro-content {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.intro h1 {
  margin: 0 0 13px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 500;
  letter-spacing: -.8px;
}

.intro-copy {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.count {
  min-width: 145px;
  padding: 19px 22px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--white);
  border: 1px solid var(--line);
}

.count strong {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.count span {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1.3px;
}

/* SECTION HEADER */

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  margin: 0 0 5px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 500;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.pill {
  padding: 7px 12px;
  border: 1px solid #e6d8c8;
  border-radius: 20px;
  color: #92704e;
  font-size: 8px;
  letter-spacing: 1.4px;
  white-space: nowrap;
}

/* DASHBOARD */

.review-dashboard {
  display: block;
  margin: 25px 0 28px;
  padding: 25px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.dashboard-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 13px;
}

.dashboard-eyebrow {
  margin: 0;
  color: #98734f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

.dashboard-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 20px;
  background: var(--green-bg);
  color: var(--green);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .5px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1caa60;
  box-shadow: 0 0 0 3px rgba(28, 170, 96, .12);
}

.dashboard-title {
  margin: 0 0 7px;
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -.5px;
}

.dashboard-description {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 21px;
}

.dashboard-stat {
  min-height: 91px;
  padding: 15px 12px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: 9px;
  transition: background .2s ease, border-color .2s ease;
}

.dashboard-stat:hover {
  background: #efefed;
  border-color: var(--line);
}

.dashboard-stat strong {
  color: #222;
  font-size: 25px;
  font-weight: 650;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.dashboard-stat span {
  margin-top: 12px;
  color: #686868;
  font-size: 12px;
}

.dashboard-stat.approved-stat strong {
  color: var(--green);
}

.dashboard-stat.revision-stat strong {
  color: var(--red);
}

/* PRODUCT OVERVIEW */

.dashboard-products {
  margin-top: 16px;
  padding-top: 19px;
  border-top: 1px solid #eceae6;
}

.dashboard-products-heading h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 650;
}

.dashboard-products-heading p {
  margin: 0 0 9px;
  color: #85817b;
  font-size: 11px;
}

.product-summary-list {
  display: flex;
  flex-direction: column;
}

.product-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid #f0eeeb;
}

.product-summary:last-child {
  border-bottom: none;
}

.product-summary-name {
  color: #393630;
  font-size: 12px;
  line-height: 1.5;
}

.product-summary-count {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.summary-loading,
.summary-empty {
  color: var(--muted);
  font-size: 12px;
}

.dashboard-note {
  margin: 14px 0 0;
  color: #918b82;
  font-size: 10px;
  line-height: 1.5;
}

/* PRODUCT SELECTOR */

.product-selector-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin: 25px 0 30px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.selector-copy label {
  display: block;
  margin-bottom: 5px;
  color: #98734f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

.selector-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.product-selector-section select {
  width: min(360px, 48%);
  min-height: 42px;
  padding: 0 13px;
  background: #fff;
  border: 1px solid #ded9d1;
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  outline: none;
}

.product-selector-section select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(183, 131, 80, .12);
}

.product-selector-section select:disabled {
  cursor: wait;
  opacity: .65;
}

/* CREATIVE REVIEW */

.creative-review-section {
  margin: 32px 0 45px;
}

.review-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.review-heading h2 {
  margin: 0 0 6px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 29px;
  font-weight: 500;
}

.review-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.review-count {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* CREATIVE GRID */

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 22px;
}

.card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.card-head {
  padding: 17px 19px 13px;
  border-bottom: 1px solid var(--line);
}

.kicker {
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.card h3 {
  margin: 0 0 5px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 21px;
  font-weight: 500;
}

.sub {
  color: var(--muted);
  font-size: 11px;
}

.visual {
  height: 205px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fbfaf8;
  border-bottom: 1px solid var(--line);
}

.visual img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.placeholder {
  color: #b8afa4;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15px;
}

.body {
  padding: 16px 18px 18px;
}

.group {
  margin-bottom: 17px;
}

.group:last-child {
  margin-bottom: 0;
}

.group h4 {
  margin: 0 0 9px;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 1.5px;
}

.field {
  margin-top: 7px;
  padding: 10px 11px;
  background: #faf9f7;
  border: 1px solid #f0ede8;
}

.label {
  margin-bottom: 5px;
  color: #9a8b7b;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.value {
  color: #38352f;
  font-size: 11px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* CREATIVE ACTIONS */

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
}

.btn {
  padding: 9px 13px;
  border: 0;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease;
}

.btn:hover {
  opacity: .88;
  transform: translateY(-1px);
}

.btn:disabled {
  cursor: wait;
  opacity: .55;
  transform: none;
}

.approve {
  background: #34765d;
  color: white;
}

.revise {
  background: #eee8df;
  color: #6d5945;
}

.reject {
  background: #f7e9e7;
  color: #b85c55;
}

.status {
  margin-left: auto;
  color: #9b9389;
  font-size: 8px;
  letter-spacing: 1px;
}

/* EMPTY STATES */

.empty-state {
  grid-column: 1 / -1;
  padding: 35px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.empty-state h3 {
  margin: 0 0 8px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
}

.empty-state p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

/* FOOTER */

footer {
  margin: 55px 0 20px;
  color: #8b8175;
  font-size: 8px;
  letter-spacing: 1.5px;
  text-align: center;
}

footer small {
  display: block;
  margin-top: 9px;
  font-size: 8px;
}

/* TOAST */

.toast {
  position: fixed;
  z-index: 20;
  bottom: 22px;
  left: 50%;
  max-width: 90%;
  padding: 12px 18px;
  transform: translate(-50%, 20px);
  background: #252522;
  border-radius: 5px;
  color: white;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* RESPONSIVE */

@media (max-width: 760px) {
  .shell {
    width: min(100% - 30px, 600px);
  }

  .intro {
    align-items: flex-start;
    padding: 35px 0;
  }

  .intro h1 {
    font-size: 36px;
  }

  .count {
    min-width: 110px;
    padding: 14px;
  }

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

  .product-selector-section {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .product-selector-section select {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .topbar {
    height: 60px;
    padding: 0 16px;
  }

  .top-label {
    font-size: 7px;
  }

  .brand-name {
    font-size: 18px;
  }

  .intro {
    display: block;
  }

  .intro h1 {
    font-size: 32px;
  }

  .count {
    display: inline-flex;
    margin-top: 20px;
  }

  .section-head {
    align-items: flex-start;
  }

  .section-head h2 {
    font-size: 21px;
  }

  .pill {
    font-size: 7px;
  }

  .review-dashboard {
    padding: 18px 15px;
  }

  .dashboard-title {
    font-size: 21px;
  }

  .dashboard-stats {
    gap: 8px;
  }

  .dashboard-stat {
    min-height: 82px;
    padding: 13px 10px;
  }

  .dashboard-stat strong {
    font-size: 23px;
  }

  .review-heading h2 {
    font-size: 24px;
  }

  .card h3 {
    font-size: 20px;
  }

  .actions {
    padding: 12px;
  }
}

@media (max-width: 350px) {
  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .dashboard-topline {
    align-items: flex-start;
  }
}


/* =========================================
   NOVELUXI — CREATIVE PERFORMANCE DASHBOARD
   ========================================= */

.review-dashboard {
  display: block;
  width: 100%;
  margin: 28px 0 30px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #e9e5df;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(40, 32, 20, 0.035);
}

.dashboard-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
}

.dashboard-eyebrow {
  margin: 0;
  color: #98734f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.dashboard-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 30px;
  background: #e8f6ed;
  color: #27804d;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.7px;
  white-space: nowrap;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #36a466;
  box-shadow: 0 0 0 3px rgba(54, 164, 102, 0.12);
}

.dashboard-title {
  margin: 0 0 7px;
  color: #292621;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.dashboard-description {
  margin: 0;
  color: #817b73;
  font-size: 12px;
  line-height: 1.6;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 20px;
}

.dashboard-stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 90px;
  padding: 15px 17px;
  background: #f4f4f4;
  border: 1px solid #f0efed;
  border-radius: 9px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.dashboard-stat:hover {
  background: #f0eeeb;
  transform: translateY(-2px);
}

.dashboard-stat strong {
  color: #252525;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
}

.dashboard-stat span {
  margin-top: 9px;
  color: #77736d;
  font-size: 12px;
}

.dashboard-stat.approved-stat strong {
  color: #258354;
}

.dashboard-stat.revision-stat strong {
  color: #a65a32;
}

.dashboard-products {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #ece9e4;
}

.dashboard-products-heading {
  margin-bottom: 10px;
}

.dashboard-products-heading h3 {
  margin: 0 0 5px;
  color: #302b26;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.dashboard-products-heading p {
  margin: 0;
  color: #858078;
  font-size: 11px;
}

.product-summary-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 2px;
  border-bottom: 1px solid #f0eeeb;
}

.product-summary:last-child {
  border-bottom: 0;
}

.product-summary-name {
  color: #38342f;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.product-summary-count {
  flex-shrink: 0;
  color: #82715f;
  font-size: 11px;
  font-weight: 600;
}

.dashboard-note {
  margin: 15px 0 0;
  padding-top: 12px;
  border-top: 1px solid #f0eeeb;
  color: #928a80;
  font-size: 10px;
  line-height: 1.6;
}

/* Product selector */

.product-selector {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 24px 0;
}

.product-selector label {
  color: #98734f;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.product-selector select {
  width: min(100%, 430px);
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid #ded7cd;
  border-radius: 6px;
  background: #ffffff;
  color: #302b26;
  font: 12px 'DM Sans', Arial, sans-serif;
  cursor: pointer;
  outline: none;
}

.product-selector select:focus {
  border-color: #b78350;
  box-shadow: 0 0 0 3px rgba(183, 131, 80, 0.10);
}

/* Responsive dashboard */

@media (max-width: 650px) {
  .review-dashboard {
    padding: 19px;
    margin-top: 20px;
  }

  .dashboard-title {
    font-size: 20px;
  }

  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .dashboard-stat {
    min-height: 82px;
    padding: 12px;
  }

  .dashboard-stat strong {
    font-size: 23px;
  }

  .dashboard-stat span {
    font-size: 10px;
  }

  .product-summary-name {
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .dashboard-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }
}

