.elementor-156250 .elementor-element.elementor-element-6cbd90c{--display:flex;}.elementor-widget .tippy-tooltip .tippy-content{text-align:center;}/* Start custom CSS for html, class: .elementor-element-6ca5dda *//* ============================================================
   AshrafulAid — Nisab / Gold & Silver Price Widget (Custom CSS)
   Pair this with nisab-widget.html.

   BRAND NOTE: colors below are based on Ashraful Aid's purple
   branding. To rebrand, change --aa-purple / --aa-gold at the top
   of .aa-nisab-page — everything else references those variables.
   ============================================================ */

.aa-nisab-page {
  --aa-purple: #5b2a86;
  --aa-purple-dark: #3d1c5c;
  --aa-purple-tint: #f2ecf8;
  --aa-gold: #c9a227;
  --aa-gold-dark: #a3811d;
  --aa-bg: #faf8f5;
  --aa-ink: #2a2a2a;
  --aa-ink-soft: #5a5a5a;
  --aa-line: #e7dff2;

  max-width: 780px;
  margin: 0 auto;
  font-family: inherit;
  color: var(--aa-ink);
  background: var(--aa-bg);
}

@media (prefers-reduced-motion: reduce) {
  .aa-nisab-page *, .aa-nisab-page *::before, .aa-nisab-page *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .aa-nisab-page #aa-trend-path { stroke-dashoffset: 0 !important; }
  .aa-nisab-page .aa-trend-dot { display: none; }
}

/* ---- Scroll reveal ---- */
.aa-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.aa-reveal.aa-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Hero ---- */
.aa-nisab-hero {
  position: relative;
  padding: 2.5rem 1.5rem 2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--aa-purple) 0%, var(--aa-purple-dark) 60%, var(--aa-purple) 100%);
  background-size: 200% 200%;
  animation: aaGradientDrift 12s ease infinite;
  color: #fff;
  margin-bottom: 2rem;
  overflow: hidden;
}

/* ---- Hero motion graphics: crescent + twinkling stars ---- */
.aa-hero-graphic {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 90px;
  height: 90px;
  opacity: 0.9;
  z-index: 1;
}
.aa-crescent-svg { width: 100%; height: 100%; }
.aa-star { transform-origin: center; animation: aaTwinkle 2.6s ease-in-out infinite; }
.aa-star-1 { animation-delay: 0s; }
.aa-star-2 { animation-delay: 1.1s; }
@keyframes aaTwinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* ---- Hero motion graphics: animated price-trend line ---- */
.aa-trend-line {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
  height: 44px;
  display: block;
  margin-top: 1.25rem;
}
#aa-trend-path {
  stroke-dasharray: 480;
  stroke-dashoffset: 480;
  animation: aaDrawLine 2.4s ease-out forwards;
}
@keyframes aaDrawLine {
  to { stroke-dashoffset: 0; }
}
.aa-trend-dot {
  offset-path: path("M0,42 C30,45 45,20 70,24 C95,28 100,10 130,14 C160,18 165,38 195,32 C225,26 235,8 265,12 C290,15 300,30 320,26");
  animation: aaTrendDotMove 2.4s ease-out forwards;
}
@keyframes aaTrendDotMove {
  0% { offset-distance: 0%; opacity: 0; }
  5% { opacity: 1; }
  100% { offset-distance: 100%; }
}

