.afterlogin-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.articles {
  margin-bottom: 2rem;
}

.article-item {
  background-color: #ffffff;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.article-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.article-header {
  margin-bottom: 0.75rem;
}

.article-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
  color: #005ea8;
}

.article-body {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
}

.custom-button {
  text-align: center;
  margin-top: 1.5rem;
}

.farewell-message {
  max-width: 600px;
  margin: 2rem auto; /* Wyśrodkowanie */
  padding: 2rem;
  background-color: #fff; /* Jasnoszare tło */
  border: 2px solid #e3e3e3; /* Obramowanie */
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtelny cień */
  text-align: center; /* Wyśrodkowanie tekstu */
  font-family: Arial, sans-serif;
  color: #333333; /* Kolor tekstu */
}

.farewell-icon {
  font-size: 3rem; /* Duża ikona */
  color: #28a745; /* Zielony kolor ikony */
  margin-bottom: 1rem; /* Odstęp od tekstu */
}

.farewell-content {
  font-size: 1.1rem; /* Większy rozmiar tekstu */
  line-height: 1.6; /* Przyjemna wysokość linii */
  color: #555555; /* Delikatny szary tekst */
  margin-bottom: 1.5rem; /* Odstęp od przycisku */
}

.farewell-button {
  text-align: center;
}
.welcome-page {
  max-width: 800px;
  margin: 2rem auto; /* Wyśrodkowanie */
  padding: 2rem;
  background-color: #fff; /* Jasnoszare tło */
  border: 2px solid #e3e3e3; /* Obramowanie */
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtelny cień */
  text-align: center; /* Wyśrodkowanie tekstu */
  font-family: Arial, sans-serif;
  color: #333333; /* Kolor tekstu */
}

.welcome-icon {
  font-size: 4rem; /* Duża ikona */
  color: #005ea8; /* Gin blue */
  margin-bottom: 1rem; /* Odstęp od tekstu */
}

.message {
  font-size: 1.1rem; /* Większy rozmiar tekstu */
  line-height: 1.6; /* Przyjemna wysokość linii */
  color: #555555; /* Delikatny szary tekst */
  margin-bottom: 2rem; /* Odstęp od sekcji z artykułami */
}

.articles {
  margin-bottom: 2rem; /* Odstęp od przycisku */
}

.login-button {
  text-align: center;
}

.page-title-container {
  text-align: center; /* Wyśrodkowanie poziome */
  margin: 2rem 0; /* Odstępy nad i pod */
}

.block-page-title-block {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Style do listingu zgłoszeń */

.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  z-index: 2;
  flex-wrap: wrap;
}

.sticky-footer .button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  color: white;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  min-width: 150px;
}

@media (max-width: 768px) {
  .sticky-footer {
    flex-direction: column;
    align-items: center;
  }

  .sticky-footer .button {
    margin-bottom: 0.5rem;
    width: 100%;
  }
}

.afterlogin-info-page {
  padding: 2rem;
}

.page-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.legend-section {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  margin-bottom: 5rem;
}

.legend-column {
  flex: 1;
  min-width: 200px; /* Minimalna szerokość kolumny */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legend-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.status-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.25rem;
  background-color: #ccc;
  border: 1px solid #aaa;
}

.legend-item .status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.status-dot--red {
  background-color: #e74c3c; /* Pastelowy czerwony */
}

.status-dot--yellow {
  background-color: #f39c12; /* Ciepły żółty */
}

.status-dot--green {
  background-color: #2ecc71; /* Pastelowy zielony */
}

.status-dot--blue {
  background-color: #3498db; /* Jasny niebieski */
}

.status-dot--purple {
  background-color: #9b59b6; /* Delikatny fiolet */
}

.status-dot--gray {
  background-color: #bdc3c7; /* Stonowany szary */
}

/* Responsywność */
@media (max-width: 768px) {
  .legend-section {
    flex-direction: column; /* Zmiana układu na pionowy */
    align-items: flex-start;
  }

  .legend-column {
    width: 100%; /* Kolumny zajmują całą szerokość */
  }
}

.operations .button {
  margin-right: 0.5rem;
}

.operations a {
  text-decoration: none;
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: bold;
  color: white;
  text-align: center;
}

.button--secondary {
  background-color: #f1f1f1;
  color: #005ea8 !important;
}

.button--secondary:hover {
  color: #fff !important;
}

/* Complaints detail */
/* General container */
.complaint-container {
  max-width: 850px;
  margin: auto;
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  font-family: "Arial", sans-serif;
}

/* Header Section */
.complaint-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid #007bff;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.complaint-header h2 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.complaint-date {
  font-size: 14px;
  color: #666;
}

/* Content Section */
.complaint-content {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.complaint-content h3 {
  font-size: 20px;
  color: #007bff;
  margin-bottom: 10px;
}

.complaint-info {
  background: #ffffff;
  padding: 10px 15px;
  border-left: 5px solid #007bff;
  margin-bottom: 15px;
  font-size: 15px;
}

.complaint-info p {
  margin: 5px 0;
}

/* Labels */
.complaint-content p strong {
  color: #333;
}

/* Footer Buttons */
.complaint-footer {
  text-align: center;
  padding-top: 15px;
}

.button-back,
.button-print,
.button-logout {
  display: inline-block;
  padding: 12px 18px;
  margin: 5px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  transition: 0.3s;
}

/* Back Button */
.button-back {
  background: #6c757d;
  color: white;
}

.button-back:hover {
  background: #5a6268;
}

/* Print Button */
.button-print {
  background: #28a745;
  color: white;
}

.button-print:hover {
  background: #218838;
}

/* Logout Button */
.button-logout {
  background: #dc3545;
  color: white;
}

.button-logout:hover {
  background: #c82333;
}

/* Print Optimization */
@media print {
  .complaint-footer {
    display: none;
  }

  .complaint-container {
    box-shadow: none;
    border: 1px solid #ccc;
    padding: 15px;
  }
}

/* Print */

.print-container {
  background: #fff;
  padding: 20px;
  max-width: 800px;
  margin: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #858585;
}
.gin-table td:nth-child(4) {
  /* Target 4th column (Opis) */
  width: 40%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.print-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #969696;

  padding-bottom: 10px;
}

.print-header h2 {
  margin: 0;
  font-size: 26px;
  font-weight: bold;
}

.barcode {
  max-height: 50px;
}

.print-container h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.print-container p,
.print-container td {
  font-size: 14px;
  margin: 2px 0;
}

.print-container strong {
  font-weight: bold;
}

.complaint-table,
.customer-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.complaint-table td,
.customer-table td {
  padding: 8px;
  border: 1px solid #ddd;
}

.print-container button {
  background-color: #fff;
  border: 1px solid #0f0f0f;
  color: #000000;
  padding: 10px 15px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
  margin-right: 10px;
}

.print-container button:hover {
  background-color: #a1a1a1;
}

.print-footer {
  text-align: center;
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: space-between;
}

.barcode-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.close-button {
  color: #ff4154;
  border: none;
  padding: 10px 15px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
}

.info-footer {
  margin-top: 30px; /* Odstęp od stopki */
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

/* Stylizacja dla druku */
@media print {
  .print-container {
    box-shadow: none;
    border: none;
  }
  .print-footer button,
  .info-footer,
  button {
    display: none;
  }
}

/* Target .toolbar-link--serwis-complaints-add ONLY if it's NOT inside .toolbar-menu */
:not(.toolbar-menu) .toolbar-link--serwis-complaints-add {
  margin-top: 20px;
}
