[dir="rtl"] .axia-ta-wrap *, [dir="rtl"] .single-ta-container * {
  font-family: "Tajawal" !important;
}

.axia-ta-wrap {
  padding: 20px 0 100px 0;
}

.axia-ta-heading {
  font-family: 'Gilroy';
  font-weight: 600;
  color: var(--text-color);
  font-size: 72px;
  text-align: center;
  margin-bottom: 50px;
}

.axia-ta-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(0deg, #FFF 0%, #FFF 100%), rgba(0, 0, 0, 0.00);
  box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
  max-width: 1200px;
  margin: 0 auto;
}

.axia-ta-controls-title {
  font-size: 18px;
  color: rgba(55, 65, 81);
}

.axia-ta-controls-title svg {
  color: #2563eb;
  width: 16px;
  height: 16px;
}

.axia-ta-filters {
  display: flex;
  gap: 10px;
}

.axia-ta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.axia-ta-grid .ta-card {
  border-radius: 19.708px;
  background: #ffffff;
  box-shadow: 1.314px 1.314px 19.708px 0 rgba(0, 0, 0, 0.15);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.ta-card {
  transition: box-shadow 0.2s ease;
}

.ta-card:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.ta-card-link {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ta-card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.axia-ta-grid .ta-card img {
  border-radius: 10px;
  object-fit: cover;
  width: 100%;
}

.ta-card .ta-title {
  color: #000000;
  font-size: 22px;
  font-weight: 600;
  font-family: 'Gilroy';
}

.ta-card:hover .ta-title {
  color: #2563eb;
}

.ta-card .ta-excerpt {
  color: #000000;
  font-size: 16px;
  font-family: 'Gilroy';
  margin-bottom: 15px;
}

.ta-card-date, .single-ta-date {
  margin-top: 10px;
  color: #6b7280;
}

[dir="rtl"] .single-ta-date {
  display: flex;
  align-items: center;
}

[dir="rtl"] .single-ta-date {
  display: block;
  margin: 0 auto;
}

.ta-card-date svg, .single-ta-date svg, .analysis-date svg {
  height: 16px;
  width: 16px;
  margin-right: 5px;
}

[dir="rtl"] .ta-card-date svg, .single-ta-date svg {
  margin-right: auto;
  margin-left: 5px;
}

.ta-card-tags {
  display: flex;
  gap: 15px;
  margin: 10px 0;
}

.ta-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}

.ta-card-tags .ta-meta {
  font-family: 'Gilroy';
  display: flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: 11px;
  text-transform: capitalize;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  background-color: #D5D9E5;
}

.ta-card-tags .ta-meta svg , .tag svg{
  height: 14px;
  width: 14px;
  margin-right: 5px;
}

[dir="rtl"] .ta-card-tags .ta-meta svg {
  margin-right: auto;
  margin-left: 5px;
}

.ta-readmore {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  background: #000;
  color: #FFF;
  font-family: 'Gilroy';
  font-size: 18px;
  font-weight: 400;
  max-width: 150px !important;
  width: 100%;
  height: 50px;
}

.ta-readmore:hover {
  color: #fff;
  background: #2563eb;
}

.ta-toolbar {
  margin-top: 100px;
}

.ta-toolbar a {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  background: #000;
  color: #FFF;
  font-family: 'Gilroy';
  font-size: 18px;
  font-weight: 400;
  max-width: 210px;
  height: 50px;
  margin: 0 auto;
}

.ta-toolbar a:hover {
  color: #fff;
}

.axia-ta-controls select {
  border-radius: 8px;
  padding: 5px;
  border: 1px solid #190571;
  background: #FFF;
  padding: 8px;
  min-width: 180px;
}

/* Tablet and below (1024px and less) */
@media (max-width: 1024px) {
  .axia-ta-wrap {
    padding: 60px 15px;
  }

  .axia-ta-heading {
    font-size: 48px;
  }

  .axia-ta-filters {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .axia-ta-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 30px;
  }

  .axia-ta-grid .ta-card {
    padding: 15px;
  }

  .ta-card .ta-title {
    font-size: 20px;
  }

  .ta-card .ta-excerpt {
    font-size: 16px;
  }

  .ta-card-tags {
    gap: 10px;
    margin: 15px 0;
  }

  .ta-card-tags .ta-meta {
    font-size: 14px;
    padding: 2px 8px;
    border-radius: 8px;
  }

  .ta-readmore,
  .ta-toolbar a {
    max-width: 100%;
    font-size: 16px;
    height: 45px;
  }

  .ta-toolbar {
    margin-top: 60px;
  }
}

/* Mobile (767px and below) */
@media (max-width: 767px) {
  .axia-ta-wrap {
    padding: 40px 10px;
  }

  .axia-ta-heading {
    font-size: 32px;
    text-align: center;
    margin-bottom: 10px;
  }

  .axia-ta-filters {
    justify-content: stretch;
    gap: 6px;
  }

  .axia-ta-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .axia-ta-grid .ta-card {
    padding: 12px;
  }

  .ta-card .ta-title {
    font-size: 18px;
  }

  .ta-card .ta-excerpt {
    font-size: 14px;
  }

  .ta-card-tags {
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
  }

  .ta-card-tags .ta-meta {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 6px;
  }

  .ta-readmore,
  .ta-toolbar a {
    font-size: 14px;
    height: 40px;
  }
}

.single-ta-date {
  margin-bottom: 20px;
}

.single-ta-hero{
  padding: 100px 0;
}

.single-ta-content {
  max-width: 1000px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
  padding: 32px;
}

.single-ta-content strong {
  font-weight: 600;
}

.single-ta-section .ta-card-thumb {
  display: flex;
  justify-content: center;
}

.single-ta-section img {
  border-radius: 8px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  margin-bottom: 30px;
}

.single-ta-title h1 {
  margin: 25px 0;
  font-size: 30px;
  color: #000;
}

@media (max-width: 1024px) {
  .single-ta-section img {
    margin-bottom: 30px;
  }

  .single-ta-hero{
    padding: 30px 0;
  }
}

/* Back button base style */
.single-ta-back {
  max-width: 1000px;
  margin: 0 auto 1rem auto;

}

.single-ta-back .back-button {
  display: inline-block;
  font-size: 0.95rem;
  color: #555;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 5px;
  background-color: #f0f0f0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.single-ta-back .back-button:hover {
  background-color: #ddd;
  color: #000;
}

/* RTL Arabic version */
.single-ta-back .back-button.rtl {
  direction: rtl;
  unicode-bidi: bidi-override;
}

/* Adjust arrow for RTL */
.single-ta-back .back-button::before {
  content: "\2190"; /* ← */
  margin-left: 5px;
  margin-right: 0;
}

.single-ta-back .back-button.rtl::before {
  content: "\2192";
}

.single-ta-text {
  padding: 24px;
  margin-bottom: 32px;
  background-color: rgb(249,250,251);
  border-radius: 8px;
}

.single-ta-text h2 {
  font-family: 'Gilroy';
  font-size: 20px;
  color: rgb(17, 24, 39);
  font-weight: 600;
}

.single-ta-text p, .single-ta-text a {
  color: #000;
}

.single-ta-subitems .subtitle {
  display: flex;
  align-items: center;
}

.single-ta-subitems .subtitle h2 {
  font-family: 'Gilroy';
  font-size: 24px;
  font-weight: 600;
  color: #000;
  margin-bottom: 0;
}

.single-ta-subitems p, .single-ta-subitems a {
  color: #000;
}

.single-ta-subitems {
  border-left: 4px solid rgb(229,231,235);
  padding-left: 24px;
  margin-bottom: 32px;
}

[dir="rtl"] .single-ta-subitems {
  border-right: 4px solid rgb(229,231,235);
  padding-right: 24px;
  border-left: 0;
  padding-left: 0;
}

.single-ta-subitems p {
  padding: 16px;
  background-color: #f9fafb;
  border-radius: 8px;
}

.single-ta-subitems .bg-gray-50.rounded-lg.p-4 {
  padding: 0 !important;
}

.single-ta-related {
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto 40px auto;
}

.single-ta-related .ta-meta:nth-child(2) {
  display: none;
}

.single-ta-related .ta-readmore {
  margin: auto auto 0 auto;
}

.single-nav-items {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid #e5e7eb;
}

.single-nav-item {
  color: rgb(107, 114, 128);
  font-size: 14px;
  font-weight: 500;
  padding: 16px 4px;
  display: block;
}

.single-nav-item svg {
  color: rgb(107, 114, 128) !important;
  width: 16px;
  height: 16px;
}

.single-nav-item.active {
  color: rgb(59, 130, 246); /* blue-500 */
  border-bottom: 2px solid rgb(59, 130, 246); /* blue-500 */
}

.single-nav-item.active svg {
  color: rgb(59, 130, 246) !important;
}

/* === Overlay === */
#axia-pin-popup,
#axia-no-access-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* dimmed backdrop */
  display: none; /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* === Popup box === */
#axia-pin-popup .popup-box {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.15);
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  animation: fadeIn 0.2s ease-out;
}

