:root {
  --ell-blue: #1d4f8f;
  --ell-blue-2: #2f7ec8;
  --ell-blue-soft: #dcecff;
  --ell-dark: #071127;
  --ell-ink: #243044;
  --ell-muted: #5f6b7d;
  --ell-border: #e4eaf4;
  --ell-bg: #f6f8ff;
  --ell-card: #ffffff;
  --ell-green: #16a34a;
  --ell-green-dark: #14532d;
}

* {
  box-sizing: border-box;
}

.ell-hidden {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
}

body.ell-app-body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--ell-bg);
  color: var(--ell-dark);
  overflow: hidden;
}

.ell-app {
  display: flex;
  width: 100%;
  height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(47, 126, 200, 0.10), transparent 30%),
    radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.08), transparent 36%),
    var(--ell-bg);
}

/* =========================
   SIDEBAR
========================= */

.ell-sidebar {
  width: 270px;
  min-width: 270px;
  height: 100vh;
  background: linear-gradient(180deg, #3b6bb3 0%, #0a1a33 100%);
  color: #fff;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 12px 0 34px rgba(15, 23, 42, 0.16);
}

.ell-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}

.ell-logo-mark {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ell-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ell-logo-text {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  letter-spacing: -0.02em;
}

.ell-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ell-nav-item {
  width: 100%;
  padding: 15px 16px;
  border-radius: 13px;
  border: 1px solid transparent;
  background: transparent;
  color: #f8fbff !important;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1px;
  cursor: pointer;
  font-family: inherit;
  opacity: 0.88;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  line-height: 1.2;
}

.ell-nav-item:hover,
.ell-nav-item.active {
  background: rgba(255,255,255,0.15) !important;
  border-color: rgba(255,255,255,0.20);
  opacity: 1;
}

.ell-sidebar-bottom {
  margin-top: auto;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #fff;
}

.ell-sidebar-bottom strong {
  font-size: 15px;
  color: #fff;
  font-weight: 700;
}

/* =========================
   MAIN
========================= */

.ell-main {
  flex: 1;
  width: calc(100vw - 270px);
  min-width: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 42px 38px;
  position: relative;
}

.ell-view {
  display: none !important;
  width: 100%;
  min-width: 0;
}

.ell-view.active {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100%;
  min-height: 500px;
  position: relative;
}

.ell-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 34px;
}

.ell-topbar h1,
.ell-view h1 {
  margin: 0 0 12px;
  font-size: 36px;
  line-height: 1.1;
  color: var(--ell-dark);
  letter-spacing: -0.045em;
  font-weight: 800;
}

.ell-topbar p,
.ell-view p {
  margin: 0;
  font-size: 16px;
  color: var(--ell-muted);
  line-height: 1.6;
}

/* =========================
   BUTTONS
========================= */

.ell-primary-btn,
.ell-card-btn,
.ell-secondary-btn,
.ell-fix-btn,
.ell-copy-btn {
  border-radius: 12px;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  transition: all 0.18s ease;
  line-height: 1;
  user-select: none;
  -webkit-user-select: none;
}

