body {
  background-color: #000000;
  color: #ffffff;
  font-family: Calibri;
  width: 1050px;
  text-align:left;
  margin: 0 auto 0 auto;
}

select {
  background-color: #111111;
  color: #fff;
  border: 1px solid #555;
}

select option {
  background-color: #111111;
  color: #fff;
}

/* Password input */
input[type="password"] {
  background-color: #111111;
  color: #fff;
  border: 1px solid #555;
  padding: 8px 10px;
  border-radius: 4px;
  outline: none;
}

/* Tlačítko */
button,
input[type="button"],
input[type="submit"] {
  background-color: #333;
  color: #fff;
  border: 2px solid #555;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

/* Hover */
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
  background-color: #444;
}

/* Focus (klávesnice / klik) */
input[type="password"]:focus,
button:focus,
input[type="button"]:focus,
input[type="submit"]:focus {
  border-color: #777;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.15);
}

.styl_panel {
  position:absolute;
  border:0px solid #ffffff;
  cursor:pointer;
  z-index: 1;
}

input[type="checkbox"]{
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: #333;
  border: 1px solid #555;
  border-radius: 3px;
  vertical-align: middle;
  cursor: pointer;
}

input[type="checkbox"]:checked{
  background: #444;
  border-color: #777;
}

/* bílá fajfka */
input[type="checkbox"]:checked::after{
  content: "";
  display: block;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  margin: 4px 0 0 3px;
}

input[type="checkbox"]:focus{
  outline: none;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.15);
}

.styl_panel_zataras {
  position:absolute;
  border:0px solid #ffffff;
  width:1000px;
  height:750px;
  z-index: 1;
}

.styl_panel_zataras_text {
  position:absolute;
  border:0px solid #ffffff;
  width:1000px;
  height:750px;
  font-family: Arial;
  font-size: 60px;
  font-weight: bold;
  line-height: 90px;
}

header {
  display: block;
  background-color: #120334;
  height: 100px;
  border-bottom: 5px solid #4444DD;
  margin-bottom: 30px;
}

h1 {
  text-align:center;
  font-weight: normal;
  margin: 28px 0 0 0;
  float: left;
  width: 100%;
  height: 50px;
  white-space: nowrap;
}

.circle {
    top:-100px;
    left:-100px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #2f103c;
    border: #FFF 2px solid;
    display: "inline-block";
    position: absolute;
    text-align:center;
    font-family: Calibri;
    font-size: 23px;
    font-weight: bold;
}

.styl_jmena {
    top:-100px;
    left:-100px;
    width: 160px;
    height: 50px;
    background-color: none;
    border: #FFF 0px solid;
    display: "inline-block";
    position: absolute;
    text-align:center;
    font-family: Calibri;
    font-size: 14px;
}

.styl_table_osa {
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    width:100%;
    height:100%;
}

.styl_table_tanecnici {
    margin: 0px 0px 0px 0px;
    padding: 10px 0px 0px 0px;
    width:100%;
}

.styl_table_tlacitko_prehraj {
  position:absolute;
  text-align:center;
  bottom:0px;
  width:100%;
  height:90px;
}

.styl_tlacitko_prehraj {
  display:none;
  width:150px;
  height:60px;
  font-size: 15px;
  font-weight: bold;
  cursor:pointer;
}

.square{
  position: absolute;
  width: 50px;
  height: 50px;
  z-index: 20000;
  background-color: blue;
}
#s1{
  left: 150px;
  top: 200px;
}

/* Modalni okna (sdilena mezi editorem a prohlizecem) */
.edit-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100%; height: 100%;
  z-index: 3000;
  background: rgba(0,0,0,0.75);
}

.edit-modal-box {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: #1a1a1a;
  border: 1px solid #666;
  border-radius: 6px;
  padding: 20px 24px;
  min-width: 240px;
  max-width: 420px;
  box-sizing: border-box;
  color: #ddd;
  font-size: 14px;
}

