/* ============================================================================
   wow-css/shared_manage.css
   Purpose:
     - Full-screen offer manage shell (dark mode).
     - Slide-in panel from the right with a soft, cinematic backdrop.
   ========================================================================== */

/* ------------------------------------------------------------
   1) ROOT OVERLAY
   ------------------------------------------------------------ */
.wow-offer-manage {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
  font-family: var(--wow-font-family);
  direction: rtl;
}

.wow-offer-manage--visible {
  opacity: 1;
  pointer-events: auto;
}

/* ------------------------------------------------------------
   2) BACKDROP
   ------------------------------------------------------------ */
.wow-offer-manage__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,255,255,0.08), transparent 55%),
    radial-gradient(circle at 85% 12%, rgba(255,255,255,0.05), transparent 50%),
    rgba(8,8,10,0.88);
  backdrop-filter: blur(6px);
}

/* ------------------------------------------------------------
   3) PANEL
   ------------------------------------------------------------ */
.wow-offer-manage__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, #0d0f13 0%, #171a20 45%, #0c0f14 100%);
  color: #f5f5f5;
  transform: translateX(100%);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 32px 8px;
  box-sizing: border-box;
  align-items: center;
}

.wow-offer-manage--open .wow-offer-manage__panel {
  transform: translateX(0);
}

/* ------------------------------------------------------------
   4) TOP BAR
   ------------------------------------------------------------ */
.wow-offer-manage__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  width: 100%;
  padding: 16px;
}

.wow-offer-manage__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.wow-offer-manage__close {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
  transition: background 200ms ease, transform 120ms ease;
}

.wow-offer-manage__close:hover {
  background: rgba(255,255,255,0.18);
}

.wow-offer-manage__close:active {
  transform: translateY(1px);
}

/* ------------------------------------------------------------
   5) BODY
   ------------------------------------------------------------ */
.wow-offer-manage__body {
  flex: 1;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 899px;
  padding: 16px 0px;
  border-radius: 4px;
  border: 0px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.00);
}

.wow-offer-manage__message {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  text-align: center;
}

/* ------------------------------------------------------------
   6) RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 900px) {
  .wow-offer-manage__panel {
    padding: 20px 8px;
  }

  .wow-offer-manage__top {
    margin-bottom: 16px;
    padding: 12px;
  }

  .wow-offer-manage__body {
    align-items: stretch;
    justify-content: flex-start;
    max-width: 100%;
    padding: 8px 0 16px;
  }
}

@media (max-width: 640px) {
  .wow-offer-manage__panel {
    padding: 8px 8px;
  }

  .wow-offer-manage__message {
    font-size: 18px;
  }
}
