/* ========== START OF css ========== */
/* @import "./product-cards.css?v=2";
@import "./themes.css?v=7";
@import "./builder.css?v=4"; */

*,
*::before,
*::after {
  box-sizing: border-box;
}
:root {
  --shadow-color: var(--highlight-color);
}

html,
body {
  background: var(--main-bg);
  color: var(--main-color);
  /* transition: background 0.8s ease, color 0.3s ease; */
  background-attachment: fixed;
  padding: 0.2rem;
  max-width: 100%;
  line-height: 1.8;
}

body.theme-loaded {
  transition: background 0.8s ease, color 0.3s ease;
}

.highlight-text {
  color: var(--highlight-color);
}
@font-face {
  font-family: 'Tajawal';
  src: url('/fonts/Tajawal-ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tajawal';
  src: url('/fonts/Tajawal-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tajawal';
  src: url('/fonts/Tajawal-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tajawal';
  src: url('/fonts/Tajawal-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tajawal';
  src: url('/fonts/Tajawal-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tajawal';
  src: url('/fonts/Tajawal-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tajawal';
  src: url('/fonts/Tajawal-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
/* @font-face {
  font-family: "Shorooq Test";
  src: url("/fonts/shorooq.ttf") format("truetype");
} */
@font-face {
  font-family: "Shorooq N1";
  src: url("/fonts/shorooq-n1.woff2") format("woff2"),
       url("/fonts/shorooq-n1.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* @font-face {
  font-family: "Shorooq Test";
  src: url("/fonts/100-Shorooq_N1 font.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
} */

/* ======================= my dreams ====================== */
/* .User-Pages {
  background-color: var(--main-bg) !important;
  border-radius: 12px;
  padding: 10px;
} */

/* ======================= my dreams ====================== */
/* للمتصفحات المبنية على WebKit زي كروم وسفاري */
::-webkit-scrollbar {
  width: 10px;
  /* العرض بتاع الاسكرول الرأسي */
  height: 4px;
  /* لو كان فيه scroll أفقي */
}

/* شكل المسار اللي ورا الاسكرول */
::-webkit-scrollbar-track {
  /* أو لون الخلفية */
  background: var(--main-bg);
}

/* شكل الزرار نفسه */
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  /* لون باهت جدا */
  border-radius: 10px;
}

/* لو عايز تخفيه تقريبًا */
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.1);
  /* شفاف أكتر عند الهوفر */
}

/* ::-webkit-scrollbar {
  display: none;
} */
.fixed-header-slider {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--theme-bg-color);
  /* اللون حسب الثيم */
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-content {
  margin-top: 90px;
  /* ارتفاع السلايدر */
  padding-bottom: 50px;
}

h1,
h2,
h3,
h4 {
  margin: 0.5rem 0;
}

/* ✅ كل الأنيميشنات العامة للفيد-إن-أب */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.fade-line {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease-out;
}

.fade-line.visible {
  animation: fadeUp 0.6s ease-out forwards;
}

/* ✅ استخدام مشترك لأي عنصر فيه fadeUp */
.fade-up {
  opacity: 0;
  transform: translateY(var(--fade-from, 20px));
  animation: fadeUp var(--fade-duration, 1s) ease-out forwards;
  animation-delay: var(--fade-delay, 0s);
}

/* ✅ أنيميشن تسلسلي للكلام سطر ورا سطر */
.animated-text p {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.6s ease-out forwards;
}

.animated-text p:nth-child(1) {
  animation-delay: 0s;
}

.animated-text p:nth-child(2) {
  animation-delay: 0.4s;
}

.animated-text p:nth-child(3) {
  animation-delay: 0.8s;
}

.animated-text p:nth-child(4) {
  animation-delay: 1.2s;
}

/* ✅ سكاشن فيها fade بشكل عام */
/* .section {
  margin-bottom: 3rem;
  text-align: center;
  --fade-from: 20px;
  --fade-duration: 1.2s;
} */
/* .section.fade-up {
  يتم وراثة القيم من الـ --vars
} */

/* ✅ صور داخلة بانيميشن */
.img.fade-up {
  --fade-from: 50px;
  --fade-duration: 1.5s;
}

/* ✅ عناصر تظهر عند السحب scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

/* ✅ كروت بتدخل واحدة واحدة */
.card.fade-up {
  --fade-from: 20px;
  --fade-duration: 0.6s;
}

.card:nth-child(2) {
  --fade-delay: 0.2s;
}

.card:nth-child(3) {
  --fade-delay: 0.4s;
}

.card:nth-child(4) {
  --fade-delay: 0.6s;
}

.card:nth-child(5) {
  --fade-delay: 0.8s;
}

/* ... الجزء التالي قادم حالاً */
.cta {
  display: inline-block;
  /* background-color: white; */
  /* color: rgb(123, 31, 162); */
  padding: 1rem 2rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta:hover {
  background-color: #eee;
}

.highlight {
  font-weight: bold;
  color: #fdd835;
}

.line {
  height: 1px;
  border-radius: 2px;
  background: linear-gradient(
    15deg,
    rgb(222, 90, 69) 0%,
    rgb(255, 118, 96) 33.33%,
    rgb(249, 214, 137) 66.66%,
    rgb(255, 242, 172) 100%
  );
  margin: 30px;
  animation: fadeInUp 1.5s ease;
  opacity: 0;
  transform: translateY(50px);
  animation-fill-mode: forwards;
}

.cta-container {
  text-align: center;
  margin: 20px 0;
}

.cta-button {
  display: inline-block;
  background: #ffd700;
  color: #6a1b9a;
  border: 2px solid #6a1b9a;
  padding: 0px 30px;
  margin: 10px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.cta-button:hover {
  background: #fff;
  color: #6a1b9a;
  transform: scale(1.1);
  box-shadow: 0px 0px 10px rgba(255, 215, 0, 0.8);
}

/* خاص بالاكورديون بس مش فاكر ليه لازمه ولا لا عشان كده قفلته كان معطل الادمن بانل */
/* .panel {
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
} */

.span {
  font-weight: bold;
  /* color: rgb(15, 232, 91); */
  /* color: var(--main-color); */
  text-align: center;
}

.span-right {
  background: linear-gradient(
    15deg,
    rgb(222, 90, 69, 1) 0%,
    rgb(255, 118, 96, 1) 33.3333%,
    rgb(249, 214, 137, 1) 66.6667%,
    rgb(255, 242, 172, 1) 100%
  );
  font-weight: bold;
  background-clip: text;
  color: var(--highlight-color);
  text-align: right;
}

/* .card-background {
  background-image: linear-gradient(
    32deg,
    rgb(4, 98, 183) 0%,
    rgb(97, 110, 204) 23.5%,
    rgb(246, 108, 168) 50%,
    rgb(255, 211, 111) 75%,
    rgb(255, 253, 193) 100%
  );
  color: black;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
} */

.interaction-box {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 15px;
  margin-top: 15px;
}

.heart-button,
.share-button {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.heart-button.active {
  color: red;
  transform: scale(1.3);
}

.small-message {
  font-size: 14px;
  color: #0fe85b;
}

/* Like Animation */
.thank-you-particles {
  position: absolute;
  top: 0;
  pointer-events: none;
  z-index: 5;
}

.particle {
  position: absolute;
  font-size: 1.8rem;
  animation: flyParticle 2.5s ease-out forwards;
  opacity: 1;
  top: 0;
  pointer-events: none;
  transform: translate(0, 0) scale(1);
}

@keyframes flyParticle {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 1;
  }

  50% {
    transform: translate(var(--offset-x), calc(var(--offset-y) * 0.6))
      scale(1.4) rotate(20deg);
  }

  100% {
    transform: translate(var(--offset-x), var(--offset-y)) scale(1.6)
      rotate(45deg);
    opacity: 0;
  }
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  50% {
    transform: translateX(5px);
  }

  75% {
    transform: translateX(-5px);
  }

  100% {
    transform: translateX(0);
  }
}

.shake {
  animation: shake 0.4s;
}

#share-btn img:hover {
  transform: scale(1.5);
  transition: transform 0.2s ease;
}

#share-btn img:active {
  filter: brightness(0.7);
}

/* Dashboard CSS */
.dashboard-container {
  max-width: 100%;
  margin: auto;
  border-radius: 16px;
  /* box-shadow: 0 2px 10px rgba(229, 225, 6, 0.5); */
  /* padding: 16px; */
}
/* 
.form-container {
  width: 100%;
  max-width: 450px;
  margin: auto;
  margin-top: 20%;
  padding: 20px;
  box-shadow: 0 0 12px rgba(196, 237, 12, 0.93);
  background-image: linear-gradient(
    32deg,
    rgb(4, 98, 183) 0%,
    rgb(97, 110, 204) 23.5%,
    rgb(246, 108, 168) 50%,
    rgb(255, 211, 111) 75%,
    rgb(255, 253, 193) 100%
  );
  color: black;
  font-weight: 500;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
} */

h1 {
  text-align: center;
}

button {
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
/* box-shadow: 0px 1px 2px 0px var(--highlight-color); */

button.danger {
  background: crimson;
}
#upload-avatar {
  opacity: 0;           /* يخليه شفاف */
  position: absolute;   /* يخليه فوق الزرار */
  right: 60px;
  top: 0;
  width: 40%;
  height: 100%;
  cursor: pointer;      /* شكل الماوس pointer */
}

/* .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  margin: 0px;
  display: block;
} */

#delete-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e53935;
  /* color: white; */
  border: none;
  cursor: pointer;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

#delete-avatar {
  position: absolute;
  top: 20px;
  left: 80px;
}

#delete-avatar:hover {
  background-color: #c62828;
  /* أحمر أغمق عند الـ hover */
}

.profile-pic-container {
  position: relative;
  display: inline-block;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.profile-pic-container img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
}

.profile-pic-container input[type="file"] {
  display: block;
}
#edit-display-name-btn {
  display: block;       /* يخليه بلوك */
  margin: 1rem auto;    /* سنتر أفقياً ورفع شوية من فوق وتحت */
  padding: 0.5rem 1rem; /* حجم داخلي مناسب */
  cursor: pointer;
  font-size: 1rem;
}
#display-name-edit {
  display: none;       /* مخفي في البداية */
  margin: 1rem auto;   /* سنتر المسافة من فوق وتحت */
  gap: 0.5rem;         /* مسافة بين input و button */
  justify-content: center; /* سنتر أفقي */
  align-items: center;     /* سنتر عمودي */
  width: fit-content;      /* يكون بعرض محتواه */
}
#display-name-edit input {
  padding: 0.4rem 0.6rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}
#display-name-edit button {
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  background-color: var(--highlight-color, #2196F3);
  color: #fff;
}
#display-name-status {
  display: none;
  text-align: center;    /* سنتر النص */
  font-size: 0.9rem;
  color: green;
  margin-bottom: 0.5rem; /* مسافة من تحت للزرار */
  font-weight: bold;
}
.file-link {
  color: white;
  text-decoration: none;
}

.file-link:hover {
  color: #ffcc00;
}

/* Vision Board CSS */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-top: 2rem;
}

