/* src/styles.css */
:root {
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;
  --primary-gradient:
    linear-gradient(
      135deg,
      #1d4ed8 0%,
      #2563eb 50%,
      #3b82f6 100%);
  --primary-gradient-subtle:
    linear-gradient(
      135deg,
      rgba(29, 78, 216, 0.08) 0%,
      rgba(59, 130, 246, 0.03) 100%);
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --bg-hover: #f1f5f9;
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(226, 232, 240, 0.7);
  --border-light: #f1f5f9;
  --border-color: #e2e8f0;
  --border-dark: #cbd5e1;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;
  --success: #10b981;
  --success-bg: #ecfdf5;
  --success-border: #a7f3d0;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --warning-border: #fde68a;
  --danger: #ef4444;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;
  --star-filled: #f59e0b;
  --star-empty: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.03);
  --shadow-sm: 0 2px 6px -1px rgba(15, 23, 42, 0.04), 0 1px 3px -1px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 6px 18px -3px rgba(15, 23, 42, 0.06), 0 2px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -3px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 35px -6px rgba(15, 23, 42, 0.1), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
  --shadow-glow-blue: 0 10px 25px -4px rgba(37, 99, 235, 0.28);
  --shadow-glow-subtle: 0 4px 20px -2px rgba(29, 78, 216, 0.12);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --transition-fast: 0.18s var(--ease-smooth);
  --transition-normal: 0.28s var(--ease-smooth);
  --transition-slow: 0.42s var(--ease-smooth);
  --transition-spring: 0.35s var(--ease-spring);
  --container-width: 1280px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  max-width: 100vw;
  overflow-x: clip;
}
body {
  font-family:
    "Cairo",
    "Plus Jakarta Sans",
    system-ui,
    -apple-system,
    sans-serif;
  background-color: var(--bg-page);
  background-image:
    radial-gradient(
      at 10% 10%,
      rgba(37, 99, 235, 0.03) 0px,
      transparent 50%),
    radial-gradient(
      at 90% 90%,
      rgba(59, 130, 246, 0.03) 0px,
      transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.65;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  max-width: 100vw;
  overflow-x: clip;
  position: relative;
}
body.lang-en {
  font-family:
    "Plus Jakarta Sans",
    system-ui,
    -apple-system,
    sans-serif;
  direction: ltr;
  text-align: left;
}
body.lang-ar {
  font-family:
    "Cairo",
    system-ui,
    -apple-system,
    sans-serif;
  direction: rtl;
  text-align: right;
}
::selection {
  background-color: var(--primary-100);
  color: var(--primary-900);
}
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: all var(--transition-fast);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
input,
select,
textarea {
  font-family: inherit;
  color: inherit;
}
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
@media (max-width: 480px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
@media (max-width: 360px) {
  .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}
.main-content {
  min-height: calc(100vh - 440px);
}
@media (max-width: 992px) {
  .main-content {
    padding-bottom: 75px;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.925rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  cursor: pointer;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
  position: relative;
  overflow: hidden;
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-primary:hover {
  background:
    linear-gradient(
      135deg,
      #1e40af 0%,
      #1d4ed8 50%,
      #2563eb 100%);
  box-shadow: var(--shadow-glow-blue);
  transform: translateY(-2px);
}
.btn-primary:active {
  transform: translateY(0) scale(0.98);
}
.btn-secondary {
  background-color: var(--primary-50);
  color: var(--primary-700);
  border: 1.5px solid var(--primary-200);
}
.btn-secondary:hover {
  background-color: var(--primary-100);
  color: var(--primary-800);
  border-color: var(--primary-300);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}
.btn-secondary:active {
  transform: translateY(0) scale(0.98);
}
.btn-outline {
  background-color: #ffffff;
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-xs);
}
.btn-outline:hover {
  background-color: var(--bg-surface-alt);
  border-color: var(--border-dark);
  color: var(--primary-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-outline:active {
  transform: translateY(0) scale(0.98);
}
.btn-ghost {
  background-color: transparent;
  color: var(--text-secondary);
}
.btn-ghost:hover {
  background-color: var(--bg-surface-alt);
  color: var(--text-primary);
}
.btn-buy-now {
  background:
    linear-gradient(
      135deg,
      #f59e0b 0%,
      #d97706 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-buy-now:hover {
  background:
    linear-gradient(
      135deg,
      #d97706 0%,
      #b45309 100%);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
  transform: translateY(-2px);
}
.btn-buy-now:active {
  transform: translateY(0) scale(0.98);
}
.btn-whatsapp {
  background:
    linear-gradient(
      135deg,
      #25D366 0%,
      #128C7E 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-whatsapp:hover {
  background:
    linear-gradient(
      135deg,
      #128C7E 0%,
      #075E54 100%);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}
.btn-whatsapp:active {
  transform: translateY(0) scale(0.98);
}
.btn-sm {
  font-size: 0.825rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
}
.btn-lg {
  font-size: 1.05rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-md);
}
.btn-icon {
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-full);
  line-height: 1.1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-fast);
}
.badge-discount {
  background: #e11d48;
  color: #ffffff;
  border: none;
  font-weight: 800;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.4);
}
.badge-new {
  background: #ffffff;
  color: #047857;
  border: 1.5px solid #10b981;
  font-weight: 800;
}
.badge-used {
  background: #ffffff;
  color: #b45309;
  border: 1.5px solid #f59e0b;
  font-weight: 800;
}
.badge-battery {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.badge-battery i {
  color: #34d399;
}
.badge-accessory {
  background: #eff6ff;
  color: var(--primary-700);
  border: 1px solid var(--primary-300);
  font-weight: 700;
}
.badge-free-shipping {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-weight: 800;
}
.badge-guaranteed {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  font-weight: 800;
}
.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
}
.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}
.form-control {
  width: 100%;
  padding: 0.72rem 1.1rem;
  font-size: 0.925rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-500);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.form-control:hover:not(:focus) {
  border-color: var(--border-dark);
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
@keyframes pulseSoft {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.9;
  }
}
@keyframes liveDotPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}
@keyframes shimmerEffect {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--success, #10b981);
  display: inline-block;
  animation: liveDotPulse 2s infinite ease-in-out;
}
.animate-fade-in {
  animation: fadeIn 0.35s var(--ease-smooth) forwards;
}
.animate-float {
  animation: float 4s ease-in-out infinite;
}
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-surface-alt);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  vertical-align: middle;
  -webkit-user-select: none;
  user-select: none;
}
.material-symbols-outlined.icon-filled {
  font-variation-settings:
    "FILL" 1,
    "wght" 500,
    "GRAD" 0,
    "opsz" 24;
}
.material-symbols-outlined.icon-sm {
  font-size: 18px;
}
.material-symbols-outlined.icon-lg {
  font-size: 26px;
}
:root {
  --admin-sidebar-bg: #090d16;
  --admin-sidebar-surface: #111827;
  --admin-sidebar-hover: #1e293b;
  --admin-sidebar-border: #1e293b;
  --admin-sidebar-text: #94a3b8;
  --admin-sidebar-text-active: #ffffff;
  --admin-sidebar-active-glow: rgba(37, 99, 235, 0.15);
  --admin-topbar-height: 64px;
  --admin-sidebar-width: 260px;
  --admin-sidebar-collapsed-width: 72px;
  --admin-content-max-width: 1600px;
  --admin-page-padding: 1.75rem 2rem;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --status-pending-bg: #fffbeb;
  --status-pending-color: #b45309;
  --status-pending-border: #fde68a;
  --status-pending-dot: #f59e0b;
  --status-processing-bg: #eff6ff;
  --status-processing-color: #1d4ed8;
  --status-processing-border: #bfdbfe;
  --status-processing-dot: #3b82f6;
  --status-shipped-bg: #f5f3ff;
  --status-shipped-color: #6d28d9;
  --status-shipped-border: #ddd6fe;
  --status-shipped-dot: #8b5cf6;
  --status-delivered-bg: #ecfdf5;
  --status-delivered-color: #047857;
  --status-delivered-border: #a7f3d0;
  --status-delivered-dot: #10b981;
  --status-cancelled-bg: #fef2f2;
  --status-cancelled-color: #b91c1c;
  --status-cancelled-border: #fecaca;
  --status-cancelled-dot: #ef4444;
}
.btn-sm {
  height: 34px !important;
  padding: 0 0.85rem !important;
  font-size: 0.8125rem !important;
  border-radius: 8px !important;
  gap: 0.45rem !important;
  line-height: 1 !important;
}
.btn-md {
  height: 38px !important;
  padding: 0 1.15rem !important;
  font-size: 0.875rem !important;
  border-radius: 8px !important;
  gap: 0.5rem !important;
  line-height: 1 !important;
}
.btn-lg {
  height: 44px !important;
  padding: 0 1.45rem !important;
  font-size: 0.9375rem !important;
  border-radius: 10px !important;
  gap: 0.6rem !important;
  line-height: 1 !important;
}
.btn-icon {
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  flex-shrink: 0 !important;
}
.btn-icon-sm {
  width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px !important;
  font-size: 0.825rem !important;
  flex-shrink: 0 !important;
}
.card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.04), 0 1px 2px -1px rgba(15, 23, 42, 0.02);
  transition: border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover {
  border-color: #cbd5e1;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.775rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  height: 26px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  line-height: 1;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}
.status-pill .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-pill.status-pending {
  background: var(--status-pending-bg);
  color: var(--status-pending-color);
  border-color: var(--status-pending-border);
}
.status-pill.status-pending .status-dot {
  background: var(--status-pending-dot);
  box-shadow: 0 0 5px var(--status-pending-dot);
}
.status-pill.status-processing {
  background: var(--status-processing-bg);
  color: var(--status-processing-color);
  border-color: var(--status-processing-border);
}
.status-pill.status-processing .status-dot {
  background: var(--status-processing-dot);
  box-shadow: 0 0 5px var(--status-processing-dot);
}
.status-pill.status-shipped {
  background: var(--status-shipped-bg);
  color: var(--status-shipped-color);
  border-color: var(--status-shipped-border);
}
.status-pill.status-shipped .status-dot {
  background: var(--status-shipped-dot);
  box-shadow: 0 0 5px var(--status-shipped-dot);
}
.status-pill.status-delivered {
  background: var(--status-delivered-bg);
  color: var(--status-delivered-color);
  border-color: var(--status-delivered-border);
}
.status-pill.status-delivered .status-dot {
  background: var(--status-delivered-dot);
  box-shadow: 0 0 5px var(--status-delivered-dot);
}
.status-pill.status-cancelled {
  background: var(--status-cancelled-bg);
  color: var(--status-cancelled-color);
  border-color: var(--status-cancelled-border);
}
.status-pill.status-cancelled .status-dot {
  background: var(--status-cancelled-dot);
  box-shadow: 0 0 5px var(--status-cancelled-dot);
}
.skeleton {
  background:
    linear-gradient(
      90deg,
      #f1f5f9 25%,
      #e2e8f0 50%,
      #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmerEffect 1.5s infinite linear;
  border-radius: var(--radius-sm);
}
.skeleton-text {
  height: 14px;
  width: 80%;
  margin-bottom: 0.35rem;
}
.skeleton-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.skeleton-card {
  height: 110px;
  border-radius: var(--radius-lg);
}
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
  animation: fadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.admin-modal-container {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.05);
  border: 1px solid #e2e8f0;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalPop {
  0% {
    transform: scale(0.96) translateY(8px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}
.role-banner-readonly {
  background:
    linear-gradient(
      90deg,
      #fffbeb,
      #fef3c7);
  border-bottom: 1px solid #fde68a;
  color: #92400e;
  padding: 0.5rem 1.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.role-banner-readonly i {
  color: #d97706;
}
@media (max-width: 640px) {
  .admin-modal-overlay {
    padding: 0.5rem;
  }
  .admin-modal-container {
    max-height: 96vh;
    border-radius: 14px;
  }
  .role-banner-readonly {
    padding: 0.65rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