.ell-primary-btn,
.ell-card-btn {
  border: 0;
  background: linear-gradient(135deg, var(--ell-blue), #0b172d);
  color: #fff !important;
  padding: 16px 22px;
  min-height: 48px;
  box-shadow: 0 14px 28px rgba(29, 79, 143, 0.20);
}

.ell-primary-btn:hover,
.ell-card-btn:hover {
  background: linear-gradient(135deg, #173f73, #040b17);
  transform: translateY(-1px);
}

.ell-secondary-btn {
  border: 0;
  background: linear-gradient(135deg, var(--ell-green), var(--ell-green-dark));
  color: #fff !important;
  padding: 16px 20px;
  min-height: 48px;
  box-shadow: 0 14px 28px rgba(22, 163, 74, 0.22);
}

.ell-secondary-btn:hover {
  background: linear-gradient(135deg, #15803d, #052e16);
  transform: translateY(-1px);
}

.ell-primary-btn:disabled,
.ell-secondary-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.ell-fix-btn {
  background: #e5f1ff;
  color: var(--ell-blue);
  padding: 11px 14px;
  border: 1px solid #c7ddf7;
  white-space: nowrap;
  min-height: 40px;
  box-shadow: 0 6px 14px rgba(29, 79, 143, 0.10);
}

.ell-fix-btn:hover {
  background: #dcecff;
  color: #0f172a;
}

.ell-copy-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  background: linear-gradient(135deg, var(--ell-green), var(--ell-green-dark));
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 8px 16px rgba(22, 163, 74, 0.20);
  flex: 0 0 40px;
}

.ell-copy-btn:hover {
  background: linear-gradient(135deg, #15803d, #052e16);
  transform: translateY(-1px);
}

.ell-copy-btn.copied {
  background: #0f766e;
  color: #fff;
  border-color: #0f766e;
}

.ell-small-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* Remove button */
.ell-fix-btn.ell-store-remove,
button.ell-fix-btn.ell-store-remove {
  background: #fff7f7 !important;
  color: #dc2626 !important;
  border: 1px solid #fecaca !important;
  box-shadow: none !important;
  padding: 12px 18px !important;
  min-height: 44px !important;
}

.ell-fix-btn.ell-store-remove:hover,
button.ell-fix-btn.ell-store-remove:hover {
  background: #fee2e2 !important;
  color: #b91c1c !important;
  border-color: #fca5a5 !important;
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.10) !important;
  transform: translateY(-1px);
}

/* =========================
   CARDS / PANELS
========================= */

.ell-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ell-card,
.ell-panel,
.ell-score-box {
  background: var(--ell-card);
  border: 1px solid var(--ell-border);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(60, 80, 180, 0.08);
}

.ell-card {
  padding: 28px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ell-card h2,
.ell-panel h2,
.ell-score-box h2 {
  margin: 0 0 16px;
  font-size: 22px;
  color: var(--ell-dark);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ell-card p {
  margin: 0 0 30px;
  color: var(--ell-muted);
  font-size: 15px;
  line-height: 1.6;
}

.ell-card-btn {
  margin-top: auto;
}

.ell-panel {
  padding: 30px;
  margin-top: 28px;
}

.ell-placeholder {
  padding: 22px;
  background: #f8fbff;
  border: 1px dashed #c5d4ea;
  border-radius: 16px;
  color: var(--ell-muted);
  line-height: 1.6;
  margin-top: 20px;
}

/* =========================
   FORMS
========================= */

.ell-form label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 750;
  color: var(--ell-dark);
}

.ell-input,
.ell-textarea,
.ell-select {
  width: 100%;
  border: 1px solid #dfe6f1;
  background: #ffffff;
  color: var(--ell-dark);
  border-radius: 14px;
  padding: 16px 15px;
  font-size: 15px;
  margin-bottom: 16px;
  outline: none;
  font-family: inherit;
  min-height: 56px;
}

.ell-select {
  height: 58px;
  line-height: normal;
  padding-top: 0;
  padding-bottom: 0;
}

.ell-input:focus,
.ell-textarea:focus,
.ell-select:focus {
  border-color: var(--ell-blue-2);
  box-shadow: 0 0 0 4px rgba(47, 126, 200, 0.12);
}

.ell-textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

/* =========================
   LAYOUTS
========================= */

.ell-two-col {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 390px !important;
  gap: 28px !important;
  align-items: start !important;
  margin-top: 28px;
}

.ell-store-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 460px !important;
  gap: 24px !important;
  align-items: start !important;
  margin-top: 28px;
}

.ell-store-grid.single-view {
  grid-template-columns: minmax(0, 1fr) !important;
}

/* =========================
   SCORE / AUDIT
========================= */

.ell-score-box {
  position: sticky;
  top: 34px;
  padding: 26px;
  border-color: #d7e7fb;
  box-shadow: 0 14px 34px rgba(29, 79, 143, 0.13);
}

.ell-score-number {
  font-size: 46px;
  font-weight: 850;
  color: var(--ell-dark);
  margin-bottom: 6px;
  letter-spacing: -0.05em;
}

.ell-score-label {
  color: var(--ell-muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.ell-potential {
  color: var(--ell-blue);
  font-size: 14px;
  font-weight: 750;
  margin-bottom: 16px;
}

.ell-score-bar {
  width: 100%;
  height: 10px;
  background: #eef4ff;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 22px;
}

.ell-score-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--ell-blue), #0b172d);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.ell-issue {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid var(--ell-border);
  color: var(--ell-dark);
  font-size: 14px;
  line-height: 1.4;
}

/* =========================
   OUTPUT
========================= */

.ell-output-head {
  user-select: none;
  -webkit-user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-weight: 750;
  color: var(--ell-dark);
}

.ell-output-text {
  user-select: text;
  -webkit-user-select: text;
  color: var(--ell-muted);
  line-height: 1.6;
  white-space: pre-wrap;
  font-size: 15px;
}

.ell-good {
  color: #087f5b;
  background: #ecfdf5;
  border-color: #bbf7d0;
}

.ell-result-box {
  margin-top: 22px;
  padding: 22px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid #dceaff;
  display: none;
}

.ell-result-box h3 {
  margin: 0 0 12px;
  color: var(--ell-dark);
}

.ell-output-card {
  background: #fff;
  border: 1px solid var(--ell-border);
  border-radius: 16px;
  padding: 16px;
  margin-top: 14px;
}

/* =========================
   DASH STATS
========================= */

.ell-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.ell-stat {
  padding: 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--ell-border);
  box-shadow: 0 10px 26px rgba(60, 80, 180, 0.07);
}

.ell-stat span {
  color: var(--ell-muted);
  font-size: 13px;
  display: block;
  margin-bottom: 8px;
}

.ell-stat strong {
  font-size: 24px;
  color: var(--ell-dark);
  font-weight: 800;
}

/* =========================
   ERRORS / ALERTS
========================= */

.ell-error {
  border-color: #ef4444 !important;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.14) !important;
}

.ell-error-msg {
  color: #ef4444;
  font-size: 13px;
  margin-top: -8px;
  margin-bottom: 14px;
  display: none;
  font-weight: 700;
  line-height: 1.35;
}

.ell-error-msg::before {
  content: "⚠ ";
  font-weight: 900;
}

.ell-error-msg.active {
  display: block;
}

.ell-alert {
  display: none;
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

.ell-alert.show {
  display: block;
}

.ell-alert.error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

.ell-alert.success {
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #86EFAC;
}

.ell-alert.info {
  background: #DBEAFE;
  color: #1E40AF;
  border: 1px solid #93C5FD;
}

/* =========================
   MY STORE
========================= */

.ell-store-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.ell-store-item {
  background: #fff;
  border: 1px solid var(--ell-border);
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.ell-store-item:hover {
  border-color: #b7d2ef;
  box-shadow: 0 10px 24px rgba(29, 79, 143, 0.10);
  transform: translateY(-1px);
}

.ell-store-item.active {
  border-color: var(--ell-blue-2);
  box-shadow: 0 0 0 4px rgba(47, 126, 200, 0.11);
}

.ell-store-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  width: 100%;
}

.ell-store-title-wrap {
  min-width: 0;
}

.ell-store-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ell-dark);
  margin-bottom: 8px;
  line-height: 1.35;
}

