:root{
  --sidebar-w: 200px;
}

body, html { padding: 0px; margin: 0px; height: 100%; }

* { box-sizing: border-box; }

/* PRIHLASENI :: index.php */

#prihlaseni_container { position: relative; min-height: 100vh; width: 100%; display: flex; align-items: center; justify-content: center; }

#prihlaseni { width: min(520px, 92vw); }
#prihlaseni .brand { display: flex; justify-content: center; margin-bottom: 30px; }
#prihlaseni .brand img { width: 50%; height: auto; animation: logoFloat 5s ease-in-out infinite; transform-origin: center; }
@keyframes logoFloat { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-6px) } }
#prihlaseni .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
#prihlaseni .line { margin-bottom: 14px; }
#prihlaseni .line label { display: inline-flex; align-items: center; gap: 8px; }
#prihlaseni input { width: 100%; box-sizing: border-box; border-radius: 7px; padding: 18px; outline: none; transition: border-color .25s ease, box-shadow .25s ease, transform .08s ease; }

#prihlaseni #form_control_point { position: absolute; left: -9999px; top:- 9999px; }

#prihlaseni input[type="checkbox"] { width: auto; margin-right: 8px; margin-left: 15px; vertical-align: middle; cursor: pointer; transform: scale(1.4); transform-origin: center; }
#prihlaseni button[type="submit"] { font-size: 16px; display: block; width: 60%; margin: 0 auto; padding: 16px; border:none; border-radius: 7px; cursor: pointer; transform: translateZ(0); transition: transform .16s ease, filter .16s ease, box-shadow .16s ease; }
#prihlaseni button[type="submit"]:hover { transform: scale(1.03); }
#prihlaseni button[type="submit"]:active { transform: scale(0.98); }

.error_box, .success_box, .info_box, .warning_box { padding: 15px 12px; border-radius: 8px; }
#prihlaseni .error_box, .success_box, .info_box, .warning_box { margin-bottom: 10px; }

/* Rozložení / struktura */
.app { min-height: 100%; display: flex; flex-direction: column; }

/* Topbar */
.topbar { position: sticky; top: 0; z-index: 10; }
.topbar-row { width: 100%; display: flex; align-items: center; gap: 24px; padding: 12px 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 160px; }
.brand img { display: block; height: 40px; width: auto; }

/* menu v topbaru – layout */
.mainnav { flex: 1; display: flex; justify-content: center; gap: 8px; }
.pill { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 100px; border: none; transition: all .12s ease; }
.pill:hover, .pill.is-active { transform: translateY(-1px); }

/* ikonky – layout */
.top-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; border: none; display: grid; place-items: center; transition: transform .12s ease, box-shadow .12s ease; }
.icon-btn:hover { transform: translateY(-1px); }
.icon { width: 22px; height: 22px; display: block; }

/* Shell – sidebar vlevo, content vpravo */
.shell { width: 100%; margin: 16px 0 32px; padding: 0 24px; display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); gap: 24px; }

/* Sidebar – layout */
.sidebar { display: flex; flex-direction: column; gap: 14px; align-self: start; }
.box { border-radius: 8px; padding: 10px 10px 10px 12px; box-shadow: none; }
.box h3 { margin: 0 0 6px; }
.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-list li { margin: 0; }
.menu-list a { display: block; padding: 6px 4px; border-radius: 6px; }

/* Content – layout */
.content { min-height: 60vh; padding: 8px 4px 16px 4px; border: none; box-shadow: none; }
.content h1 { margin: 0 0 10px; }

/* Footer – layout */
.footer { margin-top: auto; }
.footer .footer-row { width: 100%; padding: 16px 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer .contacts { display: flex; gap: 32px; justify-content: center; }
.footer .contact b, .footer .contact small { display: block; }

/* Tabulka – layout */
.table-wrap { overflow-x: auto; margin: 16px 0; }
.table.standard { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 12px; overflow: hidden; }
.table.standard thead th { padding: 10px 12px; text-align: left; }
.table.standard tbody td { padding: 8px 12px; }
.table.standard tbody tr:hover { transition: background-color .15s ease; }

