body {
    min-height: 100vh;
    background-color: #000; /* Fallback černá */
    background-image: url('bg-index.jpg?v=202507122361'); /* obrázek ve stejné složce jako CSS */
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover !important;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #fafdff;
    display: flex;
    align-items: center;
    justify-content: center;
}


.public-main {
    max-width: 480px;
    width: 100%;
    background: rgba(20, 24, 35, 0.56);
    border-radius: 16px;
    padding: 2em 1.2em 1.2em 1.2em;
    margin: 2em 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 0 6px 32px rgba(0,0,0,0.18);
    backdrop-filter: blur(16px) saturate(110%);
    -webkit-backdrop-filter: blur(16px) saturate(110%);
    border: 1.5px solid rgba(255,255,255,0.11);
}

.logo-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 1em;
}
.form-logo {
    height: auto;
    max-height: 70px;
    width: auto;
    max-width: 70%;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.08));
}

h1 {
    color: #fafdff;
    font-size: 1.2em;
    margin-bottom: 0.7em;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
}

.lead {
    color: #eaf7ff;
    font-size: 1em;
    margin-bottom: 2em;
    text-align: center;
}

.public-actions {
    margin-bottom: 2.2em;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.2em;
    width: 100%;
}

.public-info {
    font-size: 10px;
    color: #eaf7ff;
    text-align: left;
    margin: 0.8em 0 1.2em 0;
    padding: 0.6em 1.1em;
    background: rgba(20,24,35,0.20);
    border-radius: 7px;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 98%;
    box-sizing: border-box;
}

.btn-main,
.btn-secondary {
    display: inline-block;
    min-width: 150px;
    padding: 0.7em 2.1em;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.09);
    text-align: center;
}

/* Přihlásit se – tmavší */
.btn-main {
    background: rgba(60, 60, 60, 0.26);
    color: #fafdff;
    border: 1.5px solid rgba(60, 60, 60, 0.35);
}
.btn-main:hover {
    background: rgba(30, 30, 30, 0.38);
    color: #fff;
}

/* Registrovat se – tmavší, hover efekt */
.btn-secondary {
    background: rgba(20, 24, 35, 0.82);
    color: #fff;
    border: 1.5px solid #232526;
}
.btn-secondary:hover {
    background: #232526;
    color: #ffe066;
}

footer {
    margin-top: 2.5em;
    color: #aaa;
    font-size: 0.95em;
    width: 100%;
}
@media (max-width: 600px) {
    .public-main {
        max-width: 98vw;
        padding: 1em 0.5em 0.8em 0.5em;
    }
    .form-logo {
        max-height: 38px;
    }
    .public-actions {
        flex-direction: column;
        gap: 0.8em;
    }
}