.ell-store-meta {
  color: var(--ell-muted);
  font-size: 13px;
  line-height: 1.45;
}

.ell-store-badges {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 190px;
}

.ell-store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.ell-store-badge.active {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.ell-store-badge.draft {
  background: #f3f4f6;
  color: #4b5563;
  border: 1px solid #d1d5db;
}

.ell-store-badge.price {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.ell-store-badge.translation {
  background: #faf5ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
  font-size: 14px;
  padding: 6px 9px;
}
/* =========================
   LISTING FULL PREVIEW
========================= */

.ell-listing-preview {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--ell-border);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.ell-listing-preview.ell-hidden {
  display: none;
}

.ell-preview-empty {
  color: var(--ell-muted);
  line-height: 1.6;
}

.ell-preview-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.ell-preview-title {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  margin: 0;
  line-height: 1.25;
}

.ell-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.ell-preview-badge {
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3f0ff;
  color: #5b21b6;
  border: 1px solid #ddd6fe;
}

.ell-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ell-preview-field {
  padding: 14px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.ell-preview-field.full {
  grid-column: 1 / -1;
}

.ell-preview-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #6b7280;
  margin-bottom: 7px;
}

.ell-preview-value {
  font-size: 14px;
  line-height: 1.6;
  color: #111827;
  white-space: pre-wrap;
  word-break: break-word;
}

.ell-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ell-preview-actions button {
  border: 0;
  border-radius: 14px;
  padding: 11px 14px;
  min-height: 42px;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, var(--ell-blue), #0b172d);
  color: #ffffff;
  font-family: inherit;
}

.ell-preview-actions button:hover {
  transform: translateY(-1px);
}

/* =========================
   PIPELINE
========================= */

.ell-pipeline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ell-step {
  padding: 13px 10px;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid var(--ell-border);
  text-align: center;
  font-size: 13px;
  font-weight: 750;
  color: var(--ell-muted);
}

.ell-step.done {
  background: #ecfdf5;
  color: #166534;
  border-color: #bbf7d0;
}

.ell-step.current {
  background: var(--ell-blue-soft);
  color: var(--ell-blue);
  border-color: #bdd7f5;
}

/* =========================
   VERSION HISTORY
========================= */

.ell-version-history {
  margin-top: 22px;
}

.ell-version-history h3 {
  margin: 0 0 12px;
  font-size: 17px;
  color: #111827;
}

.ell-version-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 13px;
  margin-top: 10px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.ell-version-item:hover {
  border-color: #b7d2ef;
  box-shadow: 0 8px 18px rgba(29, 79, 143, 0.10);
}

.ell-version-item.active {
  border-color: #7c3aed;
  background: #f5f3ff;
  box-shadow: 0 10px 22px rgba(124, 58, 237, 0.10);
}

.ell-version-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 6px;
}

.ell-version-type {
  font-size: 13px;
  font-weight: 800;
  color: #2f4fa2;
  text-transform: capitalize;
}

.ell-version-date {
  font-size: 12px;
  color: #6b7280;
}

.ell-version-title {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {
  body.ell-app-body {
    overflow: auto;
  }
 .ell-preview-grid {
    grid-template-columns: 1fr;
  }
  .ell-app {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }

  .ell-sidebar {
    width: 100%;
    min-width: 100%;
    height: auto;
  }

  .ell-main {
    width: 100% !important;
    height: auto;
    padding: 28px 18px;
  }

  .ell-dashboard,
  .ell-mini-grid,
  .ell-two-col,
  .ell-store-grid {
    grid-template-columns: 1fr !important;
  }

  .ell-score-box {
    position: static;
  }

  .ell-topbar {
    flex-direction: column;
  }

  .ell-store-top {
    grid-template-columns: 1fr;
  }

  .ell-store-badges {
    justify-content: flex-start;
    max-width: 100%;
  }
}

#ellBackToStore {
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #eef2ff;
  color: #312e81;
  border: 1px solid #c7d2fe;
  font-weight: 800;
  cursor: pointer;
}

#ellBackToStore:hover {
  background: #e0e7ff;
}

