body.unified-management{padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important}
#dialog.unified-inline-product{position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:none!important;max-height:none!important;height:auto!important;margin:0!important;border:0;box-shadow:none;overflow:visible;padding:12px;box-sizing:border-box}
#dialog.unified-inline-product::backdrop{display:none}
#dialog.unified-inline-product [data-card-panel][hidden]{display:none!important}
#unified-navigation{position:sticky;top:0;width:100%;background:#153f67;color:#fff;z-index:1040;padding:8px 16px 0;box-sizing:border-box;font-family:Arial,sans-serif;font-size:14px;text-align:start;box-shadow:0 2px 7px #0002}
#unified-navigation a,#unified-navigation button{color:inherit;text-decoration:none}
#unified-navigation .unified-topbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-bottom:8px}
#unified-navigation .unified-brand{font-size:21px;font-weight:bold;display:block;white-space:nowrap}
#unified-navigation .unified-preview{font-size:11px;color:#d3e6f7;max-width:100px;line-height:1.35}
#unified-navigation .unified-topbar>label{margin:0}
#unified-navigation input,#unified-navigation select{min-height:34px;border:1px solid #b8cee1;border-radius:5px;padding:6px 8px;color:#153f67;background:#fff;box-sizing:border-box;margin:0}
#unified-language{width:112px}
#unified-find{width:150px}
#unified-global-slot{flex:1;min-width:200px}
#unified-navigation>nav{display:flex;flex-wrap:wrap;gap:0 4px;align-items:stretch;border-top:1px solid #ffffff30}
#unified-navigation details{border:0;padding:0}
#unified-navigation>nav>details{position:relative}
#unified-navigation summary{padding:10px 12px;cursor:pointer;font-weight:600;border-radius:4px;white-space:nowrap}
#unified-navigation summary:hover,#unified-navigation details[open]>summary{background:#ffffff22}
#unified-navigation>nav>details>div{position:absolute;inset-block-start:100%;inset-inline-start:0;min-width:260px;max-width:min(380px,94vw);max-height:65vh;overflow:auto;padding:6px;background:#153f67;box-shadow:0 6px 16px #0004;border:1px solid #ffffff30;border-radius:0 0 6px 6px;z-index:1050}
#unified-navigation>nav>details:nth-last-child(-n+2)>div{inset-inline-start:auto;inset-inline-end:0}
#unified-navigation details details>div{padding-inline-start:14px;border-inline-start:1px solid #ffffff30;margin-inline-start:12px}
#unified-navigation nav a{display:block;padding:9px 10px;line-height:1.35;border-radius:4px;overflow-wrap:anywhere}
#unified-navigation nav a:hover,#unified-navigation nav a:focus{background:#ffffff22}
#unified-navigation [hidden]{display:none!important}
#unified-navigation .unified-bottom{display:flex;gap:12px;align-items:center;white-space:nowrap;margin-inline-start:auto}
#unified-navigation button{background:transparent;border:1px solid #ffffff66;border-radius:4px;padding:6px;cursor:pointer}
body.unified-management>header:not(#unified-navigation),body.unified-management .erp-sidebar,body.unified-management .panel-bluebar{display:none!important}
body.unified-management .erp-workspace{display:block!important;padding:12px;max-width:none!important}
body.unified-management .erp-main,body.unified-management .orders-main{width:100%;margin:0!important;max-width:none!important}
body.unified-management .erp-workspace-tabs{position:relative;top:auto}
body.unified-management .admin.reference-panel{padding:0!important;margin:0!important;width:auto!important;min-width:0!important}
body.unified-management .panel-location{margin-top:0!important}
body.unified-management .admin-main{padding-top:0!important}
#unified-navigation .global-search{position:relative;width:100%;max-width:none;margin:0}
#unified-navigation .global-search input{width:100%}
#unified-navigation .global-search-results{position:absolute;inset:36px 0 auto 0;background:#fff;border:1px solid #bdcfe0;border-radius:5px;max-height:300px;overflow:auto;z-index:1100;color:#153f67;box-shadow:0 5px 16px #0003}
#unified-navigation .global-search-hit{display:block;padding:10px;border-bottom:1px solid #e7edf3;color:#153f67}
#unified-navigation .global-search-hit strong,#unified-navigation .global-search-hit small{display:block;overflow-wrap:anywhere}
@media(max-width:1100px){#unified-navigation .unified-preview{display:none}#unified-navigation .unified-topbar{gap:8px}#unified-find{width:130px}}
@media(max-width:700px){#unified-navigation{position:relative;padding:8px}#unified-navigation .unified-brand{font-size:18px}#unified-global-slot{min-width:160px}#unified-navigation .unified-bottom{margin-inline-start:0}#unified-navigation summary{padding:10px 8px}#unified-navigation>nav{position:relative}#unified-navigation>nav>details{position:static}#unified-navigation>nav>details>div,#unified-navigation>nav>details:nth-last-child(-n+2)>div{position:absolute;inset-block-start:100%;inset-inline-start:0;inset-inline-end:0;min-width:0;max-width:none;max-height:70vh}}

#unified-navigation.unified-filtering>nav{display:block;max-height:55vh;overflow:auto}
#unified-navigation.unified-filtering>nav>details>div{position:static;min-width:0;max-width:none;max-height:none;overflow:visible;box-shadow:none}

/* Compact Filter Sidebar for Product Management */
.erp-split {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.compact-filter-panel {
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #f7f8fa;
  border: 1px solid #b9c9d7;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.compact-filter-panel > h2 {
  padding: 10px 12px;
  margin: 0;
  border-bottom: 1px solid #c4ced6;
  font-size: 13px;
  font-weight: 700;
  color: #1a3a5a;
  background: #eef3f8;
}
.compact-filter-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  margin: 0;
}
.compact-filter-tabs {
  display: flex;
  flex-shrink: 0;
  border-bottom: 1px solid #b8c5d0;
  background: #e7edf3;
}
.compact-filter-tab {
  border: 0;
  border-right: 1px solid #c8d1db;
  background: transparent;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #344d62;
  cursor: pointer;
}
.compact-filter-tab[aria-selected="true"] {
  background: #fff;
  color: #126499;
  border-top: 2px solid #257daf;
}
.compact-filter-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  max-height: calc(100vh - 240px);
  padding: 10px 8px;
}
.compact-filter-pane[hidden] {
  display: none !important;
}
.compact-filter-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  margin-bottom: 7px;
  min-height: 26px;
}
.compact-filter-row > label {
  font-size: 12px;
  font-weight: 600;
  margin: 0;
  text-align: right;
  line-height: 1.15;
  color: #334e68;
}
.compact-filter-control {
  min-width: 0;
}
.compact-filter-control input.form-control,
.compact-filter-control select.form-select {
  width: 100%;
  font-size: 12px;
  padding: 4px 6px;
  height: 28px;
  min-height: 28px;
  border: 1px solid #c0d1df;
  border-radius: 3px;
  background: #fff;
  box-sizing: border-box;
  color: #102a43;
}
.compact-filter-control input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 2px 0;
  cursor: pointer;
}
.compact-filter-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 8px;
  border-top: 1px solid #bdc9d2;
  background: #eef2f6;
  flex-shrink: 0;
}
.compact-filter-footer .btn {
  flex: 1 1 42%;
  padding: 7px 8px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
  text-align: center;
  border: 1px solid transparent;
}
.compact-filter-footer .btn-primary {
  background: #0070ba;
  color: #fff;
  border-color: #0070ba;
}
.compact-filter-footer .btn-primary:hover {
  background: #005c99;
}
.compact-filter-footer .btn-outline-secondary {
  background: #fff;
  color: #486581;
  border-color: #bcccdc;
}
.compact-filter-footer .btn-outline-secondary:hover {
  background: #f0f4f8;
}
.compact-filter-footer .btn-outline-success {
  background: #fff;
  color: #1b8a5a;
  border-color: #27ab6e;
}
.compact-filter-footer .btn-outline-success:hover {
  background: #e6f6ee;
}
.compact-filter-footer .w-100 {
  flex-basis: 100% !important;
}
@media (max-width: 900px) {
  .erp-split {
    display: block;
  }
  .compact-filter-panel {
    margin-bottom: 16px;
  }
}
/* Dashboard Düşüş / Yükseliş Trend Badges (Exact match to reference graphics) */
.dashboard-trend-badge {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    line-height: 1;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.dashboard-trend-badge.trend-up {
    gap: 6px;
    background: #e6f9ed;
    padding: 3px 8px 3px 4px;
    border-radius: 6px;
    border: 1px solid #d1fae5;
}
.dashboard-trend-badge.trend-up .trend-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #10b981;
    color: #ffffff;
    border-radius: 4px;
}
.dashboard-trend-badge.trend-up .trend-text {
    color: #047857;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: -0.2px;
}
.dashboard-trend-badge.trend-down {
    gap: 6px;
    background: #fff1f2;
    padding: 3px 5px 3px 10px;
    border-radius: 9999px;
    border: 1px solid #ffe4e6;
}
.dashboard-trend-badge.trend-down .trend-text {
    color: #be123c;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: -0.2px;
}
.dashboard-trend-badge.trend-down .trend-circle-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    background: #fecdd3;
    color: #be123c;
    border-radius: 50%;
}
.dashboard-trend-badge.trend-neutral {
    background: #f1f5f9;
    color: #64748b;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

/* Enhanced Unified Navigation Bar Styles */
#unified-navigation {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

#unified-navigation > nav > details > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 10px 12px;
  font-weight: 600;
  border-radius: 4px;
  white-space: nowrap;
}