.edit-modal-box h3 {
  margin: 0 0 14px 0;
  font-size: 16px;
  color: #fff;
  border-bottom: 1px solid #444;
  padding-bottom: 8px;
}

.edit-modal-box input[type="text"] {
  background-color: #111;
  color: #fff;
  border: 1px solid #555;
  border-radius: 3px;
  padding: 4px 6px;
  font-size: 14px;
}

.edit-modal-tlacitka {
  margin-top: 14px;
  text-align: right;
}

@keyframes edit-spin { to { transform: rotate(360deg); } }
.edit-spinner {
  width: 36px; height: 36px;
  border: 4px solid #555;
  border-top-color: #5a9;
  border-radius: 50%;
  animation: edit-spin 0.8s linear infinite;
  margin: 16px auto 8px;
}

/* ===== Manuál — sdílené styly (editor i prohlížeč) ===== */
.manual-box {
  position: fixed; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(1000px, 96vw);
  height: min(780px, 90vh);
  background: #1a1a1a; border: 1px solid #555;
  border-radius: 6px; display: flex; flex-direction: column;
  z-index: 4000;
}
.manual-header {
  padding: 12px 20px; border-bottom: 1px solid #444;
  font-size: 16px; font-weight: bold; color: #fff;
  flex-shrink: 0; display: flex; justify-content: space-between; align-items: center;
}
.manual-close { cursor: pointer; font-size: 22px; color: #888; line-height: 1; padding: 0 4px; }
.manual-close:hover { color: #ccc; }
.manual-body { display: flex; flex: 1; overflow: hidden; }
.manual-nav {
  width: 190px; flex-shrink: 0; overflow-y: auto;
  border-right: 1px solid #333; padding: 8px 0; background: #111;
}
.manual-nav-item {
  padding: 6px 14px; cursor: pointer; color: #aaa; font-size: 13px; text-align: left;
}
.manual-nav-item:hover { background: #222; color: #fff; }
.manual-nav-item.active { background: #1a3a5c; color: #7af; font-weight: bold; }
.manual-nav-sep {
  padding: 10px 10px 3px; color: #7af; font-size: 12px; font-weight: bold;
  text-transform: uppercase; letter-spacing: 0.5px; user-select: none; text-align: center;
}
.manual-content { flex: 1; overflow-y: auto; padding: 22px 30px; color: #ddd; font-size: 14px; line-height: 1.5; text-align: left; }
.manual-sekce h2 { font-size: 18px; color: #fff; margin: 0 0 14px; border-bottom: 1px solid #333; padding-bottom: 8px; }
.manual-sekce h3 { font-size: 14px; color: #7af; margin: 18px 0 6px; }
.manual-sekce p { margin: 0 0 10px; }
.manual-sekce ul, .manual-sekce ol { margin: 0 0 10px 20px; }
.manual-sekce li { margin-bottom: 5px; }
.manual-sekce table { border-collapse: collapse; margin: 6px 0 14px; width: 100%; }
.manual-sekce th, .manual-sekce td { border: 1px solid #444; padding: 6px 10px; font-size: 13px; text-align: left; }
.manual-sekce th { background: #222; color: #ccc; }
.manual-sekce kbd {
  background: #2a2a2a; border: 1px solid #666; border-bottom-width: 2px;
  border-radius: 4px; padding: 1px 6px; font-size: 12px;
  color: #eee; font-family: Calibri, monospace;
}
.manual-tip {
  background: #0f1f0f; border-left: 3px solid #5a9; padding: 8px 14px;
  margin: 10px 0 12px; color: #bdb; font-size: 13px; border-radius: 0 4px 4px 0;
}
.manual-warn {
  background: #1f1500; border-left: 3px solid #c90; padding: 8px 14px;
  margin: 10px 0 12px; color: #cc9; font-size: 13px; border-radius: 0 4px 4px 0;
}
