/* =====================================================
   EGYMAX CLEAN STYLESHEET
   Generated safely from the live stylesheet.
   This file is not active yet.
===================================================== */

:root {
  --bg: #f4f8fc;
  --panel: #ffffff;
  --panel-2: #edf6ff;
  --text: #101828;
  --muted: #667085;
  --line: #d9e6f2;
  --blue: #1769e0;
  --cyan: #3ab8f5;
  --green: #16a765;
  --red: #ef4444;
  --yellow: #f7ba22;
  --shadow: 0 24px 70px rgba(16, 24, 40, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Tahoma", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 16%, rgba(58, 184, 245, .16), transparent 28%),
    radial-gradient(circle at 88% 6%, rgba(247, 186, 34, .16), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 60%, #eef5fb 100%);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

.site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  min-height: 78px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(217, 230, 242, .9);
  border-radius: 22px;
  box-shadow: 0 14px 45px rgba(16, 24, 40, .08);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 12px;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 25px rgba(23, 105, 224, .24);
}
.brand strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
}
.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.top-actions a {
  padding: 11px 14px;
  border-radius: 14px;
  color: #29445f;
  background: #f7fbff;
  border: 1px solid var(--line);
  font-weight: 800;
  font-size: 13px;
}
.top-actions .login-link {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  align-items: center;
  gap: 34px;
  padding: 42px 0 28px;
}

.eyebrow,
.section-head span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(23, 105, 224, .10);
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 720px;
  margin: 18px 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.12;
  font-weight: 900;
}
.hero-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.hero-buttons,
.login-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 15px;
  font-weight: 900;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 14px 28px rgba(16, 24, 40, .10);
}
.btn.primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}
.btn.green {
  color: white;
  background: linear-gradient(135deg, var(--green), #49c982);
}
.btn.soft {
  color: #173b60;
  background: white;
  border: 1px solid var(--line);
}

.hero-visual {
  min-width: 0;
}
.pos-window {
  background: linear-gradient(145deg, #132033, #0d1728);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  padding: 16px;
  box-shadow: var(--shadow);
  color: white;
}
.pos-title {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #dce9ff;
}
.pos-title span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
}
.pos-title span:nth-child(2) { background: var(--yellow); }
.pos-title span:nth-child(3) { background: var(--green); }
.pos-title b { margin-inline-start: auto; }

.pos-body {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
}
.ticket,
.products-preview article {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  border-radius: 18px;
}
.ticket {
  padding: 14px;
}
.ticket strong {
  display: block;
  margin-bottom: 16px;
}
.ticket p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 10px 0;
  color: #e7eefb;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ticket div {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  color: #6df0a2;
  font-weight: 900;
}

.products-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.products-preview article {
  min-height: 132px;
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  padding: 16px;
}
.products-preview span {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: block;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  position: relative;
}
.products-preview .cup { background: linear-gradient(135deg, #8b5a2b, var(--yellow)); }
.products-preview .juice { background: linear-gradient(135deg, var(--yellow), var(--green)); }
.products-preview .food { background: linear-gradient(135deg, var(--red), var(--yellow)); }
.products-preview .chart { background: linear-gradient(135deg, var(--blue), var(--green)); }

.section {
  padding: 54px 0;
}
.section-head {
  max-width: 740px;
  margin-bottom: 22px;
}
.section-head h2,
.info-panel h2 {
  margin: 14px 0 10px;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
}
.section-head p,
.info-panel p {
  color: var(--muted);
  line-height: 1.9;
  font-size: 16px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.program-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border-radius: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(16, 24, 40, .08);
}
.program-image {
  min-height: 180px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #eef7ff, #ffffff);
  border: 1px solid var(--line);
}
.screen-icon,
.dashboard-icon {
  width: 112px;
  height: 82px;
  border-radius: 14px;
  background: linear-gradient(135deg, #132033, #1e3b62);
  box-shadow: inset 0 -12px 0 rgba(255,255,255,.08), 0 12px 25px rgba(16,24,40,.18);
  position: relative;
}
.screen-icon::after,
.dashboard-icon::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
}
.dashboard-icon::after {
  background: linear-gradient(135deg, var(--blue), var(--yellow));
}
.program-content h3 {
  font-size: 23px;
  margin-bottom: 10px;
}
.program-content p {
  color: var(--muted);
  line-height: 1.8;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.info-panel,
.login-card {
  padding: 26px;
  border-radius: 26px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(16, 24, 40, .08);
}
.info-panel.blue {
  background: linear-gradient(135deg, #eaf5ff, white);
}
.info-panel.light {
  background: linear-gradient(135deg, #f1fff6, white);
}
.info-panel ul {
  margin: 18px 0 0;
  padding: 0 20px 0 0;
  color: #24425f;
  line-height: 2;
  font-weight: 700;
}

.login-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
  gap: 22px;
}
.login-card {
  display: grid;
  gap: 16px;
}
.login-card label {
  display: grid;
  gap: 8px;
  color: #1e3a5f;
  font-weight: 900;
}
.login-card input {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #f9fcff;
  font: inherit;
  outline: none;
}
.login-card input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(58, 184, 245, .14);
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 18px;
  padding: 20px;
  text-align: center;
  color: #24425f;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .hero,
  .download-grid,
  .split,
  .login-section {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }
  .top-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .top-actions a { text-align: center; padding-inline: 8px; }
  .program-card {
    grid-template-columns: 1fr;
  }
  .program-image { min-height: 140px; }
  .pos-body { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  main,
  .site-header,
  .site-footer {
    width: min(100% - 20px, 1180px);
  }
  .top-actions { grid-template-columns: 1fr; }
  .hero-buttons,
  .login-actions {
    align-items: stretch;
  }
  .btn { width: 100%; }
}

.form-message {
  color: var(--red);
  font-weight: 900;
  min-height: 20px;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
}

.admin-sidebar {
  position: sticky;
  top: 18px;
  height: calc(100vh - 36px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #edf7ff);
  box-shadow: 0 20px 50px rgba(16, 24, 40, .08);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--line);
}

.admin-brand b,
.admin-brand small {
  display: block;
}

.admin-brand small {
  margin-top: 4px;
  color: var(--muted);
}

.admin-sidebar button {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  color: #24425f;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  text-align: right;
  padding: 0 14px;
  position: relative;
}

.nav-badge {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  margin-inline-start: 8px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: var(--red);
  font-size: 12px;
}

.admin-sidebar button.active {
  color: white;
  border-color: var(--blue);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 24px rgba(23, 105, 224, .18);
}

.admin-sidebar .logout-btn {
  margin-top: auto;
  color: white;
  background: var(--red);
  border-color: var(--red);
  text-align: center;
}

.admin-main {
  width: 100%;
  min-width: 0;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 16px 45px rgba(16, 24, 40, .08);
}

.admin-topbar span {
  color: var(--muted);
  font-weight: 800;
}

.admin-topbar h1 {
  margin: 4px 0 0;
  font-size: 28px;
}

.top-badge {
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(23, 105, 224, .10);
  font-weight: 900;
}

.admin-section {
  display: grid;
  gap: 18px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.admin-stat {
  min-height: 136px;
  padding: 18px;
  border-radius: 22px;
  color: white;
  display: grid;
  align-content: space-between;
  box-shadow: 0 18px 45px rgba(16, 24, 40, .12);
}

.admin-stat span {
  font-weight: 900;
  line-height: 1.6;
}

.admin-stat strong {
  font-size: 38px;
  line-height: 1;
}

.admin-stat.blue { background: linear-gradient(135deg, var(--blue), #5598ff); }
.admin-stat.cyan { background: linear-gradient(135deg, var(--cyan), #72d7ff); }
.admin-stat.green { background: linear-gradient(135deg, var(--green), #57ca85); }
.admin-stat.red { background: linear-gradient(135deg, var(--red), #ff7a7a); }
.admin-stat.yellow { background: linear-gradient(135deg, #f1a816, var(--yellow)); }


.status-pill {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: #eef6ff;
  color: var(--blue);
}

.status-pill.approved {
  background: rgba(22, 167, 101, .12);
  color: var(--green);
}

.status-pill.rejected {
  background: rgba(239, 68, 68, .12);
  color: var(--red);
}

.row-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: 0 18px 50px rgba(16, 24, 40, .08);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.panel h2 {
  margin: 0;
  font-size: 24px;
}

.panel p {
  margin: 6px 0 0;
  color: var(--muted);
}

.dashboard-chart-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: center;
  gap: 24px;
}

.donut {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  margin-inline-start: auto;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 34px;
  border-radius: 50%;
  background: white;
  box-shadow: inset 0 0 0 1px var(--line);
}

.donut b,
.donut span {
  position: relative;
  z-index: 1;
}

.donut b {
  font-size: 34px;
  color: #183858;
}

.donut span {
  margin-top: 50px;
  margin-inline-start: -38px;
  color: var(--muted);
  font-weight: 900;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: #f6faff;
  border: 1px solid var(--line);
  color: #24425f;
  font-weight: 900;
}

.chart-legend i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.employee-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.employee-form label {
  display: grid;
  gap: 7px;
  color: #24425f;
  font-size: 13px;
  font-weight: 900;
}

.employee-form input,
.employee-form select,
.tx-form input,
.tx-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fbfdff;
  color: var(--text);
  padding: 10px;
  outline: none;
  font: inherit;
}

.employee-form input:focus,
.employee-form select:focus,
.tx-form input:focus,
.tx-form select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(58, 184, 245, .12);
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
}

table {
  width: 100%;
  min-width: 1060px;
  border-collapse: collapse;
}

th, td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  vertical-align: top;
}

th {
  color: #24425f;
  background: #edf6ff;
  font-size: 13px;
}

td small,
.tx-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.tx-form {
  min-width: 430px;
  display: grid;
  grid-template-columns: 82px 95px 110px 1fr 78px;
  gap: 7px;
}

.btn.mini {
  min-height: 42px;
  padding: 8px 10px;
  color: white;
  background: var(--blue);
  box-shadow: none;
}

.good { color: var(--green) !important; font-weight: 900; }
.bad { color: var(--red) !important; font-weight: 900; }
.empty {
  text-align: center;
  color: var(--muted);
  font-weight: 900;
}

@media (max-width: 1160px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .employee-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .admin-shell { grid-template-columns: 1fr; padding: 12px; }
  .admin-sidebar {
    position: static;
    height: auto;
  }
  .admin-topbar,
  .dashboard-chart-panel {
    grid-template-columns: 1fr;
  }
  .dashboard-chart-panel {
    display: grid;
  }
  .donut {
    margin: 0 auto;
  }
}

@media (max-width: 620px) {
  .stats-grid,
  .employee-form {
    grid-template-columns: 1fr;
  }
  .admin-topbar {
    align-items: stretch;
    flex-direction: column;
  }
  .top-badge {
    text-align: center;
  }
}

.menu-form,
.cashier-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.menu-form label,
.cashier-form label,
.menu-update-form input,
.menu-update-form select,
.cashier-update-form input,
.cashier-update-form select,
.item-form input,
.cashier-product-form input,
.item-form label {
  min-width: 0;
}

.menu-form label,
.cashier-form label {
  display: grid;
  gap: 7px;
  color: #24425f;
  font-size: 13px;
  font-weight: 900;
}

.menu-form input,
.menu-form select,
.cashier-form input,
.cashier-form select,
.menu-update-form input,
.menu-update-form select,
.cashier-update-form input,
.cashier-update-form select,
.item-form input,
.cashier-product-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fbfdff;
  color: var(--text);
  padding: 10px;
  outline: none;
  font: inherit;
}

.design-picker {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.design-card {
  min-height: 128px;
  border-radius: 22px;
  padding: 16px;
  display: grid;
  align-content: space-between;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 16px 40px rgba(16, 24, 40, .12);
  cursor: pointer;
  overflow: hidden;
}

.design-card input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--green);
}

.design-card span {
  font-size: 18px;
  font-weight: 900;
}

.design-card b {
  width: 54px;
  height: 8px;
  border-radius: 999px;
  display: block;
}

.menus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 16px;
}

.menu-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: 0 16px 44px rgba(16, 24, 40, .08);
}

.menu-card.paused {
  opacity: .72;
}

.menu-cover {
  min-height: 166px;
  display: flex;
  align-items: end;
  gap: 14px;
  padding: 18px;
  color: white;
}

.menu-cover.royal { background: linear-gradient(135deg, #081526, #1769e0); }
.menu-cover.noir { background: linear-gradient(135deg, #070b14, #24234e); }
.menu-cover.garden { background: linear-gradient(135deg, #ecfff4, #dff4ff); color: #12324c; }
.menu-cover.sunset { background: linear-gradient(135deg, #fff7e8, #ffe2e8); color: #331b24; }

.menu-cover img,
.menu-cover > span {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.28);
  font-weight: 900;
}

.menu-cover b,
.menu-cover small {
  display: block;
}

.menu-cover b {
  font-size: 24px;
}

.menu-cover small {
  margin-top: 6px;
  opacity: .82;
  font-weight: 900;
}

.menu-meta,
.menu-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px 0;
}

.menu-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #24425f;
  background: #f5faff;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 900;
}

.menu-actions {
  padding-bottom: 14px;
}

.btn.danger,
.btn.mini.danger {
  color: white;
  background: var(--red);
}

.btn.mini.green {
  color: white;
  background: var(--green);
}

.menu-editor {
  border-top: 1px solid var(--line);
  padding: 12px 14px 16px;
}

.menu-editor summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 900;
}

.menu-update-form,
.cashier-update-form,
.item-form,
.cashier-product-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.file-mini {
  display: grid;
  gap: 5px;
  color: #24425f;
  font-size: 12px;
  font-weight: 900;
}

.items-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
}

.items-list span {
  padding: 8px 10px;
  border-radius: 999px;
  background: #f6faff;
  border: 1px solid var(--line);
}

.delete-item {
  border: 0;
  background: transparent;
  color: var(--red);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.store-front {
  padding-top: 20px;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.store-card {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 42px rgba(16, 24, 40, .08);
}

.store-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #eef7ff, #fff);
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
}

.store-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.store-image span,
.store-admin-cover span {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  font-weight: 900;
}

.store-body {
  padding: 14px;
}

.store-body h3 {
  min-height: 44px;
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.35;
}

.store-body strong {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(22, 167, 101, .12);
  color: var(--green);
  font-size: 18px;
}

.store-body p {
  min-height: 54px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 13px;
}

.order-box summary {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--red), #ff8a00);
  font-weight: 900;
  cursor: pointer;
}

.store-order-form {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.store-order-form input,
.store-order-form select,
.store-update-form input,
.store-update-form textarea,
.wide-field textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 10px 12px;
  font: inherit;
}

.wide-field {
  grid-column: 1 / -1;
}

.wide-field textarea,
.store-update-form textarea {
  min-height: 92px;
  resize: vertical;
}

.store-admin-cover {
  min-height: 190px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, #eef7ff, #fff);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.store-admin-cover img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 18px;
}

.store-update-form {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.wide-search {
  width: 100%;
  margin-top: 12px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f8fbff;
  color: #13243a;
  font: inherit;
  font-weight: 800;
}

.serial-output {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #f8fbff;
}

.serial-output textarea {
  min-height: 90px;
  resize: vertical;
  direction: ltr;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  font-family: Consolas, monospace;
}

code {
  direction: ltr;
  display: inline-block;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

@media (max-width: 980px) {
  .design-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .menu-form,
  .cashier-form,
  .menu-update-form,
  .cashier-update-form,
  .item-form,
  .cashier-product-form,
  .design-picker {
    grid-template-columns: 1fr;
  }
  .store-grid {
    grid-template-columns: 1fr;
  }
}

/* EGYMAX HOME V1 START */

.egy-home {
  --egy-navy: #092d62;
  --egy-navy-dark: #061c3d;
  --egy-blue: #1264db;
  --egy-blue-light: #51b8f5;
  --egy-green: #18a864;
  --egy-text: #10233f;
  --egy-muted: #66768d;
  --egy-line: #dce8f5;
  --egy-soft: #f4f9ff;
  min-height: 100vh;
  overflow: hidden;
  color: var(--egy-text);
  background:
    radial-gradient(circle at 8% 6%, rgba(73, 177, 245, .13), transparent 25%),
    radial-gradient(circle at 91% 11%, rgba(18, 100, 219, .09), transparent 28%),
    #fff;
}

.egy-home *,
.egy-home *::before,
.egy-home *::after {
  box-sizing: border-box;
}

.egy-home img {
  max-width: 100%;
  display: block;
}

.egy-home a {
  text-decoration: none;
}

.egy-container {
  width: min(1200px, calc(100% - 36px));
  margin-inline: auto;
}

.egy-main {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.egy-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(220, 232, 245, .9);
  box-shadow: 0 10px 35px rgba(20, 50, 90, .06);
  backdrop-filter: blur(18px);
}

.egy-header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.egy-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  direction: ltr;
}

.egy-brand-name {
  color: var(--egy-navy);
  font-size: 29px;
  font-weight: 1000;
  letter-spacing: .5px;
}

.egy-brand-badge {
  padding: 4px 7px;
  border: 2px solid var(--egy-blue);
  border-radius: 6px;
  color: var(--egy-blue);
  font-size: 12px;
  font-weight: 1000;
}

.egy-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.egy-nav a {
  position: relative;
  padding: 12px 14px;
  border-radius: 12px;
  color: #29435f;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  transition: .25s ease;
}

.egy-nav a:hover {
  color: var(--egy-blue);
  background: #f1f7ff;
}

.egy-nav a.active {
  color: var(--egy-blue);
}

.egy-nav a.active::after {
  content: "";
  position: absolute;
  right: 20%;
  bottom: 3px;
  width: 60%;
  height: 3px;
  border-radius: 999px;
  background: var(--egy-blue);
}

.egy-admin-btn {
  min-height: 44px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #0d55bf, #0a3f97);
  box-shadow: 0 12px 25px rgba(18, 100, 219, .22);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  transition: .25s ease;
}

.egy-admin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(18, 100, 219, .28);
}

.egy-hero {
  position: relative;
  padding: 68px 0 54px;
  overflow: hidden;
}

.egy-hero::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  top: -330px;
  left: -250px;
  border-radius: 50%;
  background: rgba(76, 180, 246, .12);
}

.egy-hero-grid {
  position: relative;
  z-index: 1;
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr);
  align-items: center;
  gap: 55px;
}

.egy-kicker {
  display: inline-flex;
  padding: 9px 14px;
  border: 1px solid #d6e8ff;
  border-radius: 999px;
  color: var(--egy-blue);
  background: #edf6ff;
  font-size: 13px;
  font-weight: 1000;
}

.egy-hero-copy h1 {
  margin: 20px 0 18px;
  color: var(--egy-navy-dark);
  font-size: clamp(39px, 5vw, 67px);
  line-height: 1.16;
  font-weight: 1000;
  letter-spacing: -.8px;
}

.egy-hero-copy h1 strong {
  display: block;
  color: var(--egy-navy);
}

.egy-hero-copy > p {
  max-width: 650px;
  margin: 0;
  color: var(--egy-muted);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 2;
}

.egy-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 27px;
}

.egy-btn {
  min-height: 48px;
  padding: 12px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 13px;
  font: inherit;
  font-weight: 1000;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease;
}

.egy-btn:hover {
  transform: translateY(-2px);
}

.egy-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #1264db, #0950b7);
  box-shadow: 0 12px 26px rgba(18, 100, 219, .22);
}

.egy-btn-light {
  color: var(--egy-navy);
  background: #fff;
  border: 1px solid var(--egy-line);
  box-shadow: 0 10px 24px rgba(19, 54, 92, .07);
}

.egy-btn-whatsapp,
.egy-btn-green {
  color: #fff;
  background: linear-gradient(135deg, #1db66e, #119351);
  box-shadow: 0 12px 26px rgba(24, 168, 100, .22);
}

.egy-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 24px;
  color: #526b85;
  font-size: 13px;
  font-weight: 800;
}

.egy-hero-trust span::first-letter {
  color: var(--egy-green);
}

.egy-hero-visual {
  position: relative;
  min-width: 0;
  padding: 20px;
}

.egy-visual-glow {
  position: absolute;
  inset: 8% 8%;
  border-radius: 50%;
  background: rgba(52, 156, 242, .20);
  filter: blur(70px);
}

.egy-platform-frame {
  position: relative;
  z-index: 2;
  padding: 13px;
  border: 1px solid rgba(198, 220, 243, .9);
  border-radius: 27px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 32px 70px rgba(24, 61, 101, .17);
  transform: perspective(1200px) rotateY(-2deg);
}

.egy-platform-frame img {
  width: 100%;
  aspect-ratio: 1.18 / .78;
  object-fit: cover;
  border-radius: 20px;
}

.egy-floating-card {
  position: absolute;
  z-index: 3;
  min-width: 145px;
  padding: 13px 15px;
  display: grid;
  gap: 5px;
  border: 1px solid rgba(211, 228, 245, .96);
  border-radius: 16px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 16px 35px rgba(23, 64, 107, .14);
}

.egy-floating-card small {
  color: var(--egy-muted);
  font-weight: 800;
}

.egy-floating-card strong {
  color: var(--egy-green);
  font-size: 19px;
}

.egy-floating-sales {
  right: -8px;
  bottom: 1px;
}

.egy-floating-orders {
  left: -6px;
  top: 9%;
}

.egy-feature-strip {
  position: relative;
  z-index: 5;
  margin-top: -18px;
}

.egy-feature-grid {
  padding: 19px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--egy-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(19, 55, 94, .09);
}

.egy-feature-grid article {
  min-width: 0;
  padding: 7px 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-left: 1px solid #e7eff7;
}

.egy-feature-grid article:last-child {
  border-left: 0;
}

.egy-feature-icon {
  width: 49px;
  height: 49px;
  flex: 0 0 49px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--egy-blue);
  background: #ebf4ff;
  font-size: 18px;
  font-weight: 1000;
}

.egy-feature-grid h3 {
  margin: 0 0 4px;
  color: var(--egy-navy);
  font-size: 15px;
}

.egy-feature-grid p {
  margin: 0;
  color: var(--egy-muted);
  font-size: 12px;
  line-height: 1.65;
}

.egy-section,
.egy-benefits {
  padding: 82px 0;
}

.egy-section-head {
  max-width: 730px;
  margin-bottom: 31px;
}

.egy-section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.egy-section-head > span {
  color: var(--egy-blue);
  font-size: 13px;
  font-weight: 1000;
}

.egy-section-head h2 {
  margin: 10px 0 9px;
  color: var(--egy-navy-dark);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 1000;
}

.egy-section-head p {
  margin: 0;
  color: var(--egy-muted);
  font-size: 16px;
  line-height: 1.9;
}

.egy-systems-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.egy-system-card {
  min-width: 0;
  min-height: 300px;
  padding: 23px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--egy-line);
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 13px 35px rgba(22, 60, 100, .07);
  transition: .25s ease;
}

.egy-system-card:hover {
  transform: translateY(-6px);
  border-color: #bad7f6;
  box-shadow: 0 22px 46px rgba(22, 60, 100, .12);
}

.egy-system-icon {
  width: 61px;
  height: 61px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  font-size: 20px;
  font-weight: 1000;
}

.egy-system-icon.blue {
  color: #1264db;
  background: #eaf3ff;
}

.egy-system-icon.green {
  color: #139a58;
  background: #eafaf2;
}

.egy-system-icon.violet {
  color: #7b49d0;
  background: #f3ecff;
}

.egy-system-icon.orange {
  color: #e28a15;
  background: #fff5e5;
}

.egy-system-card h3 {
  margin: 19px 0 10px;
  color: var(--egy-navy);
  font-size: 20px;
}

.egy-system-card p {
  margin: 0 0 20px;
  color: var(--egy-muted);
  line-height: 1.8;
  font-size: 14px;
}

.egy-system-card a {
  margin-top: auto;
  color: var(--egy-blue);
  font-size: 14px;
  font-weight: 1000;
}

.egy-benefits {
  background:
    linear-gradient(180deg, rgba(240, 247, 255, .8), rgba(250, 253, 255, .95));
  border-block: 1px solid #e4eef8;
}

.egy-benefits-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.egy-benefits-grid article {
  min-height: 175px;
  padding: 19px 12px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  border: 1px solid var(--egy-line);
  border-radius: 18px;
  background: #fff;
}

.egy-benefits-grid b {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--egy-blue);
  background: #edf6ff;
  font-size: 19px;
}

.egy-benefits-grid h3 {
  margin: 12px 0 5px;
  color: var(--egy-navy);
  font-size: 15px;
}

.egy-benefits-grid p {
  margin: 0;
  color: var(--egy-muted);
  font-size: 12px;
  line-height: 1.6;
}

.egy-downloads {
  background: #fff;
}

.egy-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.egy-download-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 43% 1fr;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--egy-line);
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 17px 45px rgba(19, 56, 96, .09);
}

.egy-download-image {
  height: 100%;
  min-height: 290px;
  padding: 13px;
  background: linear-gradient(145deg, #edf6ff, #faffff);
}

.egy-download-image img {
  width: 100%;
  height: 100%;
  min-height: 264px;
  border-radius: 17px;
  object-fit: cover;
}

.egy-download-content {
  padding: 25px;
}

.egy-download-content > span {
  color: var(--egy-blue);
  font-size: 12px;
  font-weight: 1000;
}

.egy-download-content h3 {
  margin: 8px 0 10px;
  color: var(--egy-navy);
  font-size: 23px;
  line-height: 1.45;
}

.egy-download-content p {
  margin: 0 0 20px;
  color: var(--egy-muted);
  font-size: 14px;
  line-height: 1.85;
}

.egy-home .store-front {
  padding: 75px 0;
}

.egy-home .store-front .section-head {
  max-width: 740px;
  margin-bottom: 30px;
}

.egy-home .store-front .section-head > span {
  color: var(--egy-blue);
  background: #edf6ff;
}

.egy-home .store-front .section-head h2 {
  color: var(--egy-navy-dark);
  font-size: clamp(30px, 4vw, 44px);
}

.egy-home .store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.egy-home .store-card {
  overflow: hidden;
  border: 1px solid var(--egy-line);
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(20, 58, 98, .08);
  transition: .25s ease;
}

.egy-home .store-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 45px rgba(20, 58, 98, .12);
}

.egy-home .store-image {
  height: 220px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #f0f7ff, #fff);
}

.egy-home .store-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.egy-home .store-image > span {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--egy-blue), var(--egy-blue-light));
  font-size: 24px;
  font-weight: 1000;
}

