/* RESET i neutralizacja różnic przeglądarek */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  background: #015ba0;
  color: #333;
  line-height: 1.6;
}

/* Zmienne kolorystyczne */
:root {
  --blue-light: #e6f5ff;
  --blue-main: #00b8f0;
  --blue-dark: #007bff;
  --gray-light: #f8f9fa;
  --gray-alt: #eefaff;
}

/* Kontener główny */
.container {
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Kontener główny */
.container2 {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

/* Logo */
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-container img {
  max-width: 300px;
  height: auto;
}

/* Formularze */
form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

input[type="text"], select {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 250px;
}

button {
  min-width: 138px;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 20px;
  background-color: var(--blue-dark);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

/* DataTables tabela */
table.dataTable {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 16px;
  margin-top: 20px;
}

table.dataTable thead th {
  background-color: var(--blue-main);
  color: white;
  font-weight: bold;
  padding: 12px 15px;
}

table.dataTable tbody td {
  padding: 10px 15px;
}

table.dataTable tbody tr:nth-child(odd) {
  background-color: #f4fafe;
}

table.dataTable tbody tr:nth-child(even) {
  background-color: #eaf5fc;
}

.dataTables_wrapper .dataTables_filter {
  margin-bottom: 15px;
}

.dataTables_wrapper .dataTables_paginate {
  margin-top: 15px;
}

/* Informacje o lekarzu */
.doctor-info {
  background-color: var(--gray-alt);
  padding: 15px;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

/* Sticky przycisk powrotu */
.back-button,
.sticky-back {
  font-size: 16px;
  font-weight: bold;
  padding: 10px 20px;
  background-color: var(--blue-dark);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.sticky-back {
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 1000;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.back-button:hover,
.sticky-back:hover {
  background-color: #0056b3;
}
