* {
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
}

/* RESET */
* {
    box-sizing: border-box;
}

/* ZÁKLAD */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
}

/* NAV */
nav {
    background: #2f4f7f;
    padding: 14px 20px;
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.logo {
    white-space: nowrap;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
}

.logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

.logo span {
    display: block;
    line-height: 1;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px 18px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: white;
    font-weight: 500;
    font-size: 16px;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 640px) {
    nav {
        padding: 12px 15px;
    }

    .nav-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    nav ul {
        width: 100%;
        justify-content: flex-start;
        gap: 10px 16px;
    }
    
    .logo a {
    font-size: 20px;
    gap: 10px;
}

.logo img {
    width: 36px;
    height: 36px;
}
    
}

nav a,
nav a:visited,
nav a:hover,
nav a:active {
    color: white;
    text-decoration: none;
}

.logo a,
.logo a:visited,
.logo a:hover,
.logo a:active {
    color: white;
    text-decoration: none;
}

input[disabled] {
    background: #f0f3f7;
    color: #666;
    cursor: not-allowed;
}

.live-search-results {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.live-search-item {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f4f7fb;
    color: #222;
    text-decoration: none;
}

.live-search-item:hover {
    background: #e9eef7;
    text-decoration: none;
}

.live-search-type {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: white;
    background: #4a6fa5;
    padding: 3px 8px;
    border-radius: 999px;
    margin-bottom: 6px;
}

.live-search-title {
    font-weight: 700;
    color: #2f4f7f;
    margin-bottom: 4px;
}

.live-search-text {
    font-size: 14px;
    color: #555;
}

.live-search-empty {
    padding: 12px 14px;
    color: #666;
    background: #f4f7fb;
    border-radius: 12px;
}

mark {
    background: #fff1a8;
    padding: 0 2px;
    border-radius: 3px;
}

/* PAGE HEADER */
header.page-header {
    display: block;
    background: linear-gradient(135deg, #4a6fa5, #7aa7ff);
    color: white;
    text-align: center;
    padding: 70px 20px 60px;
}

header.page-header .page-header-inner {
    max-width: 900px;
    margin: 0 auto;
}

header.page-header h1 {
    margin: 0 0 14px;
    font-size: clamp(32px, 6vw, 52px);
    line-height: 1.15;
    color: white;
    text-align: center;
}

header.page-header p {
    margin: 0 auto;
    font-size: clamp(17px, 2.5vw, 21px);
    max-width: 700px;
    color: white;
    text-align: center;
}

@media (max-width: 900px) {
    header.page-header {
        padding: 60px 20px 50px;
    }
}

@media (max-width: 640px) {
    header.page-header {
        display: block;
        background: linear-gradient(135deg, #4a6fa5, #7aa7ff);
        color: white;
        text-align: center;
        padding: 45px 15px 40px;
    }

    header.page-header h1 {
        color: white;
        text-align: center;
        font-size: clamp(30px, 9vw, 44px);
        line-height: 1.15;
    }

    header.page-header p {
        color: white;
        text-align: center;
        font-size: 17px;
    }
}

.stats-section {
    margin-top: 45px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 22px;
}

.stat-card {
    background: white;
    padding: 30px 22px;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.stat-number {
    font-size: clamp(38px, 6vw, 58px);
    font-weight: 800;
    color: #2f4f7f;
    line-height: 1;
    letter-spacing: -1px;
}

.stat-label {
    margin-top: 12px;
    color: #555;
    font-size: 16px;
    font-weight: 600;
}

.online-box {
    margin: 26px auto 0;
    background: white;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 999px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    color: #2f4f7f;
    font-weight: 600;
}

.online-dot {
    width: 10px;
    height: 10px;
    background: #37b26c;
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(55,178,108,0.15);
}

@media (max-width: 800px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 24px 18px;
    }
}

        footer {
            background: #e9eef7;
            text-align: center;
            padding: 25px 20px;
            margin-top: 20px;
            color: #555;
            font-size: 15px;
        }
