/* ===== BODY ===== */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(-45deg, #f8fafc, #e2e8f0, #f1f5f9, #ffffff);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    color: #111;
    padding-top: 70px;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    z-index: 1000;
}

.nav-inner {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-links a {
    margin-left: 20px;
    color: #555;
    text-decoration: none;
    font-weight: 500;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1000px;
    margin: auto;
    padding: 30px 20px;
}

/* ===== CARDS ===== */
.card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

/* ===== TABLE ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

tr:hover {
    background: #f9f9f9;
}

/* ===== INPUT + FORM ===== */
label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

input, select {
    padding: 10px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-top: 5px;
}

button {
    padding: 10px;
    background: black;
    color: white;
    border: none;
    border-radius: 8px;
    margin-top: 10px;
    cursor: pointer;
}

.pagination {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap; /* toto je kľúčové */
    justify-content: center;
    gap: 8px;
}

/* tlačítka */
.pagination a {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: black;
    min-width: 35px;
    text-align: center;
    transition: 0.2s;
}

/* active */
.pagination a.active {
    background: black;
    color: white;
}

/* hover */
.pagination a:hover {
    background: #eee;
}
/* ===== STATS ===== */
.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

/* ===== FOOTER ===== */
.footer {
    margin-top: 80px;
    padding: 30px 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.footer img {
    height: 50px;
    opacity: 0.8;
}

.footer-text {
    font-size: 13px;
    color: #666;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    body {
        font-size: 16px;
    }

    .nav-inner {
        flex-direction: column;
        gap: 10px;
    }

    table {
        display: block;
        overflow-x: auto;
        font-size: 12px;
    }

    input, select, button {
        width: 100%;
    }
}