.vision-box-container {
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.vision-box-container:hover {
  transform: scale(1.03);
}

.vision-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  /* box-shadow: 0 2px 6px rgba(0,0,0,0.1); */
  /* transform: rotate(-1deg); */
}

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

.vision-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 8px;
  text-align: center;
}

.vision-label {
  color: #fff;
  font-size: 0.85rem;
  font-weight: bold;
  margin: 0;
}

/* =================== fancy-input ===================== */
.fancy-input {
  padding: 12px 16px;
  width: 80%;
  max-width: 400px;
  font-size: 1.1rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  outline: none;
}

.fancy-input:focus {
  border-color: #3fa888;
  box-shadow: 0 0 0 4px rgba(63, 168, 136, 0.2);
}

/* Modal CSS */
.modal {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal.hidden {
  display: none;
}

.modal-content {
  padding: 2rem;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  background-image: linear-gradient(
    32deg,
    rgb(4, 98, 183) 0%,
    rgb(97, 110, 204) 23.5%,
    rgb(246, 108, 168) 50%,
    rgb(255, 211, 111) 75%,
    rgb(255, 253, 193) 100%
  );
  color: black;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.close-button {
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
}

.image-results-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
}

.image-option {
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.image-option:hover {
  transform: scale(1.05);
}

.dream-btn.glow {
  background-color: #ffe066;
  color: black;
  padding: 5px 20px 0px 20px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-block;
  animation: pulse 1.8s infinite alternate;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0px #ffdf00;
  }

  100% {
    box-shadow: 0 0 20px #ffdf00;
  }
}

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #333;
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1000;
  font-size: 14px;
}

