/* =========================
   SR TOPBAR - FIXED + SPACER
   ========================= */

/* ustaw wysokość paska (musi odpowiadać wysokości wizualnej) */
:root{
  --sr-topbar-h: 56px;
}

/* Pasek ogłoszeniowy SR */
.sr-topbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  height: var(--sr-topbar-h);
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  background: linear-gradient(90deg, #3bb273 0%, #2fa866 100%);
  color: #ffffff;
  text-align: center;
  font-size: 14px;
  font-weight: 600;

  /* nie używamy paddingu góra/dół, bo zmienia realną wysokość */
  padding: 0 16px;

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  z-index: 999999;
}

/* Spacer pod topbar (rezerwuje miejsce, żeby nic nie nachodziło) */
.sr-topbar-spacer{
  height: var(--sr-topbar-h);
}

/* Link w pasku */
.sr-topbar a.sr-topbar-link{
  color: #0b47a1;
  font-weight: 700;
  text-decoration: underline;
}

.sr-topbar a.sr-topbar-link:hover{
  text-decoration: none;
}

/* WYŁĄCZAMY stare podejście z wrapperem, bo ono robiło konflikty */
.sr-has-topbar .Header__headerBg,
.sr-has-topbar .Header__menuWrapper,
.sr-has-topbar .Header__titleSearchWrapper{
  margin-top: 0 !important;
}

/* =========================================================
   POLSKIE PODMIANY TEKSTÓW - TYLKO DLA /pl/
   ========================================================= */

/* Ukrywanie oryginalnego tekstu w sekcji "Informacje o Bilet" oraz dodanie nowego tekstu */
.sr-lang-pl .TicketFormLeftContainer__sectionName.commonStyle__fweight600.Informacje_o_Bilet {
    color: transparent;
    position: relative;
}

/* Dodanie nowego tekstu "Formularz kontaktowy" */
.sr-lang-pl .TicketFormLeftContainer__sectionName.commonStyle__fweight600.Informacje_o_Bilet::before {
    content: "Formularz kontaktowy";
    color: black;
    position: absolute;
    left: 0;
}

/* Ukrywanie oryginalnego tekstu w etykiecie "ID zgłoszenia" */
.sr-lang-pl [data-id^="ticketdetail"].Info__labelText.commonStyle__verticalMiddle {
    color: transparent;
    position: relative;
}

/* Dodanie nowego tekstu "ID zgłoszenia" */
.sr-lang-pl [data-id^="ticketdetail"].Info__labelText.commonStyle__verticalMiddle::after {
    content: "ID zgłoszenia";
    color: var(--color-HexGray35);
    position: absolute;
    top: 0;
    left: 0;
}

/* Pole accountId - label "Konto" */
.sr-lang-pl label#title_field_accountId {
  position: relative;
  color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.sr-lang-pl label#title_field_accountId::before {
  content: "Konto";
  position: absolute;
  left: 0;
  top: 0;
  color: black;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

/* Popup produktu - "Wybierz Konto" */
.sr-lang-pl span.ProductPopupContainer__producttitle.commonStyle__overflowDotted.commonStyle__flex1 {
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  text-indent: -9999px;
  white-space: nowrap;
  overflow: hidden;
}

.sr-lang-pl span.ProductPopupContainer__producttitle.commonStyle__overflowDotted.commonStyle__flex1::before {
  content: "Wybierz Konto";
  position: absolute;
  left: 0;
  top: 0;
  text-indent: 0;
  color: inherit;
  pointer-events: none;
}

