* {
  box-sizing: border-box;
}

:root {
  --main: #0b8fdc;
  --main-dark: #0673b4;
  --soft-main: #e9f7ff;
  --bg: #f7fbff;
  --card: #ffffff;
  --text: #151f2f;
  --muted: #7a8699;
  --border: #e4edf6;
  --green: #129447;
  --red: #d62828;
  --orange: #f59e0b;
  --shadow: 0 10px 28px rgba(9, 91, 140, 0.10);
  --radius: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  direction: rtl;
  background: var(--bg);
  color: var(--text);
  font-family: Tahoma, Arial, sans-serif;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
}

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

.hidden {
  display: none !important;
}

/* شاشة الصيانة */
.maintenance-screen {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #0b8fdc, #065d99);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.maintenance-card {
  width: 100%;
  max-width: 390px;
  background: white;
  border-radius: 28px;
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
}

.maintenance-icon {
  font-size: 54px;
}

.maintenance-card h1 {
  margin: 10px 0;
  color: var(--main);
}

/* هيكل التطبيق */
.app-shell {
  width: 100%;
  max-width: 540px;
  min-height: 100vh;
  margin: auto;
  background: #fff;
  position: relative;
  overflow-x: hidden;
  padding-bottom: 92px;
}

.mobile-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 78px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
}

.app-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.app-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border);
  padding: 3px;
}

.app-brand h1 {
  margin: 0;
  font-size: 22px;
  color: var(--main);
  line-height: 1.1;
  font-weight: 800;
}

.app-brand p {
  margin: 3px 0 0;
  font-size: 11px;
  color: var(--muted);
}

.icon-btn {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 15px;
  background: var(--soft-main);
  color: var(--main);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-btn {
  position: relative;
}

.notification-count {
  position: absolute;
  top: -5px;
  left: -4px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--red);
  color: white;
  border: 2px solid white;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-main {
  padding: 14px 14px 22px;
}

.app-page {
  display: none;
  animation: fadeIn 0.18s ease;
}

.active-page {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* العناوين */
.section-head,
.page-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 2px 12px;
}

.section-head h2,
.page-title-row h2 {
  margin: 0;
  font-size: 22px;
  color: #101828;
}

.section-head button,
.page-title-row button {
  border: none;
  background: transparent;
  color: var(--main);
  font-weight: bold;
  font-size: 13px;
}

/* الأقسام */
.categories-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: none;
}

.categories-strip::-webkit-scrollbar {
  display: none;
}

.category-pill {
  min-width: 82px;
  max-width: 92px;
  text-align: center;
  flex: 0 0 auto;
}

.category-pill .category-icon-box {
  width: 74px;
  height: 74px;
  margin: auto;
  border-radius: 22px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.category-pill img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.category-pill span {
  font-size: 34px;
}

.category-pill strong {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.35;
  color: #27364a;
}

/* بانر رئيسي */
.hero-banner {
  min-height: 170px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.45), transparent 28%),
    linear-gradient(135deg, #dff5ff, #ffffff 45%, #e9f7ff);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 95px;
  gap: 10px;
  align-items: center;
  overflow: hidden;
}

.hero-banner h3 {
  margin: 0 0 8px;
  color: var(--main);
  font-size: 24px;
}

.hero-banner p {
  margin: 0 0 14px;
  color: #526070;
  line-height: 1.8;
  font-size: 14px;
}

.hero-banner button {
  border: none;
  background: var(--main);
  color: white;
  border-radius: 16px;
  padding: 10px 16px;
  font-weight: bold;
}

.hero-art {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  background: white;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  box-shadow: 0 10px 20px rgba(11,143,220,0.12);
}

/* كارت تعقب سريع */
.quick-track-card {
  margin-top: 14px;
  background: #052b45;
  color: white;
  border-radius: 24px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow);
}

.quick-track-card strong {
  font-size: 17px;
}

.quick-track-card p {
  margin: 5px 0 0;
  color: #d8edf8;
  font-size: 12px;
  line-height: 1.7;
}

.quick-track-card button {
  border: none;
  background: white;
  color: var(--main);
  border-radius: 15px;
  padding: 10px 12px;
  font-weight: bold;
  flex: 0 0 auto;
}

/* المنتجات */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}

.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
  position: relative;
  padding: 11px;
}

.product-card .fav-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: white;
  color: var(--main);
  box-shadow: 0 6px 15px rgba(0,0,0,0.10);
  font-size: 22px;
}

.product-image {
  height: 138px;
  border-radius: 20px;
  background: #f7fbff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-image span {
  font-size: 52px;
}

.product-card h3 {
  margin: 10px 2px 5px;
  font-size: 15px;
  line-height: 1.5;
  min-height: 44px;
  color: #151f2f;
}

.product-meta {
  color: var(--muted);
  font-size: 11px;
  min-height: 18px;
}

.price {
  display: block;
  color: var(--main);
  font-weight: 800;
  font-size: 17px;
  margin: 8px 2px;
}

.stock-badge {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  background: var(--soft-main);
  color: var(--main);
  border-radius: 999px;
  padding: 4px 8px;
}

.out-stock {
  background: #fff0f0;
  color: var(--red);
}

.add-btn {
  width: 100%;
  border: none;
  background: var(--main);
  color: white;
  border-radius: 16px;
  padding: 10px;
  font-weight: bold;
}

.add-btn:disabled {
  background: #bdc9d6;
  cursor: not-allowed;
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #fff4d8;
  color: #9a6200;
  border: 1px solid #ffe0a0;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: bold;
}

/* العروض */
.offers-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scrollbar-width: none;
}

.offers-strip::-webkit-scrollbar {
  display: none;
}

.offer-card {
  min-width: 230px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
  flex: 0 0 auto;
}

.offer-image {
  height: 110px;
  background: #f7fbff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.offer-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.offer-image span {
  font-size: 45px;
}

.offer-card h3 {
  margin: 10px 0 6px;
  font-size: 16px;
}

.old-price {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 12px;
}

.offer-note {
  color: var(--muted);
  line-height: 1.6;
  font-size: 12px;
  min-height: 36px;
}

