/* Widget Container position (bottom right) */
.help-widget-container {
  position: fixed;
  bottom: 100px;
  right: 0px;
  z-index: 9999;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Floating Toggle Button */
.help-toggle-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(90deg, #ff3b30 0%, #7c3aed 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
  transition: transform 0.3s ease;
}

.help-toggle-btn:hover {
  transform: scale(1.08);
}

/* Popup Card Box */
.help-popup-card {
  display: none; /* Default hidden */
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 340px;
  background: #0c0c0c6b;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: slideUp 0.3s ease-in-out;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Popup Header - Exact Red-to-Purple Gradient */
.help-popup-header {
  background: linear-gradient(90deg, #ff3b30 0%, #7c3aed 100%);
  color: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.help-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 18px;
}

.help-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  padding: 2px;
}

.help-close-btn {
  background: rgba(255, 255, 255, 0.25);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.help-close-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Popup Body Items */
.help-popup-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 420px;
  overflow-y: auto;
}

/* Option Items with Exact Matching Gradient Background */
.help-option-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 1px 12px;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, #e63228 0%, #7033d4 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, filter 0.2s;
}

.help-option-item:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* White Circle for Icons matching screenshot */
.help-icon {
  font-size: 18px;
  background: #ffffff;
  color: #7033d4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.help-text {
  display: flex;
  flex-direction: column;
}

.help-text strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.help-text span {
  font-size: 11.5px;
  opacity: 0.9;
  margin-top: 0px;
}





/* start mobile responsive design */
.custom-bottom-nav {
    display: none;
  }

  @media (max-width: 1199px) {
    .custom-bottom-nav {
      display: flex;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      z-index: 99999;
      box-sizing: border-box;
      align-items: center;
      justify-content: space-around;
      padding: 9px 6px calc(9px + env(safe-area-inset-bottom));
      background: #fff;
      border-top: 1px solid #f1e5eb;
      border-radius: 18px 18px 0 0;
      box-shadow: 0 -4px 18px rgba(134, 11, 58, 0.12);
    }

    .custom-bottom-nav .bottom-nav-item {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 4px;
      margin: 0 3px;
      padding: 8px 2px;
      border-radius: 12px;
      text-decoration: none !important;
      color: #77717a;
      background: transparent;
      transition: background .25s ease, color .25s ease,
        transform .2s ease;
      -webkit-tap-highlight-color: transparent;
    }

    /* Icon above text */
    .custom-bottom-nav .bottom-nav-item i {
      font-size: 23px;
      line-height: 1.2;
    }

    .custom-bottom-nav .bottom-nav-item span {
      font-size: 11px;
      line-height: 1.2;
      font-weight: 600;
    }

    /* Only selected button */
    .custom-bottom-nav .bottom-nav-item.active {
      color: #860b3a;
      background: #f9eaf0;
    }

    /* Hover only for the item under pointer */
    .custom-bottom-nav .bottom-nav-item:hover {
      color: #860b3a;
      background: #f9eaf0;
    }

    .custom-bottom-nav .bottom-nav-item:active {
      transform: scale(.94);
    }

    body {
      padding-bottom: 80px;
    }
  }