.egy-home .store-body {
  padding: 20px;
}

.egy-home .store-body h3 {
  margin: 0 0 7px;
  color: var(--egy-navy);
  font-size: 20px;
}

.egy-home .store-body > strong {
  display: block;
  margin-bottom: 8px;
  color: var(--egy-blue);
  font-size: 20px;
}

.egy-home .store-body > p {
  min-height: 48px;
  margin: 0 0 15px;
  color: var(--egy-muted);
  line-height: 1.7;
}

.egy-home .order-box {
  border: 1px solid #d6e6f5;
  border-radius: 13px;
  background: #f8fbff;
}

.egy-home .order-box summary {
  padding: 12px 15px;
  color: #fff;
  background: var(--egy-green);
  border-radius: 12px;
  text-align: center;
  font-weight: 1000;
  cursor: pointer;
  list-style: none;
}

.egy-home .store-order-form {
  padding: 13px;
  display: grid;
  gap: 8px;
}

.egy-home .store-order-form input,
.egy-home .store-order-form select {
  width: 100%;
  min-height: 43px;
  padding: 9px 11px;
  border: 1px solid var(--egy-line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
}

.egy-home .store-empty {
  grid-column: 1 / -1;
  min-height: 190px;
  display: grid;
  place-items: center;
  border: 1px dashed #bdd4eb;
  border-radius: 20px;
  color: var(--egy-muted);
  background: #f8fbff;
}

.egy-login-section {
  padding: 75px 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(69, 166, 241, .14), transparent 34%),
    linear-gradient(135deg, #eaf5ff, #f9fcff);
  border-block: 1px solid #dceaf7;
}

.egy-login-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(410px, .83fr);
  align-items: center;
  gap: 65px;
}

.egy-login-info h2 {
  margin: 15px 0 12px;
  max-width: 600px;
  color: var(--egy-navy-dark);
  font-size: clamp(32px, 4vw, 49px);
  line-height: 1.3;
}

.egy-login-info > p {
  max-width: 610px;
  margin: 0;
  color: var(--egy-muted);
  font-size: 16px;
  line-height: 1.9;
}

.egy-security-card {
  max-width: 490px;
  margin-top: 25px;
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #cfe1f3;
  border-radius: 17px;
  background: rgba(255, 255, 255, .76);
}

.egy-security-card > span {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #e9f3ff;
  font-size: 23px;
}

.egy-security-card strong,
.egy-security-card small {
  display: block;
}

.egy-security-card strong {
  color: var(--egy-navy);
}

.egy-security-card small {
  margin-top: 4px;
  color: var(--egy-muted);
}

.egy-login-card {
  padding: 28px;
  display: grid;
  gap: 16px;
  border: 1px solid #d4e5f5;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(20, 61, 104, .14);
}

.egy-login-heading {
  margin-bottom: 4px;
  text-align: center;
}

.egy-login-heading > span {
  color: var(--egy-blue);
  font-size: 17px;
  font-weight: 1000;
}

.egy-login-heading h3 {
  margin: 7px 0 4px;
  color: var(--egy-navy);
  font-size: 26px;
}

.egy-login-heading p {
  margin: 0;
  color: var(--egy-muted);
}

.egy-login-card label {
  display: grid;
  gap: 8px;
  color: #29435f;
  font-size: 14px;
  font-weight: 1000;
}

.egy-input-wrap {
  min-height: 49px;
  display: grid;
  grid-template-columns: 35px 1fr;
  align-items: center;
  border: 1px solid #d6e4f2;
  border-radius: 13px;
  background: #f9fcff;
  overflow: hidden;
}

.egy-input-wrap > span {
  display: grid;
  place-items: center;
  color: var(--egy-blue);
  font-weight: 1000;
}

.egy-input-wrap input {
  width: 100%;
  height: 47px;
  padding: 0 5px 0 12px;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
}

.egy-login-card .form-message {
  margin: 0;
}

.egy-login-submit {
  width: 100%;
}

.egy-footer {
  color: #fff;
  background: linear-gradient(135deg, #071d3b, #0a376b);
}

.egy-footer-grid {
  padding: 45px 0 35px;
  display: grid;
  grid-template-columns: 1.5fr .8fr .8fr;
  gap: 45px;
}

.egy-footer-brand strong {
  display: block;
  font-size: 34px;
  letter-spacing: 1px;
}

.egy-footer-brand > span {
  display: block;
  margin-top: 3px;
  color: #bdcff0;
  font-weight: 900;
}

.egy-footer-brand p {
  max-width: 430px;
  margin: 15px 0 0;
  color: #bed0e4;
  line-height: 1.9;
}

.egy-footer h3 {
  margin: 0 0 15px;
  font-size: 17px;
}

.egy-footer-links,
.egy-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.egy-footer-links a,
.egy-footer-contact a {
  color: #cad9ea;
  font-size: 14px;
}

.egy-footer-links a:hover,
.egy-footer-contact a:hover {
  color: #fff;
}

.egy-footer-bottom {
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  color: #b9cce1;
  text-align: center;
  font-size: 13px;
}

.egy-whatsapp-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 999;
  min-height: 54px;
  padding: 7px 15px 7px 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, #20bd70, #0b934d);
  box-shadow: 0 14px 35px rgba(11, 147, 77, .34);
  font-weight: 1000;
  transition: .25s ease;
}

.egy-whatsapp-float:hover {
  transform: translateY(-4px) scale(1.02);
}

.egy-whatsapp-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .17);
  font-size: 20px;
}

.egy-whatsapp-label {
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .egy-header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 15px;
  }

  .egy-nav {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .egy-nav::-webkit-scrollbar {
    display: none;
  }

  .egy-nav a {
    padding-inline: 10px;
  }

  .egy-hero-grid {
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    gap: 25px;
  }

  .egy-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .egy-feature-grid article {
    border: 0;
    border-radius: 14px;
    background: #f8fbff;
  }

  .egy-systems-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .egy-benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .egy-download-card {
    grid-template-columns: 1fr;
  }

  .egy-download-image {
    min-height: 230px;
  }

  .egy-download-image img {
    min-height: 205px;
  }
}

