/* Brand color fixes */
.Icon__icon {
  color: #ee7125;
}

.Icon__plusIcon {
  width: 2.5rem;
  height: 2.5rem;
}

.Header__headerContainer {
  margin-top: 2.0rem;
}

.Radio__radioLabel {
  --color-linkSecondaryHover: #ee7125;
  --color-linkSecondary: #ee7125;
}

.Input__searchPanelInput {
  color: white;
}

/* ── Cards: fix 3-column layout ── */
.BlurNav__blurbNavItem {
  flex: 0 1 31% !important;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  border-top: 3px solid #ee7125;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  margin-bottom: 0 !important;
}

.BlurNav__blurbNavItem:hover {
  box-shadow: 0 6px 20px rgba(238,113,37,0.15);
  transform: translateY(-2px);
}

.BlurNav__blurbNav {
  gap: 1rem;
}

.BlurNav__blurPad {
  padding: 1.5rem;
}

.BlurNav__blurbNavItemTitle a {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a1a !important;
  text-decoration: none;
}

.BlurNav__blurbNavItemTitle a:hover {
  color: #ee7125 !important;
}

.BlurNav__blurbDescription {
  margin-top: 0.5rem;
  color: #666;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ── Feed section headers ── */
.Feed__feedHeader {
  padding: 0.75rem 1.25rem;
  border-bottom: 2px solid #ee7125;
  background: #fafafa;
}

.CommunityWidgets__HeadTitle {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ── Topic list items ── */
.TopicListItem__topicList1 {
  padding: 0.85rem 1.25rem !important;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s ease;
}

.TopicListItem__topicList1:hover {
  background: #fdf6f1;
}

.TopicListItem__titleLink,
.TopicListItem__discussionTitleHead a {
  font-weight: 500;
  color: #1a1a1a !important;
}

.TopicListItem__titleLink:hover,
.TopicListItem__discussionTitleHead a:hover {
  color: #ee7125 !important;
}

/* ── Sidebar widget ── */
.WidgetsContainer__rightWd > div {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  border-top: 3px solid #ee7125;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.CustomWidgets__title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #ee7125;
  margin-bottom: 0.75rem;
}

/* ── Status banner ── */
#pf-status-banner {
  background: #b71c1c;
  color: #ffffff;
  text-align: center;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
}

#pf-status-banner a {
  color: #ffffff !important;
  text-decoration: underline;
  margin-left: 4px;
}

#pf-status-banner a:hover {
  opacity: 0.85;
}

