@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f4f7fb, #e9eef5);
    color: #1f2937;
    min-height: 100vh;
    padding: 40px 20px;
}

.container {
    max-width: 1200px;
    margin: auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

h1,
h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: #111827;
    font-weight: 700;
}

/* FORMULÁRE */
form {
    width: 100%;
}

.search-bar,
.filter-panel form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 25px;
}

input,
select {
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.25s ease;
    background: #fff;
}

input:focus,
select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"] {
    width: 100%;
    margin-bottom: 18px;
}

input[type="submit"],
button,
.btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
}

input[type="submit"]:hover,
button:hover,
.btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* LINKY */
a {
    color: #0073ff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s ease;
}

a:hover {
    color: #1d4ed8;
}
a1 {
    color: #e62121;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s ease;
}

a1:hover {
    color: #fe0000;
}

.search-bar a,
.top-links a {
    background: #111827;
    color: white;
    padding: 12px 16px;
    border-radius: 10px;
}

.search-bar a:hover,
.top-links a:hover {
    background: #1f2937;
}

/* TABUĽKA */
table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 14px;
    margin-top: 20px;
}

thead,
tr:first-child {
    background: #2563eb;
    color: white;
}

th,
td {
    padding: 16px;
    text-align: left;
}

tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background 0.2s ease;
}

tr:not(:first-child):hover {
    background: #f9fafb;
}

th {
    font-weight: 600;
}

/* FORM STRÁNKY */
.form-container {
    max-width: 600px;
    margin: auto;
    background: white;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

/* FILTER PANEL */
.filter-panel {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 25px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .container,
    .form-container {
        padding: 20px;
    }

    .search-bar,
    .filter-panel form {
        flex-direction: column;
        align-items: stretch;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    h1,
    h2 {
        font-size: 26px;
    }
}