#ell-view-store .ell-store-grid:has(#ellStoreSidePanel.ell-hidden) {
  grid-template-columns: 1fr !important;
}

#ell-view-store .ell-store-grid:has(#ellStoreSidePanel.ell-hidden) > .ell-panel {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
}

.ell-selected-version-preview {
  margin-top: 26px;
}

.ell-version-divider {
  height: 4px;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1d4f8f, #7c3aed);
  margin: 28px 0 22px;
}

.ell-selected-version-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 850;
  color: #111827;
}
.ell-price-helper-result {
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid #dceaff;
}

.ell-price-range-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
  color: #334155;
  margin-bottom: 8px;
}

.ell-price-range-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #bfdbfe, #86efac, #ddd6fe);
  margin: 12px 0;
}

.ell-price-marker {
  position: absolute;
  top: -6px;
  width: 4px;
  height: 22px;
  border-radius: 999px;
  background: #111827;
}

.ell-price-helper-note {
  margin-top: 10px;
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}

.ell-account-box {
  margin-top: auto;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  color: #fff;
}

.ell-account-label {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 6px;
}

.ell-account-status {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 10px;
}

.ell-account-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ell-account-actions a {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  opacity: 0.9;
}

.ell-account-actions a:hover {
  opacity: 1;
  text-decoration: underline;
}