/* Label "Nazwa konta" */
.sr-lang-pl span[data-id="ticket_accountId_label"] {
  position: relative;
  display: inline-block;
  color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.sr-lang-pl span[data-id="ticket_accountId_label"]::before {
  content: "Nazwa konta";
  position: absolute;
  left: 0;
  top: 0;
  color: #000;
  pointer-events: none;
  white-space: nowrap;
}

/* =========================================================
   UKRYWANIE ELEMENTÓW - GLOBALNIE
   ========================================================= */

/* Ukrywanie edycji w szczegółach zgłoszenia */
.TicketDetailRightContainer2__edit.commonStyle__positionRel.commonStyle__cursor {
    display: none;
}

/* Ukrywanie tytułu sekcji "TicketDetailRightContainer2" */
.TicketDetailRightContainer2__title.commonStyle__fweight600.commonStyle__displayBlock {
    display: none;
}

/* Ukrywanie przycisku "Button__neutral" */
.Button__neutral.Button__basic.commonStyle__inlineBlock.commonStyle__cursor.commonStyle__overflowDotted.Button__btnlarge {
    display: none;
}

/* Ukrywanie sekcji "Informacje o Bilet" w formularzu */
.TicketDetailRightContainer2__sectionName.commonStyle__fweight600.Informacje_o_Bilet {
    display: none;
}

/* Ukrywanie pól "ticket_department", "ticket_phone" w formularzu */
[data-id="ticket_department"].Info__infoList.commonStyle__flexColumn.ticket_departmentid,
[data-id="ticket_phone"].Info__infoList.commonStyle__flexColumn.ticket_phone {
    display: none;
}

/* ukrywa filtry w widoku ticketów lista */
/*
.TicketListLeftContainer1__header.commonStyle__justifySb.commonStyle__dFlex{
    display: none;
}
*/

.Menu__menuItemBefore.commonStyle__positionRel.commonStyle__overflowDotted.My_Overdue_Tickets{
    display: none;
}

.Menu__menuItemBefore.commonStyle__positionRel.commonStyle__overflowDotted.Team_Overdue_Tickets{
    display: none;
}

.SubscribeDepart__decsmall{
    display: none;
}

.Button__tagPrimary.Button__basic.commonStyle__inlineBlock.commonStyle__cursor.commonStyle__overflowDotted.commonStyle__tAlignCenter.Button__btnxlarge{
    display: none;
}

/* info o subskrybcji w widoku artykułu */
.ArticleDetailRightContainer__descriptionFlw{
    display: none;
}

.List__listItems.commonStyle__inlineBlock.TicketListItem_dueDate{
    display: none;
}

.Info__infoList.commonStyle__flexColumn.ticket_duedate{
    display: none;
}

/* Ukrywanie sekcji "profile_watchlist" */
[data-id="profile_watchlist"] {
    display: none;
}

/* Ukrywanie przycisku "my_edit_profile" */
[data-id="my_edit_profile"] {
    display: none;
}

/* Ukrywanie sekcji edycji profilu użytkownika */
[data-id="user_edit_profile"] {
    display: none;
}

.AvatarText__avatarText.commonStyle__dFlexJcAc.AvatarText__small.AvatarText__circle.enduser_avatare{
    display: none;
}

[id="logoutDetails"]{
    display: none;
}

.menu-link {
    color: inherit;
    text-decoration: none;
}

.menu-link:visited {
    color: inherit;
}

.menu-link:hover {
    text-decoration: underline;
}

.ArticleCmd__socialShareLt.commonStyle__dFlex.commonStyle__alignCenter{
  display: none;
}

[data-id="deptFilter"] {
    display: none;
}

[data-id="channelFilter"] {
    display: none;
}

.TicketListLeftContainer1__mobileFilter.TicketListLeftContainer1__filter_customStatus{
    display: none;
}

/* =========================================================
   STATUSY - TYLKO DLA PL
   ========================================================= */

.sr-lang-pl [data-id^="ticketStatus_Zakończone"] {
    background-color: #388E3C;
}

.sr-lang-pl [data-id^="ticketStatus_Czeka na reakcje - Support"] {
    background-color: #FF6F00;
}

.sr-lang-pl [data-id^="ticketStatus_Czeka na reakcje -  Klient"] {
    background-color: #D32F2F;
}

.sr-lang-pl [data-id^="ticketStatus_W trakcie realizacji"] {
    background-color: #FBC02D;
}

.sr-lang-pl [data-id^="ticketStatus_Wstrzymany / U programisty"] {
    background-color: #FF6F00;
  
}

.TicketDetailRightContainer2__sectionName[class*="Szczegółowe"] {
    display: none !important;
}


.TicketDetailRightContainer2__sectionName[class*="Szczegółowe_informacje"],
.TicketFormLeftContainer__sectionName[class*="Szczegółowe_informacje"] {
    display: none !important;
}
/* =========================================================
   ZAKOMENTOWANE FRAGMENTY Z ORYGINAŁU
   ========================================================= */

/* Ukrywanie pola "accountId" w formularzu */
/*
[id="field_accountId"].Form__input.Form__formElement {
    display: none;
}
*/

/* Ukrywanie pola ticket_accountId w formularzu */
/*
[data-id="ticket_accountId"].Info__infoList.commonStyle__flexColumn.ticket_accountid {
    display: none;
}
*/