/* ── Submit a Ticket button ── */
.pf-submit-btn {
  display: inline-block;
  background: #ee7125;
  color: #ffffff !important;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none !important;
  margin-right: 12px;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.pf-submit-btn:hover {
  background: #d4621e;
}

/* ── Topic type badges ── */
.TopicType__problem {
  background: #c62828 !important;
  color: #fff !important;
  padding: 2px 9px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.TopicType__announcement {
  background: #1565c0 !important;
  color: #fff !important;
  padding: 2px 9px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.TopicType__idea {
  background: #2e7d32 !important;
  color: #fff !important;
  padding: 2px 9px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.TopicType__question {
  background: #6a1b9a !important;
  color: #fff !important;
  padding: 2px 9px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Hero banner: branded gradient ── */
.Header__headerImg {
  display: none;
}

.Header__header {
  background: linear-gradient(135deg, #1e0d00 0%, #ee7125 100%) !important;
}

/* Logo → white */
.Header__brandLogoImg {
  filter: brightness(0) invert(1);
}

/* Nav tab links → white */
.Header__tabsLink {
  color: rgba(255, 255, 255, 0.8) !important;
}

.Header__tabsLink:hover {
  color: #ffffff !important;
}

.Header__tabsTabActive .Header__tabsLink {
  color: #ffffff !important;
  border-bottom: 2px solid #ffffff !important;
}

/* Accessibility & settings icon → white */
.CustomizeFontSize__accessibility_settings .Icon__icon,
.CustomizeFontSize__accessibility_settings svg {
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* Sign in link → white */
.Header__headerRow .LogInDetailsContainer__userDetails,
.Header__headerRow .LogInDetailsContainer__logoutLink {
  color: #ffffff !important;
}

/* Override the global orange icon color within the header row */
.Header__headerRow .Icon__icon,
.Header__headerRow .CustomizeFontSize__accessibility_settings .Icon__icon {
  color: #ffffff !important;
  fill: #ffffff !important;
}

.Header__headerSearch .Icon__icon {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* ── Community filter tabs ── */
.Filter__filterOptions {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  padding: 4px;
  background: #f0f0f0;
  border-radius: 8px;
  width: fit-content;
  margin-bottom: 1rem;
}

.Filter__filterOption a {
  display: block;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #555 !important;
  text-decoration: none !important;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.Filter__filterOption a:hover {
  background: #ffffff;
  color: #1a1a1a !important;
}

.Filter__filterOptionActive a {
  background: #ee7125 !important;
  color: #ffffff !important;
  font-weight: 600;
}

/* ── Community sidebar section headers ── */
.CommunityWidgets__menuTitle,
.ContributorsWidget__menuTitle,
.ArticleWidgets__menuTitle {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.07em !important;
  color: #ee7125 !important;
  padding-bottom: 0.6rem !important;
  border-bottom: 2px solid #ee7125 !important;
  margin-bottom: 0.75rem !important;
}

/* ── Community sidebar menu links ── */
.Menu__menuItem {
  padding: 4px 0;
  border-bottom: 1px solid #f5f5f5;
}

.Menu__menuItem a {
  color: #333 !important;
  font-size: 0.875rem;
  text-decoration: none !important;
  transition: color 0.15s ease;
}

.Menu__menuItem a:hover {
  color: #ee7125 !important;
}

/* ── Top Contributors card ── */
.ContributorsWidget__trendingList .MediaObject__mediaObject {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

/* ── Topic page: reply cards ── */
.Comment__threadComment {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-left: 3px solid #ee7125;
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* ── Topic page: author name & timestamp ── */
.Comment__creatorName a,
.TopicCommon__creatorName a {
  color: #1a1a1a !important;
  font-weight: 600;
}

.Comment__commentTime {
  font-size: 0.8rem;
  color: #999;
}

/* ── Replies section header ── */
.CommentsContainer__title {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.07em !important;
  color: #1a1a1a !important;
  padding-bottom: 0.6rem !important;
  border-bottom: 2px solid #ee7125 !important;
  margin-bottom: 1rem !important;
}

/* ── InfoBox sidebar (Type, Status, Likes etc.) ── */
.InfoBox__infoBox {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  border-top: 3px solid #ee7125;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.InfoBox__infoLabel {
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #999 !important;
}

.InfoBox__info {
  font-weight: 600;
  color: #1a1a1a;
}

/* ── Reply form ── */
.CommentForm__threadComment {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 1.25rem;
  margin-top: 1.5rem;
}

/* ── Breadcrumbs ── */
.BreadCrumbs__breadcrumbs a {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Ticket rows ── */
.TicketListContainer__listItem {
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s ease;
}

.TicketListContainer__listItem:hover {
  background: #fdf6f1 !important;
}

.TicketListContainer__listActive {
  background: #fdf6f1 !important;
  border-left: 3px solid #ee7125;
}

/* ── Ticket title ── */
.TicketListItem__ticketCardTitle {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
}

.TicketListItem__ticketCard .Link__link:hover .TicketListItem__ticketCardTitle {
  color: #ee7125 !important;
}

/* ── Ticket number ── */
.TicketListItem__ticketId {
  color: #aaa !important;
  font-size: 0.8rem !important;
  font-weight: 400 !important;
}

/* ── Customer name ── */
.TicketListItem_creatorName span {
  color: #333 !important;
  font-weight: 600;
}

/* ── Timestamp & reply count ── */
.TicketListItem_createdTime span {
  color: #999 !important;
  font-size: 0.8rem;
}

.TicketListItem__reply {
  color: #ee7125 !important;
  font-weight: 500;
}

/* ── Overdue warning ── */
.TicketListItem__overdueIcon {
  color: #c62828 !important;
  font-weight: 600 !important;
}

/* Ticket detail: title */
.TicketDetailContainer__ticketDetailTitle {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 2px solid #f0f0f0 !important;
    margin-bottom: 0.25rem !important;
}

/* Ticket detail: date + reply/comment bar */
.ConversationForm__editerBar {
    padding: 0.5rem 0 0.75rem !important;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 1rem !important;
}
.ConversationForm__createdTime { font-size: 0.8rem; color: #999; }

/* Thread items: card treatment */
.ThreadContainer__threadListItem {
    background: #ffffff;
    border: 1px solid #e8e8e8 !important;
    border-radius: 0 8px 8px 0 !important;
    margin-bottom: 0.75rem !important;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.ThreadContainer__threadListItem.agent_thread {
    border-left: 3px solid #ee7125 !important;
}
.ThreadContainer__threadListItem.enduser_thread {
    border-left: 3px solid #1565c0 !important;
}

/* Post header: subtle background separator */
.Post__postHeader {
    background: #fafafa !important;
    padding: 0.6rem 1rem !important;
    border-bottom: 1px solid #f0f0f0 !important;
}
.Post__postName { font-size: 0.875rem !important; font-weight: 600 !important; }
.Post__postName.agent_name { color: #ee7125 !important; }
.Post__draftTime { font-size: 0.78rem !important; color: #999 !important; }
.Post__postContent { padding: 1rem 1.25rem !important; }

/* Sidebar: section name headers */
.TicketDetailContainer__sectionName {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.07em !important;
    color: #ee7125 !important;
    padding-bottom: 0.4rem !important;
    border-bottom: 2px solid #ee7125 !important;
    margin-top: 1.25rem !important;
    margin-bottom: 0.75rem !important;
}

/* Sidebar: Ticket Properties title */
.TicketDetailContainer__title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
}

/* Close ticket button polish */
.Button__primary {
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
}

/* Form: section name headers */
.TicketFmLtCnter__sectionName {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.07em !important;
  color: #ee7125 !important;
  padding-bottom: 0.4rem !important;
  border-bottom: 2px solid #ee7125 !important;
  margin-bottom: 1rem !important;
}

/* Form: field labels */
.Form__formElementLabel {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: #444 !important;
  margin-bottom: 4px !important;
}
.Form__required { color: #ee7125 !important; }

/* Form: input focus state */
.Input__input:focus {
  border-color: #ee7125 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(238,113,37,0.12) !important;
}

/* Form: Discard/neutral button — should be grey, not orange */
.Button__neutral {
  background: #f0f0f0 !important;
  color: #555 !important;
  border-color: #ddd !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
}
.Button__neutral:hover {
  background: #e0e0e0 !important;
  color: #333 !important;
}

/* Form: Popular Solutions sidebar title */
.TicketFormRightContainer__menuTitle {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.07em !important;
  color: #ee7125 !important;
  padding-bottom: 0.6rem !important;
  border-bottom: 2px solid #ee7125 !important;
  margin-bottom: 0.75rem !important;
}

/* Form picker: ticket type cards */
.FormShortCut__formItem {
  border-radius: 8px !important;
  border: 1px solid #e8e8e8 !important;
  border-top: 3px solid #ee7125 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}

/* Footer */
.Footer__footer { padding: 0 !important; }
#pf-footer {
  background: #f8f8f8;
  border-top: 3px solid #ee7125;
  padding: 2.5rem 2rem 1.25rem;
}
#pf-footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  gap: 2.5rem;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #e8e8e8;
}
.pf-footer-col { min-width: 130px; }
.pf-footer-brand { font-size: 1.1rem; font-weight: 700; color: #1a1a1a; letter-spacing: -0.01em; }
.pf-footer-brand span { color: #ee7125; }
.pf-footer-tagline { font-size: 0.75rem; color: #999; margin-top: 4px; }
.pf-footer-heading { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #ee7125; margin-bottom: 0.65rem; }
.pf-footer-links { list-style: none; padding: 0; margin: 0; }
.pf-footer-links li { margin-bottom: 0.35rem; font-size: 0.8rem; color: #555; }
.pf-footer-links a { color: #555 !important; text-decoration: none !important; transition: color 0.15s ease; }
.pf-footer-links a:hover { color: #ee7125 !important; }
#pf-footer-bottom {
  max-width: 960px;
  margin: 1rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: #aaa;
  flex-wrap: wrap;
  gap: 0.5rem;
}
#pf-footer-bottom a { color: #aaa !important; }

/* ===== KNOWLEDGE BASE ===== */

/* KB listing: main section heading ("Information") */
.KBArticleListLeftContainer__kblistHeading {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  padding-bottom: 0.5rem !important;
  border-bottom: 2px solid #f0f0f0 !important;
  margin-bottom: 1rem !important;
}

/* KB listing: sidebar "KB Sections" heading */
.CategoriesContainer__solutionListHeading {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.07em !important;
  color: #ee7125 !important;
  padding-bottom: 0.4rem !important;
  border-bottom: 2px solid #ee7125 !important;
  margin-bottom: 0.75rem !important;
}

/* KB listing: category/folder cards */
.CategoryList__articleCard {
  display: block !important;
  background: #ffffff !important;
  border: 1px solid #e8e8e8 !important;
  border-top: 3px solid #ee7125 !important;
  border-radius: 8px !important;
  padding: 1.25rem !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease !important;
  text-decoration: none !important;
}
.CategoryList__articleCard:hover {
  box-shadow: 0 6px 20px rgba(238,113,37,0.15) !important;
  transform: translateY(-2px) !important;
}
.CategoryList__navItemTitle { color: #1a1a1a !important; font-weight: 600 !important; }
.CategoryList__articleCard:hover .CategoryList__navItemTitle { color: #ee7125 !important; }
.CategoryList__categoryCount { font-size: 0.8rem !important; color: #999 !important; }

/* KB listing: individual article rows */
.ArticlesCard__articleCard {
  padding: 0.85rem 1.25rem !important;
  border-bottom: 1px solid #f0f0f0 !important;
  transition: background 0.15s ease !important;
}
.ArticlesCard__articleCard:hover { background: #fdf6f1 !important; }
.ArticlesCard__articleCardTitle { color: #1a1a1a !important; font-weight: 600 !important; font-size: 0.95rem !important; }
.ArticlesCard__articleCard:hover .ArticlesCard__articleCardTitle { color: #ee7125 !important; }
.ArticlesCard__articleCardExtract { color: #777 !important; font-size: 0.85rem !important; margin-top: 0.25rem !important; }

/* KB article detail: title */
.KBArticleDetailLeftContainer__articleHeader {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  line-height: 1.3 !important;
  padding-bottom: 0.75rem !important;
  border-bottom: 2px solid #f0f0f0 !important;
  margin-bottom: 0.75rem !important;
}

/* KB article detail: updated timestamp */
.KBArticleDetailLeftContainer__updateTime { font-size: 0.78rem !important; color: #aaa !important; }

/* KB article detail: Attachments heading */
.Attachments__attachmentHeading {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.07em !important;
  color: #ee7125 !important;
  padding-bottom: 0.4rem !important;
  border-bottom: 2px solid #ee7125 !important;
  margin-bottom: 0.75rem !important;
}
.Attachments__attachmentRow { padding: 0.5rem 0 !important; border-bottom: 1px solid #f5f5f5 !important; }
.Attachments__attachName { font-weight: 500 !important; color: #333 !important; }
.Attachments__attachSize { font-size: 0.78rem !important; color: #999 !important; }

/* KB article detail: Tags label */
.KBArticleDetailLeftContainer__tagLabel {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.07em !important;
  color: #999 !important;
}

/* KB article detail: tag pills */
.Pill__tag {
  display: inline-block !important;
  background: #fff3ec !important;
  color: #ee7125 !important;
  border: 1px solid #f5cba7 !important;
  padding: 2px 10px !important;
  border-radius: 12px !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  margin-right: 4px !important;
}

/* KB article detail: "Was this article helpful?" */
.Survey__surveyQuestion { font-size: 0.9rem !important; font-weight: 600 !important; color: #1a1a1a !important; }
.Survey__surveyBtn {
  border: 1px solid #e8e8e8 !important;
  border-radius: 6px !important;
  padding: 6px 20px !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  background: #ffffff !important;
  color: #555 !important;
  transition: all 0.15s ease !important;
  cursor: pointer !important;
}
.Survey__surveyBtn:hover { border-color: #ee7125 !important; color: #ee7125 !important; }

.Button__primary { color: #ffffff !important; }
.Button__primary .Icon__icon, .Button__primary svg { color: #ffffff !important; fill: #ffffff !important; }

//* Views list: tighter padding */
.TicketListContainer__menuTitle + .Menu__menu .Menu__menuItem {
  border-bottom: none !important;
}
.TicketListContainer__menuTitle + .Menu__menu .Menu__menuLink,
.TicketListContainer__menuTitle + .Menu__menu .Menu__itemLink {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

/* Team section separator — prominent orange divider with label */
.TicketListContainer__menuTitle + .Menu__menu .Menu__menuItem:nth-child(6) {
  margin-top: 0.6rem !important;
  border-top: 2px solid #ee7125 !important;
  padding-top: 0 !important;
}
.TicketListContainer__menuTitle + .Menu__menu .Menu__menuItem:nth-child(6)::before {
  content: "TEAM";
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: #ee7125;
  padding: 0.3rem 0 0.1rem;
}

a.LogInDetailsContainer__logoutLink.CommonStyle__zt1Link.CommonStyle__curPointer {
    color: #333333 !important;
    background-color: transparent !important;
    background: transparent !important;
}

a.LogInDetailsContainer__logoutLink.CommonStyle__zt1Link.CommonStyle__curPointer:hover {
    color: #ee7125 !important;
    background-color: transparent !important;
}