/* الخدمات */
.services-block {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.service-mini {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 15px;
  box-shadow: 0 7px 16px rgba(0,0,0,0.04);
}

.service-mini span {
  font-size: 31px;
}

.service-mini strong {
  display: block;
  margin-top: 8px;
  color: #151f2f;
}

.service-mini small {
  color: var(--muted);
  margin-top: 4px;
  display: block;
}

/* حاسبة الطباعة */
.print-simple-box {
  margin-top: 14px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 26px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.simple-print-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.simple-total {
  background: var(--soft-main);
  color: var(--main);
  font-weight: bold;
  border-radius: 16px;
  padding: 12px;
  text-align: center;
  margin: 12px 0;
}

/* الفوتر */
.footer-card {
  margin-top: 18px;
  background: #052b45;
  color: white;
  border-radius: 26px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-card img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: white;
  border-radius: 18px;
  padding: 4px;
}

.footer-card h3 {
  margin: 0 0 5px;
}

.footer-card p {
  margin: 3px 0;
  color: #d8edf8;
  font-size: 12px;
  line-height: 1.6;
}

/* البحث */
.search-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px;
  box-shadow: 0 7px 15px rgba(0,0,0,0.04);
  margin-bottom: 12px;
}

.search-box input {
  width: 100%;
  border: none;
  outline: none;
  padding: 12px;
  font-size: 15px;
}

.filters-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.filters-row select {
  border: 1px solid var(--border);
  background: white;
  border-radius: 16px;
  padding: 12px;
  outline: none;
}

/* إدخالات */
.input-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.input-group label {
  font-size: 13px;
  font-weight: bold;
  color: #27364a;
}

.input-group input,
.input-group select,
.input-group textarea {
  border: 1px solid var(--border);
  background: white;
  border-radius: 16px;
  padding: 12px;
  outline: none;
  font-size: 14px;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: var(--main);
  box-shadow: 0 0 0 3px rgba(11, 143, 220, 0.12);
}

.input-group textarea {
  min-height: 90px;
  resize: vertical;
}

/* السلة */
.cart-items {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.cart-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 13px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.cart-item h4 {
  margin: 0 0 5px;
  color: #151f2f;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
}

.qty-controls button,
.remove-item {
  border: none;
  border-radius: 12px;
  padding: 7px 10px;
  font-weight: bold;
}

.qty-controls button {
  background: var(--soft-main);
  color: var(--main);
}

.remove-item {
  background: #fff0f0;
  color: var(--red);
}

.cart-summary,
.checkout-summary {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 15px;
  box-shadow: 0 7px 16px rgba(0,0,0,0.04);
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.cart-summary div,
.checkout-summary div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: #354256;
}

.cart-summary strong,
.checkout-summary strong {
  color: var(--main);
}

.final-row {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  font-size: 18px;
  font-weight: bold;
}

.final-row strong {
  color: var(--green) !important;
}

.coupon-row {
  display: grid;
  grid-template-columns: 1fr 90px;
  gap: 9px;
  margin-bottom: 14px;
}

.coupon-row input {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  outline: none;
}

.coupon-row button {
  border: none;
  background: var(--main);
  color: white;
  border-radius: 16px;
  font-weight: bold;
}

/* الأزرار */
.primary-btn,
.secondary-btn {
  width: 100%;
  border: none;
  border-radius: 18px;
  padding: 13px 16px;
  font-weight: bold;
  font-size: 15px;
  margin-top: 10px;
}

.primary-btn {
  background: var(--main);
  color: white;
}

.secondary-btn {
  background: var(--soft-main);
  color: var(--main);
  border: 1px solid #cceeff;
}

.danger-btn {
  background: var(--red) !important;
  color: white !important;
}

/* تعقب الطلب */
.track-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.track-icon {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  background: var(--soft-main);
  color: var(--main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  font-size: 38px;
}

.track-card h3 {
  margin: 13px 0 6px;
  color: #151f2f;
}

.track-card p {
  margin: 0 0 15px;
  color: var(--muted);
  line-height: 1.8;
}

.track-input-row {
  display: grid;
  grid-template-columns: 1fr 82px;
  gap: 9px;
}

.track-input-row input {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  outline: none;
  text-align: center;
  direction: ltr;
  font-weight: bold;
}

.track-input-row button {
  border: none;
  background: var(--main);
  color: white;
  border-radius: 16px;
  font-weight: bold;
}

.track-result {
  margin-top: 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
}

.track-result h3 {
  margin: 0 0 10px;
  color: var(--main);
}

.track-status {
  background: var(--soft-main);
  color: var(--main);
  border-radius: 18px;
  padding: 12px;
  margin-bottom: 12px;
  font-weight: bold;
  text-align: center;
}

.track-info-grid {
  display: grid;
  gap: 9px;
}

.track-info-grid div {
  background: #fbfdff;
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.track-info-grid span {
  color: var(--muted);
}

.track-timeline {
  margin-top: 15px;
  display: grid;
  gap: 9px;
}

.track-step {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
}

.track-step-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid #cbd5e1;
  background: white;
  flex: 0 0 auto;
}

.track-step.active {
  color: var(--main);
  font-weight: bold;
}

.track-step.active .track-step-dot {
  border-color: var(--main);
  background: var(--main);
}

/* الحساب */
.account-header {
  text-align: center;
  padding: 24px 10px 10px;
}

.account-header img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border);
  padding: 5px;
  box-shadow: var(--shadow);
}

.account-header h2 {
  margin: 10px 0 5px;
  color: var(--main);
}

.account-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.account-card,
.contact-card,
.checkout-card,
.privacy-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.account-card h3 {
  margin: 0;
  color: var(--main);
}

.account-card p {
  margin: 0;
  color: var(--muted);
}

.privacy-small,
.hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  text-align: center;
  margin: 8px 0 0;
}

.account-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.account-actions button,
.account-menu button,
.social-row button,
.contact-card button {
  border: none;
  background: var(--soft-main);
  color: var(--main);
  border-radius: 16px;
  padding: 11px;
  font-weight: bold;
}

.account-menu {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.contact-card h3 {
  margin: 0;
  color: #151f2f;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.social-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.my-orders {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.my-order-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 13px;
  line-height: 1.8;
}

.my-order-card strong {
  color: var(--main);
}

.my-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}

.my-order-actions button {
  border: none;
  background: var(--soft-main);
  color: var(--main);
  border-radius: 12px;
  padding: 8px 10px;
  font-weight: bold;
}

/* الدفع */
.payment-info {
  background: #fff8e8;
  border: 1px solid #ffe3a6;
  border-radius: 20px;
  padding: 14px;
}

