/* Elite Utilities — intentionally scoped to unauthenticated portal headers. */
.elite-utilities-local-time {
  align-items: center;
  color: #aab4c3;
  display: inline-flex;
  font: 600 11px/34px 'Plus Jakarta Sans', Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .02em;
  margin-left: 14px;
  padding-left: 14px;
  position: relative;
  white-space: nowrap;
}

.elite-utilities-local-time:before {
  background: #d9ae45;
  border-radius: 50%;
  content: '';
  height: 5px;
  left: 0;
  position: absolute;
  top: 14px;
  width: 5px;
}

.elite-utilities-local-time strong {
  color: #f4efe5;
  font-weight: 700;
  margin-left: 5px;
}

body.customers_login .elite-utilities-local-time {
  color: #c7d0dc;
}

@media (max-width: 760px) {
  .elite-utilities-local-time {
    display: none;
  }
}
.eu-thumbnail-field { margin: 14px 0; }
.eu-thumbnail-control { display:flex; align-items:center; gap:14px; }
.eu-thumbnail-preview { width:72px; height:72px; object-fit:cover; border-radius:10px; border:1px solid #d8deea; }
.eu-thumbnail-empty { display:inline-flex; align-items:center; justify-content:center; width:72px; height:72px; border:1px dashed #aeb8c9; border-radius:10px; color:#748098; font-size:11px; text-align:center; padding:6px; }
.eu-thumbnail-control small,.eu-thumbnail-status { display:block; color:#7b8494; margin:5px 0; }
.eu-thumbnail-control button { margin-top:6px; }
.eu-list-thumbnail-link { display:inline-flex !important; align-items:center; gap:0; }
.eu-list-thumbnail { width:38px; height:38px; object-fit:cover; border-radius:7px; border:1px solid rgba(100,115,140,.2); flex:none; }
.eu-list-thumbnail-slot,.eu-list-thumbnail-placeholder { align-items:center; display:inline-flex; flex:none; height:38px; justify-content:center; width:38px; }
.eu-list-thumbnail-slot { margin-right:9px; vertical-align:middle; }
.eu-list-thumbnail-placeholder { background:linear-gradient(145deg,#17243a,#263957); border:1px solid rgba(100,115,140,.2); border-radius:7px; color:#e6c45c; font-size:14px; font-weight:800; }

/* ==========================================================================
   Elite Utilities — Attachment Viewer Preview Screen
   ========================================================================== */

body.eu-viewer-open {
  overflow: hidden !important;
}

.eu-viewer {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  height: 100%;
  inset: 0;
  justify-content: center;
  position: fixed;
  width: 100%;
  z-index: 10050;
}

.eu-viewer[hidden] {
  display: none !important;
}

.eu-viewer-backdrop {
  background: rgba(10, 16, 29, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  inset: 0;
  position: absolute;
}

.eu-viewer-window {
  animation: euViewerPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  height: 92vh;
  max-height: 920px;
  max-width: 1360px;
  overflow: hidden;
  position: relative;
  width: 95vw;
  z-index: 1;
}

.eu-viewer.eu-viewer-fullscreen .eu-viewer-window {
  border-radius: 0;
  height: 100vh;
  max-height: none;
  max-width: none;
  width: 100vw;
}

@keyframes euViewerPop {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Header */
.eu-viewer-header {
  align-items: center;
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
  box-sizing: border-box;
  color: #f8fafc;
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  justify-content: space-between;
  min-height: 60px;
  padding: 10px 18px;
  user-select: none;
}

.eu-viewer-title-group {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.eu-viewer-icon {
  align-items: center;
  background: #1e293b;
  border-radius: 8px;
  color: #d9ae45;
  display: inline-flex;
  flex: none;
  font-size: 18px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.eu-viewer-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.eu-viewer-filename {
  color: #f1f5f9;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eu-viewer-submeta {
  align-items: center;
  color: #94a3b8;
  display: flex;
  font-size: 11px;
  gap: 8px;
  margin-top: 2px;
}

.eu-viewer-badge {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 4px;
  color: #cbd5e1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 1px 6px;
  text-transform: uppercase;
}

.eu-viewer-size {
  color: #94a3b8;
  font-weight: 500;
}

.eu-viewer-counter {
  background: rgba(217, 174, 69, 0.15);
  border-radius: 10px;
  color: #e5be59;
  font-weight: 600;
  padding: 1px 7px;
}

/* Header action buttons */
.eu-viewer-actions {
  align-items: center;
  display: flex;
  flex: none;
  gap: 8px;
}

.eu-btn-icon {
  align-items: center;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  color: #cbd5e1;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  height: 34px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition: all 0.15s ease;
  width: 34px;
}

.eu-btn-icon:hover {
  background: #334155;
  color: #ffffff;
  border-color: #475569;
}

.eu-btn-icon:focus-visible {
  outline: 2px solid #d9ae45;
  outline-offset: 2px;
}

.eu-btn-close {
  background: #ef4444;
  border-color: #dc2626;
  color: #ffffff;
}

.eu-btn-close:hover {
  background: #dc2626;
  border-color: #b91c1c;
  color: #ffffff;
}

.eu-btn-download {
  align-items: center;
  background: linear-gradient(135deg, #d9ae45 0%, #b88e28 100%);
  border: none;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(217, 174, 69, 0.35);
  color: #0b111e !important;
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 7px;
  height: 34px;
  letter-spacing: 0.02em;
  padding: 0 14px;
  text-decoration: none !important;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.eu-btn-download:hover {
  background: linear-gradient(135deg, #e5be59 0%, #c99e32 100%);
  box-shadow: 0 4px 14px rgba(217, 174, 69, 0.45);
  color: #0b111e !important;
  transform: translateY(-1px);
}

.eu-viewer-zoom-controls,
.eu-viewer-text-controls {
  align-items: center;
  background: #141f33;
  border: 1px solid #28374d;
  border-radius: 7px;
  display: flex;
  gap: 3px;
  padding: 2px;
}

.eu-viewer-zoom-controls[hidden],
.eu-viewer-text-controls[hidden] {
  display: none !important;
}

.eu-viewer-zoom-controls .eu-btn-icon,
.eu-viewer-text-controls .eu-btn-icon {
  background: transparent;
  border: none;
  border-radius: 4px;
  height: 28px;
  width: 28px;
}

.eu-viewer-zoom-controls .eu-btn-icon:hover,
.eu-viewer-text-controls .eu-btn-icon:hover {
  background: #28374d;
}

.eu-zoom-level {
  color: #94a3b8;
  font-family: monospace;
  font-size: 11px;
  font-weight: 600;
  min-width: 44px;
  text-align: center;
}

/* Nav arrows */
.eu-viewer-nav {
  align-items: center;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  height: 44px;
  justify-content: center;
  position: absolute;
  top: calc(50% + 15px);
  transform: translateY(-50%);
  transition: all 0.18s ease;
  width: 44px;
  z-index: 10;
}

.eu-viewer-nav[hidden] {
  display: none !important;
}

.eu-viewer-prev {
  left: 18px;
}

.eu-viewer-next {
  right: 18px;
}

.eu-viewer-nav:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: #d9ae45;
  color: #d9ae45;
  transform: translateY(-50%) scale(1.08);
}

/* Main Content Area */
.eu-viewer-content {
  align-items: center;
  background: #0b1120;
  display: flex;
  flex: 1;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.eu-viewer-loading {
  align-items: center;
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: absolute;
  z-index: 5;
}

.eu-spinner {
  animation: euSpin 0.75s linear infinite;
  border: 3px solid rgba(217, 174, 69, 0.2);
  border-radius: 50%;
  border-top-color: #d9ae45;
  height: 38px;
  width: 38px;
}

@keyframes euSpin {
  to {
    transform: rotate(360deg);
  }
}

.eu-viewer-stage {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  height: 100%;
  justify-content: center;
  overflow: auto;
  position: relative;
  width: 100%;
}

/* Image Stage */
.eu-image-stage {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  overflow: hidden;
  position: relative;
  user-select: none;
  width: 100%;
}

.eu-image-viewport {
  align-items: center;
  cursor: grab;
  display: flex;
  height: 100%;
  justify-content: center;
  position: relative;
  width: 100%;
}

.eu-image-viewport.eu-panning {
  cursor: grabbing;
}

.eu-preview-image {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  max-height: 90%;
  max-width: 90%;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.12s ease-out;
}

/* PDF Stage */
.eu-pdf-stage {
  background: #525659;
  height: 100%;
  position: relative;
  width: 100%;
}

.eu-pdf-frame {
  border: none;
  height: 100%;
  width: 100%;
}

/* Text / Code / CSV Stage */
.eu-text-stage {
  background: #0f172a;
  box-sizing: border-box;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  width: 100%;
}

.eu-text-toolbar {
  align-items: center;
  background: #1e293b;
  border-bottom: 1px solid #334155;
  box-sizing: border-box;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 8px 16px;
}

.eu-text-search {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 5px;
  color: #f1f5f9;
  font-size: 12px;
  padding: 4px 10px;
  width: 220px;
}

.eu-text-body {
  flex: 1;
  margin: 0;
  overflow: auto;
  padding: 16px;
}

.eu-text-content {
  color: #f8fafc;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  white-space: pre;
}

.eu-text-content.eu-wrap {
  white-space: pre-wrap;
  word-break: break-word;
}

/* CSV Table */
.eu-csv-table-wrapper {
  flex: 1;
  overflow: auto;
}

.eu-csv-table {
  border-collapse: collapse;
  color: #f1f5f9;
  font-size: 12px;
  width: 100%;
}

.eu-csv-table th {
  background: #1e293b;
  border: 1px solid #334155;
  font-weight: 700;
  padding: 8px 12px;
  position: sticky;
  text-align: left;
  top: 0;
  z-index: 2;
}

.eu-csv-table td {
  border: 1px solid #334155;
  max-width: 320px;
  overflow: hidden;
  padding: 6px 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eu-csv-table tr:nth-child(even) td {
  background: rgba(30, 41, 59, 0.45);
}

.eu-csv-table tr:hover td {
  background: rgba(217, 174, 69, 0.12);
}

/* Markdown view */
.eu-markdown-body {
  box-sizing: border-box;
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 860px;
  padding: 24px;
  width: 100%;
}

.eu-markdown-body h1,
.eu-markdown-body h2,
.eu-markdown-body h3 {
  border-bottom: 1px solid #334155;
  color: #f8fafc;
  margin-top: 24px;
  padding-bottom: 8px;
}

.eu-markdown-body code {
  background: #1e293b;
  border-radius: 4px;
  color: #e5be59;
  font-size: 85%;
  padding: 2px 6px;
}

.eu-markdown-body pre {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  overflow-x: auto;
  padding: 14px;
}

.eu-markdown-body pre code {
  background: transparent;
  border: none;
  padding: 0;
}

/* Media (Audio / Video) */
.eu-media-stage {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  padding: 24px;
  width: 100%;
}

.eu-media-video {
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  max-height: 85%;
  max-width: 90%;
  outline: none;
}

.eu-audio-card {
  align-items: center;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 480px;
  padding: 32px 28px;
  text-align: center;
  width: 90%;
}

.eu-audio-icon {
  align-items: center;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  font-size: 32px;
  height: 70px;
  justify-content: center;
  width: 70px;
}

.eu-audio-card audio {
  width: 100%;
}

/* Archive / Bulk Zip Stage */
.eu-archive-stage {
  background: #0f172a;
  box-sizing: border-box;
  color: #f1f5f9;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
  width: 100%;
}

.eu-archive-header {
  align-items: center;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 12px 18px;
}

.eu-archive-summary {
  display: flex;
  gap: 18px;
}

.eu-archive-stat {
  display: flex;
  flex-direction: column;
}

.eu-archive-stat-label {
  color: #94a3b8;
  font-size: 11px;
  text-transform: uppercase;
}

.eu-archive-stat-val {
  color: #f8fafc;
  font-size: 14px;
  font-weight: 700;
}

.eu-archive-table-wrapper {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  flex: 1;
  overflow: auto;
}

.eu-archive-table {
  border-collapse: collapse;
  color: #f1f5f9;
  font-size: 12px;
  width: 100%;
}

.eu-archive-table th {
  background: #141f33;
  border-bottom: 1px solid #334155;
  color: #cbd5e1;
  font-weight: 700;
  padding: 10px 14px;
  position: sticky;
  text-align: left;
  top: 0;
  z-index: 2;
}

.eu-archive-table td {
  border-bottom: 1px solid #28374d;
  padding: 8px 14px;
}

.eu-archive-table tr:hover td {
  background: rgba(217, 174, 69, 0.08);
}

.eu-archive-file-link {
  color: #e5be59 !important;
  cursor: pointer;
  text-decoration: none !important;
}

.eu-archive-file-link:hover {
  color: #f5cf6d !important;
  text-decoration: underline !important;
}

/* Card for Office Docs / Unsupported files */
.eu-card-stage {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  padding: 24px;
  width: 100%;
}

.eu-file-card {
  align-items: center;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
  padding: 36px 30px;
  text-align: center;
  width: 90%;
}

.eu-card-icon-wrap {
  align-items: center;
  border-radius: 16px;
  display: flex;
  font-size: 38px;
  height: 80px;
  justify-content: center;
  margin-bottom: 4px;
  width: 80px;
}

.eu-card-icon-doc { background: rgba(37, 99, 235, 0.15); color: #3b82f6; }
.eu-card-icon-sheet { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.eu-card-icon-slide { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.eu-card-icon-archive { background: rgba(217, 174, 69, 0.15); color: #d9ae45; }
.eu-card-icon-generic { background: rgba(148, 163, 184, 0.15); color: #94a3b8; }

.eu-card-title {
  color: #f8fafc;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.eu-card-desc {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.eu-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

/* Footer */
.eu-viewer-footer {
  align-items: center;
  background: #0f172a;
  border-top: 1px solid #1e293b;
  box-sizing: border-box;
  color: #64748b;
  display: flex;
  font-size: 11px;
  justify-content: space-between;
  padding: 8px 18px;
}

.eu-tip kbd {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 3px;
  color: #cbd5e1;
  font-size: 10px;
  padding: 1px 5px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .eu-viewer-window {
    border-radius: 0;
    height: 100vh;
    max-height: none;
    max-width: none;
    width: 100vw;
  }
  .eu-viewer-header {
    padding: 8px 12px;
  }
  .eu-viewer-submeta .eu-viewer-counter {
    display: none;
  }
  .eu-viewer-prev {
    left: 6px;
  }
  .eu-viewer-next {
    right: 6px;
  }
}

/* PDF Reader Mode & Controls */
.eu-viewer-pdf-controls {
  align-items: center;
  display: flex;
  gap: 4px;
}

.eu-btn-icon.eu-btn-active {
  background: rgba(217, 174, 69, 0.25) !important;
  border-color: #d9ae45 !important;
  color: #f5cf6d !important;
}

.eu-pdf-stage {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  width: 100%;
}

.eu-pdf-frame {
  border: none;
  flex: 1;
  height: 100%;
  width: 100%;
}

.eu-pdf-mobile-fallback {
  display: none;
}

@media (max-width: 768px) {
  .eu-pdf-stage.eu-pdf-mobile {
    align-items: center;
    background: #f4f6fa;
    box-sizing: border-box;
    justify-content: center;
    min-height: 240px;
    padding: 24px;
  }

  .eu-pdf-mobile .eu-pdf-mobile-fallback {
    align-items: center;
    color: #475569;
    display: flex;
    flex-direction: column;
    gap: 14px;
    line-height: 1.5;
    max-width: 360px;
    text-align: center;
  }

  .eu-pdf-mobile-open {
    border-radius: 8px;
    font-weight: 600;
    min-height: 44px;
    padding: 11px 20px;
  }
}

.eu-pdf-reader-stage {
  background: #0f172a;
  box-sizing: border-box;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  overflow: hidden;
  width: 100%;
}

.eu-pdf-reader-toolbar {
  align-items: center;
  background: #1e293b;
  border-bottom: 1px solid #334155;
  box-sizing: border-box;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 8px 18px;
}

.eu-pdf-reader-meta {
  align-items: center;
  color: #f1f5f9;
  display: flex;
  font-size: 13px;
}

.eu-pdf-reader-actions {
  align-items: center;
  display: flex;
  gap: 6px;
}

.eu-pdf-reader-content {
  flex: 1;
  margin: 0;
  overflow-y: auto;
  padding: 24px;
}

.eu-pdf-reader-article {
  background: #182234;
  border: 1px solid #28374d;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  color: #f1f5f9;
  font-family: Georgia, Cambria, 'Times New Roman', Times, serif;
  font-size: 15px;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 820px;
  padding: 32px 36px;
  word-break: break-word;
}

.eu-pdf-reader-empty {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  padding: 30px;
  text-align: center;
}

/* ZIP Mini Browser Bar & Breadcrumbs */
.eu-archive-browser-bar {
  align-items: center;
  background: #141f33;
  border: 1px solid #334155;
  border-bottom: none;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  box-sizing: border-box;
  display: flex;
  padding: 8px 14px;
}

.eu-archive-breadcrumbs {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.eu-breadcrumb-item {
  align-items: center;
  color: #e5be59;
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.eu-breadcrumb-item:hover {
  color: #f5cf6d;
  text-decoration: underline;
}

.eu-breadcrumb-item.active {
  color: #f8fafc;
  cursor: default;
  font-weight: 700;
  text-decoration: none;
}

.eu-breadcrumb-sep {
  color: #64748b;
  font-size: 11px;
}

.eu-archive-folder-row:hover td {
  background: rgba(217, 174, 69, 0.15) !important;
}

.eu-archive-entry-preview-pane {
  background: #0f172a;
  border-radius: 8px;
  box-sizing: border-box;
  min-height: 240px;
}

.eu-zip-preview-header {
  align-items: center;
  border-bottom: 1px solid #334155;
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
}

.eu-zip-preview-title {
  color: #f8fafc;
  font-size: 13px;
  font-weight: 600;
}

.eu-zip-search {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 5px;
  color: #f1f5f9;
  font-size: 12px;
  padding: 4px 10px 4px 26px;
  width: 200px;
}

/* ==========================================================================
   Elite Utilities: Side Menu Resizer & Drag Handle
   ========================================================================== */
.eu-sidebar-resizer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: var(--ce-admin-sidebar-width, 270px);
  width: 10px;
  margin-left: -5px;
  cursor: col-resize;
  z-index: 1045;
  transition: background-color 0.15s ease;
  user-select: none;
  touch-action: none;
}

.eu-sidebar-resizer::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 4px;
  width: 2px;
  background: transparent;
  transition: background-color 0.15s ease;
}

.eu-sidebar-resizer:hover::after,
body.eu-sidebar-resizing .eu-sidebar-resizer::after {
  background: #d5b36a;
}

body.eu-sidebar-resizing {
  cursor: col-resize !important;
  user-select: none !important;
}

body.eu-sidebar-resizing * {
  cursor: col-resize !important;
  user-select: none !important;
}

[dir="rtl"] .eu-sidebar-resizer {
  left: auto;
  right: var(--ce-admin-sidebar-width, 270px);
  margin-left: 0;
  margin-right: -5px;
}

[dir="rtl"] .eu-sidebar-resizer::after {
  left: auto;
  right: 4px;
}

body.hide-sidebar .eu-sidebar-resizer,
body.page-small:not(.show-sidebar) .eu-sidebar-resizer {
  display: none !important;
}

.eu-sidebar-width-tooltip {
  position: fixed;
  top: 85px;
  left: calc(var(--ce-admin-sidebar-width, 270px) + 14px);
  background: #0b0e14;
  color: #d5b36a;
  border: 1px solid rgba(213, 179, 106, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  pointer-events: none;
  z-index: 1060;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

[dir="rtl"] .eu-sidebar-width-tooltip {
  left: auto;
  right: calc(var(--ce-admin-sidebar-width, 270px) + 14px);
}

/* ==========================================================================
   Elite Utilities: Settings Dashboard
   ========================================================================== */
.eu-settings-page .eu-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #d5b36a;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.eu-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eu-feature-category {
  overflow: hidden;
  border: 1px solid #e1e7ef;
  border-radius: 11px;
  background: #f8fafc;
}

.eu-feature-category-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-bottom: 1px solid #e6ebf1;
  background: #f2f5f8;
}

.eu-feature-category-icon {
  display: flex;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e6d8b4;
  border-radius: 8px;
  background: #fffaf0;
  color: #ad8423;
}

.eu-feature-category-copy {
  min-width: 0;
  flex: 1;
}

.eu-feature-category-copy h5 {
  margin: 0;
  color: #28384d;
  font-size: 13px;
  font-weight: 750;
}

.eu-feature-category-copy p {
  margin: 3px 0 0;
  color: #718096;
  font-size: 11px;
  line-height: 1.4;
}

.eu-feature-category-count {
  flex: 0 0 auto;
  border: 1px solid #dfe5ed;
  border-radius: 20px;
  padding: 4px 8px;
  background: #fff;
  color: #65738a;
  font-size: 10px;
  font-weight: 700;
}

.eu-feature-category-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
}

.eu-feature-item {
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.eu-feature-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.eu-feature-active {
  border-left: 3px solid #10b981 !important;
}

.eu-feature-inactive {
  border-left: 3px solid #cbd5e1 !important;
  opacity: 0.85;
}

.eu-feature-icon-box {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d5b36a;
  font-size: 15px;
}

/* Modern Switch Toggle */
.eu-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  margin: 0;
  vertical-align: middle;
  cursor: pointer;
}

.eu-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.eu-switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: 0.25s ease;
  border-radius: 24px;
}

.eu-switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s ease;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.eu-switch input:checked + .eu-switch-slider {
  background-color: #10b981;
}

.eu-switch input:checked + .eu-switch-slider:before {
  transform: translateX(20px);
}

.eu-switch input:disabled + .eu-switch-slider {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Live Mockup Window */
.eu-mock-window {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.eu-mock-topbar {
  background: #0b0e14;
  height: 18px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 4px;
}

.eu-mock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #475569;
  display: inline-block;
}

.eu-mock-bar {
  height: 4px;
  width: 40px;
  background: #334155;
  border-radius: 2px;
  margin-left: 8px;
}

.eu-mock-body {
  height: 90px;
  display: flex;
  background: #e2e8f0;
}

.eu-mock-sidebar {
  background: #0b0e14;
  height: 100%;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: width 0.08s ease;
  min-width: 15%;
  max-width: 40%;
}

.eu-mock-item {
  height: 6px;
  border-radius: 2px;
  background: #1e293b;
  width: 80%;
}

.eu-mock-brand {
  height: 8px;
  background: #d5b36a;
  width: 60%;
  margin-bottom: 3px;
}

.eu-mock-content {
  flex: 1;
  padding: 8px;
  background: #f8fafc;
}

.eu-mock-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  height: 100%;
}

.eu-section-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.fa-folder-open-o:before {
  content: "\f07c";
}

/* Header height reference uses the same layout illustration as sidebar width. */
.eu-height-mock {
  display: flex;
  flex-direction: column;
  height: 130px;
}

.eu-height-mock .eu-mock-header {
  flex-shrink: 0;
  box-shadow: inset 0 -2px #d5b36a;
  transition: height 0.08s ease;
}

.eu-height-mock .eu-mock-body {
  flex: 1;
  min-height: 0;
}
