/* Customer Portal KB Premium Styles */ .container { padding: 32px 48px; color: #111827; } .searchHero { margin-bottom: 48px; } .searchHero h1 { font-size: 32px; font-weight: 800; color: #111827; margin-bottom: 8px; letter-spacing: -0.02em; } .description { color: #6B7280; font-size: 15px; margin-bottom: 32px; } .searchControls { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; } .searchWrapper { position: relative; flex: 1; min-width: 320px; } .searchInput { width: 100%; padding: 16px 20px 16px 52px; border-radius: 16px; border: 1px solid #E5E7EB; font-size: 16px; box-sizing: border-box; outline: none; box-shadow: 0 2px 10px rgba(0,0,0,0.03); transition: all 0.2s; } .searchInput:focus { border-color: #1E40AF; box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1); } .searchBtn { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: #1E40AF; color: #fff; border: none; padding: 8px 16px; border-radius: 10px; cursor: pointer; font-size: 13px; font-weight: 700; transition: background 0.2s; } .searchBtn:hover { background: #1E3A8A; } .searchIcon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: #9CA3AF; } .searchPulse { position: absolute; right: 100px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 800; color: #16A34A; animation: pulse 2s infinite; } @keyframes pulse { 0% { opacity: 0.6; } 50% { opacity: 1; } 100% { opacity: 0.6; } } .pulseIcon { animation: rotate 2s linear infinite; } @keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } /* AI Answer Spotlight */ .aiSpotlight { max-width: 1100px; margin: 0 auto 48px; background: white; border: 1px solid #E5E7EB; border-radius: 20px; padding: 40px; position: relative; box-shadow: 0 4px 20px rgba(0,0,0,0.02); } .aiSpotlight::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: #1E40AF; border-radius: 20px 20px 0 0; } .spotlightHeader { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; } .spotlightBadge { display: flex; align-items: center; gap: 10px; background: #EFF6FF; padding: 6px 14px; border-radius: 8px; color: #1E40AF; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; } .syntheticFlag { font-size: 10px; font-weight: 800; color: #16A34A; background: #F0FDF4; padding: 4px 8px; border-radius: 4px; } .answerText { font-size: 18px; line-height: 1.8; color: #111827; font-weight: 600; font-style: italic; margin: 0; } .spotlightFooter { margin-top: 24px; padding-top: 20px; border-top: 1px solid #F3F4F6; font-size: 11px; font-weight: 700; color: #9CA3AF; text-transform: uppercase; letter-spacing: 0.1em; } /* Articles Grid */ .articlesGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(440px, 1fr)); gap: 32px; max-width: 1100px; margin: 0 auto; } .articleCard { background: #fff; border: 1px solid #F3F4FB; border-radius: 20px; padding: 32px; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 2px 4px rgba(0,0,0,0.02); display: flex; flex-direction: column; height: 100%; } .articleCard:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05); border-color: #1E40AF; } .cardHeader { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; } .categoryBadge { font-size: 10px; font-weight: 800; color: #1E40AF; text-transform: uppercase; letter-spacing: 0.1em; } .matchBadge { font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 4px; } .highMatch { color: #16A34A; background: #F0FDF4; } .regularMatch { color: #1E40AF; background: #EFF6FF; } .articleTitle { font-size: 22px; font-weight: 800; color: #111827; margin-bottom: 12px; line-height: 1.2; } .articleSnippet { font-size: 15px; color: #4B5563; line-height: 1.6; margin-bottom: 24px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .cardFooter { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #F9FAFB; padding-top: 24px; margin-top: auto; } .articleDate { font-size: 12px; color: #9CA3AF; font-weight: 500; } .readMore { font-size: 13px; font-weight: 700; color: #1E40AF; } /* Category Nav */ .categoryNav { display: flex; gap: 12px; margin-bottom: 40px; border-bottom: 1px solid #F3F4FB; padding-bottom: 16px; overflow-x: auto; } .navItem { padding: 8px 0; border: none; background: none; font-size: 14px; font-weight: 600; cursor: pointer; margin-right: 24px; white-space: nowrap; color: #6B7280; transition: all 0.2s; } .navItemActive { color: #1E40AF; font-weight: 700; border-bottom: 2px solid #1E40AF; } /* Article View Enhancements */ .articleDetail { padding: 40px 60px; maxWidth: 900px; margin: 0 auto; } .backBtn { background: none; border: none; color: #1E40AF; font-weight: 700; font-size: 14px; cursor: pointer; margin-bottom: 32px; display: flex; align-items: center; gap: 8px; } .mermaidContainer { margin: 24px 0; background: #1F2937; padding: 32px; border-radius: 16px; overflow-x: auto; display: flex; justify-content: center; } .shimmerText { animation: shimmer 1.5s infinite linear; } @keyframes shimmer { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }