/* Hide search box */
input[placeholder*="Search"],
input[placeholder*="search"],
input[placeholder*="Search tickets"],
input[type="search"],
input[name*="search"],
input[id*="search"],
button[aria-label*="Search"],
button[title*="Search"],
[class*="searchInput"],
[class*="SearchInput"],
[class*="searchField"],
[class*="SearchField"],
[class*="searchBox"],
[class*="SearchBox"],
[class*="searchBar"],
[class*="SearchBar"],
[class*="searchBtn"],
[class*="SearchBtn"],
[class*="searchIcon"],
[class*="SearchIcon"],
[class*="homeSearch"],
[class*="HomeSearch"] {
  display: none !important;
}

/* Hide "Welcome to Lansec Tecnologia" */
body > h1,
h1:first-of-type,
h2:first-of-type,
div[role="heading"][aria-level="1"]:first-of-type,
div[role="heading"][aria-level="2"]:first-of-type,
[class*="welcome"],
[class*="Welcome"],
[class*="heroTitle"],
[class*="HeroTitle"],
[class*="bannerTitle"],
[class*="BannerTitle"] {
  display: none !important;
}

/* Hide only the text next to the logo, keep the logo image */
a:has(img[src*="contacts.zoho.com"]) span,
a:has(img[src*="contacts.zoho.com"]) div:not(:has(img)),
a:has(img[src*="contacts.zoho.com"]) p,
a:has(img[src*="contacts.zoho.com"]) strong,
a:has(img[src*="contacts.zoho.com"]) small {
  display: none !important;
}

/* Fallback for the logo link text */
a:has(img[src*="contacts.zoho.com"]) {
  font-size: 0 !important;
  line-height: 0 !important;
}

a:has(img[src*="contacts.zoho.com"]) img {
  display: block !important;
}

/* Hide only the text of the portal logo/home link in the header */
a[href="https://lansecdesk.zohodesk.com/portal/"],
a[href="/portal/"],
a[href*="/portal/"]:has(img) {
  font-size: 0 !important;
  line-height: 0 !important;
  white-space: nowrap !important;
}

/* Keep the logo image visible */
a[href="https://lansecdesk.zohodesk.com/portal/"] img,
a[href="/portal/"] img,
a[href*="/portal/"]:has(img) img {
  display: inline-block !important;
  vertical-align: middle !important;
}

/* Extra fallback: hide text nodes wrapped inside the logo link */
a[href="https://lansecdesk.zohodesk.com/portal/"] span,
a[href="https://lansecdesk.zohodesk.com/portal/"] div,
a[href="https://lansecdesk.zohodesk.com/portal/"] p,
a[href="/portal/"] span,
a[href="/portal/"] div,
a[href="/portal/"] p,
a[href*="/portal/"]:has(img) span,
a[href*="/portal/"]:has(img) div,
a[href*="/portal/"]:has(img) p {
  display: none !important;
}

/* Hide only the portal name text in the header */
.Header__name,
div.Header__name[data-id="portal_name"],
div.Header__name[title="Lansec Tecnologia"],
header .Header__name,
header div[data-id="portal_name"] {
  display: none !important;
}

/* Hide the footer question text */
.Footer__footerQus {
  display: none !important;
}

/* Hide the footer description text */
.Footer__footerDescription {
  display: none !important;
}
.Footer__footerInfo {
	justify-content: center;
}

.Footer__footerBtn {
    margin-top: -520px;
    z-index: 199;
}

.Button__btnFont {
    background-color: #ff161fff;
}
/* Show "Enviar um Ticket" only on Página inicial */
a[data-id="footer_newticket"],
a[data-id="footer_newticket"] .Button__footerBtn {
  display: none !important;
}

portal.home a[data-id="footer_newticket"],
portal.home a[data-id="footer_newticket"] .Button__footerBtn {
  display: inline-block !important;
}

/* Hide the whole floating chat widget */
#zsiq_float,
#zsiq_float * ,
.zsiq_theme1,
.zsiq_cnt,
.zsiq_flt_rel,
.zsiq-chat,
#zs_ft_chat {
  display: none !important;
}
/* Hide original footer credit pieces */
.Footer__container2 > span,
.Footer__container2 > a.Footer__footerLink {
  display: none !important;
}

/* Show custom text */
.Footer__container2::after {
  content: "Desenvolvido por Lansec Tecnologia" !important;
  display: inline-block !important;
  font-size: 16px !important;
  color: #ffffff !important;
  line-height: 1.4 !important;
}
/* Make logo black only after scrolling */
portal.home header#headerContainer.Header__homeNavbarFixed.globalfixednav .Header__logo img[data-id="portal_logo"] {
  filter: brightness(0) !important;
}
/* Home only: replace "tiquetes" with "tickets" visually */
portal.home #ticket_module .ContentBox__alignCenter > p {
  font-size: 0 !important;
}

portal.home #ticket_module .ContentBox__alignCenter > p::after {
  content: "Acompanhe seus Tickets, consulte o status e acesse as soluções de forma ágil.";
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: inherit !important;
}
/* =========================================================
   "ENVIAR UM TICKET" BUTTON
   KEEP IT RED ON HOVER, NOT ORANGE
   ========================================================= */

a[data-id="footer_newticket"] button.Button__footerBtn,
a[data-id="footer_newticket"] button.Button__footerBtn:hover,
a[data-id="footer_newticket"] button.Button__footerBtn:focus,
a[data-id="footer_newticket"] button.Button__footerBtn:active {
  background: #ff161fff !important;
  border-color: #d90416 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* Slightly darker red on hover, if you want a hover effect */
a[data-id="footer_newticket"] button.Button__footerBtn:hover,
a[data-id="footer_newticket"] button.Button__footerBtn:focus,
a[data-id="footer_newticket"] button.Button__footerBtn:active {
  background: #b80012 !important;
  border-color: #b80012 !important;
  color: #ffffff !important;
}


/* =========================================================
   BACK TO TOP BUTTON
   MAKE IT RED TOO
   ========================================================= */

span[data-id="toparrow"] {
  background: #ff161fff !important;
  border-color: #d90416 !important;
  box-shadow: none !important;
}

span[data-id="toparrow"]:hover,
span[data-id="toparrow"]:focus,
span[data-id="toparrow"]:active {
  background: #b80012 !important;
  border-color: #ff161fff !important;
  box-shadow: none !important;
}

/* Keep the arrow icon white */
span[data-id="toparrow"] svg.Icon__icon[alt="Back to top"] {
  fill: #ffffff !important;
  color: #ffffff !important;
}
/* Trocar visualmente "Enviar um Ticket" por "Abrir um ticket" */
a[data-id="footer_newticket"] button.Button__footerBtn {
  font-size: 0 !important;
}

a[data-id="footer_newticket"] button.Button__footerBtn::after {
  content: "Abrir um ticket";
  font-size: 16px !important;
  line-height: 1 !important;
  color: #ffffff !important;
}
/* Scrolled header bar = gray */
portal.home header#headerContainer.Header__homeNavbarFixed.globalfixednav,
portal.home header#headerContainer.Header__homeNavbarFixed.globalfixednav #navBar,
portal.home header#headerContainer.Header__homeNavbarFixed.globalfixednav #navBarContainer {
  background-color: #e9e9e9 !important;
  box-shadow: none !important;
  border: none !important;
}
/* =========================================================
   NON-HOME PAGES: MAKE THE HEADER / BANNER BLACK
   ========================================================= */

portal:not(.home) header#headerContainer,
portal:not(.home) header#headerContainer #navBar,
portal:not(.home) header#headerContainer #navBarContainer,
portal:not(.home) header#headerContainer #headerContent,
portal:not(.home) header#headerContainer #headerContentContainer,
portal:not(.home) header#headerContainer.Header__defaultContent,
portal:not(.home) header#headerContainer .Header__navbar,
portal:not(.home) header#headerContainer .Header__container,
portal:not(.home) header#headerContainer .Header__searchSection {
  background: #000000 !important;
  background-color: #000000 !important;
  background-image: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Kill pseudo-elements that may paint another color */
portal:not(.home) header#headerContainer::before,
portal:not(.home) header#headerContainer::after,
portal:not(.home) header#headerContainer #navBar::before,
portal:not(.home) header#headerContainer #navBar::after,
portal:not(.home) header#headerContainer #navBarContainer::before,
portal:not(.home) header#headerContainer #navBarContainer::after,
portal:not(.home) header#headerContainer #headerContent::before,
portal:not(.home) header#headerContainer #headerContent::after {
  background: #000000 !important;
  background-color: #000000 !important;
  background-image: none !important;
  box-shadow: none !important;
  border: none !important;
}
/* Deixar "Minha área" branco */
span[data-id="ticketList_breadcrumb_0"] {
  color: #ffffff !important;
}