@media (max-width: 820px) {
  .egy-container {
    width: min(100% - 24px, 1200px);
  }

  .egy-header {
    position: relative;
  }

  .egy-header-inner {
    padding: 12px 0;
    grid-template-columns: 1fr auto;
  }

  .egy-brand {
    justify-self: start;
  }

  .egy-admin-btn {
    justify-self: end;
  }

  .egy-nav {
    grid-column: 1 / -1;
    width: 100%;
    padding-top: 8px;
    justify-content: flex-start;
    border-top: 1px solid #edf2f7;
  }

  .egy-hero {
    padding-top: 44px;
  }

  .egy-hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .egy-hero-copy {
    text-align: center;
  }

  .egy-hero-copy > p {
    margin-inline: auto;
  }

  .egy-hero-actions,
  .egy-hero-trust {
    justify-content: center;
  }

  .egy-hero-visual {
    width: min(680px, 100%);
    margin-inline: auto;
  }

  .egy-feature-strip {
    margin-top: 10px;
  }

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

  .egy-login-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .egy-login-info {
    text-align: center;
  }

  .egy-login-info > p,
  .egy-security-card {
    margin-inline: auto;
  }

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

  .egy-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .egy-brand-name {
    font-size: 24px;
  }

  .egy-admin-btn {
    min-height: 41px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .egy-nav a {
    padding: 10px 11px;
    font-size: 12px;
  }

  .egy-hero-copy h1 {
    font-size: clamp(35px, 11vw, 48px);
  }

  .egy-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .egy-btn {
    width: 100%;
  }

  .egy-floating-card {
    display: none;
  }

  .egy-hero-visual {
    padding: 5px 0;
  }

  .egy-platform-frame {
    padding: 8px;
    border-radius: 19px;
    transform: none;
  }

  .egy-platform-frame img {
    border-radius: 14px;
  }

  .egy-feature-grid,
  .egy-systems-grid,
  .egy-benefits-grid,
  .egy-home .store-grid {
    grid-template-columns: 1fr;
  }

  .egy-feature-grid {
    padding: 11px;
  }

  .egy-feature-grid article {
    padding: 13px;
  }

  .egy-section,
  .egy-benefits,
  .egy-home .store-front,
  .egy-login-section {
    padding: 58px 0;
  }

  .egy-system-card {
    min-height: auto;
  }

  .egy-benefits-grid article {
    min-height: 150px;
  }

  .egy-download-content,
  .egy-login-card {
    padding: 20px;
  }

  .egy-download-image {
    min-height: 190px;
  }

  .egy-download-image img {
    min-height: 165px;
  }

  .egy-footer-grid {
    grid-template-columns: 1fr;
    gap: 29px;
  }

  .egy-footer-brand {
    grid-column: auto;
  }

  .egy-whatsapp-float {
    left: 12px;
    bottom: 12px;
    min-height: 52px;
    padding: 6px;
  }

  .egy-whatsapp-label {
    display: none;
  }

  .egy-whatsapp-icon {
    width: 39px;
    height: 39px;
  }
}

@media (max-width: 390px) {
  .egy-header-inner {
    grid-template-columns: 1fr;
  }

  .egy-brand,
  .egy-admin-btn {
    justify-self: center;
  }

  .egy-admin-btn {
    width: 100%;
  }

  .egy-nav {
    grid-column: auto;
  }

  .egy-hero-copy h1 {
    font-size: 34px;
  }
}

/* EGYMAX HOME V1 END */

/* EGYMAX PUBLIC PAGES V2 START */

.egy-page-hero {
  padding: 78px 0 64px;
  text-align: center;
  background:
    radial-gradient(circle at 15% 10%, rgba(58, 184, 245, .15), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(18, 100, 219, .11), transparent 30%),
    linear-gradient(180deg, #fff, #f2f8ff);
  border-bottom: 1px solid #e1ecf7;
}

.egy-page-hero h1 {
  margin: 17px auto 12px;
  color: var(--egy-navy-dark);
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 1000;
}

.egy-page-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--egy-muted);
  font-size: 18px;
  line-height: 1.9;
}

.egy-home-links-grid {
  margin-top: 55px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.egy-link-card {
  min-height: 230px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border: 1px solid var(--egy-line);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(20, 58, 98, .09);
}

.egy-link-card.downloads {
  background: linear-gradient(135deg, #eaf4ff, #fff);
}

.egy-link-card.store {
  background: linear-gradient(135deg, #ebfbf3, #fff);
}

.egy-link-card > div {
  max-width: 430px;
}

.egy-link-card span {
  color: var(--egy-blue);
  font-size: 13px;
  font-weight: 1000;
}

.egy-link-card h3 {
  margin: 9px 0 8px;
  color: var(--egy-navy);
  font-size: 28px;
}

.egy-link-card p {
  margin: 0;
  color: var(--egy-muted);
  line-height: 1.8;
}

.egy-download-note {
  margin-top: 30px;
  padding: 25px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 15px 25px;
  border: 1px solid #cfe5f7;
  border-radius: 20px;
  background: #f2f9ff;
}

.egy-download-note strong {
  color: var(--egy-navy);
  font-size: 21px;
}

.egy-download-note p {
  margin: 0;
  color: var(--egy-muted);
}

.egy-download-note .egy-btn {
  grid-row: 1 / 3;
  grid-column: 2;
}

.egy-store-page .store-front {
  padding-top: 60px;
}

.egy-login-page {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
}

@media (max-width: 820px) {
  .egy-home-links-grid {
    grid-template-columns: 1fr;
  }

  .egy-link-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .egy-download-note {
    grid-template-columns: 1fr;
  }

  .egy-download-note .egy-btn {
    grid-row: auto;
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .egy-page-hero {
    padding: 55px 0 45px;
  }

  .egy-page-hero p {
    font-size: 15px;
  }

  .egy-link-card {
    min-height: auto;
    padding: 22px;
  }

  .egy-link-card h3 {
    font-size: 23px;
  }
}

/* EGYMAX PUBLIC PAGES V2 END */

/* EGYMAX ADMIN V2 START */

.admin-v2 {
  --admin-navy: #071f3e;
  --admin-navy-light: #0c315d;
  --admin-blue: #1667d9;
  --admin-blue-light: #4daeea;
  --admin-green: #18a864;
  --admin-orange: #ed9a22;
  --admin-purple: #7357d7;
  --admin-red: #e34d59;
  --admin-text: #13253c;
  --admin-muted: #738196;
  --admin-line: #dce6f0;
  min-height: 100vh;
  padding: 0;
  gap: 0;
  grid-template-columns: 268px minmax(0, 1fr);
  background: #f1f5f9;
  color: var(--admin-text);
}

.admin-v2 .admin-sidebar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 100vh;
  padding: 20px 14px;
  gap: 0;
  border: 0;
  border-radius: 0;
  color: #fff;
  background:
    radial-gradient(circle at 20% 0%, rgba(55, 140, 225, .22), transparent 34%),
    linear-gradient(180deg, var(--admin-navy-light), var(--admin-navy));
  box-shadow: 12px 0 35px rgba(7, 31, 62, .14);
  overflow-y: auto;
}

.admin-v2 .admin-sidebar::-webkit-scrollbar {
  width: 5px;
}

.admin-v2 .admin-sidebar::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, .20);
}

.admin-v2 .admin-brand {
  min-height: 74px;
  margin: 0 0 18px;
  padding: 11px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 17px;
  color: #fff;
  background: rgba(255, 255, 255, .07);
}

.admin-v2 .admin-logo-mark {
  width: 47px;
  height: 47px;
  flex: 0 0 47px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #1d76e8, #43b7ee);
  box-shadow: 0 10px 25px rgba(0, 105, 220, .32);
  font-size: 24px;
  font-weight: 1000;
}

.admin-v2 .admin-brand b {
  color: #fff;
  font-size: 18px;
  letter-spacing: .4px;
}

.admin-v2 .admin-brand em {
  color: #62d2ff;
  font-size: 11px;
  font-style: normal;
}

.admin-v2 .admin-brand small {
  margin-top: 4px;
  color: #a9c3de;
  font-size: 11px;
}

.admin-v2 .admin-nav-label {
  padding: 0 12px 9px;
  color: #89a7c5;
  font-size: 11px;
  font-weight: 900;
}

.admin-v2 .admin-nav {
  display: grid;
  gap: 6px;
}

.admin-v2 .admin-nav button {
  width: 100%;
  min-height: 47px;
  padding: 0 10px;
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #d6e4f1;
  background: transparent;
  box-shadow: none;
  text-align: right;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: .22s ease;
}

.admin-v2 .admin-nav button:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.admin-v2 .admin-nav button.active {
  color: #fff;
  border-color: rgba(255, 255, 255, .13);
  background: linear-gradient(135deg, #1769dd, #1686d8);
  box-shadow: 0 12px 24px rgba(0, 90, 200, .26);
}

.admin-v2 .admin-nav-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #aaceef;
  background: rgba(255, 255, 255, .07);
  font-size: 13px;
  font-weight: 1000;
}

.admin-v2 .admin-nav button.active .admin-nav-icon {
  color: #fff;
  background: rgba(255, 255, 255, .17);
}

.admin-v2 .nav-badge {
  min-width: 23px;
  height: 23px;
  margin: 0;
  color: #fff;
  background: var(--admin-red);
  box-shadow: 0 5px 12px rgba(227, 77, 89, .30);
}

.admin-v2 .admin-sidebar-footer {
  margin-top: auto;
  padding-top: 18px;
  display: grid;
  gap: 10px;
}

.admin-v2 .admin-sidebar-user {
  padding: 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
}

.admin-v2 .admin-sidebar-user b,
.admin-v2 .admin-sidebar-user small {
  display: block;
}

.admin-v2 .admin-sidebar-user b {
  color: #fff;
  font-size: 13px;
}

.admin-v2 .admin-sidebar-user small {
  margin-top: 3px;
  color: #9bb7d2;
  font-size: 11px;
}

.admin-v2 .admin-user-avatar {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #1d76e8, #40b1ea);
  font-size: 17px;
  font-weight: 1000;
  box-shadow: 0 8px 18px rgba(20, 105, 215, .25);
}

.admin-v2 .admin-user-avatar.large {
  width: 45px;
  height: 45px;
  flex-basis: 45px;
  border-radius: 14px;
}

.admin-v2 .admin-sidebar .logout-btn {
  min-height: 45px;
  margin: 0;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 105, 115, .25);
  border-radius: 12px;
  color: #ffb7bc;
  background: rgba(227, 77, 89, .10);
  box-shadow: none;
  text-align: center;
}

.admin-v2 .admin-sidebar .logout-btn:hover {
  color: #fff;
  background: var(--admin-red);
}

.admin-v2 .admin-main {
  min-width: 0;
  padding: 18px 20px 32px;
}

.admin-v2 .admin-topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  min-height: 97px;
  margin: 0 0 18px;
  padding: 16px 19px;
  border: 1px solid rgba(215, 226, 238, .94);
  border-radius: 19px;
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 12px 32px rgba(24, 48, 78, .08);
  backdrop-filter: blur(15px);
}

.admin-v2 .admin-page-heading > span {
  color: var(--admin-blue);
  font-size: 11px;
  font-weight: 1000;
}

.admin-v2 .admin-page-heading h1 {
  margin: 4px 0 3px;
  color: var(--admin-text);
  font-size: 25px;
  line-height: 1.25;
}

.admin-v2 .admin-page-heading p {
  margin: 0;
  color: var(--admin-muted);
  font-size: 12px;
}

.admin-v2 .admin-top-user {
  min-width: 255px;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid #e1e9f1;
  border-radius: 15px;
  background: #f8fafc;
}

.admin-v2 .admin-top-user b,
.admin-v2 .admin-top-user small {
  display: block;
}

.admin-v2 .admin-top-user b {
  color: var(--admin-text);
  font-size: 13px;
}

.admin-v2 .admin-top-user small {
  margin-top: 3px;
  color: var(--admin-muted);
  font-size: 11px;
}

.admin-v2 .top-badge {
  padding: 7px 9px;
  color: var(--admin-blue);
  background: #e8f2ff;
  font-size: 11px;
}

.admin-v2 .admin-content {
  min-width: 0;
}

.admin-v2 .admin-section {
  gap: 15px;
}

.admin-v2 .stats-grid {
  gap: 13px;
}

.admin-v2 .admin-stat {
  position: relative;
  min-height: 125px;
  padding: 17px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  box-shadow: 0 13px 30px rgba(22, 50, 82, .13);
}

