/*
 * rem-popups.css -- Real Estate Moguls Popup System
 * Cookie consent banner + newsletter signup popup.
 */

/* ── COOKIE CONSENT ──────────────────────────────────────────────────── */
.rem-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--authority, #0D1B2A);
  border-top: 2px solid var(--primary, #29ABE2);
  padding: 24px 40px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}
.rem-cookie__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.rem-cookie__text { flex: 1; }
.rem-cookie__heading {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 6px;
}
.rem-cookie__body {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin: 0;
}
.rem-cookie__link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  margin-left: 4px;
}
.rem-cookie__link:hover { text-decoration: underline; }
.rem-cookie__btn {
  flex-shrink: 0;
  padding: 12px 28px;
  background: var(--primary, #29ABE2);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.rem-cookie__btn:hover { background: #1E90C8; }

@media (max-width: 640px) {
  .rem-cookie { padding: 20px 20px; }
  .rem-cookie__inner { flex-direction: column; gap: 16px; text-align: center; }
  .rem-cookie__btn { width: 100%; }
}

/* ── NEWSLETTER POPUP ────────────────────────────────────────────────── */
.rem-nl-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(13,27,42,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.rem-nl {
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(41,171,226,0.06) 0%, transparent 60%),
    linear-gradient(175deg, #0B1929 0%, #0D1B2A 100%);
  border: 1px solid rgba(41,171,226,0.15);
  border-radius: 12px;
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.rem-nl__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.35);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.rem-nl__close:hover { color: #fff; }
.rem-nl__inner { text-align: center; }
.rem-nl__eye {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 12px;
}
.rem-nl__heading {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
}
.rem-nl__body {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin: 0 0 28px;
  text-align: left;
}
.rem-nl__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rem-nl__input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  box-sizing: border-box;
}
.rem-nl__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(41,171,226,0.2);
}
.rem-nl__input::placeholder { color: rgba(255,255,255,0.3); }
.rem-nl__btn {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.rem-nl__btn:hover { background: #1E90C8; }
.rem-nl__note {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin: 16px 0 0;
}
.rem-nl__ghl {
  margin-bottom: 12px;
}
.rem-nl__ghl iframe {
  width: 100%;
  min-height: 200px;
  border: none;
}

@media (max-width: 640px) {
  .rem-nl { padding: 36px 24px; }
  .rem-nl__heading { font-size: 24px; }
}