.toast.show {
  opacity: 1;
}


/* ============ أزرار عامة ============ */
.view-btn {
  font-family: 'Tajawal';
  src: url('/fonts/Tajawal-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  
  display: block;
  margin: 0 auto;
  padding: 8px 18px;
  border-radius: 8px;
  text-align: center;
  background: var(--button-bg);
  color: var(--button-text);
  box-shadow: var(--button-shadow);
  border: 1px solid #ffffff30;
  text-decoration: none;
  font-size: 14px;
  transition: background .2s ease, transform .2s ease;

  border: none; 
  margin-bottom: 16px; 
  font-weight: bold; 
  width: 80%; 
}

.view-btn:hover {
  /* background: #ffffff30; */
  transform: scale(1.04);
  box-shadow: 0 10px 20px -10px var(--highlight-color);
}

/* الموبايل */
@media (max-width: 480px) {
  .view-btn {
    font-size: 13px;
  }
}

/* button {
  background: var(--main-bg);
  color: var(--highlight-color);
  border: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0px 1px 2px 0px var(--highlight-color);
} */

.latest-title { 
  color: var(--highlight-color);
  font-size: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
  padding: 8px 12px;
  border-radius: 6px;
}

/* .latest-btn {
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 10px;
}

.latest-btn:hover {
  box-shadow: 0 0 10px var(--highlight-color);
} */

/* button {
  background: var(--button-bg);
  color: var(--button-text);
  border: none;
  border-radius: 8px;
  transition: all 0.3s ease;

  min-height: 48px;     
  padding: 0 16px;  
  
  display: inline-flex;  
  align-items: center;
  justify-content: center;
} */

button:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 20px -10px var(--highlight-color);
}
#toggle-theme-picker {
  background: transparent;
}

/* نلغي الهوفر عليه */
#toggle-theme-picker:hover {
  transform: none !important;
  box-shadow: none !important;
}