.admin-v2 .admin-stat::after {
  content: "";
  position: absolute;
  width: 105px;
  height: 105px;
  left: -35px;
  bottom: -45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

.admin-v2 .admin-stat span,
.admin-v2 .admin-stat strong {
  position: relative;
  z-index: 1;
}

.admin-v2 .admin-stat span {
  font-size: 13px;
}

.admin-v2 .admin-stat strong {
  font-size: 35px;
}

.admin-v2 .admin-stat.blue {
  background: linear-gradient(135deg, #1767d7, #368fe8);
}

.admin-v2 .admin-stat.cyan {
  background: linear-gradient(135deg, #087f9e, #20afd0);
}

.admin-v2 .admin-stat.green {
  background: linear-gradient(135deg, #11844c, #20b86c);
}

.admin-v2 .admin-stat.red {
  background: linear-gradient(135deg, #ba3e51, #e45d69);
}

.admin-v2 .admin-stat.yellow {
  background: linear-gradient(135deg, #c67a13, #eca32d);
}

.admin-v2 .panel,
.admin-v2 .menu-card,
.admin-v2 .store-card {
  border: 1px solid var(--admin-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 9px 25px rgba(24, 50, 80, .065);
}

.admin-v2 .panel {
  padding: 18px;
}

.admin-v2 .panel-head {
  margin-bottom: 15px;
}

.admin-v2 .panel h2 {
  color: var(--admin-text);
  font-size: 20px;
}

.admin-v2 .panel p {
  color: var(--admin-muted);
  font-size: 12px;
  line-height: 1.7;
}

.admin-v2 .dashboard-chart-panel {
  grid-template-columns: minmax(0, 1fr) 215px;
}

.admin-v2 .donut {
  width: 205px;
  height: 205px;
  box-shadow: 0 13px 30px rgba(25, 58, 94, .08);
}

.admin-v2 .donut::after {
  inset: 31px;
}

.admin-v2 .chart-legend span {
  padding: 8px 10px;
  border-color: #e2eaf2;
  color: #395169;
  background: #f7fafc;
  font-size: 12px;
}

.admin-v2 .table-wrap {
  border-color: var(--admin-line);
  border-radius: 14px;
  background: #fff;
}

.admin-v2 table {
  background: #fff;
}

.admin-v2 th {
  padding: 13px 12px;
  color: #354e68;
  background: #edf4fa;
  border-color: #dce7f1;
  font-size: 12px;
  white-space: nowrap;
}

.admin-v2 td {
  padding: 13px 12px;
  border-color: #e6edf4;
  color: #293c51;
  font-size: 13px;
}

.admin-v2 tbody tr:hover td {
  background: #f8fbfe;
}

.admin-v2 input,
.admin-v2 select,
.admin-v2 textarea,
.admin-v2 .wide-search {
  border-color: #d7e2ed;
  border-radius: 10px;
  background: #f9fbfd;
}

.admin-v2 input:focus,
.admin-v2 select:focus,
.admin-v2 textarea:focus,
.admin-v2 .wide-search:focus {
  border-color: var(--admin-blue-light);
  box-shadow: 0 0 0 3px rgba(77, 174, 234, .12);
  outline: 0;
}

.admin-v2 .btn,
.admin-v2 button.btn {
  border-radius: 10px;
  box-shadow: none;
}

.admin-v2 .btn.primary,
.admin-v2 .btn.mini {
  background: linear-gradient(135deg, #1767d7, #2e8be5);
}

.admin-v2 .btn.green,
.admin-v2 .btn.mini.green {
  background: linear-gradient(135deg, #138850, #20b86c);
}

.admin-v2 .btn.danger,
.admin-v2 .btn.mini.danger {
  background: linear-gradient(135deg, #c74051, #e45d69);
}

.admin-v2 .status-pill {
  border-radius: 8px;
}

.admin-v2 .menu-cover {
  min-height: 150px;
}

.admin-v2 .menu-meta span {
  color: #3a526a;
  background: #f5f8fb;
}

.admin-v2 .store-admin-cover {
  background: linear-gradient(145deg, #edf5fc, #fff);
}

@media (max-width: 1100px) {
  .admin-v2 {
    grid-template-columns: 238px minmax(0, 1fr);
  }

  .admin-v2 .admin-top-user {
    min-width: 220px;
  }

  .admin-v2 .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .admin-v2 {
    display: block;
  }

  .admin-v2 .admin-sidebar {
    position: static;
    height: auto;
    padding: 13px;
    overflow: visible;
  }

  .admin-v2 .admin-brand {
    min-height: 64px;
    margin-bottom: 12px;
  }

  .admin-v2 .admin-nav-label {
    display: none;
  }

  .admin-v2 .admin-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-v2 .admin-nav button {
    min-height: 45px;
  }

  .admin-v2 .admin-sidebar-footer {
    margin-top: 12px;
    grid-template-columns: 1fr 1fr;
    padding-top: 0;
  }

  .admin-v2 .admin-main {
    padding: 12px;
  }

  .admin-v2 .admin-topbar {
    position: static;
  }
}

@media (max-width: 620px) {
  .admin-v2 .admin-nav {
    grid-template-columns: 1fr;
  }

  .admin-v2 .admin-sidebar-footer {
    grid-template-columns: 1fr;
  }

  .admin-v2 .admin-topbar {
    align-items: stretch;
    flex-direction: column;
    padding: 14px;
  }

  .admin-v2 .admin-top-user {
    width: 100%;
    min-width: 0;
  }

  .admin-v2 .stats-grid,

  .admin-v2 .dashboard-chart-panel {
    grid-template-columns: 1fr;
  }

  .admin-v2 .panel {
    padding: 14px;
  }

  .admin-v2 .panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-v2 .employee-form,
  .admin-v2 .menu-form,
  .admin-v2 .cashier-form,
  .admin-v2 .menu-update-form,
  .admin-v2 .cashier-update-form,
  .admin-v2 .item-form,
  .admin-v2 .cashier-product-form,
  .admin-v2 .design-picker {
    grid-template-columns: 1fr;
  }
}

/* EGYMAX ADMIN V2 END */

/* EGYMAX ADMIN PREMIUM V3 START */

.admin-v2 {
  background:
    radial-gradient(circle at 7% 0%, rgba(34, 126, 218, .10), transparent 28%),
    radial-gradient(circle at 95% 8%, rgba(44, 191, 156, .09), transparent 25%),
    linear-gradient(145deg, #eaf1f8 0%, #f6f9fc 45%, #edf3f8 100%);
}

.admin-v2 .admin-main {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 92% 2%, rgba(50, 149, 231, .12), transparent 24%),
    radial-gradient(circle at 6% 95%, rgba(39, 181, 137, .08), transparent 24%);
}

.admin-v2 .admin-main::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0 0 0 268px;
  pointer-events: none;
  opacity: .32;
  background-image:
    linear-gradient(rgba(26, 75, 121, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 75, 121, .035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.admin-v2 .admin-topbar {
  border-color: rgba(211, 225, 239, .78);
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(244,249,254,.91));
  box-shadow:
    0 20px 55px rgba(27, 60, 96, .08),
    inset 0 1px 0 rgba(255,255,255,.95);
}

.admin-v2 .admin-content {
  position: relative;
}

.premium-dashboard {
  gap: 17px !important;
}

.premium-welcome {
  position: relative;
  min-height: 245px;
  padding: 35px 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(114, 173, 225, .20);
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(53, 160, 246, .22), transparent 30%),
    radial-gradient(circle at 80% 60%, rgba(22, 195, 157, .18), transparent 32%),
    linear-gradient(135deg, #071c38 0%, #0a3765 52%, #09577a 100%);
  box-shadow:
    0 28px 70px rgba(4, 36, 71, .24),
    inset 0 1px 0 rgba(255,255,255,.13);
}

.premium-welcome::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .34;
  background:
    linear-gradient(120deg, transparent 30%, rgba(255,255,255,.06), transparent 65%),
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,.018) 0,
      rgba(255,255,255,.018) 1px,
      transparent 1px,
      transparent 16px
    );
}

.premium-welcome::after {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  left: -180px;
  top: -235px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(255,255,255,.025),
    0 0 0 90px rgba(255,255,255,.018);
}

.premium-welcome-content {
  position: relative;
  z-index: 3;
  max-width: 710px;
}

.premium-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(120, 213, 255, .22);
  border-radius: 999px;
  color: #b9e7ff;
  background: rgba(34, 139, 216, .15);
  font-size: 12px;
  font-weight: 1000;
}

.premium-eyebrow i,
.system-online i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38e6a5;
  box-shadow: 0 0 0 5px rgba(56, 230, 165, .11);
}

.premium-welcome h2 {
  max-width: 700px;
  margin: 17px 0 10px;
  color: #fff;
  font-size: clamp(29px, 3.5vw, 44px);
  line-height: 1.25;
  font-weight: 1000;
}

.premium-welcome p {
  max-width: 650px;
  margin: 0;
  color: #b9cfe3;
  font-size: 15px;
  line-height: 1.9;
}

.premium-welcome-meta {
  margin-top: 23px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.premium-welcome-meta > span {
  min-height: 38px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 11px;
  color: #d8e7f4;
  background: rgba(255,255,255,.06);
  font-size: 11px;
  font-weight: 900;
}

.premium-welcome-art {
  position: relative;
  z-index: 2;
  width: 250px;
  height: 220px;
  justify-self: center;
  display: grid;
  place-items: center;
}

.premium-core {
  position: relative;
  z-index: 4;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 34px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(41, 151, 232, .95), rgba(18, 97, 188, .95));
  box-shadow:
    0 25px 55px rgba(0, 40, 95, .38),
    inset 0 1px 0 rgba(255,255,255,.25);
  transform: rotate(-7deg);
}

.premium-core span {
  font-size: 51px;
  line-height: 1;
  font-weight: 1000;
}

.premium-core small {
  margin-top: 4px;
  color: #bee6ff;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 1000;
}

.premium-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(107, 204, 255, .25);
}

.orbit-one {
  width: 190px;
  height: 190px;
  animation: premium-orbit 16s linear infinite;
}

.orbit-two {
  width: 235px;
  height: 145px;
  border-color: rgba(57, 231, 174, .20);
  transform: rotate(33deg);
  animation: premium-orbit-reverse 19s linear infinite;
}

.premium-orbit::before,
.premium-orbit::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #55c8ff;
  box-shadow: 0 0 18px rgba(85, 200, 255, .85);
}

.premium-orbit::before {
  top: 13px;
  right: 35px;
}

.premium-orbit::after {
  left: 14px;
  bottom: 44px;
  background: #40e3a7;
  box-shadow: 0 0 18px rgba(64, 227, 167, .75);
}

@keyframes premium-orbit {
  to { transform: rotate(360deg); }
}

@keyframes premium-orbit-reverse {
  from { transform: rotate(33deg); }
  to { transform: rotate(-327deg); }
}

.admin-v2 .premium-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
}

.admin-v2 .premium-stats .admin-stat {
  min-height: 175px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 21px;
  box-shadow:
    0 17px 38px rgba(24, 58, 94, .16),
    inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .25s ease, box-shadow .25s ease;
}

.admin-v2 .premium-stats .admin-stat:hover {
  transform: translateY(-6px);
  box-shadow:
    0 25px 50px rgba(22, 54, 91, .21),
    inset 0 1px 0 rgba(255,255,255,.26);
}

.admin-v2 .premium-stats .admin-stat::before {
  content: "";
  position: absolute;
  width: 145px;
  height: 145px;
  right: -60px;
  top: -68px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow:
    0 0 0 24px rgba(255,255,255,.035),
    0 0 0 49px rgba(255,255,255,.022);
}

.admin-v2 .premium-stats .admin-stat::after {
  width: 95px;
  height: 95px;
  left: -35px;
  bottom: -41px;
  background: rgba(255,255,255,.08);
}

.premium-stat-top,
.premium-stat-value,
.premium-stat-footer {
  position: relative;
  z-index: 2;
}

.premium-stat-top,
.premium-stat-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.premium-stat-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 13px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 1000;
}

.premium-stat-top small {
  padding: 5px 8px;
  border-radius: 999px;
  color: rgba(255,255,255,.84);
  background: rgba(255,255,255,.10);
  font-size: 9px;
  font-weight: 900;
}

.premium-stat-value strong,
.premium-stat-value span {
  display: block;
}

.premium-stat-value strong {
  margin-bottom: 5px;
  color: #fff;
  font-size: 38px;
  line-height: 1;
}

.premium-stat-value span {
  color: rgba(255,255,255,.88);
  font-size: 13px;
  font-weight: 1000;
}

.premium-stat-footer {
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.74);
  font-size: 9px;
  font-weight: 900;
}

.premium-stat-footer b {
  font-size: 15px;
}

.admin-v2 .premium-stats .admin-stat.blue {
  background:
    radial-gradient(circle at 15% 20%, rgba(115, 199, 255, .22), transparent 30%),
    linear-gradient(135deg, #0a55bc, #137ed7);
}

.admin-v2 .premium-stats .admin-stat.cyan {
  background:
    radial-gradient(circle at 15% 20%, rgba(98, 235, 255, .20), transparent 30%),
    linear-gradient(135deg, #076980, #0f9fbd);
}

.admin-v2 .premium-stats .admin-stat.green {
  background:
    radial-gradient(circle at 15% 20%, rgba(101, 240, 180, .20), transparent 30%),
    linear-gradient(135deg, #087242, #10a862);
}

.admin-v2 .premium-stats .admin-stat.red {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 146, 158, .19), transparent 30%),
    linear-gradient(135deg, #9c3042, #d2495c);
}

.admin-v2 .premium-stats .admin-stat.yellow {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 220, 142, .19), transparent 30%),
    linear-gradient(135deg, #a7670b, #db941f);
}

.premium-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(310px, .72fr);
  gap: 16px;
  align-items: stretch;
}

.admin-v2 .premium-chart-panel {
  position: relative;
  min-height: 410px;
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 245px;
  overflow: hidden;
  border: 1px solid rgba(209, 223, 237, .88);
  border-radius: 23px;
  background:
    radial-gradient(circle at 100% 0%, rgba(42, 144, 229, .11), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(239,246,252,.96));
  box-shadow:
    0 22px 55px rgba(25, 55, 91, .10),
    inset 0 1px 0 #fff;
}

.admin-v2 .premium-chart-panel::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -170px;
  bottom: -190px;
  border-radius: 50%;
  border: 1px solid rgba(31, 121, 208, .09);
  box-shadow:
    0 0 0 45px rgba(31, 121, 208, .025),
    0 0 0 90px rgba(31, 121, 208, .015);
}

.premium-chart-content,
.premium-donut-wrap {
  position: relative;
  z-index: 2;
}

.premium-panel-label {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: #1766c7;
  background: #e8f3ff;
  font-size: 10px;
  font-weight: 1000;
}

.admin-v2 .premium-chart-panel h2 {
  margin: 13px 0 8px;
  color: #122b49;
  font-size: 25px;
}

.admin-v2 .premium-chart-panel p {
  max-width: 610px;
  color: #718096;
  font-size: 13px;
  line-height: 1.85;
}

.admin-v2 .premium-chart-legend {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.admin-v2 .premium-chart-legend span {
  min-width: 0;
  padding: 11px;
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  border: 1px solid #dce7f1;
  border-radius: 12px;
  background: rgba(255,255,255,.75);
}

.premium-chart-legend b {
  overflow: hidden;
  color: #40546a;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}

.premium-chart-legend em {
  color: #163d68;
  font-style: normal;
  font-size: 13px;
  font-weight: 1000;
}

.premium-donut-wrap {
  display: grid;
  place-items: center;
}

.admin-v2 .premium-chart-panel .donut {
  width: 220px;
  height: 220px;
  margin: 0;
  border: 11px solid rgba(255,255,255,.90);
  box-shadow:
    0 24px 50px rgba(25, 66, 108, .16),
    inset 0 0 0 1px rgba(23, 90, 157, .10);
}

.admin-v2 .premium-chart-panel .donut::after {
  inset: 30px;
  background:
    radial-gradient(circle at 30% 25%, #fff, #edf4fa);
  box-shadow:
    inset 0 0 0 1px #dce7f1,
    0 10px 25px rgba(25, 59, 95, .08);
}

.admin-v2 .premium-chart-panel .donut b {
  margin-bottom: 18px;
  color: #123963;
  font-size: 40px;
}

.admin-v2 .premium-chart-panel .donut span {
  position: absolute;
  top: 121px;
  margin: 0;
  color: #718096;
  font-size: 10px;
}

.premium-quick-panel {
  min-height: 410px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(112, 175, 226, .16);
  border-radius: 23px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 0%, rgba(44, 150, 235, .20), transparent 31%),
    linear-gradient(160deg, #0a294d, #071c35);
  box-shadow:
    0 22px 55px rgba(6, 34, 64, .20),
    inset 0 1px 0 rgba(255,255,255,.10);
}

.premium-quick-head > span {
  color: #65c7fa;
  font-size: 10px;
  font-weight: 1000;
}

.premium-quick-head h2 {
  margin: 6px 0 5px;
  color: #fff;
  font-size: 24px;
}

.premium-quick-head p {
  margin: 0;
  color: #9eb8d0;
  font-size: 11px;
}

.premium-quick-actions {
  margin-top: 17px;
  display: grid;
  gap: 8px;
}

.premium-quick-actions button {
  width: 100%;
  min-height: 61px;
  padding: 9px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 13px;
  color: #fff;
  background: rgba(255,255,255,.055);
  font: inherit;
  text-align: right;
  cursor: pointer;
  transition: .22s ease;
}

.premium-quick-actions button:hover {
  transform: translateX(-4px);
  border-color: rgba(94, 190, 255, .26);
  background: rgba(255,255,255,.095);
}

.premium-quick-actions button > span:nth-child(2) {
  min-width: 0;
}

.premium-quick-actions b,
.premium-quick-actions small {
  display: block;
}

.premium-quick-actions b {
  color: #eef8ff;
  font-size: 11px;
}

.premium-quick-actions small {
  margin-top: 3px;
  overflow: hidden;
  color: #8faac3;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-quick-actions em {
  color: #6bcaff;
  font-size: 16px;
  font-style: normal;
  font-weight: 1000;
}

.quick-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 1000;
}

.quick-icon.blue {
  color: #8ed7ff;
  background: rgba(39, 138, 225, .18);
}

.quick-icon.green {
  color: #73e6b2;
  background: rgba(34, 185, 116, .15);
}

.quick-icon.violet {
  color: #c5aeff;
  background: rgba(123, 81, 217, .16);
}

.quick-icon.orange {
  color: #ffc777;
  background: rgba(222, 144, 32, .16);
}

.premium-support-box {
  margin-top: auto;
  padding: 13px;
  border: 1px solid rgba(89, 198, 255, .13);
  border-radius: 13px;
  background:
    linear-gradient(135deg, rgba(31, 117, 198, .16), rgba(23, 184, 140, .10));
}

.premium-support-box span {
  color: #6acbfc;
  font-size: 10px;
  font-weight: 1000;
}

.premium-support-box p {
  margin: 5px 0;
  color: #b0c4d7;
  font-size: 9px;
}

.premium-support-box strong {
  color: #fff;
  font-size: 11px;
}

.admin-v2 .panel:not(.premium-chart-panel) {
  position: relative;
  overflow: hidden;
  border-color: rgba(210, 224, 238, .88);
  background:
    radial-gradient(circle at 100% 0%, rgba(46, 145, 228, .055), transparent 27%),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(244,248,252,.96));
  box-shadow:
    0 17px 42px rgba(25, 55, 90, .085),
    inset 0 1px 0 #fff;
}

.admin-v2 .panel:not(.premium-chart-panel)::before {
  content: "";
  position: absolute;
  top: 0;
  right: 20px;
  left: 20px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background:
    linear-gradient(90deg, transparent, #2a88de, #44c6a1, transparent);
  opacity: .50;
}

.admin-v2 .panel-head {
  padding-bottom: 13px;
  border-bottom: 1px solid #e5edf5;
}

.admin-v2 .panel-head h2 {
  color: #17314e;
  font-size: 20px;
}

.admin-v2 .table-wrap {
  border: 1px solid #d9e5ef;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 #fff;
}

.admin-v2 th {
  color: #344e69;
  background:
    linear-gradient(180deg, #edf4fa, #e6eff7);
  border-color: #d9e4ee;
}

.admin-v2 tbody tr {
  transition: .18s ease;
}

.admin-v2 tbody tr:hover td {
  background: #f2f8fd;
}

.admin-v2 input,
.admin-v2 select,
.admin-v2 textarea,
.admin-v2 .wide-search {
  min-height: 44px;
  border-color: #d4e1ec;
  background:
    linear-gradient(180deg, #fff, #f7fafc);
  box-shadow:
    inset 0 1px 2px rgba(22, 55, 88, .025),
    0 1px 0 #fff;
}

.admin-v2 .menu-card,
.admin-v2 .store-card {
  border-color: rgba(207, 222, 237, .90);
  box-shadow:
    0 18px 45px rgba(22, 55, 90, .10),
    inset 0 1px 0 #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}

.admin-v2 .menu-card:hover,
.admin-v2 .store-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 26px 55px rgba(22, 55, 90, .15),
    inset 0 1px 0 #fff;
}

@media (max-width: 1200px) {
  .admin-v2 .premium-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .premium-quick-panel {
    min-height: auto;
  }

  .premium-quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-support-box {
    margin-top: 15px;
  }
}

@media (max-width: 860px) {
  .admin-v2 .admin-main::before {
    inset: 0;
  }

  .premium-welcome {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .premium-welcome-art {
    position: absolute;
    left: -35px;
    bottom: -55px;
    opacity: .35;
    transform: scale(.8);
  }

  .premium-welcome-content {
    padding-left: 80px;
  }

  .admin-v2 .premium-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-v2 .premium-chart-panel {
    grid-template-columns: 1fr;
  }

  .premium-donut-wrap {
    margin-top: 20px;
  }
}

@media (max-width: 620px) {
  .premium-welcome {
    min-height: 310px;
    padding: 23px 19px;
  }

  .premium-welcome-content {
    padding-left: 0;
  }

  .premium-welcome h2 {
    font-size: 29px;
  }

  .premium-welcome-art {
    left: -80px;
    bottom: -90px;
    opacity: .20;
  }

  .admin-v2 .premium-stats {
    grid-template-columns: 1fr;
  }

  .admin-v2 .premium-stats .admin-stat {
    min-height: 155px;
  }

  .premium-dashboard-grid {
    gap: 13px;
  }

  .admin-v2 .premium-chart-panel {
    padding: 18px;
  }

  .admin-v2 .premium-chart-legend {
    grid-template-columns: 1fr;
  }

  .admin-v2 .premium-chart-panel .donut {
    width: 190px;
    height: 190px;
  }

  .admin-v2 .premium-chart-panel .donut span {
    top: 105px;
  }

  .premium-quick-panel {
    padding: 18px;
  }

  .premium-quick-actions {
    grid-template-columns: 1fr;
  }
}

/* EGYMAX ADMIN PREMIUM V3 END */

/* EGYMAX ADMIN READABLE FONT V4 START */

.admin-v2,
.admin-v2 button,
.admin-v2 input,
.admin-v2 select,
.admin-v2 textarea {
  font-family: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif !important;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.admin-v2 {
  font-size: 15px;
  line-height: 1.7;
}

/* السايدبار */

.admin-v2 .admin-brand b {
  font-size: 19px;
  line-height: 1.5;
}

.admin-v2 .admin-brand em {
  font-size: 12px;
}

.admin-v2 .admin-brand small {
  font-size: 12px;
  line-height: 1.6;
}

.admin-v2 .admin-nav-label {
  font-size: 13px;
}

.admin-v2 .admin-nav button {
  min-height: 51px;
  font-size: 14px;
  line-height: 1.6;
}

.admin-v2 .admin-nav-icon {
  font-size: 14px;
}

.admin-v2 .admin-sidebar-user b {
  font-size: 14px;
}

.admin-v2 .admin-sidebar-user small {
  font-size: 12px;
}

/* الهيدر */

.admin-v2 .admin-page-heading > span {
  font-size: 13px;
}

.admin-v2 .admin-page-heading h1 {
  font-size: 27px;
  line-height: 1.4;
}

.admin-v2 .admin-page-heading p {
  font-size: 14px;
  line-height: 1.8;
}

.admin-v2 .admin-top-user b {
  font-size: 14px;
}

.admin-v2 .admin-top-user small {
  font-size: 12px;
}

.admin-v2 .top-badge {
  font-size: 12px;
}

/* بانر الصفحة الرئيسية */

.premium-eyebrow {
  font-size: 13px;
  line-height: 1.6;
}

.premium-welcome h2 {
  font-size: clamp(31px, 3.5vw, 46px);
  line-height: 1.45;
}

.premium-welcome p {
  font-size: 16px;
  line-height: 2;
}

.premium-welcome-meta > span {
  font-size: 13px;
  line-height: 1.6;
}

/* كروت الإحصائيات */

.premium-stat-top small {
  font-size: 11px;
}

.premium-stat-value strong {
  font-size: 40px;
}

.premium-stat-value span {
  font-size: 15px;
  line-height: 1.6;
}

.premium-stat-footer {
  font-size: 11px;
  line-height: 1.6;
}

/* البانلات */

.premium-panel-label {
  font-size: 12px;
}

.admin-v2 .panel h2,
.admin-v2 .panel-head h2,
.admin-v2 .premium-chart-panel h2,
.premium-quick-head h2 {
  font-size: 22px;
  line-height: 1.55;
}

.admin-v2 .panel p,
.admin-v2 .premium-chart-panel p,
.premium-quick-head p {
  font-size: 14px;
  line-height: 1.9;
}

.premium-chart-legend b {
  font-size: 13px;
}

.premium-chart-legend em {
  font-size: 14px;
}

/* الاختصارات السريعة */

.premium-quick-head > span {
  font-size: 12px;
}

.premium-quick-actions button {
  min-height: 68px;
}

.premium-quick-actions b {
  font-size: 14px;
  line-height: 1.5;
}

.premium-quick-actions small {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.6;
}

.premium-support-box span,
.premium-support-box strong {
  font-size: 12px;
}

.premium-support-box p {
  font-size: 11px;
  line-height: 1.7;
}

/* النماذج */

.admin-v2 label,
.admin-v2 .employee-form label,
.admin-v2 .menu-form label,
.admin-v2 .cashier-form label,
.admin-v2 .file-mini {
  color: #304961;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 800;
}

.admin-v2 input,
.admin-v2 select,
.admin-v2 textarea,
.admin-v2 .wide-search {
  min-height: 47px;
  font-size: 14px;
  line-height: 1.6;
}

.admin-v2 textarea {
  line-height: 1.8;
}

.admin-v2 input::placeholder,
.admin-v2 textarea::placeholder {
  color: #8997a8;
  opacity: 1;
}

/* الجداول */

.admin-v2 th {
  padding: 14px 13px;
  font-size: 13px;
  line-height: 1.7;
}

.admin-v2 td {
  padding: 14px 13px;
  font-size: 14px;
  line-height: 1.75;
}

.admin-v2 td small,
.admin-v2 .tx-list span {
  font-size: 12px;
  line-height: 1.7;
}

/* الأزرار */

.admin-v2 .btn,
.admin-v2 button.btn {
  min-height: 45px;
  font-size: 14px;
  line-height: 1.5;
}

.admin-v2 .btn.mini {
  min-height: 41px;
  font-size: 13px;
}

/* كروت المنيو والمتجر */

.admin-v2 .menu-cover b {
  font-size: 25px;
  line-height: 1.5;
}

.admin-v2 .menu-cover small {
  font-size: 13px;
}

.admin-v2 .menu-meta span {
  font-size: 12px;
}

.admin-v2 .store-body h3 {
  font-size: 18px;
  line-height: 1.6;
}

.admin-v2 .store-body p {
  font-size: 14px;
  line-height: 1.85;
}

.admin-v2 .store-body strong {
  font-size: 19px;
}

/* الموبايل */

@media (max-width: 620px) {
  .admin-v2 {
    font-size: 14px;
  }

  .admin-v2 .admin-page-heading h1 {
    font-size: 23px;
  }

  .admin-v2 .admin-page-heading p {
    font-size: 13px;
  }

  .premium-welcome h2 {
    font-size: 30px;
  }

  .premium-welcome p {
    font-size: 15px;
  }

  .premium-stat-value span {
    font-size: 14px;
  }

  .admin-v2 th {
    font-size: 12px;
  }

  .admin-v2 td {
    font-size: 13px;
  }
}

/* EGYMAX ADMIN READABLE FONT V4 END */

/* EGYMAX MENU PREMIUM V8 START */

.premium-menus-page {
  gap: 16px !important;
}

/* بانر الصفحة */

.menus-page-hero {
  position: relative;
  min-height: 220px;
  padding: 31px 35px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #2c446c;
  border-radius: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(52,125,240,.18), transparent 29%),
    radial-gradient(circle at 15% 85%, rgba(52,125,240,.08), transparent 32%),
    linear-gradient(135deg, #071329, #102747 56%, #08162b);
  box-shadow:
    0 25px 58px rgba(0,0,0,.27),
    0 0 28px rgba(52,125,240,.07),
    inset 0 1px 0 rgba(255,255,255,.045);
}

.menus-page-hero::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  left: -170px;
  top: -220px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(255,255,255,.018),
    0 0 0 90px rgba(255,255,255,.012);
}

.menus-page-hero-content {
  position: relative;
  z-index: 2;
}

.menus-page-kicker {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(93,156,255,.24);
  border-radius: 999px;
  color: #cfe0fb;
  background: rgba(52,125,240,.10);
  font-size: 12px;
  font-weight: 900;
}

.menus-page-hero h2 {
  margin: 14px 0 8px;
  color: #fff;
  font-size: clamp(29px, 4vw, 41px);
  line-height: 1.45;
}

.menus-page-hero p {
  max-width: 700px;
  margin: 0;
  color: #bbcbe0;
  font-size: 15px;
  line-height: 2;
}

.menus-hero-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.menus-hero-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  color: #dae6f5;
  background: rgba(255,255,255,.035);
  font-size: 11px;
  font-weight: 800;
}

.menus-page-hero-icon {
  position: relative;
  z-index: 2;
  width: 135px;
  height: 135px;
  justify-self: center;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(93,156,255,.27);
  border-radius: 31px;
  background:
    linear-gradient(145deg, rgba(52,125,240,.30), rgba(14,38,73,.70));
  box-shadow:
    0 22px 45px rgba(0,0,0,.30),
    0 0 28px rgba(52,125,240,.13),
    inset 0 1px 0 rgba(255,255,255,.09);
  transform: rotate(-5deg);
}

.menus-page-hero-icon span {
  color: #fff;
  font-size: 42px;
  font-weight: 1000;
}

.menus-page-hero-icon small {
  color: #9fc2f7;
  font-size: 10px;
  letter-spacing: 3px;
}

/* الإحصائيات */

.menu-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.menu-stat-card {
  min-height: 105px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid #2b3e5b;
  border-radius: 13px;
  background:
    radial-gradient(circle at 100% 0%, rgba(52,125,240,.08), transparent 34%),
    linear-gradient(145deg, #1f2e46, #17253a);
  box-shadow:
    0 12px 27px rgba(0,0,0,.17),
    inset 0 1px 0 rgba(255,255,255,.025);
  transition: .24s ease;
}

.menu-stat-card:hover {
  transform: translateY(-5px);
  border-color: #347df0;
  box-shadow:
    0 22px 42px rgba(0,0,0,.25),
    0 0 23px rgba(52,125,240,.12);
}

.menu-stat-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: rgba(52,125,240,.18);
  font-size: 19px;
  font-weight: 1000;
}

.menu-stat-card.active .menu-stat-icon {
  color: #3ce886;
  background: rgba(25,201,107,.13);
}

.menu-stat-card.paused .menu-stat-icon {
  color: #ff6d75;
  background: rgba(255,77,87,.13);
}

.menu-stat-card.items .menu-stat-icon {
  color: #ffc260;
  background: rgba(246,166,35,.13);
}

.menu-stat-card small,
.menu-stat-card strong {
  display: block;
}

.menu-stat-card small {
  color: #a9bad0;
  font-size: 12px;
}

.menu-stat-card strong {
  margin-top: 5px;
  color: #fff;
  font-size: 28px;
}

/* نموذج الإنشاء */

.menu-create-layout {
  min-width: 0;
}

.admin-v2 .menu-create-panel,
.admin-v2 .menu-list-panel {
  padding: 20px;
}

.menu-panel-title,
.menu-list-head {
  align-items: flex-start;
}

.menu-panel-label {
  display: inline-flex;
  margin-bottom: 6px;
  padding: 5px 8px;
  border-radius: 7px;
  color: #9ec1f5;
  background: rgba(52,125,240,.10);
  font-size: 11px;
  font-weight: 900;
}

.menu-title-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(93,156,255,.25);
  border-radius: 12px;
  color: #fff;
  background: rgba(52,125,240,.14);
  font-size: 23px;
}

.premium-menu-form {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 18px !important;
}

.menu-form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.menu-form-fields label {
  display: grid;
  gap: 7px;
}

.menu-form-fields label > span {
  color: #c9d5e5;
  font-size: 13px;
  font-weight: 800;
}

.menu-logo-field {
  grid-column: 1 / -1;
}

.menu-file-input {
  position: relative;
  min-height: 47px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px dashed #405678;
  border-radius: 9px;
  color: #a9bad0;
  background: #101c30;
}

.menu-file-input input {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}

.menu-design-section {
  padding: 16px;
  border: 1px solid #293c59;
  border-radius: 13px;
  background: rgba(6,14,28,.28);
}

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

.menu-design-heading span {
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.menu-design-heading p {
  margin: 3px 0 0;
  color: #8fa3c0;
  font-size: 12px;
}

.menu-design-heading small {
  padding: 6px 9px;
  border-radius: 7px;
  color: #bcd4fa;
  background: rgba(52,125,240,.11);
}

.premium-design-picker {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.admin-v2 .premium-design-card {
  position: relative;
  min-height: 175px;
  padding: 12px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  overflow: hidden;
  border: 1px solid #334764 !important;
  border-radius: 12px !important;
  color: var(--design-text) !important;
  background: var(--design-bg) !important;
  cursor: pointer;
}

.premium-design-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.design-check {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  width: 22px;
  height: 22px;
  display: none;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #347df0;
  font-size: 11px;
  font-weight: 1000;
}

.premium-design-card:has(input:checked) {
  border-color: #5d9cff !important;
  box-shadow:
    0 0 0 3px rgba(52,125,240,.15),
    0 18px 35px rgba(0,0,0,.20) !important;
}

.premium-design-card:has(input:checked) .design-check {
  display: grid;
}

.design-preview {
  min-height: 91px;
  padding: 11px;
  display: grid;
  gap: 7px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 9px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(7px);
}

.design-preview-top {
  width: 42%;
  height: 8px;
  border-radius: 999px;
  background: var(--design-accent);
}

.design-preview-line {
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  opacity: .35;
}

.design-preview-line.second {
  width: 68%;
}

.design-preview-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.design-preview-items i {
  height: 34px;
  border-radius: 6px;
  background: rgba(255,255,255,.21);
}

.design-name strong,
.design-name small {
  display: block;
}

.design-name strong {
  font-size: 14px;
}

.design-name small {
  margin-top: 2px;
  opacity: .65;
  font-size: 10px;
}

.design-accent {
  width: 100% !important;
  height: 4px !important;
  border-radius: 999px !important;
  background: var(--design-accent) !important;
}

.menu-save-btn {
  min-height: 49px !important;
  justify-self: start;
  min-width: 220px;
}

/* قائمة المنيوهات */

.menu-list-count {
  min-width: 78px;
  min-height: 65px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid #304462;
  border-radius: 11px;
  background: rgba(52,125,240,.08);
}

.menu-list-count strong,
.menu-list-count span {
  display: block;
}

.menu-list-count strong {
  color: #fff;
  font-size: 22px;
}

.menu-list-count span {
  color: #9fb2cb;
  font-size: 10px;
}

.premium-menus-grid {
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)) !important;
  gap: 14px !important;
}

.admin-v2 .premium-menu-card {
  overflow: hidden;
  border-radius: 14px !important;
}

.premium-menu-card.paused {
  opacity: .72;
}

.premium-menu-card .menu-cover {
  position: relative;
  min-height: 175px;
  padding: 17px;
  display: flex;
  align-items: flex-end;
  gap: 13px;
  overflow: hidden;
}

.menu-cover-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(4,10,20,.62), transparent 68%);
}

.premium-menu-card .menu-cover img,
.menu-logo-placeholder {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 17px;
  object-fit: cover;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  background: rgba(255,255,255,.15);
  font-weight: 1000;
}

.menu-cover-info {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.menu-cover-info b,
.menu-cover-info small {
  display: block;
}

.menu-cover-info b {
  overflow: hidden;
  color: inherit;
  font-size: 21px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-cover-info small {
  margin-top: 4px;
  opacity: .80;
  font-size: 11px;
}

.menu-card-status {
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0,0,0,.28);
  font-size: 10px;
  font-weight: 900;
}

.menu-card-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.menu-card-status.active i {
  background: #26dc79;
  box-shadow: 0 0 8px rgba(38,220,121,.70);
}

.menu-card-status.paused i {
  background: #ff5d65;
}

.premium-menu-body {
  padding: 14px;
}

.menu-info-grid {
  display: grid;
  grid-template-columns: 1.2fr .7fr 1fr;
  gap: 7px;
}

.menu-info-grid > div {
  min-width: 0;
  padding: 9px;
  border: 1px solid #2b3e5a;
  border-radius: 9px;
  background: rgba(255,255,255,.025);
}

.menu-info-grid small,
.menu-info-grid strong {
  display: block;
}

.menu-info-grid small {
  color: #8499b5;
  font-size: 9px;
}

.menu-info-grid strong {
  margin-top: 3px;
  overflow: hidden;
  color: #eef4fc;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-menu-actions {
  margin-top: 11px;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px !important;
}

.menu-action-btn {
  min-height: 48px;
  padding: 6px;
  display: grid;
  place-items: center;
  gap: 2px;
  border: 1px solid #2c405e;
  border-radius: 9px;
  color: #dce7f6;
  background: #132139;
  font: inherit;
  cursor: pointer;
  transition: .20s ease;
}

.menu-action-btn span {
  font-size: 15px;
}

.menu-action-btn b {
  font-size: 9px;
}

.menu-action-btn:hover {
  transform: translateY(-3px);
  border-color: #347df0;
  color: #fff;
  background: #1c3152;
  box-shadow: 0 9px 18px rgba(0,0,0,.20);
}

.menu-action-btn.delete {
  color: #ff848b;
}

.menu-action-btn.delete:hover {
  border-color: #ff4d57;
  color: #fff;
  background: rgba(255,77,87,.17);
}

/* المحرر */

.premium-menu-editor {
  border-top: 1px solid #2b3e59 !important;
  padding: 0 !important;
  background: #111d31;
}

.premium-menu-editor summary {
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  cursor: pointer;
}

.premium-menu-editor summary::-webkit-details-marker {
  display: none;
}

.premium-menu-editor summary span b,
.premium-menu-editor summary span small {
  display: block;
}

.premium-menu-editor summary span b {
  color: #e9f1fb;
  font-size: 12px;
}

.premium-menu-editor summary span small {
  margin-top: 3px;
  color: #7890ad;
  font-size: 9px;
}

.premium-menu-editor summary > i {
  color: #5d9cff;
  font-size: 18px;
  font-style: normal;
  transition: transform .20s ease;
}

.premium-menu-editor[open] summary > i {
  transform: rotate(180deg);
}

.menu-editor-content {
  padding: 0 14px 14px;
  display: grid;
  gap: 12px;
}

.menu-edit-section,
.menu-items-section {
  padding: 12px;
  border: 1px solid #293c58;
  border-radius: 10px;
  background: rgba(255,255,255,.022);
}

.menu-edit-title {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.menu-edit-title > span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: rgba(52,125,240,.16);
}

.menu-edit-title b,
.menu-edit-title small {
  display: block;
}

.menu-edit-title b {
  color: #fff;
  font-size: 12px;
}

.menu-edit-title small {
  margin-top: 2px;
  color: #7e94b0;
  font-size: 9px;
}

.premium-update-form,
.premium-item-form {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.premium-file-mini {
  display: grid;
  gap: 6px;
}

.premium-file-mini > span {
  color: #aebdd0;
  font-size: 11px;
}

.menu-items-heading {
  margin-bottom: 9px;
}

.menu-items-heading b,
.menu-items-heading small {
  display: block;
}

.menu-items-heading b {
  color: #fff;
  font-size: 12px;
}

.menu-items-heading small {
  color: #7e94b0;
  font-size: 9px;
}

.premium-items-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px !important;
}

.premium-items-list > span {
  margin: 0 !important;
  padding: 9px !important;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-radius: 8px !important;
}

.premium-items-list > span b {
  color: #e9f0f9;
  font-size: 11px;
}

.premium-items-list > span small {
  color: #3ce886;
  font-size: 10px;
}

.premium-items-list .delete-item {
  grid-column: 2;
  grid-row: 1 / 3;
  padding: 5px;
  color: #ff737b;
  font-size: 9px;
}

.menu-no-items {
  grid-column: 1 / -1;
  padding: 15px;
  color: #7e94b0;
  text-align: center;
}

.premium-menu-empty {
  grid-column: 1 / -1;
  min-height: 230px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  border: 1px dashed #354b6c;
  border-radius: 13px;
  background: rgba(255,255,255,.018);
}

.premium-menu-empty > span {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: rgba(52,125,240,.15);
  font-size: 20px;
  font-weight: 1000;
}

.premium-menu-empty h3 {
  margin: 5px 0 0;
  color: #fff;
}

.premium-menu-empty p {
  margin: 0;
  color: #8398b5;
}

/* التجاوب */

@media (max-width: 1150px) {
  .premium-design-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .menu-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .menus-page-hero {
    grid-template-columns: 1fr;
    padding: 25px;
  }

  .menus-page-hero-icon {
    position: absolute;
    left: -20px;
    bottom: -35px;
    opacity: .30;
  }

  .menus-page-hero-content {
    padding-left: 50px;
  }

  .menu-form-fields {
    grid-template-columns: 1fr;
  }

  .menu-logo-field {
    grid-column: auto;
  }

  .menu-list-head,
  .menu-design-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .premium-update-form,
  .premium-item-form {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  .menus-page-hero-content {
    padding-left: 0;
  }

  .menus-page-hero h2 {
    font-size: 29px;
  }

  .menu-stats-grid,
  .premium-design-picker,
  .premium-items-list {
    grid-template-columns: 1fr !important;
  }

  .premium-menus-grid {
    grid-template-columns: 1fr !important;
  }

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

  .premium-menu-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-save-btn {
    width: 100%;
    min-width: 0;
  }
}

/* EGYMAX MENU PREMIUM V8 END */

/* EGYMAX FINAL LIGHT DARK UI START */

/* ========================================================
   متغيرات الثيم الفاتح
======================================================== */

.admin-v2[data-ui-theme="light"] {
  --ui-page: #f6f7fc;
  --ui-page-alt: #eef2ff;
  --ui-surface: #ffffff;
  --ui-surface-soft: #fafbff;
  --ui-surface-2: #f2f5ff;

  --ui-text: #17203b;
  --ui-heading: #101938;
  --ui-muted: #75809c;

  --ui-border: #e1e5f1;
  --ui-border-strong: #cfd6ea;

  --ui-primary: #6246ea;
  --ui-primary-dark: #4931c9;
  --ui-primary-soft: #eeebff;

  --ui-blue: #3978f6;
  --ui-green: #20b96b;
  --ui-red: #ef5964;
  --ui-orange: #f59f44;

  --ui-sidebar: #ffffff;
  --ui-sidebar-text: #4c5875;
  --ui-sidebar-active: #f0edff;

  --ui-shadow:
    0 12px 35px rgba(43, 53, 100, .075);

  --ui-shadow-hover:
    0 22px 50px rgba(65, 57, 145, .14);

  color-scheme: light;
}

/* ========================================================
   متغيرات الثيم الداكن
======================================================== */

.admin-v2[data-ui-theme="dark"] {
  --ui-page: #0d1222;
  --ui-page-alt: #141a2e;
  --ui-surface: #171d31;
  --ui-surface-soft: #1c2339;
  --ui-surface-2: #222a43;

  --ui-text: #f1f3fb;
  --ui-heading: #ffffff;
  --ui-muted: #9da7c2;

  --ui-border: #2c3551;
  --ui-border-strong: #3a4669;

  --ui-primary: #8b73ff;
  --ui-primary-dark: #6c50ef;
  --ui-primary-soft: rgba(139, 115, 255, .14);

  --ui-blue: #5c91ff;
  --ui-green: #39cd82;
  --ui-red: #ff6b75;
  --ui-orange: #f7ae57;

  --ui-sidebar: #111729;
  --ui-sidebar-text: #c0c7dc;
  --ui-sidebar-active: rgba(139, 115, 255, .16);

  --ui-shadow:
    0 15px 40px rgba(0, 0, 0, .24);

  --ui-shadow-hover:
    0 24px 55px rgba(0, 0, 0, .38);

  color-scheme: dark;
}

/* ========================================================
   الهيكل العام
======================================================== */

.admin-v2 {
  color: var(--ui-text) !important;
  background:
    radial-gradient(
      circle at 5% 0%,
      color-mix(in srgb, var(--ui-primary) 7%, transparent),
      transparent 27%
    ),
    linear-gradient(
      145deg,
      var(--ui-page),
      var(--ui-page-alt)
    ) !important;
  transition:
    color .25s ease,
    background .25s ease;
}

.admin-v2,
.admin-v2 button,
.admin-v2 input,
.admin-v2 select,
.admin-v2 textarea {
  font-family: "Cairo", Tahoma, Arial, sans-serif !important;
}

.admin-v2 .admin-main {
  color: var(--ui-text) !important;
  background:
    radial-gradient(
      circle at 100% 0%,
      color-mix(in srgb, var(--ui-primary) 7%, transparent),
      transparent 24%
    ),
    var(--ui-page) !important;
}

.admin-v2 .admin-main::before {
  opacity: .14 !important;
}

/* ========================================================
   السايدبار
======================================================== */

.admin-v2 .admin-sidebar {
  color: var(--ui-sidebar-text) !important;
  border-inline-start: 1px solid var(--ui-border) !important;
  background: var(--ui-sidebar) !important;
  box-shadow:
    -8px 0 30px rgba(41, 49, 82, .07) !important;
}

.admin-v2[data-ui-theme="dark"] .admin-sidebar {
  box-shadow:
    -9px 0 35px rgba(0, 0, 0, .25) !important;
}

.admin-v2 .admin-brand {
  border-color: var(--ui-border) !important;
  background: var(--ui-surface-soft) !important;
  box-shadow: none !important;
}

.admin-v2 .admin-logo-mark,
.admin-v2 .admin-user-avatar {
  color: #ffffff !important;
  background:
    linear-gradient(
      145deg,
      var(--ui-primary),
      var(--ui-blue)
    ) !important;
  box-shadow:
    0 8px 20px color-mix(
      in srgb,
      var(--ui-primary) 25%,
      transparent
    ) !important;
}

.admin-v2 .admin-brand b {
  color: var(--ui-heading) !important;
}

.admin-v2 .admin-brand em {
  color: var(--ui-primary) !important;
}

.admin-v2 .admin-brand small,
.admin-v2 .admin-nav-label,
.admin-v2 .admin-sidebar-user small {
  color: var(--ui-muted) !important;
}

.admin-v2 .admin-nav {
  gap: 6px !important;
}

.admin-v2 .admin-nav button {
  min-height: 48px !important;
  color: var(--ui-sidebar-text) !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.admin-v2 .admin-nav button:hover {
  color: var(--ui-primary) !important;
  border-color: var(--ui-border) !important;
  background: var(--ui-surface-soft) !important;
  transform: translateX(-2px);
}

.admin-v2 .admin-nav button.active {
  color: var(--ui-primary) !important;
  border-color:
    color-mix(
      in srgb,
      var(--ui-primary) 25%,
      var(--ui-border)
    ) !important;
  background: var(--ui-sidebar-active) !important;
  box-shadow:
    inset 3px 0 0 var(--ui-primary) !important;
}

.admin-v2 .admin-nav-icon {
  color: inherit !important;
  background:
    color-mix(
      in srgb,
      var(--ui-primary) 8%,
      transparent
    ) !important;
}

.admin-v2 .admin-sidebar-user {
  border-color: var(--ui-border) !important;
  background: var(--ui-surface-soft) !important;
}

.admin-v2 .admin-sidebar-user b {
  color: var(--ui-heading) !important;
}

.admin-v2 .admin-sidebar .logout-btn {
  color: var(--ui-red) !important;
  border-color:
    color-mix(
      in srgb,
      var(--ui-red) 25%,
      var(--ui-border)
    ) !important;
  background:
    color-mix(
      in srgb,
      var(--ui-red) 7%,
      transparent
    ) !important;
}

.admin-v2 .admin-sidebar .logout-btn:hover {
  color: #ffffff !important;
  background: var(--ui-red) !important;
}

/* ========================================================
   الهيدر ومبدّل الثيم
======================================================== */

.admin-v2 .admin-topbar {
  display: grid !important;
  grid-template-columns: minmax(250px, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  color: var(--ui-text) !important;
  border: 1px solid var(--ui-border) !important;
  background:
    color-mix(
      in srgb,
      var(--ui-surface) 94%,
      transparent
    ) !important;
  box-shadow: var(--ui-shadow) !important;
}

.admin-v2 .admin-page-heading > span {
  color: var(--ui-primary) !important;
}

.admin-v2 .admin-page-heading h1,
.admin-v2 .admin-top-user b {
  color: var(--ui-heading) !important;
}

.admin-v2 .admin-page-heading p,
.admin-v2 .admin-top-user small {
  color: var(--ui-muted) !important;
}

.admin-v2 .admin-top-user {
  color: var(--ui-text) !important;
  border-color: var(--ui-border) !important;
  background: var(--ui-surface-soft) !important;
}

.admin-v2 .top-badge {
  color: var(--ui-primary) !important;
  background: var(--ui-primary-soft) !important;
}

.final-theme-switcher {
  padding: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--ui-border);
  border-radius: 14px;
  background: var(--ui-surface-soft);
}

.admin-v2 .final-theme-switcher button {
  min-width: 72px;
  min-height: 39px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 10px;
  color: var(--ui-muted);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.admin-v2 .final-theme-switcher button.active {
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      var(--ui-primary),
      var(--ui-primary-dark)
    );
  box-shadow:
    0 7px 18px color-mix(
      in srgb,
      var(--ui-primary) 24%,
      transparent
    );
}

.final-theme-switcher button span {
  font-size: 16px;
}

.final-theme-switcher button b {
  font-size: 11px;
}

/* ========================================================
   البانلات والكروت العامة
======================================================== */

.admin-v2 .panel,
.admin-v2 .menu-card,
.admin-v2 .store-card,
.admin-v2 .design-card,
.admin-v2 .serial-output,
.admin-v2 .order-box,
.admin-v2 .menu-stat-card,
.admin-v2 .cashier-stat-card {
  color: var(--ui-text) !important;
  border: 1px solid var(--ui-border) !important;
  background: var(--ui-surface) !important;
  box-shadow: var(--ui-shadow) !important;
  transition:
    transform .24s ease,
    box-shadow .24s ease,
    border-color .24s ease !important;
}

.admin-v2 .panel:hover,
.admin-v2 .menu-card:hover,
.admin-v2 .store-card:hover,
.admin-v2 .design-card:hover,
.admin-v2 .menu-stat-card:hover,
.admin-v2 .cashier-stat-card:hover {
  transform: translateY(-4px);
  border-color:
    color-mix(
      in srgb,
      var(--ui-primary) 30%,
      var(--ui-border)
    ) !important;
  box-shadow: var(--ui-shadow-hover) !important;
}

.admin-v2 .panel:not(.premium-chart-panel) {
  background: var(--ui-surface) !important;
}

.admin-v2 .panel:not(.premium-chart-panel)::before {
  height: 2px !important;
  opacity: .28 !important;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--ui-primary),
      transparent
    ) !important;
}

.admin-v2 .panel-head {
  border-color: var(--ui-border) !important;
}

.admin-v2 .panel h2,
.admin-v2 .panel-head h2 {
  color: var(--ui-heading) !important;
}

.admin-v2 .panel p {
  color: var(--ui-muted) !important;
}

/* ========================================================
   بانر الرئيسية والصفحات
======================================================== */

.admin-v2 .premium-welcome,
.admin-v2 .menus-page-hero,
.admin-v2 .cashiers-page-hero {
  color: var(--ui-heading) !important;
  border-color: var(--ui-border) !important;
  background:
    radial-gradient(
      circle at 7% 20%,
      color-mix(in srgb, var(--ui-primary) 12%, transparent),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      var(--ui-surface),
      var(--ui-surface-2)
    ) !important;
  box-shadow: var(--ui-shadow) !important;
}

.admin-v2[data-ui-theme="dark"] .premium-welcome,
.admin-v2[data-ui-theme="dark"] .menus-page-hero,
.admin-v2[data-ui-theme="dark"] .cashiers-page-hero {
  background:
    radial-gradient(
      circle at 7% 20%,
      rgba(139,115,255,.13),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #171d31,
      #202943
    ) !important;
}

.admin-v2 .premium-welcome h2,
.admin-v2 .menus-page-hero h2,
.admin-v2 .cashiers-page-hero h2 {
  color: var(--ui-heading) !important;
}

.admin-v2 .premium-welcome p,
.admin-v2 .menus-page-hero p,
.admin-v2 .cashiers-page-hero p {
  color: var(--ui-muted) !important;
}

.admin-v2 .premium-eyebrow,
.admin-v2 .menus-page-kicker,
.admin-v2 .cashiers-page-kicker,
.admin-v2 .premium-panel-label,
.admin-v2 .menu-panel-label,
.admin-v2 .cashier-panel-label {
  color: var(--ui-primary) !important;
  border-color:
    color-mix(
      in srgb,
      var(--ui-primary) 20%,
      var(--ui-border)
    ) !important;
  background: var(--ui-primary-soft) !important;
}

.admin-v2 .premium-welcome-meta > span,
.admin-v2 .menus-hero-tags span,
.admin-v2 .cashiers-hero-tags span {
  color: var(--ui-text) !important;
  border-color: var(--ui-border) !important;
  background: var(--ui-surface-soft) !important;
}

/* ========================================================
   إحصائيات الرئيسية والمنيو والكاشير
======================================================== */

.admin-v2 .premium-stats .admin-stat,
.admin-v2 .admin-stat {
  color: var(--ui-text) !important;
  border-color: var(--ui-border) !important;
  background: var(--ui-surface) !important;
  box-shadow: var(--ui-shadow) !important;
}

.admin-v2 .premium-stats .admin-stat:hover,
.admin-v2 .admin-stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--ui-shadow-hover) !important;
}

.admin-v2 .premium-stat-value strong,
.admin-v2 .premium-stat-value span,
.admin-v2 .premium-stat-footer {
  color: var(--ui-heading) !important;
}

.admin-v2 .premium-stat-icon,
.admin-v2 .menu-stat-icon,
.admin-v2 .cashier-stat-icon,
.admin-v2 .menu-title-icon,
.admin-v2 .cashier-title-icon {
  color: var(--ui-primary) !important;
  border-color: var(--ui-border) !important;
  background: var(--ui-primary-soft) !important;
}

.admin-v2 .menu-stat-card small,
.admin-v2 .cashier-stat-card small {
  color: var(--ui-muted) !important;
}

.admin-v2 .menu-stat-card strong,
.admin-v2 .cashier-stat-card strong {
  color: var(--ui-heading) !important;
}

/* ========================================================
   القائمة السريعة والرسوم
======================================================== */

.admin-v2 .premium-chart-panel {
  color: var(--ui-text) !important;
  border-color: var(--ui-border) !important;
  background: var(--ui-surface) !important;
  box-shadow: var(--ui-shadow) !important;
}

.admin-v2 .premium-chart-panel h2,
.admin-v2 .premium-chart-legend b,
.admin-v2 .premium-chart-legend em {
  color: var(--ui-heading) !important;
}

.admin-v2 .premium-chart-panel p {
  color: var(--ui-muted) !important;
}

.admin-v2 .premium-chart-legend span,
.admin-v2 .chart-legend span {
  color: var(--ui-text) !important;
  border-color: var(--ui-border) !important;
  background: var(--ui-surface-soft) !important;
}

.admin-v2 .premium-chart-panel .donut::after {
  background: var(--ui-surface) !important;
  box-shadow:
    inset 0 0 0 1px var(--ui-border) !important;
}

.admin-v2 .premium-chart-panel .donut b {
  color: var(--ui-heading) !important;
}

.admin-v2 .premium-chart-panel .donut span {
  color: var(--ui-muted) !important;
}

.admin-v2 .premium-quick-panel {
  color: var(--ui-text) !important;
  border-color: var(--ui-border) !important;
  background: var(--ui-surface) !important;
  box-shadow: var(--ui-shadow) !important;
}

.admin-v2 .premium-quick-head h2,
.admin-v2 .premium-quick-actions b {
  color: var(--ui-heading) !important;
}

.admin-v2 .premium-quick-head p,
.admin-v2 .premium-quick-actions small {
  color: var(--ui-muted) !important;
}

.admin-v2 .premium-quick-actions button {
  color: var(--ui-text) !important;
  border-color: var(--ui-border) !important;
  background: var(--ui-surface-soft) !important;
}

.admin-v2 .premium-quick-actions button:hover {
  border-color:
    color-mix(
      in srgb,
      var(--ui-primary) 35%,
      var(--ui-border)
    ) !important;
  background: var(--ui-primary-soft) !important;
}

.admin-v2 .quick-icon {
  color: var(--ui-primary) !important;
  background: var(--ui-primary-soft) !important;
}

/* ========================================================
   النماذج
======================================================== */

.admin-v2 label,
.admin-v2 .employee-form label,
.admin-v2 .menu-form label,
.admin-v2 .cashier-form label,
.admin-v2 .file-mini,
.admin-v2 .menu-form-fields label > span,
.admin-v2 .premium-cashier-form label > span {
  color: var(--ui-text) !important;
}

.admin-v2 input,
.admin-v2 select,
.admin-v2 textarea,
.admin-v2 .wide-search,
.admin-v2 .premium-menu-form input,
.admin-v2 .premium-menu-form select,
.admin-v2 .premium-cashier-form input,
.admin-v2 .premium-cashier-form select,
.admin-v2 .premium-update-form input,
.admin-v2 .premium-update-form select,
.admin-v2 .premium-item-form input,
.admin-v2 .premium-cashier-update-form input,
.admin-v2 .premium-cashier-update-form select,
.admin-v2 .premium-cashier-product-form input {
  color: var(--ui-text) !important;
  border: 1px solid var(--ui-border) !important;
  background: var(--ui-surface-soft) !important;
  box-shadow: none !important;
}

.admin-v2 input::placeholder,
.admin-v2 textarea::placeholder {
  color: var(--ui-muted) !important;
}

.admin-v2 input:focus,
.admin-v2 select:focus,
.admin-v2 textarea:focus,
.admin-v2 .wide-search:focus {
  border-color: var(--ui-primary) !important;
  background: var(--ui-surface) !important;
  box-shadow:
    0 0 0 4px color-mix(
      in srgb,
      var(--ui-primary) 12%,
      transparent
    ) !important;
}

.admin-v2 .menu-file-input,
.admin-v2 .cashier-file-input,
.admin-v2 .menu-design-section {
  color: var(--ui-muted) !important;
  border-color: var(--ui-border) !important;
  background: var(--ui-surface-soft) !important;
}

/* ========================================================
   الأزرار
======================================================== */

.admin-v2 .btn.primary,
.admin-v2 button.btn.primary,
.admin-v2 .btn.mini:not(.danger):not(.green),
.admin-v2 .menu-save-btn,
.admin-v2 .cashier-save-btn {
  color: #ffffff !important;
  background:
    linear-gradient(
      135deg,
      var(--ui-primary),
      var(--ui-primary-dark)
    ) !important;
  box-shadow:
    0 8px 20px color-mix(
      in srgb,
      var(--ui-primary) 22%,
      transparent
    ) !important;
}

.admin-v2 .btn.green,
.admin-v2 .btn.mini.green {
  color: #ffffff !important;
  background: var(--ui-green) !important;
}

.admin-v2 .btn.danger,
.admin-v2 .btn.mini.danger {
  color: #ffffff !important;
  background: var(--ui-red) !important;
}

/* ========================================================
   كروت المنيو والكاشير
======================================================== */

.admin-v2 .premium-menu-card,
.admin-v2 .premium-cashier-card,
.admin-v2 .menu-card {
  color: var(--ui-text) !important;
  border-color: var(--ui-border) !important;
  background: var(--ui-surface) !important;
}

.admin-v2 .premium-menu-body,
.admin-v2 .premium-cashier-body {
  color: var(--ui-text) !important;
  background: var(--ui-surface) !important;
}

.admin-v2 .menu-info-grid > div,
.admin-v2 .cashier-info-grid > div {
  border-color: var(--ui-border) !important;
  background: var(--ui-surface-soft) !important;
}

.admin-v2 .menu-info-grid small,
.admin-v2 .cashier-info-grid small {
  color: var(--ui-muted) !important;
}

.admin-v2 .menu-info-grid strong,
.admin-v2 .cashier-info-grid strong {
  color: var(--ui-heading) !important;
}

.admin-v2 .menu-action-btn,
.admin-v2 .cashier-action-btn {
  color: var(--ui-primary) !important;
  border-color: var(--ui-border) !important;
  background: var(--ui-surface-soft) !important;
}

.admin-v2 .menu-action-btn:hover,
.admin-v2 .cashier-action-btn:hover {
  color: #ffffff !important;
  border-color: var(--ui-primary) !important;
  background: var(--ui-primary) !important;
}

.admin-v2 .premium-menu-editor,
.admin-v2 .premium-cashier-editor,
.admin-v2 .menu-editor {
  color: var(--ui-text) !important;
  border-color: var(--ui-border) !important;
  background: var(--ui-surface-soft) !important;
}

.admin-v2 .menu-edit-section,
.admin-v2 .menu-items-section,
.admin-v2 .cashier-edit-section,
.admin-v2 .cashier-products-section {
  color: var(--ui-text) !important;
  border-color: var(--ui-border) !important;
  background: var(--ui-surface) !important;
}

.admin-v2 .menu-edit-title b,
.admin-v2 .menu-items-heading b,
.admin-v2 .cashier-edit-title b,
.admin-v2 .cashier-products-heading b,
.admin-v2 .premium-menu-editor summary b,
.admin-v2 .premium-cashier-editor summary b {
  color: var(--ui-heading) !important;
}

.admin-v2 .menu-edit-title small,
.admin-v2 .menu-items-heading small,
.admin-v2 .cashier-edit-title small,
.admin-v2 .cashier-products-heading small,
.admin-v2 .premium-menu-editor summary small,
.admin-v2 .premium-cashier-editor summary small {
  color: var(--ui-muted) !important;
}

/* ========================================================
   الجداول
======================================================== */

.admin-v2 .table-wrap,
.admin-v2 table {
  color: var(--ui-text) !important;
  border-color: var(--ui-border) !important;
  background: var(--ui-surface) !important;
}

.admin-v2 th {
  color: var(--ui-heading) !important;
  border-color: var(--ui-border) !important;
  background: var(--ui-surface-2) !important;
}

.admin-v2 td {
  color: var(--ui-text) !important;
  border-color: var(--ui-border) !important;
  background: var(--ui-surface) !important;
}

.admin-v2 tbody tr:hover td {
  background: var(--ui-primary-soft) !important;
}

.admin-v2 td small,
.admin-v2 .tx-list span {
  color: var(--ui-muted) !important;
}

/* ========================================================
   حالات وأصناف
======================================================== */

.admin-v2 .menu-meta span,
.admin-v2 .items-list span,
.admin-v2 .premium-items-list > span,
.admin-v2 .premium-cashier-products > span {
  color: var(--ui-text) !important;
  border-color: var(--ui-border) !important;
  background: var(--ui-surface-soft) !important;
}

.admin-v2 .status-pill {
  color: var(--ui-primary) !important;
  background: var(--ui-primary-soft) !important;
}

.admin-v2 .good {
  color: var(--ui-green) !important;
}

.admin-v2 .bad {
  color: var(--ui-red) !important;
}

/* ========================================================
   إخفاء مبدلات الألوان القديمة
======================================================== */

.admin-v2 .admin-theme-picker,
.admin-v2 [data-admin-theme] {
  display: none !important;
}

/* ========================================================
   التجاوب
======================================================== */

@media (max-width: 1260px) {
  .admin-v2 .admin-topbar {
    grid-template-columns: minmax(240px, 1fr) auto;
  }

  .final-theme-switcher {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-self: center;
  }
}

@media (max-width: 860px) {
  .admin-v2 .admin-topbar {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
  }

  .final-theme-switcher {
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .final-theme-switcher button {
    flex: 1;
  }

  .admin-v2 .panel:hover,
  .admin-v2 .menu-card:hover,
  .admin-v2 .store-card:hover {
    transform: translateY(-2px);
  }
}

/* EGYMAX FINAL LIGHT DARK UI END */

/* EGYMAX LIGHT DASHBOARD MENU FIX V14 START */

/* =========================================================
   أولًا: كروت الصفحة الرئيسية في الوضع الفاتح
========================================================= */

.admin-v2[data-ui-theme="light"] .premium-stats {
  gap: 14px !important;
}

.admin-v2[data-ui-theme="light"] .premium-stats .admin-stat,
.admin-v2[data-ui-theme="light"] .premium-stats .admin-stat.blue,
.admin-v2[data-ui-theme="light"] .premium-stats .admin-stat.cyan,
.admin-v2[data-ui-theme="light"] .premium-stats .admin-stat.green,
.admin-v2[data-ui-theme="light"] .premium-stats .admin-stat.red,
.admin-v2[data-ui-theme="light"] .premium-stats .admin-stat.yellow {
  position: relative;
  min-height: 158px !important;
  padding: 18px !important;
  overflow: hidden;
  color: #17203b !important;
  border: 1px solid #e2e6f2 !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow:
    0 10px 28px rgba(47, 57, 104, .075),
    inset 0 1px 0 #ffffff !important;
}

.admin-v2[data-ui-theme="light"] .premium-stats .admin-stat::before {
  content: "";
  position: absolute;
  inset-inline-end: -34px;
  top: -38px;
  width: 115px;
  height: 115px;
  border-radius: 50%;
  opacity: .75;
  background: var(--stat-soft);
}

.admin-v2[data-ui-theme="light"] .premium-stats .admin-stat::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  right: auto;
  top: auto;
  bottom: 0;
  width: 100%;
  height: 4px;
  border-radius: 0;
  background: var(--stat-color);
}

.admin-v2[data-ui-theme="light"] .premium-stats .admin-stat:nth-child(1) {
  --stat-color: #f2a84b;
  --stat-soft: #fff1dc;
}

.admin-v2[data-ui-theme="light"] .premium-stats .admin-stat:nth-child(2) {
  --stat-color: #467df3;
  --stat-soft: #e8efff;
}

.admin-v2[data-ui-theme="light"] .premium-stats .admin-stat:nth-child(3) {
  --stat-color: #28b971;
  --stat-soft: #e2f8ed;
}

.admin-v2[data-ui-theme="light"] .premium-stats .admin-stat:nth-child(4) {
  --stat-color: #7157e9;
  --stat-soft: #eeeaff;
}

.admin-v2[data-ui-theme="light"] .premium-stats .admin-stat:nth-child(5) {
  --stat-color: #ed6672;
  --stat-soft: #ffe9ec;
}

.admin-v2[data-ui-theme="light"] .premium-stats .admin-stat:hover {
  transform: translateY(-6px) !important;
  border-color:
    color-mix(
      in srgb,
      var(--stat-color) 34%,
      #e2e6f2
    ) !important;
  box-shadow:
    0 20px 42px rgba(47, 57, 104, .13),
    0 0 0 1px
      color-mix(
        in srgb,
        var(--stat-color) 13%,
        transparent
      ) !important;
}

.admin-v2[data-ui-theme="light"] .premium-stat-top,
.admin-v2[data-ui-theme="light"] .premium-stat-value,
.admin-v2[data-ui-theme="light"] .premium-stat-footer {
  position: relative;
  z-index: 2;
}

.admin-v2[data-ui-theme="light"] .premium-stat-icon {
  width: 45px !important;
  height: 45px !important;
  color: var(--stat-color) !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: var(--stat-soft) !important;
  box-shadow: none !important;
}

.admin-v2[data-ui-theme="light"] .premium-stat-top small {
  color: var(--stat-color) !important;
  background: var(--stat-soft) !important;
}

.admin-v2[data-ui-theme="light"] .premium-stat-value strong {
  color: #17203b !important;
  font-size: 35px !important;
}

.admin-v2[data-ui-theme="light"] .premium-stat-value span {
  color: #45506d !important;
}

.admin-v2[data-ui-theme="light"] .premium-stat-footer {
  color: #8a94ac !important;
  border-top-color: #edf0f6 !important;
}

.admin-v2[data-ui-theme="light"] .premium-stat-footer b {
  color: var(--stat-color) !important;
}

/* =========================================================
   بانر الرئيسية أخف وأهدأ
========================================================= */

.admin-v2[data-ui-theme="light"] .premium-welcome {
  color: #17203b !important;
  border-color: #dfe4f2 !important;
  background:
    radial-gradient(
      circle at 12% 25%,
      rgba(112, 87, 233, .11),
      transparent 30%
    ),
    radial-gradient(
      circle at 87% 70%,
      rgba(57, 120, 246, .09),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #ffffff,
      #f4f2ff
    ) !important;
  box-shadow:
    0 13px 34px rgba(52, 61, 109, .08) !important;
}

.admin-v2[data-ui-theme="light"] .premium-welcome h2 {
  color: #151d38 !important;
}

.admin-v2[data-ui-theme="light"] .premium-welcome p {
  color: #74809b !important;
}

.admin-v2[data-ui-theme="light"] .premium-welcome-meta > span {
  color: #4d5873 !important;
  border-color: #e1e5f0 !important;
  background: rgba(255,255,255,.72) !important;
}

/* =========================================================
   ثانيًا: إزالة المناطق الداكنة من المنيو في الوضع الفاتح
========================================================= */

.admin-v2[data-ui-theme="light"] .panel.menu-create-panel,
.admin-v2[data-ui-theme="light"] .panel.menu-list-panel,
.admin-v2[data-ui-theme="light"] .panel:not(.premium-chart-panel).menu-create-panel,
.admin-v2[data-ui-theme="light"] .panel:not(.premium-chart-panel).menu-list-panel {
  color: #17203b !important;
  border-color: #e0e5f1 !important;
  background: #ffffff !important;
  box-shadow:
    0 11px 31px rgba(47, 57, 104, .075) !important;
}

.admin-v2[data-ui-theme="light"] .menu-create-panel .panel-head,
.admin-v2[data-ui-theme="light"] .menu-list-panel .panel-head {
  border-color: #e8ebf3 !important;
  background: transparent !important;
}

.admin-v2[data-ui-theme="light"] .menu-create-panel h2,
.admin-v2[data-ui-theme="light"] .menu-list-panel h2 {
  color: #17203b !important;
}

.admin-v2[data-ui-theme="light"] .menu-create-panel p,
.admin-v2[data-ui-theme="light"] .menu-list-panel p {
  color: #7b86a0 !important;
}

.admin-v2[data-ui-theme="light"] .premium-menu-form,
.admin-v2[data-ui-theme="light"] .menu-form-fields {
  color: #17203b !important;
  background: transparent !important;
}

.admin-v2[data-ui-theme="light"] .menu-form-fields label > span,
.admin-v2[data-ui-theme="light"] .menu-logo-field > span {
  color: #3e4965 !important;
}

.admin-v2[data-ui-theme="light"] .menu-form-fields input,
.admin-v2[data-ui-theme="light"] .menu-form-fields select,
.admin-v2[data-ui-theme="light"] .premium-update-form input,
.admin-v2[data-ui-theme="light"] .premium-update-form select,
.admin-v2[data-ui-theme="light"] .premium-item-form input {
  color: #17203b !important;
  border-color: #dfe4ef !important;
  background: #fafbff !important;
}

.admin-v2[data-ui-theme="light"] .menu-form-fields input:focus,
.admin-v2[data-ui-theme="light"] .menu-form-fields select:focus,
.admin-v2[data-ui-theme="light"] .premium-update-form input:focus,
.admin-v2[data-ui-theme="light"] .premium-update-form select:focus,
.admin-v2[data-ui-theme="light"] .premium-item-form input:focus {
  border-color: #7057e9 !important;
  background: #ffffff !important;
  box-shadow:
    0 0 0 4px rgba(112, 87, 233, .10) !important;
}

.admin-v2[data-ui-theme="light"] .menu-file-input {
  color: #78839c !important;
  border-color: #d7ddeb !important;
  background: #fafbff !important;
}

/* منطقة اختيار التصميمات */

.admin-v2[data-ui-theme="light"] .menu-design-section {
  color: #17203b !important;
  border-color: #e0e5f1 !important;
  background:
    linear-gradient(
      145deg,
      #fafbff,
      #f5f3ff
    ) !important;
}

.admin-v2[data-ui-theme="light"] .menu-design-heading span {
  color: #17203b !important;
}

.admin-v2[data-ui-theme="light"] .menu-design-heading p {
  color: #7d87a0 !important;
}

.admin-v2[data-ui-theme="light"] .menu-design-heading small {
  color: #7057e9 !important;
  background: #eeeaff !important;
}

/*
  كروت معاينات التصميمات تظل بألوانها الأصلية
  لأنها تمثل شكل المنيو النهائي.
*/

.admin-v2[data-ui-theme="light"] .premium-design-card {
  border-color: #d8deeb !important;
  box-shadow:
    0 9px 22px rgba(48, 58, 102, .08) !important;
}

/* كروت المنيو */

.admin-v2[data-ui-theme="light"] .premium-menu-card,
.admin-v2[data-ui-theme="light"] .menu-card {
  color: #17203b !important;
  border-color: #e0e5f1 !important;
  background: #ffffff !important;
}

.admin-v2[data-ui-theme="light"] .premium-menu-body {
  color: #17203b !important;
  background: #ffffff !important;
}

.admin-v2[data-ui-theme="light"] .menu-info-grid > div {
  border-color: #e4e8f1 !important;
  background: #fafbff !important;
}

.admin-v2[data-ui-theme="light"] .menu-info-grid small {
  color: #8a94aa !important;
}

.admin-v2[data-ui-theme="light"] .menu-info-grid strong {
  color: #25304c !important;
}

.admin-v2[data-ui-theme="light"] .menu-action-btn {
  color: #6246ea !important;
  border-color: #e0e4ef !important;
  background: #f8f7ff !important;
}

.admin-v2[data-ui-theme="light"] .menu-action-btn:hover {
  color: #ffffff !important;
  border-color: #6246ea !important;
  background: #6246ea !important;
}

/* محرر المنيو */

.admin-v2[data-ui-theme="light"] .premium-menu-editor,
.admin-v2[data-ui-theme="light"] .menu-editor {
  color: #17203b !important;
  border-color: #e2e6ef !important;
  background: #fafbff !important;
}

.admin-v2[data-ui-theme="light"] .premium-menu-editor summary {
  background: #f7f8fc !important;
}

.admin-v2[data-ui-theme="light"] .premium-menu-editor summary span b {
  color: #25304c !important;
}

.admin-v2[data-ui-theme="light"] .premium-menu-editor summary span small {
  color: #8993aa !important;
}

.admin-v2[data-ui-theme="light"] .menu-edit-section,
.admin-v2[data-ui-theme="light"] .menu-items-section {
  color: #17203b !important;
  border-color: #e1e6f0 !important;
  background: #ffffff !important;
}

.admin-v2[data-ui-theme="light"] .menu-edit-title b,
.admin-v2[data-ui-theme="light"] .menu-items-heading b {
  color: #25304c !important;
}

.admin-v2[data-ui-theme="light"] .menu-edit-title small,
.admin-v2[data-ui-theme="light"] .menu-items-heading small {
  color: #8993aa !important;
}

.admin-v2[data-ui-theme="light"] .premium-items-list > span,
.admin-v2[data-ui-theme="light"] .items-list span {
  color: #25304c !important;
  border-color: #e0e5ef !important;
  background: #f8f9fd !important;
}

.admin-v2[data-ui-theme="light"] .premium-menu-empty,
.admin-v2[data-ui-theme="light"] .menu-list-panel .empty {
  color: #7f8aa3 !important;
  border-color: #d9dfec !important;
  background: #fafbff !important;
}

/* العدادات والأزرار أعلى صفحة المنيو */

.admin-v2[data-ui-theme="light"] .menu-list-count,
.admin-v2[data-ui-theme="light"] .menu-title-icon {
  color: #6246ea !important;
  border-color: #ddd8ff !important;
  background: #efecff !important;
}

.admin-v2[data-ui-theme="light"] .menu-list-count strong {
  color: #40327e !important;
}

.admin-v2[data-ui-theme="light"] .menu-list-count span {
  color: #7b6db3 !important;
}

/* =========================================================
   منع بقايا الدارك القديمة من تجاوز الثيم الفاتح
========================================================= */

.admin-v2[data-ui-theme="light"] .premium-menus-page .panel,
.admin-v2[data-ui-theme="light"] .premium-menus-page form,
.admin-v2[data-ui-theme="light"] .premium-menus-page details,
.admin-v2[data-ui-theme="light"] .premium-menus-page .menu-editor-content {
  color: #17203b;
}

.admin-v2[data-ui-theme="light"] .premium-menus-page select {
  color-scheme: light;
}

/* EGYMAX LIGHT DASHBOARD MENU FIX V14 END */

/* EGYMAX MOBILE DRAWER V15 START */

/* مخفي على شاشات الكمبيوتر */

.admin-mobile-menu-btn,
.admin-mobile-overlay {
  display: none;
}

/* منع تحرك الصفحة عند فتح القائمة */

html.admin-drawer-lock,
html.admin-drawer-lock body {
  overflow: hidden !important;
  overscroll-behavior: none;
}

/* ========================================================
   التابلت والموبايل
======================================================== */

@media (max-width: 860px) {
  .admin-v2 {
    min-height: 100vh;
    display: block !important;
  }

  /*
    السايدبار يتحول إلى Drawer ثابت من اليمين
  */

  .admin-v2 .admin-sidebar {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    z-index: 1002 !important;

    width: min(84vw, 310px) !important;
    height: 100dvh !important;
    max-height: 100dvh !important;

    padding: 16px 13px !important;
    display: flex !important;
    flex-direction: column !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;

    border-radius: 0 !important;
    transform: translateX(105%) !important;
    visibility: hidden;

    box-shadow:
      -20px 0 55px rgba(16, 22, 45, .22) !important;

    transition:
      transform .24s cubic-bezier(.2, .8, .2, 1),
      visibility .24s ease !important;

    will-change: transform;
  }

  .admin-v2.mobile-drawer-open .admin-sidebar {
    transform: translateX(0) !important;
    visibility: visible;
  }

  /*
    طبقة تغطي المحتوى خلف القائمة
  */

  .admin-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;

    width: 100%;
    height: 100%;

    border: 0;
    padding: 0;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    background: rgba(12, 16, 30, .42);
    backdrop-filter: none;

    transition:
      opacity .20s ease,
      visibility .20s ease;
  }

  .admin-v2.mobile-drawer-open .admin-mobile-overlay {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /*
    زر الثلاث شرط
  */

  .admin-mobile-menu-btn {
    position: fixed;
    top: 13px;
    right: 13px;
    z-index: 1004;

    width: 46px;
    height: 46px;
    padding: 0;

    display: grid;
    place-content: center;
    gap: 5px;

    border: 1px solid var(--ui-border);
    border-radius: 13px;

    color: var(--ui-heading);
    background: var(--ui-surface);

    box-shadow:
      0 9px 25px rgba(40, 48, 90, .13);

    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .admin-mobile-menu-btn span {
    width: 21px;
    height: 2px;
    display: block;

    border-radius: 999px;
    background: currentColor;

    transition:
      transform .20s ease,
      opacity .20s ease;
  }

  .admin-v2.mobile-drawer-open .admin-mobile-menu-btn {
    color: #ffffff;
    border-color: var(--ui-primary);
    background: var(--ui-primary);
  }

  .admin-v2.mobile-drawer-open .admin-mobile-menu-btn span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .admin-v2.mobile-drawer-open .admin-mobile-menu-btn span:nth-child(2) {
    opacity: 0;
  }

  .admin-v2.mobile-drawer-open .admin-mobile-menu-btn span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /*
    المحتوى يأخذ عرض الشاشة بالكامل
  */

  .admin-v2 .admin-main {
    width: 100% !important;
    min-width: 0 !important;
    padding:
      calc(72px + env(safe-area-inset-top))
      10px
      18px !important;
  }

  .admin-v2 .admin-content,
  .admin-v2 .admin-section,
  .admin-v2 .panel {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /*
    الهيدر لا يغطي الشاشة ولا يزاحم زر القائمة
  */

  .admin-v2 .admin-topbar {
    position: static !important;
    top: auto !important;

    margin: 0 0 12px !important;
    padding: 14px !important;

    border-radius: 16px !important;
  }

  .admin-v2 .admin-page-heading {
    padding-right: 0;
  }

  .admin-v2 .admin-page-heading > span {
    font-size: 11px !important;
  }

  .admin-v2 .admin-page-heading h1 {
    font-size: 22px !important;
  }

  .admin-v2 .admin-page-heading p {
    font-size: 12px !important;
  }

  /*
    القائمة الداخلية عمودية وليست صفوفًا فوق المحتوى
  */

  .admin-v2 .admin-nav {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
  }

  .admin-v2 .admin-nav button {
    width: 100% !important;
    min-height: 48px !important;
  }

  .admin-v2 .admin-sidebar-footer {
    margin-top: auto !important;
    padding-top: 15px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  /*
    تحسين سرعة الموبايل:
    إلغاء الحركات والظلال الثقيلة والمؤثرات المكلفة
  */

  .admin-v2 *,
  .admin-v2 *::before,
  .admin-v2 *::after {
    animation: none !important;
  }

  .admin-v2 .admin-topbar,
  .admin-v2 .panel,
  .admin-v2 .menu-card,
  .admin-v2 .store-card,
  .admin-v2 .design-card,
  .admin-v2 .premium-welcome,
  .admin-v2 .menus-page-hero,
  .admin-v2 .cashiers-page-hero,
  .admin-v2 .admin-stat,
  .admin-v2 .menu-stat-card,
  .admin-v2 .cashier-stat-card {
    backdrop-filter: none !important;
    filter: none !important;

    box-shadow:
      0 6px 18px rgba(40, 48, 90, .075) !important;
  }

  .admin-v2 .panel:hover,
  .admin-v2 .menu-card:hover,
  .admin-v2 .store-card:hover,
  .admin-v2 .design-card:hover,
  .admin-v2 .admin-stat:hover,
  .admin-v2 .menu-stat-card:hover,
  .admin-v2 .cashier-stat-card:hover {
    transform: none !important;
  }

  .admin-v2 .premium-welcome-art,
  .admin-v2 .premium-orbit,
  .admin-v2 .premium-welcome::before,
  .admin-v2 .premium-welcome::after,
  .admin-v2 .menus-page-hero::before,
  .admin-v2 .cashiers-page-hero::before {
    display: none !important;
  }

  /*
    منع الجداول من توسيع الشاشة
  */

  .admin-v2 .table-wrap {
    width: 100%;
    max-width: 100%;

    overflow-x: auto !important;
    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;
  }

  .admin-v2 table {
    min-width: 720px;
  }
}

/* ========================================================
   الموبايل الصغير
======================================================== */

@media (max-width: 620px) {
  .admin-v2 .admin-main {
    padding:
      calc(68px + env(safe-area-inset-top))
      8px
      14px !important;
  }

  .admin-mobile-menu-btn {
    top: 11px;
    right: 11px;

    width: 44px;
    height: 44px;
  }

  .admin-v2 .admin-topbar {
    padding: 12px !important;
  }

  .admin-v2 .admin-top-user {
    width: 100% !important;
    min-width: 0 !important;
  }

  .final-theme-switcher {
    width: 100%;
  }

  .admin-v2 .stats-grid,
  .admin-v2 .premium-stats,
  .admin-v2 .menu-stats-grid,
  .admin-v2 .cashier-stats-grid {
    grid-template-columns: 1fr !important;
  }

  .admin-v2 .premium-menus-grid,
  .admin-v2 .premium-cashiers-grid,
  .admin-v2 .menus-grid {
    grid-template-columns: 1fr !important;
  }

  .admin-v2 .menu-form-fields,
  .admin-v2 .premium-menu-form,
  .admin-v2 .premium-cashier-form,
  .admin-v2 .employee-form,
  .admin-v2 .cashier-form,
  .admin-v2 .menu-update-form,
  .admin-v2 .cashier-update-form,
  .admin-v2 .item-form,
  .admin-v2 .cashier-product-form {
    grid-template-columns: 1fr !important;
  }

  .admin-v2 .panel {
    padding: 13px !important;
    border-radius: 14px !important;
  }

  .admin-v2 input,
  .admin-v2 select,
  .admin-v2 textarea,
  .admin-v2 .btn,
  .admin-v2 button.btn {
    min-height: 46px;
  }
}

/* EGYMAX MOBILE DRAWER V15 END */

/* EGYMAX FAST ADMIN BOOT V16 START */

.app-fast-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: grid;
  place-items: center;

  padding: 20px;
  background: #f6f7fc;
}

.app-fast-loader-card {
  min-width: 240px;
  padding: 16px 18px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;

  border: 1px solid #e1e5f1;
  border-radius: 18px;

  background: #ffffff;
  box-shadow:
    0 12px 34px rgba(43, 53, 100, .09);
}

.app-fast-loader-logo {
  width: 49px;
  height: 49px;
  flex: 0 0 49px;

  display: grid;
  place-items: center;

  border-radius: 14px;

  color: #ffffff;
  background:
    linear-gradient(
      145deg,
      #765dea,
      #4d7ef1
    );

  font-size: 23px;
  font-weight: 1000;
}

.app-fast-loader-card b,
.app-fast-loader-card small {
  display: block;
}

.app-fast-loader-card b {
  color: #17203b;
  font-size: 16px;
}

.app-fast-loader-card small {
  margin-top: 3px;
  color: #7b86a0;
  font-size: 11px;
}

@media (prefers-color-scheme: dark) {
  .app-fast-loader {
    background: #0d1222;
  }

  .app-fast-loader-card {
    border-color: #2c3551;
    background: #171d31;
    box-shadow:
      0 15px 38px rgba(0, 0, 0, .28);
  }

  .app-fast-loader-card b {
    color: #ffffff;
  }

  .app-fast-loader-card small {
    color: #a0aac4;
  }
}

/* تقليل وقت رسم الصفحات غير الظاهرة على الموبايل */

@media (max-width: 860px) {
  .admin-v2 .panel,
  .admin-v2 .menu-card,
  .admin-v2 .store-card,
  .admin-v2 .admin-stat {
    contain: layout paint;
  }

  .admin-v2 .premium-dashboard-grid,
  .admin-v2 .menus-grid,
  .admin-v2 .table-wrap {
    content-visibility: auto;
    contain-intrinsic-size: 400px;
  }
}

/* EGYMAX FAST ADMIN BOOT V16 END */

/* EGYMAX INITIAL PAINT FIX V17 START */

html,
body {
  background: #f6f7fc !important;
}

body {
  font-family:
    Cairo,
    Tahoma,
    Arial,
    "Segoe UI",
    sans-serif !important;
}

@media (prefers-color-scheme: dark) {
  html,
  body {
    background: #0d1222 !important;
  }
}

/* EGYMAX INITIAL PAINT FIX V17 END */
