/*
Theme Name: Docy Child
Theme URI: https://wp.spider-themes.com/docy/
Template: docy
Author: spider-themes
Author URI: https://themeforest.net/user/spider-themes
Description: Docy is a powerful, responsive, and high-performance online documentation WordPress theme that can assist you quickly develop your next product’s documentation. It can be used for documenting API, frameworks, plugins, templates, software, manual etc.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: docy-child
*/

/* =========================================
   Forumax Campaign Topbar
========================================= */

.forumax-sale-bar,
.forumax-sale-bar * {
  box-sizing: border-box;
}

.forumax-sale-bar {
  position: relative;
  z-index: 9999;
  width: 100%;
  min-height: 72px;
  overflow: hidden;
  color: #ffffff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(
      circle at 22% -80%,
      rgba(106, 40, 234, .50) 0%,
      rgba(106, 40, 234, .10) 32%,
      transparent 52%
    ),
    radial-gradient(
      circle at 78% 160%,
      rgba(106, 40, 234, .24) 0%,
      transparent 40%
    ),
    linear-gradient(
      105deg,
      #100b1e 0%,
      #1a1032 38%,
      #241044 64%,
      #120c23 100%
    );
  border-top: 1px solid rgba(255, 255, 255, .04);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.forumax-sale-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, .025),
    transparent
  );
}

.forumax-sale-inner {
  position: relative;
  z-index: 2;
  width: calc(100% - 90px);
  max-width: 1120px;
  min-height: 72px;
  margin: 0 auto;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

/* Special offer */

.forumax-sale-label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.forumax-infinity {
  color: #a978ff;
  font-family: Georgia, serif;
  font-size: 38px;
  line-height: .8;
  font-weight: 700;
}

.forumax-label-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.forumax-label-text span {
  color: #b8aecb;
  font-size: 8px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .14em;
}

.forumax-label-text strong {
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .03em;
}

/* Divider */

.forumax-divider {
  width: 1px;
  height: 38px;
  flex: 0 0 1px;
  background: rgba(255, 255, 255, .16);
}

/* Pro offer */

.forumax-pro-offer {
  min-width: 255px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.forumax-small-title {
  color: #aaa0bc;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
}

.forumax-pro-line {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 700;
  white-space: nowrap;
}

.forumax-pro-line strong {
  color: #c4a6ff;
  font-weight: 800;
}

/* Pro Max lifetime */

.forumax-lifetime-offer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.forumax-plan-name {
  align-self: flex-start;
  margin-top: 7px;
  color: #c3a5ff;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .10em;
}

.forumax-price {
  color: #ffffff;
  font-size: 38px;
  line-height: .95;
  font-weight: 900;
  letter-spacing: -1.5px;
  text-shadow: 0 0 22px rgba(106, 40, 234, .28);
}

.forumax-price-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.forumax-price-info strong {
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.forumax-price-info span {
  color: #aaa0bc;
  font-size: 8px;
  line-height: 1;
  font-weight: 600;
}

/* Countdown */

.forumax-countdown-area {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 13px;
  white-space: nowrap;
}

.forumax-countdown-label {
  color: #aaa0bc;
  font-size: 9px;
  line-height: 1;
  font-weight: 600;
}

.forumax-countdown {
  display: flex;
  align-items: center;
  gap: 6px;
}

.forumax-time {
  min-width: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.forumax-time strong {
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.forumax-time span {
  color: #81768f;
  font-size: 6px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.forumax-colon {
  position: relative;
  top: -5px;
  color: #665c75;
  font-size: 12px;
}

/* CTA */

.forumax-sale-btn,
.forumax-sale-btn:link,
.forumax-sale-btn:visited {
  flex: 0 0 auto;
  min-width: 168px;
  min-height: 44px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  border-radius: 8px;
  background: linear-gradient(135deg, #6a28ea 0%, #7b32f5 100%);
  color: #ffffff !important;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 7px 20px rgba(106, 40, 234, .25);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.forumax-sale-btn:hover,
.forumax-sale-btn:focus,
.forumax-sale-btn:active,
.forumax-sale-btn:visited {
  color: #ffffff !important;
  text-decoration: none !important;
}

.forumax-sale-btn:hover,
.forumax-sale-btn:focus {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #7431ed, #8944f7);
  box-shadow: 0 9px 24px rgba(106, 40, 234, .36);
}

.forumax-sale-btn span {
  color: #ffffff;
  font-size: 17px;
  line-height: 1;
}

/* Close */

.forumax-close {
  position: absolute;
  z-index: 10;
  top: 50%;
  right: 18px;
  width: 28px;
  height: 28px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  opacity: .58;
  transition: opacity .18s ease, background .18s ease;
}

.forumax-close:hover,
.forumax-close:focus {
  opacity: 1;
  background: rgba(255, 255, 255, .06);
}

.forumax-close span {
  position: absolute;
  top: 13px;
  left: 7px;
  width: 14px;
  height: 1.5px;
  border-radius: 2px;
  background: #ffffff;
}

.forumax-close span:first-child {
  transform: rotate(45deg);
}

.forumax-close span:last-child {
  transform: rotate(-45deg);
}

/* Responsive */

@media (max-width: 1180px) {
  .forumax-sale-inner {
    width: calc(100% - 70px);
    gap: 20px;
  }

  .forumax-sale-label {
    display: none;
  }

  .forumax-sale-inner > .forumax-divider:first-of-type {
    display: none;
  }
}

@media (max-width: 920px) {
  .forumax-countdown-area,
  .forumax-lifetime-offer + .forumax-divider {
    display: none;
  }
}

@media (max-width: 680px) {
  .forumax-sale-bar {
    min-height: 66px;
  }

  .forumax-sale-inner {
    width: calc(100% - 48px);
    min-height: 66px;
    gap: 12px;
    justify-content: space-between;
  }

  .forumax-pro-offer {
    min-width: 0;
  }

  .forumax-small-title {
    display: none;
  }

  .forumax-pro-line {
    max-width: 120px;
    font-size: 11px;
    line-height: 1.3;
    white-space: normal;
  }

  .forumax-plan-name {
    display: none;
  }

  .forumax-price {
    font-size: 28px;
  }

  .forumax-price-info strong {
    font-size: 10px;
  }

  .forumax-price-info span {
    display: none;
  }

  .forumax-sale-btn,
  .forumax-sale-btn:link,
  .forumax-sale-btn:visited {
    min-width: auto;
    min-height: 38px;
    padding: 10px 12px;
    gap: 7px;
    font-size: 10px;
  }

  .forumax-sale-btn span {
    display: none;
  }

  .forumax-close {
    right: 4px;
  }
}