.whatsapp-btn {
  font-family: 'Tajawal';
  font-weight: 700;

  padding: 8px 18px;
  border-radius: 8px;
  background: var(--button-bg);
  color: var(--button-text);
  box-shadow: var(--button-shadow);
  border: 1px solid #ffffff30;
  font-size: 14px;
  cursor: pointer;

  transition: background .2s ease, transform .2s ease;
}

.whatsapp-buttons-wrap {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* ============ قائمة الثيمات العائمة ============ */
#theme-container {
  position: fixed;
  top: 0px;
  left: 50px;
  z-index: 99999;
}

#toggle-theme-picker {
  width: 44px;
  height: 44px;
  font-size: 40px;
  border: none;
  border-radius: 50%;
  cursor: move;
  background: transparent;
  touch-action: none;
  user-select: none;
}

.floating-theme-picker {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-55%);
  padding: 0;
  border-radius: 0;
  background: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-theme-picker.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
}

.theme-option {
  width: 32px;
  height: 32px;
  font-size: 20px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  margin: 10px 0px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-option.show {
  opacity: 1;
  transform: translateY(0);
}

.theme-option:hover {
  transform: scale(1.2);
}

@media (max-width: 600px) {
  #theme-container {
    top: 0px;
    left: 40px;
    touch-action: none;
    user-select: none;
  }

  .floating-theme-picker {
    flex-direction: column;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
  }

  .theme-option {
    width: 30px;
    height: 30px;
    font-size: 18px;
    margin-bottom: 10px;
  }

  #toggle-theme-picker {
    width: 40px;
    height: 40px;
    font-size: 40px;
  }
}

/* ====================================== whatsapp ===============================*/
.whatsapp-settings {
  padding: 1.5rem;
  border-radius: 12px;
  background-color: #222;
  color: white;
  margin-top: 1rem;
}

.input-field {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid #444;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 1rem 0;
}

.save-btn {
  padding: 0.6rem 1.2rem;
  background-color: #00cc99;
  color: black;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
}

.save-btn:hover {
  background-color: #00b386;
}

.status-msg {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #0f0;
}

/* ====================================== كروت ===============================*/

/* كروت */
.card {
  background: var(--main-bg);
  color: var(--main-color);
  border-radius: 20px;
  max-width: 1200px;
  margin: 1rem auto;
  padding: 1rem 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  animation: fadeUp 1.5s ease forwards;
  /* opacity: 0;
  transform: translateY(20px);
  animation-fill-mode: forwards; */
}

/* شبكة اللينكات */
/* .links-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.link-card {
  background: var(--button-bg);
  color: var(--button-text);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 500px;
  padding: 0rem 0.5rem;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
} */

.link-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  filter: brightness(1.05);
}

.link-card .icon {
  font-size: 1.2rem;
}

/* .link-card .text {
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 14px;
} */

.profile-card {
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;   
  gap: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
  border-radius: 12px;
  box-shadow: 0px 4px 12px 4px rgba(7, 7, 7, 0.31);
  margin-top: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;

  /* width: 100%;
  margin: 0 auto;
  border-radius: 14px;
  backdrop-filter: 
    blur(var(--card-blur)) 
    saturate(var(--card-saturation));
  background: rgba(0, 0, 0, var(--card-opacity));
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  padding: 1rem;
  z-index: 50;
  position: relative; */
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  margin: 0px;
  display: block;
}

.info {
  flex: 1;
  min-width: 200px;
}

.name-row {
  /* display: flex; */
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.name-row h2 {
  font-size: 1.3rem;
  margin: 0;
}

.follow-buttons {
  display: flex;
  gap: 0.5rem;
}

/* .bio {
  margin: 0.2rem 0;
  font-size: 0.95rem;
  color: var(--main-color);
  white-space: pre-wrap;
  line-height: 1.8;
}

.followers-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.flat {
  background: transparent;
  border: 1px solid var(--main-color);
  color: var(--main-color);
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
} */

@media (max-width: 600px) {
  .profile-card {
    flex-direction: column;
    text-align: center;
  }

  .name-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .followers-line {
    flex-direction: column;
    align-items: center;
  }
}

.profile-bio-section.styled-box {
  padding: 1.5rem;
  border-radius: 12px;
  background-color: #1c1c1e;
  color: white;
  margin-top: 1rem;
  box-shadow: 0 0 10px #00000033;
  border: 1px solid #2c2c2e;
}

.section-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  /* color: #00cc99; */
}

/* .bio-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bio-text {
  padding: 1rem; 
  margin: auto;
  border-radius: 10px;
  min-height: 80px;
  text-align: justify;
  border: 1px solid #333;
}

.bio-textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.6;
  resize: vertical;
  min-height: 100px;
}

.edit-btn {  display: block;
  margin: 0 auto;
  padding: 8px 18px;
  border-radius: 8px;
  text-align: center;
  background: var(--button-bg);
  color: var(--button-text);
  box-shadow: var(--button-shadow);
  border: 1px solid #ffffff30;
  text-decoration: none;
  font-size: 14px;
  transition: background .2s ease, transform .2s ease;

  border: none; 
  margin-bottom: 16px; 
  font-weight: bold; 
  width: 80%; 
} */

