/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, 'Segoe UI', sans-serif;
  background: #f5f5f7;
  color: #1d1d1f;

  --bg: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --border: #e5e5e7;
  --blue: #007aff;

  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 10px 30px rgba(0, 0, 0, 0.04);
  --radius: 14px;
  --radius-sm: 12px;
  --ring: 0 0 0 3px rgba(0, 122, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
}

a {
  color: inherit;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}

.subtle {
  color: var(--muted);
  font-size: 12px;
}

/* App shell */
.appShell {
  display: grid;
  grid-template-columns: 240px 1fr;
  height: 100vh;
}

.appSidebar {
  border-right: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}

.appMain {
  overflow: auto;
}

.page {
  padding: 18px 22px 26px;
  max-width: 1600px;
  margin: 0 auto;
}

/* Sidebar */
.sidebar {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 14px 12px;
}

.sidebarHeader {
  padding: 10px 10px 14px;
}

.sidebarTitle {
  font-weight: 600;
  letter-spacing: 0.2px;
}

.sidebarSubtitle {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.sidebarNav {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
}

.sidebarItem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  transition: background 160ms ease;
}

.sidebarItem:hover {
  background: rgba(0, 0, 0, 0.04);
}

.sidebarItem.active {
  background: rgba(0, 122, 255, 0.12);
}

.sidebarIcon {
  color: rgba(29, 29, 31, 0.78);
}

.sidebarLabel {
  font-size: 13px;
}

.sidebarFooter {
  margin-top: auto;
  padding: 10px;
}

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

/* Top bar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}

.topbarLeft {
  min-width: 220px;
}

.topbarTitle {
  font-weight: 600;
}

.topbarSubtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.topbarCenter {
  flex: 1 1;
  display: flex;
  justify-content: center;
  padding: 0 12px;
}

.topbarRight {
  display: flex;
  gap: 8px;
  align-items: center;
}

.userMenu {
  display: flex;
  gap: 8px;
  align-items: center;
}

.userPill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(229, 229, 231, 0.9);
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  color: rgba(29, 29, 31, 0.85);
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.userDot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(0, 122, 255, 0.8);
}

.topbarActions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.topbarHint {
  font-size: 12px;
  color: var(--muted);
}

.searchField {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: rgba(29, 29, 31, 0.7);
  width: min(560px, 100%);
}

.inputSearch {
  border: none;
  outline: none;
  box-shadow: none;
  padding: 0;
  width: 100%;
  font-size: 13px;
}

/* Surfaces */
.content {
  margin-top: 14px;
}

.notice {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}

.cardHeader {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  margin-bottom: 12px;
}

.cardTitle {
  font-weight: 600;
}

.cardSubtle {
  font-size: 12px;
  color: var(--muted);
}

.cardsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.card.stat {
  padding: 16px;
}

.statValue {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.statLabel {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

/* Inputs */
.input,
.select {
  padding: 9px 11px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  outline: none;
}

.input:focus,
.select:focus {
  box-shadow: var(--ring);
  border-color: rgba(0, 122, 255, 0.55);
}

/* Buttons */
.btn {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px 12px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background 160ms ease, transform 120ms ease, border-color 160ms ease;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
}

.btn:hover {
  background: rgba(0, 0, 0, 0.03);
}

.btn:active {
  transform: translateY(0.5px);
}

.btn.primary {
  background: #111214;
  color: #fff;
  border-color: rgba(0, 0, 0, 0.7);
}

.btn.primary:hover {
  background: #000;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.8);
}

.btn.ghost {
  background: transparent;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Filter layout */
.filtersRow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.field {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.field.grow {
  flex: 1 1;
  min-width: 260px;
}

.label {
  font-size: 12px;
  color: var(--muted);
}

.actionsRow {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(229, 229, 231, 0.6);
}

.actionsRow .left,
.actionsRow .right {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.pager {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 12px;
}

.segmented {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}

.seg {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.seg:hover {
  background: rgba(0, 0, 0, 0.03);
}

.seg.on {
  border-color: rgba(0, 122, 255, 0.35);
  background: rgba(0, 122, 255, 0.12);
}

/* Table (macOS-like) */
.tableWrap {
  margin-top: 12px;
  overflow: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(229, 229, 231, 0.9);
}

.table {
  min-width: 980px;
}

.tableHeader {
  display: grid;
  grid-gap: 0;
  gap: 0;
  background: rgba(245, 245, 247, 0.7);
  border-bottom: 1px solid rgba(229, 229, 231, 0.8);
}

.tableProducts .tableHeader,
.tableProducts .tr {
  grid-template-columns: 40px 72px 1.3fr 0.9fr 0.7fr 0.7fr 0.7fr 0.8fr 0.7fr 0.5fr 0.5fr;
}

.tableSeoWrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(229, 229, 231, 0.9);
}

.tableSeo {
  min-width: 2800px;
}

.tableSeoGrid {
  display: grid;
  grid-template-columns:
    36px 72px 100px minmax(120px, 1fr) 90px minmax(140px, 1.1fr) minmax(120px, 0.9fr) minmax(100px, 0.75fr) minmax(100px, 0.75fr) 88px
    minmax(100px, 0.75fr) 72px 72px 72px 72px 72px 72px 72px 72px 100px 100px;
  grid-gap: 0;
  gap: 0;
  align-items: start;
}

.th,
.td {
  padding: 12px 10px;
  font-size: 13px;
}

.th {
  font-size: 12px;
  color: rgba(29, 29, 31, 0.72);
  font-weight: 600;
}

.tableBody {
  display: grid;
}

.tr {
  display: grid;
  grid-gap: 0;
  gap: 0;
  border-bottom: 1px solid rgba(229, 229, 231, 0.55);
  transition: background 160ms ease;
}

.tr:hover {
  background: rgba(0, 0, 0, 0.02);
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

.rightStack {
  display: grid;
  justify-items: end;
  grid-gap: 6px;
  gap: 6px;
}

.thumb {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: contain;
  border: 1px solid rgba(229, 229, 231, 0.9);
  background: #fff;
}

.titleCell {
  font-weight: 500;
  line-height: 1.35;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(229, 229, 231, 0.9);
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 600;
}

.badgeDot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.7;
}

.badge-green {
  color: rgba(29, 106, 67, 0.95);
  background: rgba(212, 248, 231, 0.6);
}
.badge-red {
  color: rgba(156, 47, 47, 0.95);
  background: rgba(255, 225, 225, 0.65);
}
.badge-gray {
  color: rgba(90, 90, 95, 0.9);
  background: rgba(240, 240, 242, 0.9);
}
.badge-blue {
  color: rgba(0, 80, 160, 0.95);
  background: rgba(210, 232, 255, 0.7);
}

.empty {
  padding: 18px 12px;
  color: var(--muted);
  font-size: 13px;
}


