/* ========================================================================== ADB Device Manager - Adaptive Reusable Footer Stylesheet Dynamically inherits active page variables for perfect integration: - Adapts background, text, borders, and accents to host themes - Eliminates hardcoded linear gradients or inconsistent colors - Aligns with the core documentation visual spacing rhythm ========================================================================== */ /* Main Footer Container */ .footer { padding: 0; background: var(--color-bg-page, #ffffff); border-top: 1px solid var(--color-border, #eaeaea); color: var(--color-text-body, #444444); font-family: var(--font-sans, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif); } .footer-main { max-width: 820px; /* Aligns perfectly with standard documentation margins */ margin: 0 auto; padding: 48px 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; } /* Footer Contact Section */ .footer-contact-section { display: flex; flex-direction: column; gap: 16px; } .footer-brand { display: flex; align-items: center; gap: 12px; } .footer-brand .logo-icon { width: 32px; height: 32px; transition: transform 0.15s ease; } .footer-brand .logo-icon:hover { transform: scale(1.05); } .footer-brand-name { font-size: 1.1rem; font-weight: 700; color: var(--color-text-title, #111111); letter-spacing: -0.02em; } .footer-contact-list { display: flex; flex-direction: column; gap: 12px; } .footer-contact-item { display: flex; align-items: center; gap: 8px; color: var(--color-text-body, #444444); font-size: 13px; text-decoration: none; transition: color 0.15s ease; } .footer-contact-item:hover { color: var(--color-primary, #2563eb); } .footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--color-primary, #2563eb); } .footer-contact-item span { line-height: 1.5; } /* Footer Link Columns */ .footer-column { display: flex; flex-direction: column; gap: 16px; } .footer-column-title { font-size: 13px; font-weight: 700; color: var(--color-text-title, #111111); letter-spacing: -0.01em; margin-bottom: 4px; } .footer-links { display: flex; flex-direction: column; gap: 12px; } .footer-links a { color: var(--color-text-muted, #666666); font-size: 13px; text-decoration: none; transition: color 0.15s ease; width: fit-content; } .footer-links a:hover { color: var(--color-primary, #2563eb); text-decoration: underline; } /* Footer Bottom Section */ .footer-bottom { max-width: 820px; margin: 0 auto; padding: 24px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--color-border, #eaeaea); } .footer-copyright { font-size: 12px; color: var(--color-text-muted, #666666); } .footer-copyright a { color: var(--color-primary, #2563eb); text-decoration: none; font-weight: 500; } .footer-copyright a:hover { text-decoration: underline; } .footer-bottom-links { display: flex; gap: 24px; } .footer-bottom-links a { font-size: 12px; color: var(--color-text-muted, #666666); text-decoration: none; transition: color 0.15s ease; } .footer-bottom-links a:hover { color: var(--color-primary, #2563eb); text-decoration: underline; } /* Footer Gradient Border - set to clean border matches */ .footer-gradient-border { height: 1px; background: var(--color-border, #eaeaea); } /* Reusable Footer CTA (Unused on docs but kept for global safety) */ .footer-cta { text-align: center; padding: 48px 24px; background: var(--color-bg-page, #ffffff); position: relative; } .footer-cta::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 80%; max-width: 620px; height: 1px; background: linear-gradient(90deg, transparent, var(--color-border, #eaeaea), transparent); } .footer-cta h2 { font-size: 24px; font-weight: 800; color: var(--color-text-title, #111111); margin-bottom: 12px; letter-spacing: -0.03em; } .footer-cta p { font-size: 14px; color: var(--color-text-muted, #666666); max-width: 500px; margin: 0 auto 24px; line-height: 1.6; } .footer-cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: var(--color-primary, #2563eb); color: #ffffff; font-size: 14px; font-weight: 600; text-decoration: none; border-radius: 6px; transition: background 0.15s ease; } .footer-cta-btn:hover { background: var(--color-primary-hover, #1d4ed8); } /* ========================================================================== Responsive Spacing Grid ========================================================================== */ @media (max-width: 768px) { .footer-main { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; padding: 32px 16px; } .footer-contact-section { grid-column: span 2; flex-direction: column; gap: 16px; } .footer-contact-list { flex-direction: row; flex-wrap: wrap; gap: 16px; } .footer-bottom { flex-direction: column; gap: 16px; text-align: center; padding: 24px 16px; } .footer-bottom-links { gap: 16px; } } @media (max-width: 480px) { .footer-main { grid-template-columns: 1fr; gap: 24px; padding: 24px 16px; } .footer-contact-section { grid-column: span 1; } .footer-contact-list { flex-direction: column; gap: 12px; } .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 12px 16px; } }