.edit-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 20px -10px var(--highlight-color);
}

.save-btn {
  padding: 0.6rem 1.2rem;
  background-color: var(--main-bg);
  color: var(--highlight-color);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
}

.save-btn:hover {
  /* background-color: #00b386; */
  transform: scale(1.04);
  box-shadow: 0 10px 20px -10px var(--highlight-color);
}

.hidden {
  display: none;
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

@keyframes fadeout {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

#delete-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e53935;
  /* أحمر */
  /* color: white; */
  border: none;
  cursor: pointer;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

#delete-avatar:hover {
  background-color: #c62828;
  /* أحمر أغمق عند الـ hover */
}

/* .profile-pic-container {
  position: relative;
  display: inline-block;
} */

#delete-avatar {
  position: absolute;
  top: 20px;
  left: 80px;
}

.custom-file-upload {
  display: flex;
  align-items: center;
  gap: 10px;
}

#custom-upload-btn {
  padding: 6px 15px;
  border-radius: 8px;
  background-color: #28a745;
  border: none;
  /* color: white; */
  cursor: pointer;
  font-weight: bold;
}

#file-name {
  font-size: 0.9rem;
  color: #555;
}

.referral-box {
  /* background: #f8f8f8; */
  border-radius: 12px;
  /* padding: 1.5rem; */
  /* margin-top: 2rem; */
  /* box-shadow: 0 4px 12px rgba(0,0,0,0.05); */
}

.referral-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.1rem;
  line-height: 2.2;
}

/* أنيميشن الخلفية المتحركة */
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.loader {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: large;
  font-weight: bold;
  /* border: 2px solid #f3f3f3; */
  /* border-top: 2px solid 000000; */
  /* border-radius: 50%; */
  /* width: 16px; */
  /* height: 16px; */
  /* animation: spin 1s linear infinite; */
  /* display: inline-block; */
  /* vertical-align: middle; */
  /* margin-right: 10px; */
}
#loader {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: large;
  font-weight: bold;
  color: var(--highlight-color);
}

/* ====================  ميتا البروفايل ======================== */

.profile-seo-section {
  background-color: var(--main-bg);
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.profile-seo-section .form-group {
  margin-bottom: 1.5rem;
}

.profile-seo-section label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.profile-seo-section input,
.profile-seo-section textarea {
  width: 100%;
  padding: 0.7rem;
  font-size: 1rem;
  /* border: 1px solid #ddd; */
  border-radius: 6px;
}

.profile-seo-section small {
  color: var(--main-bg);
  display: block;
  margin-top: 0.3rem;
  font-size: 0.9rem;
}

.profile-seo-section .note {
  /* text-align: right; */
  font-size: 0.95rem;
  color: var(--main-bg);
  margin-bottom: 1rem;
  /* background: #fff8e1; */
  padding: 0.8rem;
  border-right: 4px solid #ffc107;
  border-radius: 6px;
}

/* ====================  ميتا البروفايل ======================== */
/* ============  سويتش نشر التوكيدات للعام ============ */
.real-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 20px;
  margin-left: 10px;
}

.real-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.real-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 28px;
}

.real-slider::before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.real-switch input:checked + .real-slider {
  background-color: #4caf50;
}

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

.switch-label {
  font-size: 0.9rem;
  vertical-align: middle;
}

/* ****************************************************
*********************************************
************************************************************* */

/* ========== END OF landingPages.css ========== */

