/* Soubor: style.css */
:root {
    --bg-color: #0f172a; /* Temná hlubina */
    --nav-bg: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent: #0ea5e9; /* Světlá voda */
    --accent-hover: #0284c7;
    --danger: #e11d48;
    --success: #10b981;
    --border-radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    -webkit-user-select: none; user-select: none; /* Zákaz označování textu */
}

/* Navigace */
.navbar { background: var(--nav-bg); padding: 15px 20px; position: sticky; top: 0; z-index: 100; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: bold; color: white; text-decoration: none; }
.nav-links a { color: var(--text-secondary); text-decoration: none; margin-left: 20px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-primary); }
.btn-nav { background: var(--accent); color: white !important; padding: 8px 16px; border-radius: 20px; }

/* Kontejner a formuláře */
.app-container { max-width: 1200px; margin: 40px auto; padding: 0 20px; min-height: 80vh; }
.form-container { background: var(--nav-bg); padding: 30px; border-radius: var(--border-radius); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
input, select, textarea { width: 100%; padding: 12px; margin-top: 8px; margin-bottom: 20px; background: #0f172a; border: 1px solid #334155; color: white; border-radius: 8px; }
.btn { width: 100%; padding: 14px; background: var(--accent); color: white; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; font-size: 16px; transition: 0.2s; }
.btn:hover { background: var(--accent-hover); }

/* Anti-Theft Blackout */
#security-blackout {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background-color: #000 !important; z-index: 999999;
    color: var(--danger); align-items: center; justify-content: center;
    font-size: 24px; font-weight: bold; text-transform: uppercase;
}
.is-blacked-out #security-blackout { display: flex !important; }
.is-blacked-out .app-container { filter: blur(50px); }

/* Zákaz tisku */
@media print {
    body * { visibility: hidden; }
    body::before {
        content: "OBSAH JE CHRÁNĚN AUTORSKÝM PRÁVEM. TISK ZAKÁZÁN.";
        visibility: visible; display: block; position: absolute;
        top: 50%; left: 50%; transform: translate(-50%, -50%);
        font-size: 24px; color: black;
    }
}