#unified-navigation > nav > details > summary::-webkit-details-marker {
  display: none;
}

#unified-navigation > nav > details > summary::before {
  content: "►";
  font-size: 8px;
  opacity: 0.85;
  display: inline-block;
  transition: transform 0.15s ease;
}

#unified-navigation > nav > details[open] > summary::before {
  transform: rotate(90deg);
}

#unified-navigation .unified-bottom a,
#unified-navigation .unified-bottom button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

#unified-navigation .unified-bottom a:hover,
#unified-navigation .unified-bottom button:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.7);
}

#unified-clear-cache{white-space:nowrap;min-height:38px}.unified-cache-notice{position:fixed;inset-inline-end:16px;top:74px;z-index:10000;max-width:min(460px,calc(100vw - 32px));background:#eaf7ee;color:#17452b;border:1px solid #a8d6b5;border-radius:7px;padding:14px 18px;box-shadow:0 3px 18px #0002}.unified-cache-notice.error{background:#fff0ee;color:#8c241d;border-color:#edb3ad}

.care-grid{padding:14px}.care-grid .table-wrap{overflow:auto;max-width:100%}.care-data-table{width:100%;border-collapse:collapse;font-size:13px}.care-data-table th{background:#414141;color:white;text-align:start;padding:10px;white-space:nowrap}.care-data-table td{padding:9px;border:1px solid #e8e8e8;vertical-align:middle}.care-data-table tbody tr:nth-child(odd){background:#f3f3f3}.care-stars{color:#169c72;white-space:nowrap;font-size:18px}.care-table-tools{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:14px 0}.care-table-tools>.field{flex:1;min-width:150px}.care-row-actions{display:flex;gap:4px;align-items:center}.care-row-actions button{font-size:12px;white-space:nowrap;padding:6px}.care-data-table .unread{color:#b32323}.care-data-table .read{color:#25702b}.care-message-cell{max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.care-policy{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.care-policy .field{min-width:220px}#care-pager{padding:12px 0}@media(max-width:760px){.care-grid{padding:8px}.care-table-tools{display:grid;grid-template-columns:1fr 1fr}.care-table-tools input,.care-table-tools select{max-width:100%}.care-data-table{min-width:850px}.care-policy{display:block}.care-row-actions{flex-wrap:wrap}}

/* Review moderation: keep publication and actions visible without truncating feedback. */
.care-reviews-table{table-layout:fixed;min-width:0!important}.care-reviews-table td{white-space:normal!important;overflow-wrap:anywhere}.care-reviews-table th:nth-child(1){width:8%}.care-reviews-table th:nth-child(2){width:7%}.care-reviews-table th:nth-child(3){width:17%}.care-reviews-table th:nth-child(4){width:9%}.care-reviews-table th:nth-child(5){width:23%}.care-reviews-table th:nth-child(6){width:8%}.care-reviews-table th:nth-child(7){width:10%}.care-reviews-table th:nth-child(8){width:18%}.care-reviews-table .care-row-actions{flex-wrap:wrap}.care-reviews-table th{white-space:normal}
@media(max-width:760px){.care-reviews-table{min-width:900px!important}.care-reviews-table th:last-child,.care-reviews-table td:last-child{position:sticky;right:0;background:#fff;color:#222;z-index:1}}