.img {
  animation: fadeInUp 1.5s ease;
  opacity: 0;
  transform: translateY(50px);
  animation-fill-mode: forwards;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

.card:nth-child(2) {
  animation-delay: 0.2s;
}

.card:nth-child(3) {
  animation-delay: 0.4s;
}

.card:nth-child(4) {
  animation-delay: 0.6s;
}

.card:nth-child(5) {
  animation-delay: 0.8s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =================== accordion ====================== */
.accordion {
  color: var(--main-color);
  cursor: pointer;
  padding: 1rem;
  width: 100%;
  border: none;
  text-align: right;
  outline: none;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  border-radius: 5px;
  margin-bottom: 10px;
}

/* .accordion:hover {
  background-color: #e2e2e2;
}

.accordion.active {
  background-color: #ddd;
} */
.accordion {
  /* border: 1px solid #ddd; */
  border-radius: 6px;
  margin-bottom: 10px;
  overflow: hidden;
}
.accordion-header {
  /* background: #4CAF50; */
  /* color: white; */
  padding: 10px 15px;
  cursor: pointer;
  user-select: none;
  font-weight: bold;
}
.accordion-content {
  /* max-height: 0; */
  overflow: hidden;
  transition: max-height 0.3s ease;
  /* background: #f9f9f9; */
  padding: 0 15px;
}
.accordion.open .accordion-content {
  max-height: 300px; /* كبير كفاية ليظهر المحتوى */
  padding: 15px;
}
.options label {
  display: block;
  margin: 8px 0;
  cursor: pointer;
  font-size: 16px;
}

/* ==================== كارت قلب =================== */
/* كارت قلب */
/* .card {
  width: 100%;
  margin: 15px auto 15px;
  perspective: 1000px;
  cursor: pointer;
} */
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}
.card.flipped .card-inner {
  transform: rotateY(180deg);
}
.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 8px;
  user-select: none;
}
.card-front {
  /* background: #4CAF50; */
  color: var(--main-color);
}
.card-back {
  /* background: white; */
  /* color: #333; */
  transform: rotateY(180deg);
  /* border: 1px solid #ddd; */
  overflow-y: auto;
  padding: 10px;
  text-align: center;
}
/* ====================  تنسيق المتجر STORE ======================== */
/* 
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.product-card {
  border: 1px solid var(--highlight-color);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  perspective: 1000px;

  transition: transform 0.2s ease;
}
.product-card-inner {
  transform-style: preserve-3d;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
  background: var(--bg-primary);
  border-radius: 12px;
  padding: 12px;
}
.product-card:hover {
  transform: scale(1.02);
}

.product-drunken {
  animation: drunkFull 2.6s ease-out;
}

@keyframes drunkFull {
  0%   { transform: rotateX(14deg) rotateY(14deg) scale(1.06); }
  10%  { transform: rotateX(-10deg) rotateY(-9deg) scale(0.97); }
  22%  { transform: rotateX(7deg) rotateY(-7deg) scale(1.03); }
  35%  { transform: rotateX(-7deg) rotateY(7deg) scale(1.02); }
  48%  { transform: rotateX(5deg) rotateY(-5deg) scale(0.99); }
  61%  { transform: rotateX(-4deg) rotateY(4deg) scale(1.01); }
  74%  { transform: rotateX(3deg) rotateY(-3deg) scale(1); }
  87%  { transform: rotateX(-2deg) rotateY(2deg) scale(1); }
  100% { transform: rotateX(0deg) rotateY(0deg) scale(1); }
}

.product-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
}

.product-title {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  min-height: 2.6em;
  line-height: 1.3em;
  display: -webkit-box;
  display: box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  box-orient: vertical;
  overflow: hidden;
}

.product-price {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;        
  width: 100%;      
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--highlight-color);
  direction: ltr;         
}
.product-price .discount-price {
  color: var(--highlight-color);
  font-weight: bold;
}

.product-price .old-price {
  text-decoration: line-through;
  color: #e60023; 
  font-size: 1.0rem;
}

.product-link {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--main-bg);
  border-radius: 12px;
  text-decoration: none;
} 
*/

/* ====================  تنسيق المتجر STORE ======================== */
/* ====================        sidebar      ======================== */

/* sidebar */
.sidebar {
  border-radius: 8px;
  padding: 1rem;
  margin-top: 10%;
  min-height: auto;
  position: sticky;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  overflow: visible !important;
  top: 0;
}

@media (max-width: 900px) {
  .layout-wrapper {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
  }
}

/* ====================        ads-column   ======================== */

.ads-column {
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible;
  gap: 1rem;
}

.ad-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}

.ad-title {
  font-weight: bold;
  font-size: 0.95rem;
  margin: 0.5rem 0 0.2rem;
}

.ad-price {
  color: var(--highlight-color);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

/* ====================    ad-box.animate   ======================== */

.ad-card {
  background: var(--bg-primary);
  padding: 8px;
  border-radius: 10px;
  width: 100%;
  min-height: 180px;
  text-align: center;
  
  /* 3D */
  transform-style: preserve-3d;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  will-change: transform;

  /* أنيميشن النبض */
  border: 1px solid var(--highlight-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  animation: pulseGlow 5s infinite;
}

.ad-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.ad-card-inner {
  transform-style: preserve-3d;
  will-change: transform;
}

/* هوفر */
.ad-card:hover {
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  animation: none !important;
}

  /* العناصر بتطلع لقدام */
  .ad-card img,
  .ad-title,
  .ad-price {
    transform: translateZ(20px);
  }

  @keyframes pulseGlow {
    0%, 100% {
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    5% {
      box-shadow: 0 0 18px var(--highlight-color);
    }
  }
  
/* @keyframes pulseZoom {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 165, 0, 0);
  }
  5% {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.35);
  }
  10% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 165, 0, 0);
  }
} */

/* ======================= account container ==================== */
.account-container {
  margin-top: 50px;
  /* padding: 20px;
  text-align: center; */
}


/* ================== latest products ================= */
#latest-products-container {
  display: flex;
  gap: 16px;
  overflow-x: auto; /* خلي السكول شغال */
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory; /* إضافة snap عشان الكارد يتمركز */
}
.latest-cards-wrapper {
  display: flex;
  animation: slide 12s linear infinite; /* لوب مستمر */
}
#latest-products-container::-webkit-scrollbar {
  display: none; /* نخفي البار */
}

@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* لو نسخت الكروسات للنصف الثاني */
}

