/* ===============================
   QURVEY – PUBLIC OFFER MODAL
================================ */

/* overlay */
.offer-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* backdrop */
.offer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
}

/* window */
.offer-window {
    position: relative;
    width: 900px;
    max-width: 95vw;
    max-height: 90vh;
    background: linear-gradient(180deg, #161b22, #0f141b);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* header */
.offer-header {
    padding: 22px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offer-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #e5e7eb !important;
    letter-spacing: 0.04em;
}

/* close */
.offer-close {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 22px;
    cursor: pointer;
}

.offer-close:hover {
    color: #ffffff;
}

/* body */
.offer-body {
    padding: 28px;
    overflow-y: auto;
}

/* TEXT — КРИТИЧНО */
.offer-body,
.offer-body * {
    color: #cbd5e1 !important;
    opacity: 1 !important;
}

/* headings inside text */
.offer-body h3,
.offer-body strong {
    color: #f8fafc !important;
}

/* footer */
.offer-footer {
    padding: 18px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: flex-end;
}

/* accept button — QURVEY STYLE */
.offer-accept {
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.offer-accept:hover {
    opacity: 0.9;
}

#offerModal.offer-modal { z-index: 99999; }

#offerModal .offer-window{
  background: linear-gradient(180deg, #161b22, #0f141b) !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  color: #cbd5e1 !important;
}

#offerModal .offer-body,
#offerModal .offer-body *{
  color: #cbd5e1 !important;
  opacity: 1 !important;
}