/* ---- Coin icons on result cards ---- */
.aa-result-label { display: flex; align-items: center; gap: 0.4rem; }
.aa-coin { width: 22px; height: 22px; flex-shrink: 0; animation: aaCoinSpin 7s linear infinite; }
.aa-coin-silver { animation-delay: -3.5s; }
@keyframes aaCoinSpin {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}
@keyframes aaGradientDrift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.aa-nisab-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.35), transparent 70%);
  animation: aaFloat 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes aaFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(18px) scale(1.08); }
}
.aa-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: var(--aa-gold);
  font-weight: 700;
  margin: 0 0 0.6rem;
  position: relative;
}
.aa-nisab-hero h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 1rem; position: relative; color: #fff; }
.aa-lede { font-size: 1.05rem; line-height: 1.6; color: #ece5f5; margin: 0; position: relative; max-width: 60ch; }

/* ---- Calculator card ---- */
.aa-calc-card {
  background: #fff;
  border: 1px solid var(--aa-line);
  border-radius: 14px;
  padding: 1.75rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 24px rgba(91,42,134,0.06);
}
.aa-calc-card h2 { margin-top: 0; font-size: 1.35rem; color: var(--aa-purple-dark); }
.aa-calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.5rem; }
@media (max-width: 600px) { .aa-calc-grid { grid-template-columns: 1fr; } }
.aa-metal-block label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.95rem; }
.aa-metal-block input {
  width: 100%; padding: 0.6rem 0.75rem; font-size: 1rem;
  border: 1.5px solid var(--aa-line); border-radius: 8px; box-sizing: border-box;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.aa-metal-block input:focus {
  outline: none;
  border-color: var(--aa-purple);
  box-shadow: 0 0 0 3px var(--aa-purple-tint);
}
.aa-hint { font-size: 0.82rem; color: var(--aa-ink-soft); margin: 0.4rem 0 0; }
.aa-hint a { color: var(--aa-purple); }

.aa-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (max-width: 600px) { .aa-result-grid { grid-template-columns: 1fr; } }
.aa-result {
  background: var(--aa-purple-tint);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  border: 1px solid var(--aa-line);
  transition: transform 0.2s ease;
}
.aa-result:hover { transform: translateY(-2px); }
.aa-result-label { display: block; font-size: 0.85rem; color: var(--aa-ink-soft); margin-bottom: 0.25rem; }
.aa-result-value { display: block; font-size: 1.7rem; font-weight: 700; color: var(--aa-purple-dark); font-variant-numeric: tabular-nums; }
.aa-result.gold .aa-result-value { color: var(--aa-gold-dark); }
.aa-result.silver .aa-result-value { color: var(--aa-purple-dark); }
.aa-result.aa-pulse .aa-result-value { animation: aaPulse 0.4s ease; }
@keyframes aaPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.aa-recommend {
  font-size: 0.95rem;
  background: var(--aa-purple-tint);
  border-left: 3px solid var(--aa-gold);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin: 0.5rem 0 1.25rem;
}
.aa-cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.aa-btn {
  display: inline-block; padding: 0.7rem 1.4rem; border-radius: 8px; font-weight: 600;
  text-decoration: none; font-size: 0.95rem; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.aa-btn-primary { background: var(--aa-gold); color: #2a2205; }
.aa-btn-primary:hover { background: var(--aa-gold-dark); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(201,162,39,0.35); }
.aa-btn-secondary { background: transparent; color: var(--aa-purple); border: 1.5px solid var(--aa-purple); }
.aa-btn-secondary:hover { background: var(--aa-purple-tint); transform: translateY(-2px); }
.aa-updated { font-size: 0.8rem; color: #9a9a9a; margin: 0; }

/* ---- Content ---- */
.aa-content h2 { font-size: 1.3rem; margin-top: 2rem; color: var(--aa-purple-dark); }
.aa-content p { line-height: 1.7; color: #3a3a3a; }
.aa-content a { color: var(--aa-purple); font-weight: 600; }

/* ---- Related ---- */
.aa-related { margin-top: 2.5rem; }
.aa-related h2 { color: var(--aa-purple-dark); }
.aa-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 700px) { .aa-related-grid { grid-template-columns: 1fr; } }
.aa-related-card {
  display: block; background: #fff; border: 1px solid var(--aa-line); border-radius: 10px;
  padding: 1.1rem; text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.aa-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(91,42,134,0.12);
  border-color: var(--aa-purple);
}
.aa-related-title { display: block; font-weight: 700; color: var(--aa-purple-dark); margin-bottom: 0.35rem; }
.aa-related-desc { display: block; font-size: 0.88rem; color: var(--aa-ink-soft); line-height: 1.4; }/* End custom CSS */