
:root{
  --nen-bg-blue:#0f3652;
  --nen-bg-green:#0f5230;
  --nen-bg-orange:#7a3f00;
  --nen-bg-dark:#111827;
  --nen-accent:#f59e0b;
}
.nen-banner{position:fixed;left:0;right:0;background:var(--nen-bg-blue);color:#fff;z-index:9999;box-shadow:0 8px 24px rgba(0,0,0,.25);font:16px/1.4 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'Helvetica Neue',Arial}
.nen-banner.bottom{bottom:0}
.nen-banner.top{top:0}
.nen-banner.floating{inset:auto 16px 16px auto;border-radius:14px;max-width:380px}
.nen-inner{display:flex;gap:.75rem;align-items:center;justify-content:center;padding:.75rem 1rem;flex-wrap:wrap}
.nen-text{font-weight:600}
.nen-cta{background:var(--nen-accent);color:#111;padding:.5rem .9rem;border-radius:.6rem;text-decoration:none;font-weight:700}
.nen-more{background:transparent;border:1px solid #fff;color:#fff;padding:.4rem .7rem;border-radius:.6rem}
.nen-close{margin-left:auto;background:transparent;border:0;color:#fff;font-size:24px;line-height:1}

.nen-banner.theme-green{background:var(--nen-bg-green)}
.nen-banner.theme-orange{background:var(--nen-bg-orange)}
.nen-banner.theme-dark{background:var(--nen-bg-dark)}

.nen-modal{position:fixed;inset:0;background:rgba(0,0,0,.5);display:none;align-items:center;justify-content:center;z-index:10000}
.nen-modal[aria-hidden='false']{display:flex}
.nen-modal__dialog{background:#fff;color:#111;max-width:720px;width:92%;border-radius:12px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.35)}
.nen-modal__header,.nen-modal__footer{padding:12px 16px;background:#f8fafc;display:flex;align-items:center;justify-content:space-between}
.nen-modal__body{padding:16px;max-height:60vh;overflow:auto}
.nen-modal__close{background:transparent;border:0;font-size:24px;line-height:1}

.nen-courses{margin:0;padding-left:18px}
@media (max-width:480px){.nen-inner{justify-content:space-between}}

/* Floating widget card */
.nen-floating-card{position:fixed;right:16px;bottom:16px;z-index:10000;background:#0f3652;color:#fff;width:320px;border-radius:16px;overflow:hidden;box-shadow:0 12px 38px rgba(0,0,0,.35);display:flex;flex-direction:column}
.nen-floating-card.theme-green{background:var(--nen-bg-green)}
.nen-floating-card.theme-orange{background:var(--nen-bg-orange)}
.nen-floating-card.theme-dark{background:var(--nen-bg-dark)}
.nen-floating-card__media{position:relative;aspect-ratio:16/9;background:#0b2233;overflow:hidden}
.nen-floating-card__media img{width:100%;height:100%;object-fit:cover;display:block}
.nen-floating-card__body{padding:12px 14px}
.nen-floating-card__title{font-weight:800;font-size:18px;margin:0 0 4px 0;line-height:1.25}
.nen-floating-card__subtitle{opacity:.9;margin:0 0 10px 0;font-size:13px}
.nen-floating-card__cta{background:var(--nen-accent);color:#111;text-align:center;padding:8px 12px;border-radius:10px;text-decoration:none;font-weight:700;display:inline-block}
.nen-floating-card__close{position:absolute;top:8px;right:8px;background:rgba(0,0,0,.5);color:#fff;border:0;width:28px;height:28px;border-radius:50%;line-height:1}
@media (max-width:480px){
  .nen-floating-card{right:10px;bottom:10px;width:88vw}
}

/* badge text */
.nen-badge-open{display:inline-block;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.25);padding:4px 8px;border-radius:8px;margin:0 0 8px 0;font-weight:700}

.nen-floating-card__header{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border-bottom:1px solid rgba(255,255,255,.15)}
.nen-floating-card__close{background:rgba(0,0,0,.5);color:#fff;border:0;width:28px;height:28px;border-radius:50%;line-height:1}