.ell-account-link {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  padding: 0;
  cursor: pointer;
  opacity: 0.9;
  font-family: inherit;
}

.ell-account-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.ell-text-btn {
  background: transparent;
  border: 0;
  color: var(--ell-blue);
  font-weight: 800;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.ell-account-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 22px;
}

.ell-account-page-grid > div {
  padding: 16px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid var(--ell-border);
}

.ell-account-page-grid strong {
  display: block;
  margin-bottom: 6px;
  color: #111827;
}

.ell-account-page-grid p {
  margin: 0;
  color: var(--ell-muted);
}

#ellLoginView,
#ellRegisterView,
#ellLoginView *,
#ellRegisterView * {
  color: #111827;
}

#ellLoginView a,
#ellRegisterView a {
  color: #12345a !important;
  font-weight: 600;
}

#ellLoginView input,
#ellRegisterView input {
  color: #111827 !important;
  background: #fff !important;
}

#ellLoginView button,
#ellRegisterView button {
  color: #fff !important;
}

.ell-text-btn {
  color: var(--ell-blue) !important;
  background: transparent !important;
  border: 0 !important;
  font-weight: 800 !important;
}

.ell-text-btn:hover {
  color: var(--ell-blue-dark) !important;
  text-decoration: underline;
}

/* Sidebar style logout */

#ellAccountLogout,
#ellLogoutSubmit,
.ell-account-logout {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  color: #ffffff !important;

  font-size: 13px;
  font-weight: 700;

  text-align: left;

  padding: 0 !important;

  opacity: 0.9;

  cursor: pointer;

  font-family: inherit;
}

#ellAccountLogout:hover,
#ellLogoutSubmit:hover,
.ell-account-logout:hover {
  opacity: 1;
  text-decoration: underline;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Stage 1 polish */

.ell-store-search-wrap {
  margin-top: 18px;
  margin-bottom: 8px;
}

.ell-store-search {
  margin-bottom: 0 !important;
}

.ell-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ell-preview-actions .ell-primary-btn,
.ell-preview-actions .ell-secondary-btn {
  min-height: 44px;
  padding: 13px 16px;
}

.ell-placeholder strong {
  color: var(--ell-dark);
}
/* Loading states */

.ell-loading {
  position: relative;
  opacity: 0.82 !important;
  pointer-events: none;
}

.ell-loading::after {
  content: "";
  width: 14px;
  height: 14px;

  margin-left: 10px;

  border-radius: 999px;

  border: 2px solid rgba(255,255,255,0.5);
  border-top-color: #ffffff;

  display: inline-block;

  animation: ellSpin 0.7s linear infinite;
}

@keyframes ellSpin {
  to {
    transform: rotate(360deg);
  }
}

.ell-topbar-actions{
  display:flex;
  gap:12px;
  align-items:center;
}

.ell-topbar-actions a{
  text-decoration:none;
}
.ell-footer-links{
  margin-top:10px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  font-size:12px;
}

.ell-footer-links a{
  color:#c7d2ff;
  text-decoration:none;
  opacity:0.95;
  transition:0.2s ease;
}

.ell-footer-links a:hover{
  color:#ffffff;
  opacity:1;
}

.ell-footer-links span{
  color:#7e89ad;
}