/* LJN Alerts — Frontend Subscribe Form */

.ljn-subscribe-box {
  --ljn-accent: #0D9488;
  font-family: 'Plus Jakarta Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  margin: 24px 0;
}

/* ── CARD STYLE (default) ── */
.ljn-style-card .ljn-sub-inner {
  background: linear-gradient(135deg, #0B1F3A 0%, #1E3F6F 100%);
  border-radius: 14px;
  padding: 28px 32px;
  border: 1px solid rgba(249,115,22,0.2);
}
.ljn-style-card .ljn-sub-title {
  color: white;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.2;
}
.ljn-style-card .ljn-sub-subtitle {
  color: #94A3B8;
  font-size: 13px;
  margin-bottom: 18px;
}
.ljn-style-card .ljn-sub-header { margin-bottom: 18px; }

/* ── INLINE STYLE ── */
.ljn-style-inline .ljn-sub-inner {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px 24px;
}
.ljn-style-inline .ljn-sub-title {
  color: #0B1F3A;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}
.ljn-style-inline .ljn-sub-subtitle {
  color: #64748b;
  font-size: 13px;
  margin-bottom: 14px;
}

/* ── MINIMAL STYLE ── */
.ljn-style-minimal .ljn-sub-inner {
  background: transparent;
  padding: 0;
}

/* ── FORM ELEMENTS ── */
.ljn-sub-form { display: flex; flex-direction: column; gap: 10px; }

.ljn-sub-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ljn-input {
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all .18s;
  background: rgba(255,255,255,0.08);
  color: white;
  flex: 1;
  min-width: 0;
}
.ljn-input::placeholder { color: rgba(255,255,255,0.45); }
.ljn-input:focus { border-color: var(--ljn-accent); box-shadow: 0 0 0 3px rgba(13,148,136,0.2); }

.ljn-style-inline .ljn-input,
.ljn-style-minimal .ljn-input {
  background: white;
  color: #1e293b;
  border-color: #e2e8f0;
}
.ljn-style-inline .ljn-input::placeholder,
.ljn-style-minimal .ljn-input::placeholder { color: #94a3b8; }

.ljn-sub-btn {
  background: var(--ljn-accent, #F97316);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all .18s;
  flex-shrink: 0;
}
.ljn-sub-btn:hover { opacity: .88; transform: translateY(-1px); }
.ljn-sub-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.ljn-sub-footer {
  font-size: 11.5px;
  color: rgba(255,255,255,0.45);
  text-align: center;
}
.ljn-style-inline .ljn-sub-footer,
.ljn-style-minimal .ljn-sub-footer { color: #94a3b8; }

/* ── MESSAGE ── */
.ljn-sub-msg {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
}
.ljn-sub-msg.success { background: #f0fdf4; color: #166534; border: 1px solid #86efac; }
.ljn-sub-msg.error   { background: #fef2f2; color: #dc2626; border: 1px solid #fca5a5; }
.ljn-sub-msg.info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* ── ALERT BANNERS (confirm/unsub) ── */
.ljn-alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  margin: 16px 0;
}
.ljn-alert-success { background: #f0fdf4; color: #166534; border: 1px solid #86efac; }
.ljn-alert-info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* ── RESPONSIVE ── */
@media (max-width: 500px) {
  .ljn-sub-row { flex-direction: column; }
  .ljn-sub-btn { width: 100%; }
  .ljn-style-card .ljn-sub-inner { padding: 20px 18px; }
}