/* === Header === */
#axia-pin-popup .popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
}

#axia-pin-popup .popup-header h2 {
  font-size: 20px;
  font-weight: 500;
  color: #111827;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

#axia-pin-popup .popup-header .icon {
  border-radius: 9999px;
  border: 0 solid #E5E7EB;
  background: #DBEAFE;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#axia-pin-popup .popup-header button {
  background: transparent;
  border: none;
  color: #9ca3af;
  padding: 6px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
#axia-pin-popup .popup-header button:hover {
  background: #f3f4f6;
  color: #4b5563;
}

/* === Form === */
#axia-pin-popup form {
  padding: 24px;
}

#axia-pin-popup label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
  display: block;
  margin-bottom: 8px;
}

#axia-pin-popup input[type="text"] {
  width: 100%;
  padding: 12px 16px;
  font-size: 1.6rem;
  font-family: monospace;
  text-align: center;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}
#axia-pin-popup input[type="text"]:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.3);
}

#axia-pin-error {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 6px;
  display: none;
}

/* === Buttons === */
#axia-pin-popup .actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

#axia-pin-popup .actions button {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  border: none;
}

#axia-pin-popup .actions .cancel-btn {
  border-radius: 8px;
  border: 1px solid #190571;
  color: #190571;
  background: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
