/* Footer corporativo compartido del ecosistema Zelanda.
 * Mismo archivo en todos los productos (companion de components/corporate_footer.php).
 * Vive como estatico para que funcione bajo CSP estricto (style-src 'self'):
 * el <style> inline era bloqueado en los productos con CSP enforced. */
.zl-footer { background: #172B4D; color: #cbd5e1; margin-top: 2.5rem; }
.zl-footer-inner { max-width: 80rem; margin: 0 auto; padding: 3rem 1.5rem; }
.zl-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2rem; }
.zl-footer-brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.zl-footer-logo { height: 2.25rem; width: 2.25rem; }
.zl-footer-name { color: #fff; font-weight: 700; font-size: 1.125rem; margin: 0; }
.zl-footer-tagline { font-size: .875rem; color: #AFBACA; line-height: 1.625; margin: 0; }
.zl-footer-heading { color: #fff; font-weight: 600; font-size: .875rem; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 1rem; }
.zl-footer-list { list-style: none; margin: 0; padding: 0; font-size: .875rem; color: #AFBACA; }
.zl-footer-list li { margin-bottom: .5rem; }
.zl-footer-link { color: #AFBACA; text-decoration: none; transition: color .2s ease; }
.zl-footer-link:hover { color: #fff; }
.zl-footer-extra { font-size: .875rem; color: #AFBACA; }
.zl-footer-social { display: flex; gap: 1rem; }
.zl-footer-social-btn { width: 2.25rem; height: 2.25rem; border-radius: 9999px; background: rgba(255,255,255,.10); color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background .2s ease; }
.zl-footer-social-btn:hover { background: rgba(255,255,255,.20); }
.zl-footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.10); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; font-size: .75rem; color: #AFBACA; }
.zl-footer-bottom p { margin: 0; }
@media (min-width: 768px) { .zl-footer-bottom { flex-direction: row; } }
.zl-footer input[type="email"] { flex: 1; border-radius: .5rem; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.20); padding: .5rem .75rem; font-size: .875rem; color: #fff; }
.zl-footer input[type="email"]::placeholder { color: rgba(255,255,255,.40); }
.zl-footer .zl-newsletter-form { display: flex; gap: .5rem; }
.zl-footer .zl-newsletter-btn { background: #14B8A6; color: #0F172A; border: 0; border-radius: .5rem; padding: .5rem 1rem; font-size: .875rem; font-weight: 600; cursor: pointer; transition: background .2s ease; }
.zl-footer .zl-newsletter-btn:hover { background: #0F766E; color: #FFFFFF; }

/* Widget "Novedades" — feed del changelog publicado desde Security */
.zl-nov-btn { position: relative; background: none; border: 0; color: #AFBACA; font-size: .75rem; cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: .375rem; transition: color .2s ease; font-family: inherit; }
.zl-nov-btn:hover { color: #fff; }
.zl-nov-badge { position: absolute; top: -.45rem; right: -.85rem; min-width: 1rem; height: 1rem; padding: 0 .25rem; border-radius: 9999px; background: #dc2626; color: #fff; font-size: .625rem; font-weight: 700; line-height: 1rem; text-align: center; box-shadow: 0 0 0 2px #172B4D; }
.zl-nov-pop { position: fixed; right: 1rem; bottom: 3.25rem; width: min(24rem, calc(100vw - 2rem)); max-height: 70vh; background: #fff; color: #0f172a; border-radius: .875rem; box-shadow: 0 20px 50px rgba(2,6,23,.35), 0 0 0 1px rgba(2,6,23,.06); z-index: 9999; display: flex; flex-direction: column; overflow: hidden; }
.zl-nov-pop[hidden] { display: none; }
.zl-nov-head { display: flex; align-items: center; justify-content: space-between; padding: .875rem 1.125rem; border-bottom: 1px solid #e2e8f0; font-weight: 700; font-size: .9375rem; }
.zl-nov-head i { color: #2563eb; margin-right: .375rem; }
.zl-nov-close { background: none; border: 0; color: #64748b; cursor: pointer; font-size: 1rem; padding: .25rem; }
.zl-nov-close:hover { color: #0f172a; }
.zl-nov-body { overflow-y: auto; padding: .5rem 1.125rem 1.125rem; }
.zl-nov-empty { color: #64748b; font-size: .875rem; text-align: center; padding: 1.5rem 0; margin: 0; }
.zl-nov-entry { padding: 1rem 0; border-bottom: 1px solid #f1f5f9; }
.zl-nov-entry:last-child { border-bottom: 0; }
.zl-nov-meta { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .375rem; }
.zl-nov-ver { font-size: .6875rem; font-weight: 700; color: #2563eb; background: #2563eb1a; border-radius: 9999px; padding: .125rem .5rem; }
.zl-nov-date { font-size: .6875rem; color: #AFBACA; }
.zl-nov-prod { font-size: .6875rem; color: #64748b; background: #f1f5f9; border-radius: 9999px; padding: .125rem .5rem; }
.zl-nov-entry h4 { margin: 0 0 .5rem; font-size: .9375rem; font-weight: 700; }
.zl-nov-entry ul { margin: 0; padding: 0; list-style: none; }
.zl-nov-entry li { font-size: .8125rem; color: #334155; line-height: 1.55; margin-bottom: .375rem; }
.zl-nov-type { display: inline-block; font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; border-radius: .375rem; padding: .1rem .4rem; margin-right: .25rem; }
.zl-nov-type.t-new { background: #16a34a1a; color: #16a34a; }
.zl-nov-type.t-improved { background: #2563eb1a; color: #2563eb; }
.zl-nov-type.t-fixed { background: #d977061a; color: #d97706; }
.zl-nov-type.t-removed { background: #64748b1a; color: #64748b; }
.zl-nov-type.t-security { background: #dc26261a; color: #dc2626; }
.zl-nov-type.t-note { background: #64748b1a; color: #64748b; }