.payment-info h3 {
  margin: 0 0 5px;
  color: var(--orange);
}

.payment-info p {
  margin: 0 0 10px;
  color: #7a4a00;
  line-height: 1.6;
}

.master-number {
  background: white;
  border: 2px dashed var(--orange);
  color: var(--main);
  border-radius: 18px;
  padding: 13px;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 12px;
}

.payment-info button {
  width: 100%;
  border: none;
  background: var(--orange);
  color: white;
  border-radius: 16px;
  padding: 11px;
  font-weight: bold;
}

/* الخصوصية */
.privacy-card h1 {
  font-size: 22px;
  margin: 0 0 12px;
  color: #151f2f;
}

.privacy-card h2 {
  margin: 18px 0 8px;
  color: var(--main);
  font-size: 18px;
}

.privacy-card p {
  color: #354256;
  line-height: 2;
  margin: 0;
}

/* نافذة نجاح الطلب */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(2, 18, 34, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.success-card {
  width: 100%;
  max-width: 420px;
  background: white;
  border-radius: 30px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  animation: popIn 0.18s ease;
}

@keyframes popIn {
  from {
    transform: scale(0.94);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.success-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #e8fff1;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  font-size: 42px;
}

.success-card h2 {
  margin: 14px 0 7px;
  color: var(--green);
}

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

.order-number-box {
  margin: 16px 0;
  background: var(--soft-main);
  border: 1px dashed var(--main);
  border-radius: 20px;
  padding: 14px;
}

.order-number-box span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 5px;
}

.order-number-box strong {
  display: block;
  color: var(--main);
  font-size: 30px;
  direction: ltr;
}

.success-actions {
  display: grid;
  gap: 9px;
}

.success-actions button {
  border: none;
  background: var(--main);
  color: white;
  border-radius: 16px;
  padding: 12px;
  font-weight: bold;
}

.success-actions .secondary-btn {
  margin: 0;
  background: var(--soft-main);
  color: var(--main);
}

/* نوافذ سفلية */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(2, 18, 34, 0.42);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.drawer-card {
  width: 100%;
  max-width: 540px;
  max-height: 84vh;
  overflow-y: auto;
  background: white;
  border-radius: 28px 28px 0 0;
  padding: 16px;
  animation: drawerUp 0.2s ease;
}

@keyframes drawerUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.drawer-head h2 {
  margin: 0;
  color: #151f2f;
}

.drawer-head button {
  width: 38px;
  height: 38px;
  border: none;
  background: #f2f5f8;
  border-radius: 50%;
  font-size: 24px;
}

.drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-bottom: 12px;
}

.drawer-actions button {
  border: none;
  background: var(--soft-main);
  color: var(--main);
  border-radius: 15px;
  padding: 10px;
  font-weight: bold;
}

.notifications-list {
  display: grid;
  gap: 10px;
}

.notification-card {
  background: #fbfdff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 13px;
}

.notification-card.unread {
  background: #fffaf0;
  border-color: #ffd889;
}

.notification-type {
  display: inline-block;
  font-size: 11px;
  background: var(--soft-main);
  color: var(--main);
  border-radius: 999px;
  padding: 4px 9px;
  margin-bottom: 7px;
  font-weight: bold;
}

.notification-card h3 {
  margin: 0 0 6px;
  color: #151f2f;
}

.notification-card p {
  margin: 0;
  color: #4b5a6d;
  line-height: 1.8;
}

.notification-card small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
}

.notification-card-actions {
  margin-top: 9px;
}

.notification-card-actions button {
  border: none;
  background: var(--main);
  color: white;
  border-radius: 12px;
  padding: 8px 11px;
  font-weight: bold;
}

.latest-notification {
  background: #fff8e8;
  border: 1px solid #ffe3a6;
  border-radius: 20px;
  padding: 13px;
  margin-bottom: 12px;
}

.latest-notification h3 {
  margin: 0 0 6px;
  color: var(--orange);
}

.latest-notification p {
  margin: 0;
  line-height: 1.8;
}

/* كل الأقسام */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}

.category-card {
  background: #fbfdff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 12px;
  text-align: center;
}