#axia-pin-popup .actions .cancel-btn:hover {
  background: #e5e7eb;
}

#axia-pin-popup .actions .unlock-btn {
  background: #190571;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
#axia-pin-popup .actions .unlock-btn:hover {
  background: #1d4ed8;
}
#axia-pin-popup .actions .unlock-btn:disabled {
  background: #d1d5db;
  cursor: not-allowed;
  opacity: 0.7;
}

.codes-link {
  text-align: center;
  padding: 15px 0 5px 0;
}

.codes-link a {
  color: #490250;
  font-size: 14px;
  text-decoration: underline;
}

/* === Animation === */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}


.blurred {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

.ta-readmore  svg{
  height: 20px;
  margin-bottom: 5px;
  margin-right: 5px;
}

[dir="rtl"] .ta-readmore svg {
  height: 20px;
  margin-bottom: 5px;
  margin-right: 0;
  margin-left: 5px;
}

.ta-meta.locked-direction {
  background: linear-gradient(to right, rgb(254, 226, 226), rgb(220, 252, 231));
}

.ta-meta.locked-direction svg {
  margin-bottom: 4px;
}

.open-pin-popup-button {
  border-radius: 15px;
  background: #000;
  backdrop-filter: blur(5px);
  height: 55px;
  min-width: 267px;
  outline: none;
  border: none;
  font-size: 20px;
  font-weight: 600;
  font-family: 'Gilroy';
}

.open-pin-popup-button:hover {
  background: #2563eb;
}

.open-pin-popup-button svg {
  height: 20px;
  margin-bottom: 4px;
}

.access-info {
  color: rgb(21, 128, 61);
  background: #dcfce7;
  display: inline;
  border-radius: 12px;
}

.access-info svg {
  height: 20px;
  margin-bottom: 4px;
}

#axia-logout {
  display: flex;
  background: #000;
  outline: none;
  border: none;
  height: 55px;
  min-width: 286px;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
}

#axia-logout:hover {
  background: #2563eb;
}

/* Popup overlay */
#axia-best-popup { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 9999;
  justify-content: center; align-items: center; padding: 1rem; }