.latest-card {
  flex: 0 0 100%;
  scroll-snap-align: center;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.latest-products{
  /* margin-top: 150px; */
  font-size: 1.0rem;
  font-weight: bold;
  color: var(--main-color);
  text-align: center;
}
.latest-image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
}

.latest-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.latest-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,1.0), transparent);
  color: white;
  text-align: center;
}

/* Responsive */
@media (min-width: 768px) {
  .latest-card {
    flex: 0 0 100%;
  }
}
@media (min-width: 1200px) {
  .latest-card {
    flex: 0 0 100%;
  }
}


h1, h2, h3, strong{color: var(--highlight-color);}


  /* ******************** search box ****************** */
  .search-box {
    position: relative;
    margin-bottom: 2rem;
  }
  
  /* خانة البحث */
  #blog-search {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #444;
    background: var(--main-bg);
    color: var(--highlight-color);
  }
  
  /* شبكة البحث */
  #search-results {
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 15px;
    width: 100%;
  }
  
  /* الكارد الخارجي هو اللي بيلف ويتحرك */
  .search-item {
    text-decoration: none;
    color: var(--highlight-color);
    perspective: 900px;
  }
  /* .search-item {
    display: flex;
    flex-direction: column;
    background: var(--main-bg);
    border: 1px solid var(--highlight-color);
    border-radius: 10px;
    padding: 10px;
    text-decoration: none;
    color: #eee;
    transition: 0.2s ease;
    perspective: 1000px;
    height: 260px;
  } */
  
  /* الكارد الداخلي هو الشكل الحقيقي */
  .search-card-inner {
    background: var(--main-bg);
    border: 1px solid var(--highlight-color);
    border-radius: 12px;
    padding: 10px;
    transition: 
      transform 0.25s ease,
      box-shadow 0.25s ease,
      background 0.2s ease;
    transform-style: preserve-3d;
  }
  
  .search-item:hover .search-card-inner {
    background: #2a2a2a;
    box-shadow: 0 0 14px var(--highlight-color);
    transform: translateY(-3px);
  }
  
  /* الصورة */
  .search-card-inner img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  
  /* النصوص */
  .search-item-title {
    font-weight: bold;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 1.2em;
  }
  
  .search-item-desc {
    font-size: 0.85rem;
    color: var(--highlight-color);
    line-height: 1.4;
    
    /* النسخة القياسية (علشان VSCode يسكت) */
    line-clamp: 3;
  
    /* النسخة اللي بتشتغل فعليًا */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* عدد السطور */
    -webkit-box-orient: vertical;
  
    height: 4.6em;
  }



    /* ============================== الإيميلات والاتمتة =========================== */
    /* ===== عنوان الصفحة ===== */
    #audience h1 { text-align: center; color: #4eff9b; margin-bottom: 25px; font-size: 32px; font-weight: bold; }

    /* ===== الكونترولز ===== */
    .audience-controls { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; background: rgba(255,255,255,0.05); padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); }

    .audience-controls input, .audience-controls select { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); padding: 10px; border-radius: 8px; color: #fff; font-size: 14px; }

    /* ===== كروت المستخدم ===== */
    .aud-list { display: flex; flex-direction: column; gap: 14px; padding-right: 4px; max-height: 60vh; overflow-y: auto; }

    /* Scroll */
    .aud-list::-webkit-scrollbar { width: 6px; }
    .aud-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; }

    .aud-item { background: rgba(255,255,255,0.08); border-radius: 12px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; border: 1px solid rgba(255,255,255,0.15); transition: 0.15s; }

    .aud-item:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

    /* اسم المستخدم */
    .aud-item strong { color: #4eff9b; font-size: 17px; }

    /* الإيميل + uid */
    .aud-item .meta { color: #ddd; margin-top: 4px; font-size: 13px; }

    /* ===== التاجز ===== */
    .tag { display: inline-block; padding: 6px 10px; background: rgba(76, 255, 155, 0.15); border: 1px solid rgba(76, 255, 155, 0.4); border-radius: 8px; margin-right: 6px; font-size: 12px; color: #4eff9b; cursor: pointer; transition: 0.2s; }

    .tag:hover { background: rgba(76, 255, 155, 0.3); }

    /* ===== الأزرار الصغيره ===== */
    .aud-item button { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 8px 12px; border-radius: 8px; cursor: pointer; transition: 0.15s; font-size: 13px; font-weight: bold; }

    .aud-item button:hover { background: rgba(255,255,255,0.2); }

    /* ===== زر تحميل المزيد ===== */
    .load-more-btn { padding: 12px 18px; border-radius: 10px; background: linear-gradient(45deg, #0095ff, #00c8ff); color: white; font-weight: bold; border: none; cursor: pointer; margin: 15px auto; display: block; width: 200px; text-align: center; font-size: 15px; box-shadow: 0 0 10px rgba(0,200,255,0.4); transition: 0.15s; }

    .load-more-btn:hover { transform: scale(1.04); box-shadow: 0 0 14px rgba(0,200,255,0.6); }

    /* ============================== انشاء حملات =========================== */
    .campaign-box {
      display: flex;
      flex-direction: column;
      gap: 12px;
      background: rgba(255,255,255,0.06);
      padding: 18px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,0.12);
    }
    
    #createCampaign input,
    #createCampaign select,
    #createCampaign textarea {
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.25);
      padding: 10px;
      border-radius: 8px;
      color: white;
      font-size: 15px;
    }
    
    .actions {
      display: flex;
      gap: 10px;
      margin-top: 10px;
    }
    
    #camp-save {
      background: #444;
      padding: 12px 18px;
      border-radius: 8px;
      border: none;
      cursor: pointer;
      color: white;
      font-weight: bold;
    }
    
    #camp-send {
      background: #00c853;
      padding: 12px 18px;
      border-radius: 8px;
      border: none;
      cursor: pointer;
      color: white;
      font-weight: bold;
    }

    /* ============================== campaigns-list =========================== */
    .camp-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 15px;
      background: rgba(255,255,255,0.05);
      border-radius: 10px;
      overflow: hidden;
    }
    
    .camp-table th, .camp-table td {
      padding: 12px 14px;
      text-align: right;
      color: white;
    }
    
    .camp-table th {
      background: rgba(255,255,255,0.1);
      font-weight: bold;
    }
    
    .camp-table tr:nth-child(even) {
      background: rgba(255,255,255,0.07);
    }
    
    .camp-table button {
      background: rgba(255,255,255,0.15);
      border: none;
      padding: 6px 10px;
      border-radius: 6px;
      cursor: pointer;
      color: white;
      font-size: 13px;
      margin-left: 6px;
    }
    
    .camp-table button:hover {
      background: rgba(255,255,255,0.25);
    }
    
    /* ================= مودال audience selector ================== */

    #aud-choice-modal {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.55);
      backdrop-filter: blur(4px);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 999999;
    }

    #aud-choice-modal.hidden {
      display: none !important;
    }

    .aud-modal {
      background: rgba(22,22,22,0.95);
      padding: 25px;
      width: 90%;
      max-width: 480px;
      border-radius: 14px;
      border: 1px solid rgba(255,255,255,0.15);
      color: white;
      text-align: center;
    }

    .aud-modal-list {
      max-height: 300px;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin: 20px 0;
    }

    .aud-modal-list button {
      padding: 10px 14px;
      background: rgba(255,255,255,0.08);
      color: white;
      border-radius: 10px;
      border: none;
      cursor: pointer;
      font-size: 15px;
      transition: 0.2s;
    }

    .aud-modal-list button:hover {
      background: rgba(76,255,155,0.25);
    }

    .close-btn {
      background: #ff4d4d;
      border: none;
      padding: 10px 18px;
      border-radius: 8px;
      /* color: white; */
      cursor: pointer;
      font-size: 14px;
    }

    body.page-transition #store-grid {
      opacity: 1 !important;
      transform: none !important;
    }
    
    


