        /* Rozbudowany styl i animacje */
        body {
            background: #12141b;
            color: #e4e6eb;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0; padding: 0;
        }
        header {
            background: #1f2937;
            padding: 20px 30px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.7);
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .logo {
            height: 50px;
            filter: drop-shadow(0 0 2px #4f46e5);
        }
        header h1 {
            font-weight: 700;
            font-size: 1.8rem;
            color: #a5b4fc;
        }
        main {
            padding: 25px 40px;
            max-width: 1100px;
            margin: 0 auto;
        }
        nav ul {
            display: flex;
            gap: 20px;
            justify-content: center;
            background: #1f2937;
            padding: 10px 0;
            border-radius: 12px;
            box-shadow: 0 3px 12px rgba(0,0,0,0.7);
            margin-bottom: 25px;
        }
        nav ul li a {
            text-decoration: none;
            color: #a5b4fc;
            font-weight: 600;
            padding: 8px 15px;
            border-radius: 8px;
            transition: background-color 0.25s ease;
        }
        nav ul li a:hover, nav ul li a.active {
            background: #4f46e5;
            box-shadow: 0 0 8px #6366f1;
            color: #fff;
        }
        h2 {
            font-size: 1.8rem;
            margin-bottom: 15px;
            color: #818cf8;
            text-align: center;
        }

        /* Tabela z cieniem i hover */
        table {
            width: 100%;
            border-collapse: collapse;
            background: #222831;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 0 10px #3b82f6aa;
        }
        thead {
            background: #3b82f6;
            color: #fff;
            font-weight: 700;
            text-transform: uppercase;
        }
        thead th {
            padding: 15px 10px;
            user-select: none;
        }
        tbody tr {
            border-bottom: 1px solid #475569;
            transition: background-color 0.3s ease;
            cursor: pointer;
        }
        tbody tr:hover {
            background: #475569aa;
        }
        tbody td {
            padding: 12px 8px;
            text-align: center;
        }
        tbody td.actions a {
            color: #93c5fd;
            margin: 0 8px;
            font-weight: 600;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        tbody td.actions a:hover {
            color: #60a5fa;
        }

        /* Formularz dodawania */
        form#addUserForm {
            max-width: 600px;
            margin: 30px auto;
            background: #1e293b;
            padding: 30px;
            border-radius: 14px;
            box-shadow: 0 0 20px #2563ebaa;
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            justify-content: center;
        }
        form#addUserForm input[type=text],
        form#addUserForm input[type=password] {
            flex: 1 1 45%;
            padding: 12px 15px;
            border: none;
            border-radius: 10px;
            background: #334155;
            color: #f1f5f9;
            font-size: 1rem;
            box-shadow: inset 0 0 5px #64748b;
            transition: background-color 0.3s ease;
        }
        form#addUserForm input[type=text]:focus,
        form#addUserForm input[type=password]:focus {
            background: #475569;
            outline: none;
            box-shadow: 0 0 10px #60a5fa;
        }
        form#addUserForm button {
            flex: 1 1 100%;
            padding: 15px 0;
            background: #3b82f6;
            border: none;
            border-radius: 12px;
            font-size: 1.2rem;
            font-weight: 700;
            color: white;
            cursor: pointer;
            transition: background-color 0.3s ease;
            box-shadow: 0 0 15px #3b82f6aa;
        }
        form#addUserForm button:hover {
            background: #2563eb;
            box-shadow: 0 0 20px #2563ebbb;
        }

        /* Paginacja */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-top: 30px;
        }
        .pagination button {
            background: #3b82f6;
            border: none;
            padding: 8px 14px;
            color: white;
            font-weight: 700;
            border-radius: 8px;
            cursor: pointer;
            transition: background-color 0.3s ease;
            box-shadow: 0 0 10px #3b82f6aa;
        }
        .pagination button:disabled {
            background: #64748b;
            cursor: default;
            box-shadow: none;
        }
        .pagination button:hover:not(:disabled) {
            background: #2563eb;
            box-shadow: 0 0 15px #2563ebbb;
        }

        /* Animacje */
        @keyframes fadeInUp {
            0% {
                opacity: 0;
                transform: translateY(25px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }
        main > * {
            animation: fadeInUp 0.8s ease forwards;
        }

        /* Responsywność */
        @media (max-width: 720px) {
            form#addUserForm input[type=text],
            form#addUserForm input[type=password] {
                flex: 1 1 100%;
            }
            nav ul {
                flex-wrap: wrap;
            }
            tbody td {
                font-size: 0.9rem;
            }
        }















/* Animacja dla sekcji stats */
.stats {
  display: flex;
  gap: 40px;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 25px 0 40px 0;
  color: #a8b9d6;
  justify-content: center;
  animation: fadeInUp 1.2s ease forwards;
  opacity: 0;
}

/* Animacja liczb w stats */
.stats span {
  color: #7aa7f7;
  font-weight: 900;
  font-size: 1.4rem;
  text-shadow: 0 0 10px #5479d4;
  animation: pulseGlow 2.5s infinite alternate ease-in-out;
}

/* Lepszy styl alertów z delikatnym animowanym tłem */
.alert {
  background: linear-gradient(90deg, #bb2d3b, #d4414f);
  color: #fff6f6;
  padding: 20px 25px;
  border-radius: 14px;
  font-weight: 700;
  box-shadow:
    0 0 15px rgba(187, 45, 59, 0.75),
    inset 0 0 15px rgba(255, 130, 130, 0.85);
  animation: pulseGlow 3s infinite alternate ease-in-out;
  max-width: 500px;
  margin: 0 auto 40px;
  text-align: center;
}

/* Podkreślenie i animacja przycisku Wyloguj */
nav ul li:last-child a {
  background: #bb2d3b;
  color: #fff;
  font-weight: 900;
  box-shadow:
    0 0 15px #bb2d3b;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  animation: pulseGlow 3s infinite alternate ease-in-out;
}

nav ul li:last-child a:hover,
nav ul li:last-child a:focus {
  background: #d4414f;
  box-shadow:
    0 0 30px #ff6666;
  color: #fff;
}

/* Animacja fade dla h2 i p */
main h2,
main p {
  opacity: 0;
  animation: fadeSlideUp 1.5s ease forwards;
}

main p {
  animation-delay: 0.5s;
}

/* Responsywność dla sekcji stats na małych ekranach */
@media (max-width: 480px) {
  .stats {
    flex-direction: column;
    gap: 20px;
    font-size: 1.1rem;
  }
}

/* Animacje już zdefiniowane w poprzednim CSS */
/* @keyframes fadeSlideUp {...} */
/* @keyframes pulseGlow {...} */
/* @keyframes fadeInUp {...} */