#axia-best-popup.active { display: flex; }
.popup-inner { background: #fff; border-radius: 0.75rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 672px; width: 100%; max-height: 90vh; overflow-y: auto; }

/* Header */
.best-popup-header, .pin-popup-header { position: sticky; top: 0; background: #fff; border-bottom: 1px solid #e5e7eb;
  padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.best-popup-header .icon { background: #2563eb; color: #fff; border-radius: 0.75rem; padding: 0.75rem; }
.best-popup-header h2, .pin-popup-header h2 { font-size: 1.5rem; font-weight: 700; color: #111827; }
.best-popup-header span, .pin-popup-header span {
  color: #6B7280;
  font-size: 14px;
}
.close-btn { border: none; background: transparent; cursor: pointer; padding: 0.5rem; border-radius: 50%; }
.close-btn:hover { background: #f3f4f6; }

/* Content */
.popup-content { padding: 1.5rem; }
.analysis-card { border-radius: 12px;
  border: 1px solid #dbeafe;
  background: linear-gradient(90deg, #eff6ff 0%, #eef2ff 100%);
  padding: 25px; margin-bottom: 1.5rem;}
.analysis-card:hover { box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); }

.analysis-flex { display: flex; gap: 1rem; }
.analysis-rank { width: 3rem; height: 3rem; background: #000; color: #fff; font-weight: bold;
  display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.analysis-body { flex: 1; }

/* Tags */
.analysis-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.tag { padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 500; }
.tag.gray { background: #f3f4f6; color: #000; }
.tag.blue { background: #dbeafe; color: #1e40af; }
.tag.yellow {
  background: rgba(255, 221, 119, 0.50); color: #000; }

/* Direction */
.direction { font-size: 0.75rem; font-weight: 600; border-radius: 9999px;
  padding: 0.25rem 0.5rem; border: 1px solid transparent; }
.direction.up { background: #d1fae5; color: #065f46; border-color: #a7f3d0; }
.direction.down { background: #fee2e2; color: #991b1b; border-color: #fecaca; }

/* Profit */
.profit-box {
  border-radius: 9999px;
  border: 0 solid #E5E7EB;
  background: #DCFCE7;
  padding: 6px 12px;
}

.profit-value{
  color: #166534;
  font-family: Poppins;
  font-size: 14px;
  font-weight: 600;
}

/* CTA */
.readmore { display: inline-block; padding: 0.5rem 1rem; background: #190571; color: #fff;
  border-radius: 0.5rem; text-decoration: none; font-weight: 500; }
.readmore:hover { background: #1e40af; }

/* Footer box */
.best-popup-footer {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.more-box p {
  color: #4B5563;
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
}

.analysis-body-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

@keyframes button-gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

#axia-best-trigger {
  display: flex;
  outline: none;
  border: none;
  height: 55px;
  min-width: 267px;
  justify-content: center;
  align-items: center;
  color: #fff;
  border-radius: 15px;
  background: linear-gradient(96deg, #190571 -8.31%, #000 49.54%);
  background-size: 200% 200%;
  animation: button-gradient 6s ease-in-out infinite;
  backdrop-filter: blur(5px);
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s ease;
}

/* Animated Gradient Text */
#axia-best-trigger span {
  background: linear-gradient(
    125deg,
    #A605B6 0%,
    #F47934 25%,
    #FBB328 50%,
    #EF513C 75%,
    #9F0984 100%
  );
  background-size: 300% 300%; /* Makes the gradient move */
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  font-size: 20px;
  font-weight: 600;
  font-family: 'Gilroy';

  /* Animation */
  animation: gradient-shift 4s ease-in-out infinite;
}

/* Button background hover effect */
#axia-best-trigger:hover {
  background: linear-gradient(96deg, #000 59.71%, #190571 117.56%);
  transition: background 0.5s ease;
}

/* Keyframes for gradient movement */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (max-width: 767px) {
  #axia-best-trigger {
    margin-bottom: 20px;
    min-width: 150px;
  }

  .btn-container {
    gap: 5px !important;
  }

  #axia-best-trigger span {
    font-size: 13px;
  }

  .open-pin-popup-button, #axia-logout {
    min-width: 150px;
    font-size: 13px;
  }
}

.btn-container {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.readmore:hover {
  color: #fff;
}

@media (max-width: 650px) {
  .analysis-flex {
    flex-direction: column;
  }
}

/* ====== POPUP BOX ====== */
.popup-box {
  background: #ffffff;
  border-radius: 12px;
  max-width: 420px;
  width: 100%;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: popupFadeIn 0.25s ease-in-out;
}

@keyframes popupFadeIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ====== POPUP HEADER ====== */
.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.popup-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.popup-header .icon {
  font-size: 1.4rem;
}

.popup-header button {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: #555;
  transition: color 0.2s ease;
}

.popup-header button:hover {
  color: #000;
}

/* ====== POPUP BODY ====== */
.popup-body {
  font-size: 1rem;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.4;
}

/* ===== Disclaimer styles (centered text) ===== */
.ta-disclaimer {
  position: relative;
  margin: 1.25rem auto 2rem;
  padding: 1rem 1rem 1rem 3rem; /* space for icon on LTR */
  max-width: 850px;
  font-size: 0.9375rem; /* 15px */
  line-height: 1.6;
  text-align: center;
  color: #374151; /* gray-700 */
  background: #F9FAFB; /* gray-50 */
  border: 1px solid #E5E7EB; /* gray-200 */
  border-radius: 0.75rem;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

/* Stronger emphasis for key words if you add <strong> in text */
.ta-disclaimer strong {
  color: #1F2937; /* gray-800 */
  font-weight: 600;
}

/* Hover/focus state */
.ta-disclaimer:focus-within,
.ta-disclaimer:hover {
  border-color: #D1D5DB; /* gray-300 */
  background: #F3F4F6; /* gray-100 */
}

/* RTL support */
[dir="rtl"] .ta-disclaimer {
  padding: 1rem 3rem 1rem 1rem; /* flip padding */
  text-align: center;
}
[dir="rtl"] .ta-disclaimer::before {
  left: auto;
  right: 1rem;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .ta-disclaimer {
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    font-size: 0.875rem;
  }
  [dir="rtl"] .ta-disclaimer {
    padding: 0.75rem 2.5rem 0.75rem 0.75rem;
  }
}

.axia-ta-hero {
  border-radius: 20px;
  background: linear-gradient(127deg, rgba(166, 5, 182, 0.10) 7.25%, rgba(244, 121, 52, 0.10) 35.18%, rgba(251, 179, 40, 0.10) 46.35%, rgba(239, 81, 60, 0.10) 72.88%, rgba(159, 9, 132, 0.10) 100.34%);
  padding: 12px 10px 20px 10px;
  position: relative;
}

/* Overlay background */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  backdrop-filter: blur(2px);
  display: none;
}

/* Popup container */
.popup {
  background: #fff;
  border-radius: 12px;
  max-width: 400px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: popup-show 0.3s ease;
  font-family: Arial, sans-serif;
}

/* Header */
.popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #190571;
  padding: 8px 19px;
  color: #fff;
}

.popup-header h3 {
  font-size: 16px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.popup-icon {
  font-size: 18px;
}

.popup-close {
  background: transparent;
  border: none;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s;
}
.popup-close:hover {
  color: #ccc;
}

/* Body */
.popup-body {
  padding: 20px 0 0 0;
  text-align: center;
  color: #333;
  font-size: 15px;
  margin-bottom: -10px;
}

/* Footer */
.popup-footer {
  padding: 16px;
  text-align: center;
  display: flex;
  justify-content: center;
}

.popup-button {
  border-radius: 10.251px;
  background: #000;
  backdrop-filter: blur(3.4170939922332764px);
  min-width: 183px;
  height: 43px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 14px;
}
.popup-button:hover {
  background: #333;
}

/* Animation */
@keyframes popup-show {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.access-info-block {
  display: flex;
  justify-content: flex-end;
  padding: 15px;
}

.axia-ta-controls-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 0;
  user-select: none;
  gap: 10px;
}

.filters-arrow {
  display: none;
  transition: transform 0.3s ease;
}

.axia-ta-controls-title.active .filters-arrow {
  transform: rotate(180deg);
}

.axia-ta-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .filters-arrow {
    display: inline-flex;
  }

  .ai-bot-image img {
    width: 72px !important;
  }

  .axia-ta-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .axia-ta-filters {
    display: none;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    padding: 15px;
    width: 100%;
    z-index: 50;
  }

  .axia-ta-filters.active {
    display: flex;
  }

  .axia-ta-controls-title {
    padding: 10px 12px;
  }

  #axia-best-trigger {
    margin-bottom: 0;
  }
}

.ai-bot-image {
  width: 100%;
  direction: ltr;
  position: absolute;
  top: 105px;
  pointer-events: none;
}

.ai-bot-image.have_access {
  top: 145px;
}

.ai-bot-image img {
  margin-left: 130px;
}

@media( max-width: 1300px) {
  .ai-bot-image img {
    margin-left: 10px;
  }
}

@media (max-width: 1024px) {
  .ai-bot-image {
    position: static;
  }
}