.category-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.category-card h3 {
  margin: 8px 0 5px;
  color: #151f2f;
  font-size: 13px;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

/* شريط سفلي */
.bottom-nav {
  position: fixed;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 100%;
  max-width: 540px;
  height: 78px;
  background: rgba(255,255,255,0.98);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr 86px 1fr 1fr;
  align-items: center;
  z-index: 100;
  padding: 6px 10px;
  box-shadow: 0 -8px 25px rgba(0,0,0,0.06);
}

.nav-item {
  border: none;
  background: transparent;
  color: #202a38;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.nav-item span {
  font-size: 25px;
  line-height: 1;
}

.nav-item small {
  font-size: 11px;
}

.nav-item.active {
  color: var(--main);
  font-weight: bold;
}

.cart-float-btn {
  width: 72px;
  height: 72px;
  margin: -34px auto 0;
  border: 6px solid #ffffff;
  border-radius: 50%;
  background: linear-gradient(135deg, #52bfff, var(--main));
  color: white;
  box-shadow: 0 12px 28px rgba(11,143,220,0.35);
  font-size: 28px;
  position: relative;
}

.cart-float-btn b {
  position: absolute;
  top: 3px;
  left: 5px;
  min-width: 22px;
  height: 22px;
  background: var(--red);
  color: white;
  border-radius: 999px;
  font-size: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

.cart-float-btn.has-items b {
  display: flex;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 92px;
  right: 50%;
  transform: translateX(50%);
  width: calc(100% - 28px);
  max-width: 500px;
  background: #111827;
  color: white;
  border-radius: 18px;
  padding: 13px 15px;
  text-align: center;
  z-index: 300;
  box-shadow: var(--shadow);
  line-height: 1.7;
}

.empty-text {
  color: var(--muted);
  line-height: 1.8;
  text-align: center;
}

/* لوحة التحكم */
.admin-page {
  background: #f4f8ff;
}

.login-box {
  max-width: 430px;
  margin: 70px auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.login-box h1 {
  margin: 0 0 8px;
  text-align: center;
  color: var(--main);
}

.login-box label {
  font-weight: bold;
  margin-top: 10px;
  display: block;
}

.login-box input,
.login-box select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  margin: 7px 0;
}

.login-box button {
  width: 100%;
  border: none;
  background: var(--main);
  color: white;
  border-radius: 14px;
  padding: 12px;
  margin-top: 8px;
  font-weight: bold;
}

.dashboard {
  max-width: 1250px;
  margin: auto;
  padding: 18px;
}

.admin-header {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
}

.admin-header h1 {
  margin: 0;
  color: var(--main);
}

.admin-header p {
  margin: 4px 0 0;
  color: var(--muted);
}

.admin-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-header-actions button {
  border: none;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: bold;
  background: var(--soft-main);
  color: var(--main);
}

.logout-btn {
  background: var(--red) !important;
  color: white !important;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.admin-section,
.permission-section,
.manager-only {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.admin-section h2,
.permission-section h2,
.manager-only h2 {
  color: var(--main);
  margin: 0 0 12px;
}

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

.admin-form-grid .full {
  grid-column: 1 / -1;
}

.admin-form-grid input,
.admin-form-grid select,
.admin-form-grid textarea,
.admin-section input,
.admin-section select,
.admin-section textarea {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 11px;
  width: 100%;
}

.admin-section textarea,
.admin-form-grid textarea {
  min-height: 90px;
  resize: vertical;
}

.admin-actions,
.admin-order-actions,
.admin-category-actions,
.admin-offer-actions,
.admin-coupon-actions,
.admin-notification-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.admin-actions button,
.admin-order-actions button,
.admin-category-actions button,
.admin-offer-actions button,
.admin-coupon-actions button,
.admin-notification-actions button {
  border: none;
  background: var(--main);
  color: white;
  border-radius: 12px;
  padding: 9px 12px;
  font-weight: bold;
}

.delete-admin,
.delete-order,
.delete-category,
.delete-offer,
.delete-coupon,
.delete-notification {
  background: var(--red) !important;
}

.whatsapp-btn {
  background: #25d366 !important;
}

.print-btn {
  background: var(--main) !important;
}

.copy-btn {
  background: #111827 !important;
}

.short-invoice-btn {
  background: var(--green) !important;
}

.full-invoice-btn {
  background: var(--main) !important;
}

.message-btn {
  background: var(--orange) !important;
}

.status-btn {
  background: #7c3aed !important;
}

.admin-products-grid,
.admin-categories-grid,
.admin-offers-grid,
.admin-coupons-grid,
.admin-notifications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.admin-product,
.admin-category,
.admin-offer,
.admin-coupon,
.admin-notification,
.admin-order,
.admin-rating {
  background: #fbfdff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  line-height: 1.8;
}

.admin-order {
  margin-bottom: 14px;
}

.admin-order.new-order-highlight {
  border-color: var(--orange);
  background: #fffaf0;
}

.admin-order strong {
  color: var(--main);
}

.admin-order hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 10px 0;
}

.admin-thumb {
  width: 85px;
  height: 85px;
  object-fit: contain;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  display: block;
  margin-bottom: 8px;
}

.admin-notification.published {
  border-color: var(--green);
}

.admin-notification.hidden-notification {
  border-color: #b8c7d9;
  background: #f8fafc;
  opacity: 0.85;
}

.notification-status-label {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: bold;
  background: var(--soft-main);
  color: var(--main);
}

.notification-status-label.published {
  background: #e8fff1;
  color: var(--green);
  border: 1px solid #b8f0ce;
}

.notification-status-label.hidden-notification {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
}

.push-note,
.permission-note,
.new-orders-alert {
  background: #fff7e6;
  border: 1px solid #ffd27a;
  border-radius: 14px;
  padding: 12px;
  margin: 14px 0;
  color: #7a4a00;
  line-height: 1.8;
}

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

.stat-card {
  background: var(--soft-main);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  text-align: center;
}

.stat-card h4 {
  margin: 0 0 8px;
  color: var(--main);
  font-size: 14px;
}

.stat-card strong {
  font-size: 24px;
  color: var(--green);
}

.orders-toolbar {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.orders-toolbar input,
.orders-toolbar select {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 11px;
}

.permissions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.permissions-grid label {
  background: var(--soft-main);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px;
  cursor: pointer;
}

.province-row {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.low-stock-item {
  background: #fff0f0;
  border: 1px solid #ffd2d2;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 8px;
}

.low-stock-text {
  color: var(--red);
}

.quick-message-box {
  background: var(--soft-main);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  margin-top: 10px;
}

.quick-message-box select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
}

/* تجاوب */
@media (max-width: 700px) {
  .admin-header {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-form-grid,
  .orders-toolbar {
    grid-template-columns: 1fr;
  }

  .admin-products-grid,
  .admin-categories-grid,
  .admin-offers-grid,
  .admin-coupons-grid,
  .admin-notifications-grid,
  .stats-grid,
  .permissions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .app-brand h1 {
    font-size: 19px;
  }

  .app-brand p {
    display: none;
  }

  .hero-banner {
    grid-template-columns: 1fr 70px;
    padding: 18px;
  }

  .hero-art {
    width: 68px;
    height: 68px;
    font-size: 38px;
  }

  .hero-banner h3 {
    font-size: 21px;
  }

  .product-image {
    height: 118px;
  }

  .product-card h3 {
    font-size: 13px;
  }

  .bottom-nav {
    height: 74px;
  }

  .cart-float-btn {
    width: 68px;
    height: 68px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-track-card {
    flex-direction: column;
    align-items: stretch;
  }

  .quick-track-card button {
    width: 100%;
  }
}
/* ============================= */
/* تحسين لوحة التحكم - التبويبات */
/* ============================= */

.admin-upload-btn {
  border: none;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: bold;
  background: var(--soft-main);
  color: var(--main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-tabs {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 10px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  position: sticky;
  top: 10px;
  z-index: 30;
}

.admin-tabs::-webkit-scrollbar {
  display: none;
}

.admin-tab-btn {
  border: none;
  background: #f4f8ff;
  color: #304055;
  border-radius: 14px;
  padding: 11px 16px;
  font-weight: bold;
  white-space: nowrap;
}

.admin-tab-btn.active {
  background: var(--main);
  color: white;
  box-shadow: 0 8px 18px rgba(11, 143, 220, 0.22);
}

.admin-tab-section {
  display: none;
}

.admin-tab-section.active {
  display: block;
  animation: fadeIn 0.18s ease;
}

.admin-section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.admin-section-title-row h2 {
  margin: 0;
}

.admin-section-title-row button {
  border: none;
  background: var(--main);
  color: white;
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: bold;
}

.right-hint {
  text-align: right;
}

/* ============================= */
/* صفحة الطلبات الجديدة */
/* ============================= */

.orders-layout {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 16px;
  align-items: start;
}

.admin-orders-list {
  display: grid;
  gap: 10px;
  max-height: 75vh;
  overflow-y: auto;
  padding-left: 4px;
}

.order-row-card {
  width: 100%;
  border: 1px solid var(--border);
  background: #fbfdff;
  border-radius: 18px;
  padding: 13px;
  text-align: right;
  color: var(--text);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.035);
}

.order-row-card:hover {
  border-color: var(--main);
}

.order-row-card.selected {
  border-color: var(--main);
  background: var(--soft-main);
  box-shadow: 0 8px 18px rgba(11, 143, 220, 0.14);
}

.order-row-card.new-order-highlight {
  border-color: var(--orange);
  background: #fffaf0;
}

.order-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.order-row-top strong {
  color: var(--main);
  direction: ltr;
}

.order-row-top span {
  background: white;
  color: var(--orange);
  border: 1px solid #ffd27a;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: bold;
}

.order-row-info {
  display: grid;
  gap: 5px;
  color: #405168;
  font-size: 13px;
  line-height: 1.5;
}

.order-row-card small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
}

.order-details-panel {
  min-height: 420px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 16px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 98px;
}

.empty-order-details {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
  color: var(--muted);
}

.empty-order-details span {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  background: var(--soft-main);
  color: var(--main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
}

.empty-order-details h3 {
  margin: 8px 0 0;
  color: var(--text);
}

.empty-order-details p {
  margin: 0;
  line-height: 1.8;
}

.order-details-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.order-details-head h2 {
  margin: 0;
  color: var(--main);
  direction: ltr;
  text-align: right;
}

.order-details-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.order-details-head span {
  background: var(--soft-main);
  color: var(--main);
  border-radius: 999px;
  padding: 7px 11px;
  font-weight: bold;
  font-size: 12px;
  white-space: nowrap;
}

.order-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.order-details-grid div {
  background: #fbfdff;
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 10px;
  line-height: 1.6;
}

.order-details-grid small {
  display: block;
  color: var(--muted);
  margin-bottom: 4px;
}

.order-details-grid strong {
  display: block;
  color: var(--text);
  word-break: break-word;
}

.order-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 10px;
}

.order-products-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.order-products-table th,
.order-products-table td {
  border: 1px solid var(--border);
  padding: 9px;
  text-align: center;
  font-size: 13px;
}

.order-products-table th {
  background: var(--soft-main);
  color: var(--main);
}

.order-totals-box {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.order-totals-box div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #fbfdff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
}

.order-totals-box span {
  color: var(--muted);
}

.order-totals-box strong {
  color: var(--main);
}

.order-totals-box .final {
  background: #e8fff1;
  border-color: #b8f0ce;
}

.order-totals-box .final span,
.order-totals-box .final strong {
  color: var(--green);
  font-weight: bold;
}

.order-note {
  background: #fffaf0;
  border: 1px solid #ffd27a;
  color: #7a4a00;
  border-radius: 15px;
  padding: 10px;
  margin-top: 10px;
  line-height: 1.8;
}

/* ============================= */
/* صفحة الأدمنين والصلاحيات */
/* ============================= */

.admin-users-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.admin-user-card {
  background: #fbfdff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  line-height: 1.8;
}

.admin-user-card strong {
  color: var(--main);
  font-size: 17px;
}

.admin-user-card div {
  color: #405168;
}

.admin-user-card .admin-actions {
  margin-top: 10px;
}

/* ============================= */
/* تحسينات للموبايل */
/* ============================= */

@media (max-width: 980px) {
  .orders-layout {
    grid-template-columns: 1fr;
  }

  .admin-orders-list {
    max-height: none;
  }

  .order-details-panel {
    position: static;
  }

  .admin-users-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .admin-tabs {
    top: 0;
    border-radius: 0 0 18px 18px;
    margin-right: -18px;
    margin-left: -18px;
  }

  .admin-section-title-row {
    flex-direction: column;
    align-items: stretch;
  }

  .order-details-grid {
    grid-template-columns: 1fr;
  }

  .order-details-head {
    flex-direction: column;
  }

  .order-row-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* تنبيه الطلبات الجديدة داخل لوحة التحكم */
.admin-order-bell {
  position: relative;
  border: 0;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(249, 115, 22, .25);
}

.admin-order-bell.has-new-orders {
  animation: adminBellPulse 1.1s infinite;
}

.admin-order-bell-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 23px;
  height: 23px;
  margin-right: 7px;
  padding: 0 6px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 13px;
}

.admin-order-banner {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  width: min(560px, calc(100% - 24px));
  background: #111827;
  color: #fff;
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,.24);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-family: Tahoma, Arial, sans-serif;
}

.admin-order-banner p {
  margin: 5px 0 0;
  color: #e5e7eb;
  font-size: 14px;
}

.admin-order-banner-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-order-banner-actions button {
  border: 0;
  border-radius: 12px;
  padding: 9px 12px;
  cursor: pointer;
  font-weight: 800;
  background: #f59e0b;
  color: #111827;
}

.admin-order-banner-actions .banner-close {
  background: #374151;
  color: #fff;
}

@keyframes adminBellPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@media (max-width: 700px) {
  .admin-order-banner {
    top: 10px;
    align-items: stretch;
    flex-direction: column;
  }

  .admin-order-banner-actions button {
    flex: 1;
  }
}


/* تقييم الطلب بعد التسليم */
.order-rating-box,
.order-rating-done {
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  background: #fff7df;
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: grid;
  gap: 8px;
}

.order-rating-box strong,
.order-rating-done strong {
  color: #7c4a03;
}

.rating-select,
.rating-textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px;
  font-family: inherit;
  background: #fff;
}

.rating-textarea {
  min-height: 70px;
  resize: vertical;
}

.rating-submit-btn {
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  background: #f59e0b;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.admin-rating {
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}


/* إضافات التقارير وسجل النشاط */
.report-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.report-summary div {
  background: #f4fbff;
  border: 1px solid #d9e6f2;
  border-radius: 16px;
  padding: 12px;
  display: grid;
  gap: 5px;
}

.report-summary strong {
  color: #0b8fdc;
  font-size: 18px;
}

.sales-report-table {
  min-width: 1100px;
}

.admin-logs-box {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.admin-log-item {
  background: #ffffff;
  border: 1px solid #e4edf6;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
}

.admin-log-item > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.admin-log-item span {
  background: #e9f7ff;
  color: #0b8fdc;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
}

.admin-log-item p,
.admin-log-item small {
  color: #44566c;
  line-height: 1.7;
}


.admin-login-btn {
  background: linear-gradient(135deg, #0f766e, #14b8a6) !important;
  color: #fff !important;
  font-weight: 800;
  border: none;
}

.admin-login-btn::before {
  content: "⚙️ ";
}

/* تحسين صفحة الحساب وتقييم مكتبة الإبداع */
.account-subtitle {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.7;
}

.account-role-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0b8fdc, #07689f);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(11,143,220,0.18);
}

.app-rating-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.rating-logo-wrap {
  width: 86px;
  height: 86px;
  border-radius: 28px;
  margin: 0 auto 4px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(15,23,42,0.08);
}

.rating-logo-wrap img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.app-rating-card h3,
.app-rating-card p {
  text-align: center;
  margin: 0;
}

.app-rating-card h3 {
  color: #0f172a;
  font-size: 20px;
}

.app-rating-card p {
  color: #64748b;
  line-height: 1.7;
}

/* إصلاحات 2026-06-23: ترتيب الطلبات بالموبايل وزر تحديث التتبع */
.track-refresh-btn {
  width: 100%;
  border: none;
  background: var(--main);
  color: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  margin: 12px 0 4px;
  font-weight: 800;
  cursor: pointer;
}

.admin-page {
  overflow-x: hidden;
}

.orders-layout,
.admin-orders-list,
.order-row-card,
.order-details-panel {
  max-width: 100%;
  box-sizing: border-box;
}

.admin-orders-list {
  align-content: start;
}

.order-row-card {
  min-height: auto !important;
  height: auto !important;
}

@media (max-width: 700px) {
  .admin-page .admin-content {
    padding: 10px !important;
    overflow-x: hidden;
  }

  .orders-layout {
    display: block !important;
    width: 100%;
  }

  .admin-orders-list {
    display: grid;
    gap: 8px;
    max-height: none;
    overflow: visible;
    padding: 0;
  }

  .order-row-card {
    padding: 10px 12px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03) !important;
  }

  .order-row-top {
    margin-bottom: 5px !important;
  }

  .order-row-info {
    gap: 2px !important;
    line-height: 1.35 !important;
    font-size: 12px !important;
  }

  .order-row-card small {
    margin-top: 4px !important;
    font-size: 11px !important;
  }

  .order-details-panel {
    position: static !important;
    min-height: auto !important;
    margin-top: 10px;
    padding: 12px !important;
    border-radius: 18px !important;
  }

  .empty-order-details {
    min-height: auto !important;
    padding: 12px !important;
  }

  .empty-order-details span {
    display: none !important;
  }
}

/* تحديث 2026-06-23: تكبير الشعار وإعلان البداية وتفاصيل المنتجات */
.mobile-header { height: 84px; }
.app-brand img {
  width: 54px !important;
  height: 54px !important;
  padding: 2px;
  border-radius: 18px;
}
.app-brand h1 { font-size: 23px !important; }
.app-brand p { font-size: 12px !important; }

.startup-ad-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.96);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.startup-ad-card {
  width: min(86vw, 370px);
  min-height: 560px;
  border-radius: 34px;
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 55px rgba(0,0,0,.12);
  animation: startupZoom .45s ease;
}

@keyframes startupZoom {
  from { transform: scale(.75); opacity: .15; }
  to { transform: scale(1); opacity: 1; }
}

.startup-close {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  color: #0b8fdc;
  font-size: 24px;
  z-index: 2;
}

.startup-poster {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 38px 24px;
  background:
    radial-gradient(circle at top right, rgba(11,143,220,.10), transparent 25%),
    radial-gradient(circle at bottom left, rgba(11,143,220,.10), transparent 28%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.startup-poster img {
  width: 190px;
  height: 190px;
  object-fit: contain;
  margin-bottom: 22px;
  filter: drop-shadow(0 16px 25px rgba(11,143,220,.15));
}

.startup-poster h2 {
  margin: 0 0 10px;
  color: #0b8fdc;
  font-size: 30px;
}

.startup-poster p {
  margin: 0;
  color: #334155;
  font-size: 18px;
  line-height: 1.9;
}

.startup-dots {
  position: absolute;
  bottom: 28px;
  display: flex;
  gap: 8px;
}

.startup-dots span {
  width: 10px;
  height: 10px;
  background: #9ee7ee;
  border-radius: 4px;
  display: block;
}

.startup-dots span:nth-child(2) { background: #0b8fdc; width: 18px; }

.product-card { cursor: pointer; }
.option-badge {
  display: inline-block;
  margin-top: 5px;
  background: #fff7db;
  color: #9a6200;
  border: 1px solid #ffe0a0;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: bold;
}

.product-details-card {
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  background: white;
  border-radius: 28px 28px 0 0;
  padding: 16px;
  align-self: flex-end;
  box-shadow: 0 -15px 40px rgba(0,0,0,.14);
}

.product-detail-hero {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.product-detail-image {
  height: 120px;
  border-radius: 22px;
  background: #f7fbff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border);
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail-image span { font-size: 54px; }
.product-detail-main h2 { margin: 0 0 6px; color: #0b8fdc; font-size: 21px; }
.product-detail-main p { margin: 0 0 8px; color: var(--muted); }
.product-detail-main strong { display: block; color: #0b8fdc; font-size: 20px; margin-bottom: 8px; }

.product-detail-note {
  background: #f7fbff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 12px;
}

.product-detail-options label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #334155;
}

.option-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.option-chip {
  border: 1px solid #d9e6f2;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 9px 12px;
  font-weight: bold;
}

.option-chip.active {
  background: #0b8fdc;
  color: white;
  border-color: #0b8fdc;
}

.related-products-block {
  margin-top: 18px;
}

.related-products-block h3 {
  margin: 0 0 10px;
  color: #0b8fdc;
}

.related-products-row {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 8px;
}

.related-product-card {
  flex: 0 0 130px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 18px;
  padding: 9px;
  text-align: center;
}

.related-product-card div {
  height: 80px;
  border-radius: 14px;
  background: #f7fbff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.related-product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.related-product-card span { font-size: 34px; }
.related-product-card strong { display:block; margin-top:7px; font-size:12px; line-height:1.5; color:#151f2f; }
.related-product-card small { display:block; color:#0b8fdc; font-weight:bold; margin-top:4px; }
.cart-option { color:#9a6200; font-size:12px; margin: 2px 0 6px !important; }

@media (max-width: 420px) {
  .app-brand img { width: 48px !important; height: 48px !important; }
  .app-brand h1 { font-size: 20px !important; }
  .startup-ad-card { min-height: 510px; }
  .startup-poster { min-height: 510px; }
  .startup-poster img { width: 165px; height: 165px; }
  .startup-poster h2 { font-size: 26px; }
  .startup-poster p { font-size: 16px; }
  .product-detail-hero { grid-template-columns: 100px 1fr; }
  .product-detail-image { height: 100px; }
}

/* تحديث السلة والإعلانات - بدون تغيير الهوية */
.home-banners {
  margin: 14px 0 18px;
}

.home-banner-slider {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}

.home-banner-slider::-webkit-scrollbar {
  display: none;
}

.home-banner-card {
  min-width: 100%;
  height: 178px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  scroll-snap-align: center;
  text-align: right;
}

.home-banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-banner-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 58px;
  background: linear-gradient(135deg, #e9f7ff, #ffffff);
}

.home-banner-caption {
  position: absolute;
  inset-inline: 12px;
  bottom: 12px;
  background: rgba(255,255,255,0.90);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 18px;
  padding: 10px 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  display: grid;
  gap: 3px;
}

.home-banner-caption strong {
  color: var(--main);
  font-size: 15px;
}

.home-banner-caption span {
  color: #526070;
  font-size: 12px;
  line-height: 1.5;
}

.home-banner-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.home-banner-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9d8e8;
}

.home-banner-dots span.active {
  width: 18px;
  border-radius: 20px;
  background: var(--main);
}

.checkout-steps-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin: 8px 0 14px;
}

.checkout-step-btn {
  border: 1px solid var(--border);
  background: white;
  color: #7a8699;
  border-radius: 18px;
  padding: 9px 5px;
  font-size: 11px;
  font-weight: bold;
  box-shadow: 0 6px 14px rgba(0,0,0,0.04);
}

.checkout-step-btn span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #edf4fb;
  color: #7a8699;
  margin-inline-end: 3px;
}

.checkout-step-btn.active {
  border-color: var(--main);
  color: var(--main);
  background: var(--soft-main);
}

.checkout-step-btn.active span {
  background: var(--main);
  color: #fff;
}

.checkout-step-title {
  margin: 0 0 4px;
  color: var(--main);
  font-size: 17px;
}

.checkout-step-actions {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 10px;
}

.shipping-preview-card {
  border: 1px solid var(--border);
  background: #fbfdff;
  border-radius: 18px;
  padding: 14px;
  display: grid;
  gap: 6px;
}

.shipping-preview-card strong {
  color: var(--main);
}

.shipping-preview-card span {
  color: var(--green);
  font-weight: bold;
}

.checkout-items-summary {
  display: grid;
  gap: 8px;
}

.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: #fbfdff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  font-size: 13px;
}

.inside-summary {
  margin-top: 10px;
}

.admin-banners-grid {
  display: grid;
  gap: 12px;
}

.admin-banner-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px;
  display: grid;
  grid-template-columns: 115px 1fr auto;
  gap: 12px;
  align-items: center;
}

.admin-banner-thumb,
.admin-banner-placeholder {
  width: 115px;
  height: 65px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #f4f8fc;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.admin-banner-card p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-banner-card small {
  color: #7a8699;
}

@media (max-width: 520px) {
  .home-banner-card { height: 165px; }
  .checkout-steps-bar { gap: 5px; }
  .checkout-step-btn { font-size: 10px; padding: 8px 3px; }
  .checkout-step-btn span { width: 20px; height: 20px; display: block; margin: 0 auto 3px; }
  .admin-banner-card { grid-template-columns: 1fr; }
  .admin-banner-thumb, .admin-banner-placeholder { width: 100%; height: 120px; }
}

/* إصلاحات ثابتة بدون تغيير التصميم العام */
.home-banners { margin: 10px 0 14px !important; }
.home-banner-card { height: 135px !important; border-radius: 22px !important; }
.home-banner-caption { bottom: 8px !important; inset-inline: 10px !important; padding: 7px 10px !important; border-radius: 14px !important; }
.home-banner-caption strong { font-size: 13px !important; }
.home-banner-caption span { font-size: 11px !important; }
.home-banner-dots { margin-top: 5px !important; }
.product-card .product-image img, .product-detail-image img, .related-product-card img { object-fit: contain; background:#f8fbff; }
.product-details-card { max-height: 88vh; overflow:auto; }
.startup-ad-overlay.hidden { display: none !important; }
.startup-ad-overlay { background: #ffffff !important; }
.startup-ad-card { box-shadow: none !important; min-height: 420px !important; width: min(86vw, 330px) !important; border-radius: 28px !important; }
.startup-poster { min-height: 420px !important; background: #ffffff !important; padding: 30px 22px !important; }
.startup-poster img { width: 135px !important; height: 135px !important; }
.startup-poster h2 { font-size: 24px !important; }
.startup-poster p { font-size: 14px !important; }
@media (max-width: 420px) {
  .home-banner-card { height: 128px !important; }
  .startup-ad-card { min-height: 390px !important; }
  .startup-poster { min-height: 390px !important; }
  .startup-poster img { width: 120px !important; height: 120px !important; }
}

.admin-no-image, .no-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 70px;
  color: #8aa0b5;
  font-size: 13px;
  background: #f4f8fc;
  border-radius: 14px;
}

/* إصلاح ترتيب إعلان الواجهة: لا يظهر النص فوق الصورة حتى لا يخرب الإعلان */
.home-banner-card.has-image {
  height: 145px !important;
  background: #f8fbff !important;
  border-radius: 24px !important;
  padding: 0 !important;
}
.home-banner-card.has-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #f8fbff !important;
  display: block !important;
}
.home-banner-card.has-image .home-banner-caption {
  display: none !important;
}
.home-banner-card.no-image {
  height: 135px !important;
  display: grid !important;
  place-items: center !important;
  padding: 18px !important;
  background: linear-gradient(135deg, #e9f7ff, #ffffff) !important;
}
.home-banner-text-only {
  display: grid;
  gap: 8px;
  text-align: center;
}
.home-banner-text-only strong {
  color: var(--main);
  font-size: 17px;
}
.home-banner-text-only span {
  color: #526070;
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 420px) {
  .home-banner-card.has-image { height: 140px !important; }
  .home-banner-card.no-image { height: 125px !important; }
}


/* كرت خدمات الدفع والخطوط في الواجهة - إضافة آمنة بدون تغيير التصميم */
.payment-services-home-card {
  margin: 14px 0;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(135deg, #eef8ff, #ffffff);
  border: 1px solid rgba(11, 143, 220, 0.14);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.payment-services-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #0b8fdc;
  color: #fff;
  font-size: 22px;
  flex: 0 0 auto;
}
.payment-services-content h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #0f172a;
  line-height: 1.6;
}
.payment-services-content p,
.payment-services-content small {
  margin: 0;
  color: #64748b;
  line-height: 1.7;
}
.payment-services-tags {
  margin: 10px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.payment-services-tags span {
  border-radius: 999px;
  padding: 6px 10px;
  background: #ffffff;
  border: 1px solid rgba(11, 143, 220, 0.16);
  color: #075985;
  font-size: 12px;
  font-weight: 800;
}
.home-info-links {
  margin: 12px 0 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.home-info-links button,
.contact-action-grid button {
  border: 0;
  border-radius: 16px;
  padding: 11px;
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 800;
}
.info-page-card h1 { margin-top: 0; }
.info-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.info-services-grid div {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.info-services-grid span { font-size: 24px; }
.info-services-grid strong { color: #0f172a; }
.info-services-grid small { color: #64748b; line-height: 1.6; }
.about-highlight-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 12px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.contact-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 14px 0;
}
@media (max-width: 420px) {
  .payment-services-home-card { padding: 12px; }
  .info-services-grid { grid-template-columns: 1fr; }
}


/* إضافات نهائية خفيفة قبل الرفع */
.app-version-line {
  margin: 6px 0 0 !important;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}
.bigger-version {
  text-align: center;
  margin-top: 16px !important;
}
.faq-card .faq-item,
.prelaunch-card .prelaunch-checklist label {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 12px;
  margin-top: 10px;
}
.faq-card .faq-item h3 {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 15px;
}
.faq-card .faq-item p {
  margin: 0;
  color: #64748b;
  line-height: 1.8;
}
.prelaunch-checklist {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}
.prelaunch-checklist label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #0f172a;
  line-height: 1.7;
  cursor: pointer;
}
.prelaunch-checklist input {
  margin-top: 5px;
  width: 16px;
  height: 16px;
  accent-color: #0b8fdc;
}



/* ترتيب كرت الوكلاء بشكل أنظف للواجهة */
.clean-payment-card {
  display: grid !important;
  gap: 12px !important;
  padding: 14px !important;
  background: linear-gradient(180deg, #f2fbff, #ffffff) !important;
}
.clean-payment-card .payment-services-head {
  display: flex;
  align-items: center;
  gap: 11px;
}
.clean-payment-card .payment-services-icon {
  width: 42px !important;
  height: 42px !important;
  border-radius: 14px !important;
  font-size: 20px !important;
}
.clean-payment-card h3 {
  font-size: 15px !important;
  line-height: 1.5 !important;
  margin: 0 0 3px !important;
}
.clean-payment-card p,
.clean-payment-card small {
  font-size: 12px !important;
  line-height: 1.7 !important;
  color: #64748b !important;
}
.payment-services-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.payment-service-group {
  background: #ffffff;
  border: 1px solid rgba(11,143,220,.14);
  border-radius: 18px;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}
.payment-service-group strong {
  flex: 1 0 100%;
  color: #0b8fdc;
  font-size: 13px;
  margin-bottom: 2px;
}
.payment-service-group span {
  border-radius: 999px;
  padding: 6px 9px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
}


/* تحسين نهائي لكرت الوكلاء حتى لا يطلع متزاحم */
.clean-payment-card {
  border-radius: 20px !important;
  padding: 13px !important;
  gap: 10px !important;
}
.payment-services-groups {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 9px !important;
}
.payment-service-group {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 7px !important;
  align-items: stretch !important;
  padding: 10px !important;
}
.payment-service-group strong {
  margin: 0 0 2px !important;
  font-size: 13px !important;
}
.payment-service-group span {
  display: block !important;
  width: 100% !important;
  border-radius: 14px !important;
  padding: 8px 10px !important;
  line-height: 1.5 !important;
  text-align: right !important;
  white-space: normal !important;
}


/* علامات تجارية */
.product-brand-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  max-width:100%;
  background:#eef7ff;
  color:#0b8fdc;
  border:1px solid #cfeaff;
  border-radius:999px;
  padding:4px 10px;
  font-size:12px;
  font-weight:800;
  margin:3px auto 6px;
}
.product-detail-brand{margin:3px 0 8px;color:#44566c;font-size:13px;}
.admin-brand-card strong{color:#0b8fdc;}

/* EBDAA FINAL PATCH styles */
.admin-brand-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;}
.admin-brand-logo{width:74px;height:74px;border-radius:18px;object-fit:contain;background:#fff;border:1px solid #d9e6f2;padding:5px;box-shadow:0 8px 18px rgba(15,23,42,.08);}
.admin-brand-logo-empty{display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:11px;}
.admin-product-brand-row{display:flex;align-items:center;justify-content:center;gap:6px;}
.admin-product-brand-row img{width:26px;height:26px;border-radius:8px;object-fit:contain;background:#fff;border:1px solid #e5eef7;}
.brand-with-logo{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;}
.brand-with-logo img{width:22px;height:22px;object-fit:contain;border-radius:7px;background:#fff;border:1px solid #d9e6f2;}
.brand-with-logo-detail{display:flex!important;align-items:center;gap:8px;}
.brand-with-logo-detail img{width:36px;height:36px;border-radius:10px;object-fit:contain;background:#fff;border:1px solid #d9e6f2;padding:3px;}
.ebdaa-invoice-text-download-final{background:#16a34a!important;color:#fff!important;}
.ebdaa-invoice-whatsapp-final{background:#22c55e!important;color:#fff!important;}
