.wiadomosci-main {
    margin: auto;
    position: absolute;
    top: 70px; 
    bottom: 0;
    left: 0;
    right: 0;
    width: 95%;
    height: calc(95% - 70px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    overflow: hidden;
  }
  .wiadomosci-content {
   width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
  }
  .wiadomosci-header {
    height: auto;
    width: 100%;
    display: flex;
      flex-direction: column;
    text-align: left;
    border-radius: 5px 5px 0 0;
    background-color: #F8F8FF;
    color: #000;
    
  }
  .wiadomosci-header .wiadomosci-header-title-group {
      border-bottom: 1px solid rgba(170, 170, 170, 0.3);
    padding: 5px; 
    position: relative;
    width: 100%; 
    height: 50px;
    
  }
  .wiadomosci-header .wiadomosci-header-title-group .wiadomosci-header-inputgroup {
    width: auto;
    height: 100%;
    display: flex;
    align-items: center; /* Centruje zawartość w pionie */
    justify-content: left;
  }
  .wiadomosci-header .wiadomosci-header-title-group .wiadomosci-header-inputgroup .btn-messages {
      background-color: #F8F8FF;
      border: none;
      font-size: 16px;
      padding-right: 10px;
      padding-left: 10px;
      cursor: pointer;
      color: #aaa;
      transition: 0.2s;
  }
  .wiadomosci-header .wiadomosci-header-title-group .wiadomosci-header-inputgroup .new-btn:hover {
      color: green;
  }
  .wiadomosci-header .wiadomosci-header-title-group .wiadomosci-header-inputgroup .new-btn:active {
     /*border: 1px solid green;*/
      color: darkgreen;
  }
  .wiadomosci-header .wiadomosci-header-title-group .wiadomosci-header-inputgroup .back-btn {
     display: none;
  }
  .wiadomosci-header .wiadomosci-header-title-group .wiadomosci-header-inputgroup .back-btn:hover {
      color: orange;
  }
  .wiadomosci-header .wiadomosci-header-title-group .wiadomosci-header-inputgroup .back-btn:active {
      /*border: 1px solid orange;*/
      color: darkorange;
  }
  .wiadomosci-header .wiadomosci-header-title-group label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
  }

  .wiadomosci-header .wiadomosci-header-group{
      
      display: inline-block;
      height: 50px;
      
  }
  .wiadomosci-header .wiadomosci-header-group .wiadomosci-header-inputgroup{
      padding-right: 5px;
      display: flex;
  }
  .wiadomosci-header .wiadomosci-header-group .wiadomosci-header-inputgroup label{
      font-size: 18px;
      border: none;
      transition: 0.2s;
      height: 100%;
      line-height: 50px;
      padding-left: 10px;
      padding-right: 10px;
  }
  .wiadomosci-header .wiadomosci-header-group .wiadomosci-header-inputgroup label:hover{
      background-color: rgba(170, 170, 170, 0.2);
      cursor: pointer;
      
  }
  .wiadomosci-body {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: #F8F8FF;
    display: flex;
    flex-direction: column;  /* Dodaj to, aby elementy flex byĹy ustawione pionowo */
    overflow: auto;  /* Dodaj to, aby umoĹźliwiÄ przewijanie, gdy zawartoĹÄ przekroczy wysokoĹÄ */
  }
  .wiadomosci-body table tr:hover .styled-row{
      -moz-box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.65) inset;
  -webkit-box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.65) inset;
  box-shadow: 0 -5px 5px -5px rgba(0, 0, 0, 0.65) inset;
  
      cursor: pointer;
  }
  .wiadomosci-body table tr:hover td .no-messages{
      -moz-box-shadow: none;
      -webkit-box-shadow: none;
      -moz-box-shadow: none;
      -webkit-box-shadow: none;
      box-shadow: none;
      cursor: none;
  }
  .wiadomosci-footer {
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 5px 5px 0 0;
    background-color: #F8F8FF;
    color: #000;
    
  }
  .wiadomosci-footer .wiadomosci-footer-group{
      
      display: none;
      height: 50px;
      
  }
  .wiadomosci-footer .wiadomosci-footer-group .wiadomosci-footer-inputgroup{
      padding-right: 5px;
      display: flex;
  }
  .wiadomosci-footer .wiadomosci-footer-group .wiadomosci-footer-inputgroup label{
      font-size: 18px;
      border: none;
      transition: 0.2s;
      height: 100%;
      line-height: 50px;
      padding-left: 10px;
      padding-right: 10px;
  }
  .wiadomosci-footer .wiadomosci-footer-group .wiadomosci-footer-inputgroup label:hover{
      background-color: rgba(170, 170, 170, 0.2);
      cursor: pointer;
      
  }
  .selected-option{
      background-color: rgba(170, 170, 170, 0.2);;
  }