/* ازرار البوتوم شيت البيلدر */
    .add-block-wrapper {
      position: fixed;
      bottom: 64px; /* 👈 مرفوعين عن الأرض */
      left: 65%;
      transform: translateX(-50%);
      display: flex;
      gap: 12px;
      /* z-index: 99999; */
    }
    
    /* الزرين نفس بعض */
    .add-btn {
      font-family: 'Tajawal';
      src: url('/fonts/Tajawal-Bold.woff2') format('woff2');
      font-weight: 700;
      font-style: normal;
      font-display: swap;
      
      display: block;
      margin: 0 auto;
      padding: 8px 18px;
      border-radius: 8px;
      text-align: center;
      background: var(--button-bg);
      color: var(--button-text);
      box-shadow: 0 8px 10px -10px var(--highlight-color);
      border: 1px solid #ffffff30;
      text-decoration: none;
      font-size: 14px;
      transition: background .2s ease, transform .2s ease;
    
      border: none; 
      margin-bottom: 16px; 
      font-weight: bold; 

    /* box-shadow: 0 8px 20px rgba(0, 0, 0, .65), 0 0 14px rgba(46, 75, 255, .4); */
      /* width: 80%;  */
    }
    
    .add-btn:hover {
      transform: scale(1.04);
      box-shadow: 0 10px 20px -10px var(--highlight-color);
    }

/* ============================= Monce Nudge System ============================== */
/* .coach-tooltip {
  position: absolute;
  z-index: 9999;
  max-width: 260px;
}
.coach-tooltip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #ffffffe8 transparent transparent transparent;
}

.coach-content {
  background: var(--main-bg);
  color: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  box-shadow: 0 10px 30px var(--highlight-color);
}

.coach-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.coach-actions button {
  font-size: 0.75rem;
  background: none;
  border: none;
  color: var(--highlight-color);
  cursor: pointer;
}

.hidden {
  display: none;
} */
