@charset "UTF-8";
/* css/styl.css */
/* EU CONTACT AG LTD  - screen */

/*reset-----------------------------------------------------------------------*/
* {
  border: thin solid #fff;
  border: 0;
  margin: 0;
  padding: 0;
}


/*obecna definice stylu pro zakladni prvky------------------------------------*/
body {
  font-family: Calibri, Tahoma, Verdana, Arial, lucida, sans-serif;
/*změna*/ background: #fff;

background-image: url('../img/pozadi.jpg');
background-position: top center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;

  color: #777;
  font-size: medium;
  font-size: 85%;
  text-align: left;
  min-width: 750px;
  padding: 5px;
}

h1 {
  margin: 10px 30px 0 10px;
  font-size: 130%;
  color: #000;
}

h2, h2 a {
  margin: 10px 30px 5px 10px;
  font-size: 110%;
  color: #e5007d;
  text-decoration: none;
}

h3 {
  margin: 10px 30px 5px 10px;
  font-size: 110%;
  color: #000;
}

a  {
  color: #e73089;
  font-weight: bold;
  text-decoration: underline;
}

a:hover {
  color: #e5007d;
}

input {
  margin: 1px;
border: 1px solid #e73089;  
}

ol {
    font-size: 100%;
    padding: 10px;
}

ol li {
  margin: 0 0 10px 20px;
}

ul {
    font-size: 100%;
    padding: 10px;
}

ul li {
  margin: 0 0 10px 10px;
}

dl {
  padding: 10px;
  text-align: justify;
}

dt {
  font-weight: bold;
}

dd {
  padding: 0 0 10px 10px;
}


table {
  border: 0;
  border-collapse: collapse;
  font-size: 100%;
}

th, td {
  padding-right: 5px;
}

table.club_overview /*, table.club_overview tr, table.club_overview tr td*/ {
  border: 1px solid #000;
  border-collapse: collapse;
  font-size: 100%;
  color: #000;
  background-color: #fff;
}

table.club_overview tr, table.club_overview tr td, table.club_overview tr th {
  border: 1px solid #000;
  border-collapse: collapse;
}

table.club_overview tr th {
    background-color: #B1A37B;
    color: #000;
}

td.grey {
  background-color: #B1A37B;
  color: #000;
}

td.red {
  background-color: #f00;
  color: #000;
}

td.yellow {
  background-color: #ff0;
  color: #000;
}

td.orange {
  background-color: #f93;
  color: #000;
}

td.green {
  background-color: #7d7;
  color: #000;
}

td.black, table.club_overview tr th.black {
  background-color: #000;
  color: #B1A37B;
}

td.bold {
  font-weight: bold;
}

div#central table.admin_view th a {
    color: #fff;
}

textarea {
    font-family: Calibri, Tahoma, Verdana, Arial, lucida, sans-serif;
    font-size: 110%;
}

textarea.editor_simple {
    font-family: Calibri, Tahoma, Verdana, Arial, lucida, sans-serif;
    font-size: 110%;
    background-color: #fff;
    color: #000;
}

img.icon {
    margin: 1px;
}

p.alerts_block {
    color: #f00;
    border: 2px solid #f00;
    margin: 10px;
}

/*mozna casem odkomentovat a upravit?

.vstup
{
  outline: none;
  border: thin solid #310;
}*/

.hlavniBloky {
  margin: 0 auto;
}

/*vertikalni cleneni----------------------------------------------------------*/
#header {
  width: 821px;
  height: 159px;
  background: url("../img/header_bg.png?v=1z163") no-repeat;
}

#menu {
  width: 821px;
  height: 28px;
  /*background: url("../img/menu_bg.png") no-repeat;*/
  background-color: #e5007d;
  /*padding-left: 20px;*/
}

#main {
  clear: both;
  width: 800px;
  min-height: 220px;
  background: url("../img/main_bg.png") repeat-y;
  padding-left: 12px;
  padding-right: 9px;
}

#footer {
  width: 821px;
  height: 42px;
  clear: both;
  background: url("../img/footer_bg.png") no-repeat;
  padding-bottom: 30px;
}

/*horizontalni cleneni obsahu #main-------------------------------------------*/
#left {
  float: left;
  width: 146px;
  min-height: 330px;
  /*background: #0E0A0A;
  border-right: 1px solid #3E3B37;*/
}

#right {
  float: right;
  width: 146px;
  min-height: 330px;
  /*background: #0E0A0A;
  border-left: 1px solid #3E3B37;*/
}

#central {
  float: left;
  width: 484px;
/*  color: #E1D3AB;*/
  color: #333;
  padding: 10px;
}

#bottomend /*zarazka, aby se paticka zobrazovala az po skonceni obsahu vsech sloupcu*/ {
  clear: both;
}

/*prvky hlavicky--------------------------------------------------------------*/
#clickable {
  display:block;
  float: left;
  width: 550px;
  height: 90px;
}

#login_box {
  float: right;
  width: 198px;
  height: 120px;
  margin: 15px 18px 0 0;
  padding: 7px 7px 7px 7px;
  border: 1px solid #aaa;
  /*background: #0E0A0A;*/
  background: #fff;
}

.login_form_title {
  display: block;
  width: 43px;
  float: left;
  clear: left;
}

#login_box a {
  font-weight: normal;
}
 
#login_box a.bookmark {
    font-weight: bold;
    display:block;
    float: left;
    text-decoration: none;
    margin: 0 3px 3px 0;
    padding: 2px 5px 2px 5px;
    color: #fadceb;
    border: 1px solid #b10061;
    vertical-align: middle;
    /*background: url("../img/bookmark_bg.png") repeat-x;*/
    background: #e5007d; /* Old browsers */
}

#login_box a:hover.bookmark {
    color: #fff;
}

#login_box .heading {
    display: block;
    font-weight: bold;
    font-size: 120%;
    padding-bottom: 2px;
}

#login_box .heading a {
    text-decoration:none;
}

#login_box .login_input {
    width: 122px;
	border: 1px solid #ddd;	
}

#remember_me {
  margin-left: 47px;
}

#login_button {
  margin: 42px;
}

form.inline {
    display: inline;
}

/*prvky menu------------------------------------------------------------------*/
#menu a {
  display:block;
  float: left;
  text-decoration: none;
  margin-top: 2px;
  padding: 4px 10px 2px 10px;
  color: #fff;
  border-left: 1px solid #ec6ea6;
  vertical-align: middle;
}

#menu a.emp {
  color: #000;
}

#menu a#prvni {
  border: 0;
  padding-left: 30px;
}

#menu a:hover {
  color: #ffffff;
}

/*prvky hlavni casti - levy a pravy sloupec, stred----------------------------*/
#left h2, #right h2 /*nadpis leveho a praveho sloupce*/ {
  font-weight: bold;
  padding: 3px 0 3px 0;
  margin: 0;
  width: 144px;
  text-align: center;
  /*background: #fff;*/
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  font-size: 110%;
  color: #222;
}

#left h2.top, #right h2.top /*prvni nadpis leveho a praveho sloupce*/ {
  border-top: 0;
}

#left p, #right p, #central p /*obsah leveho a praveho sloupce*/ {
  padding: 10px;
}

.news /*novinka*/ {
  padding: 10px;
  border-bottom: 1px solid #3E3B37;
  font-weight: bold;
}

.news_date {
	font-size: 80%;
	font-style: italic;
}

.highlighted {
    /*background: #B1a37B;
    color: #0E0A0A;*/
    /*color: #fff;*/
    color: #e5007d;
    font-weight: bold;	
}

.alert_red {
    color: #f00;
}

.alert_red a {
    color: #f00;
}

.alert_red a:hover {
    color: #ff9933;
}

.alert_orange {
    color: #ff9933;
}

.alert_orange a {
    color: #ff9933;
}

.alert_orange a:hover {
    color: #fff;
}

.alert_yellow {
    color: #ec6ea6;
}

.alert_yellow a:hover {
    color: #ff9933;
}

.alert_normal {
    
}

.alert_normal a {
    color: #fff;
}

.alert_normal a:hover {
    color: #ff9933; 
}

p.links {
    text-align: center;
    margin: 10px;
}

p.links a img {
    margin-bottom: 5px;
}

img.pagerank {
    margin-left: 34px;
}

.lang_form {
    padding: 5px 0 5px 13px;
    margin: 0;
}

.form_error {
    background-color: #d11;
 /*   background-color: #000;*/
    color: #fff;
    font-weight: bold;
}

span.form_error a{
    color: #fff;
}

#central p /*obsah stredniho sloupce*/ {
  text-align: justify;
}

#central form /*formular ve strednim sloupci*/ {
  margin: 10px;
background-color: #fcedf5; 
}

#central table /*tabulka ve strednim sloupci*/ {
  margin: 0 10px 10px 10px;
}

/*prvky paticky---------------------------------------------------------------*/
#footer p {
  padding-top: 7px;
  text-align: center;
  font-size: 90%;
}

#footer p a {
  text-decoration: none;
}

/*samostatne prvky pouzivane kdekoliv-----------------------------------------*/
.emp_red, form_error /*cervene pismo*/ {
  color: #f00;
}

.emp_yellow {
  color: #ec6ea6;
}

.emp_green {
    color: #117711;
}

.emp_bold {
    font-weight: bold;
}

.emp_bold_green {
    font-weight: bold;
    color: #117711;
}

.emp_bold_red {
    font-weight: bold;
    color: #f00;
}

.emp_bold_orange {
    font-weight: bold;
    color: #ff9933;
}

.emp_bold_yellow {
  font-weight: bold;
  color: #ec6ea6;
}

.emp_bold_white {
    font-weight: bold;
    color: #444;
}

.wide_input {
    width: 384px;
}

.note_italic/*poznamka psana kurzivou*/ {
  font-style: italic;
}

table.profile /*tabulka pro usporadani polozek v profilu*/ {
  margin-left: 10px;
  border-collapse: collapse;
  font-size: 100%;
/*	background-color: #fadceb;  */
}

table.profile td {
    padding-right: 5px;
    min-width: 110px;
}

.profile_photo {
    float: right;
    margin: 14px 10px 0 0;
    padding: 2px;
    border: 1px solid #3E3B37;
}

.form_title {
  display: block;
  width: 70px;
  float: left;
  clear: left;
}

.no_vertical_space {
    margin: 0;
    padding: 0;
}

a.register_as {
    font-size: 120%;
}

.block {
    display: block;
}

table.reg_form {
/*	background-color: #f7c8df;*/
}

table.reg_form td {
    font-size: 100%;
    width: auto;
    padding-right: 5px;
}

table.reg_form tr td span.emp_bold_yellow {
    font-weight: bold;
    color: #ec6ea6;
}

table.multiline_form td {
    font-size: 100%;
    padding: 0 5px 15px 0;
    vertical-align: top;
}

td.w110 {
    width: 110px;
}

.width30 {
    width: 30px;
}

.width300 {
    width: 300px;
}

.width400 {
    width: 400px;
}


.leftmarg1, textarea {
    margin: 1px 0 1px 1px;
	border: 1px solid #e73089;	
}

.center, #central div.gallery_box p.center, #central div.gallery p.center {
    text-align: center;
}

form h2 {
    margin-left: 0;
}

.bottom_space {
    padding-bottom: 20px;
}

.centered {
    display: block;
    width: 100%;
    text-align: center;
}

a.bookmark, a.gallery_button, a.gallery_button_right, a.gallery_box_button, #central table tr td form input.bookmark {
  font-weight: bold;
  display:block;
  float: left;
  text-decoration: none;
  margin-top: 10px;
  padding: 3px 10px 3px 10px;
  color: #fcedf5;
  border: 1px solid #b10061;
  vertical-align: middle;
  /*background: url("../img/bookmark_bg.png") repeat-x;*/
    background: #e5007d; /* Old browsers */
}

a:hover.bookmark, a:hover.gallery_button, a:hover.gallery_button_right, a:hover.gallery_box_button {
    color: #fff;
}

select { /* aby selecty nesplyvaly dohromady s dalsima polema */
    margin-bottom: 1px;
    margin-top: 1px;
	border: 1px solid #e73089;	
}

/*administrace*/
table.admin_view, table.calendar {
  background: #fcedf5;
  border: 1px solid #ef87b5;
  margin-left: 10px;
  margin-top: 10px;
  position: relative;
  /*z-index: 10;*/
}

#central table.calendar {
  margin: 0;
  margin-top: 10px;
  padding: 0px;
  position: relative;
  z-index: 10;
}

#central table.calendar form {
    margin: 0;
}

table.calendar select {
    font-size: 80%;
}

table.admin_view th, table.calendar th {
    text-decoration: none;
    margin: 0;
    padding: 3px;
    color: #fff;/*#B1A37B;*/
    border-bottom: 1px solid #b10061;
    border-right: 1px solid #b10061;
    vertical-align: middle;
    /*background: url("../img/bookmark_bg.png") repeat-x;*/
    background: #e5007d; /* Old browsers */
}

table.admin_view td, table.calendar td {
	color: #333;
    padding: 2px;
    border-right: 1px solid #ef87b5;
    text-align: center;
}

table.calendar th, table.calendar td {
  padding: 1px;
}

#central table.calendar td {
  font-size: 95%;
  vertical-align: top;
}

tr.admin_view_odd, tr.calendar_header {
    background: #fadceb;
}

tr.calendar_header
{
    font-weight: bold;
}

.calendar_engagement_placeholder, .calendar_engagement_box {
    display: block;
    width: 100%;
    height: 64px;
    padding: 1px;
    margin: 2px 0 1px 0;
}

table.admin_view_left {
  background: #110E0E;
  border: 1px solid #3E3B37;
  margin-left: 10px;
  margin-top: 10px;
}

table.admin_view_left th {
  text-decoration: none;
  margin: 0;
  padding: 3px;
  color: #fff;/*#B1A37B;*/
  border-bottom: 1px solid #211E1E;
  border-right: 1px solid #191717;
  vertical-align: middle;
  /*background: url("../img/bookmark_bg.png") repeat-x;*/
    background: #4c3c2d; /* Old browsers */
    background: -moz-linear-gradient(top,  #4c3c2d 0%, #0e0706 18%, #0e0706 81%, #4c3c2d 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4c3c2d), color-stop(18%,#0e0706), color-stop(81%,#0e0706), color-stop(100%,#4c3c2d)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #4c3c2d 0%,#0e0706 18%,#0e0706 81%,#4c3c2d 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #4c3c2d 0%,#0e0706 18%,#0e0706 81%,#4c3c2d 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #4c3c2d 0%,#0e0706 18%,#0e0706 81%,#4c3c2d 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #4c3c2d 0%,#0e0706 18%,#0e0706 81%,#4c3c2d 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c3c2d', endColorstr='#4c3c2d',GradientType=0 ); /* IE6-9 */
  text-align: left;
}

table.admin_view_left td {
    padding: 2px;
    border-right: 1px solid #191717;
    text-align: left;
}

tr.admin_view_odd_left {
    background: #211E1E;
}

div#central table.calendar td a {
    color: #fff;
}

.left-column-text-block {
    border-bottom: 1px solid #191717;
    padding: 10px;
}

.add-to-engagement {
    margin-left: 35px;
}

.alternate-even {
    background: #211E1E;
}

.alternate-odd {
    background: #110E0E;
}

table.calendar td.club_closed {
    background-color: #226;
	color: #fff;
}

td.ippform_title {
    width: 155px;
}

td.ippform {
    width: 90px;
}

table.pager {
    width: 462px;
    border: 1px solid #fadceb;
    vertical-align: middle;
}

table.pager td {
    padding-left: 10px;
}

td.pager {
    vertical-align: middle;
}

/* prepinac jazyku (CS / EN / DE) - rozbalovaci menu */
#lang_switch {
    display: block;
    float: left;
    clear: left;
    margin: 22px 0 0 23px;
}

#lang_switch select {
    min-width: 150px;
    padding: 5px 8px 5px 34px;
    border: 1px solid #e5007d;
    border-radius: 3px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: 8px center;
    background-size: 18px 12px;
    color: #333;
    font-size: 100%;
    cursor: pointer;
}

#lang_switch select:focus {
    outline: 2px solid #fadceb;
}

#lang_switch .lang_links a {
    margin-right: 8px;
}

@media print {
    #lang_switch { display: none; }
}

/* fotogalerie */
.gallery_box {
    float: right;
    width: 171px;
    border: 1px solid #fadceb;
    margin: 10px 10px 0 0;
    clear: right;
    padding-bottom: 3px;
}

.gallery_box h2, .gallery_box h2 a /* nadpis leveho a praveho sloupce */ {
  font-weight: bold;
  padding: 3px 0 3px 0;
  margin: 0;
  width: 100%;
  text-align: center;
  background: #fadceb;
  border-bottom: 1px solid #fadceb;
  font-size: 110%;
  color: #e5007d;
}

.profile_photo_gallery {
    float: right;
    padding: 3px;
    margin: 10px 10px 7px;
    width: 124px;
    height: 124px;
    text-align: center;
    border: 1px solid #1E1B17;
}

.imgbox, .delete_imgbox, .double_arrow_left, .double_arrow_right, .invisible_thumb {
    display: block;
    width: 50px;
    height: 50px;
    float: left;
    border: 1px solid #1E1B17;
    margin: 4px 0 0 4px;
    text-align: center;
}

.imgbox img, .delete_imgbox img {
    border: 1px solid #1E1B17;
}

.gallery, .gallery_thumbs, .gallery_non_center {
    float: left;
    border: 1px solid #3E3B37;
    margin: 10px;
    padding: 3px 0 3px 0;
    width: 96%;
    clear: none;
    text-align: center;
}

.gallery_non_center {
    text-align: left;
}

a.gallery_button, a.gallery_button_right, .gallery_box_button {
    clear: left;
    margin-left: 10px;
}

a.gallery_button_right {
    float: right;
    margin-right: 7px;    
}

.gallery_thumbs{
    border: 0;
    padding: 0;
    margin-bottom: 0;
}

.double_arrow_left, .double_arrow_right {
    width: 28px;
}

 .double_arrow_right {
     float: right;
     margin-right: 4px;
 }
 
 .active_thumb {
     border: 1px solid #fff;
 }
 
 .invisible_thumb {
     border: 0;
     width: 52px;
 }
 
 .gallery_navigation {
     text-align: center;
     margin-bottom: 0;
     margin-top: 15px;
 }
 
 table.gallery_bookmarks {
     margin: 0 10px;
 }
 
 .delete_imgbox {
     width: 70px;
     vertical-align: middle;
 }
 
 .gallery_delete_button {
     float: left;
     clear: both;
     margin: 15px 0 10px 200px;
 }
 
 .gallery_box_button {
     float: none;
     margin-left: 27px;
     margin-bottom: 10px;
 }
 
 div.filter {
     border: 1px solid #3E3B37;
     margin: 10px;
     padding: 10px;
     width: 440px;
     background-color: #fcedf5;
 }
 
 p.array_dump {
     padding: 0;
     margin: 0;
     margin-left: 20px;
 }
 
 /* stavy angazma v kalendari */
 
 span.engagement_status_working, span.engagement_status_day_off, span.engagement_status_ill, 
 span.engagement_status_shortened, span.engagement_status_closed, span.engagement_status_private {
     display: block;
     margin: 2px 0 1px 0;
     padding: 1px;
 }
 
 .engagement_status_working {
     background-color: #171;
 }
 
 .engagement_status_day_off {
     background-color: #04d;
 }
 
 .engagement_status_ill {
      background-color: #e50;
 }
 
 .engagement_status_shortened {
     background-color: #a00;
 }
 
 .engagement_status_private {
     background-color: #717;
 }
 
.engagement_status_closed {
    background-color: #585858;
}

div.admin_item {
    background: #fff;
    border: 1px solid #ef87b5;
    margin: 4px 0 4px 10px;
}

#central div.admin_item p {
    padding-top: 0;
}

#central div.admin_item table {
    margin-bottom: 0;
}

#central div.admin_item form {
    margin-top: 0;
}


/* flash zpravicky */

#central div#flash-messages {
    margin: 15px 0px 15px 15px;
    width: 100%;
}

#central div#flash-messages div.flash-message {
    padding: 5px;
    width: 90%;
    border: 2px solid #fff;
    margin-bottom: 5px;
}

#central div#flash-messages div.flash-success {
    background-color: #8f8;
    border-color: #060;
    color: #060;
}

#central div#flash-messages div.flash-error {
    background-color: #f88;
    border-color: #600;
    color: #600;
}

#central div#flash-messages div.flash-info {
    background-color: #ff8;
    border-color: #660;
    color: #660;
}


/* debug */

.debug-bar {
    width:100%; 
    padding: 5px; 
    background-color: #f80; 
    color: #fff; 
}

#debug-bar {
}

.debug-error {
    background-color: #f00; 
    color: #fff; 
    border: 1px solid #fff;
}

div.dialog-form, #dialog-form, #engagement-clone-form, #note-form, #add-payment-form, 
#provision-request-invoice-upload-form, #provision-request-note-form {
    border: 1px solid #3E3B37; 
    padding: 10px; 
    background-color: #0E0A0A;
}


/* im */

#im-bar {
    position: fixed;
    left: 0px;
    bottom: 0px;
    height: 30px;
    width: 100%;
    z-index: 100;
    background: #d40074; /* Old browsers */
}

#im-contact-list {
    height: 400px;
    width: 200px;
    border: 1px solid #ef87b5;
    float: left;
    position: relative;
    bottom: 375px;
    border-radius: 5px;
    margin-left: 5px;
}

#im-contact-list .im-header {
    background: #d40074; /* Old browsers */
	color: #fff;
}

#im-contacts-count {
    font-weight: bold;
}

#im-contact-list .im-content ul {
    
}

#im-contact-list ul li {
    
}

.im-message-window {
    width: 200px;
    height: 280px;
    border: 1px solid #ef87b5;
    float: left;
    position: relative;
    bottom: 255px;
    border-radius: 5px;
    margin-left: 5px;
    background: #fff;
}

.im-message-window .im-content {
    height: 130px;
}

.im-header {
    width: 95%;
    height: 26px;
    padding: 5px;
    background: #d40074; /* Old browsers */
	color: #fff;
}

a.im-minimize-message-window img, a.im-maximize-message-window img, a.im-close-message-window img, 
a.im-minimize-contact-list img, a.im-maximize-contact-list img {
    margin: 0 3px;
}

.im-contact-group {
    font-weight: bold;
}

.im-content {
    overflow-y: scroll;
    background: #fff;
    padding: 5px;
}

#im-contact-list .im-content {
    height: 88%;
}

.im-message-date {
    font-weight: bold;
    color: #555;
    margin-top: 3px;
}

.im-message-content {
    margin-left: 3px;
    color: #000;
}

.im-message-content.own {
    color: #ea5197;
}

.im-message-submit-button {
    float: right;
}

.im-message-form textarea {
    width: 99%;
}

div.nicEdit-main
 {
    background-color: #fff;
 } 
/* css/buttons.css */
/* Moderni tlacitka a pole formularu pro cely web (nahrazuje ploche obdelniky ze starych stylu).
   Komponenty s vlastnim vzhledem (.reg-form, .cal, .inv-form, .pi ...) maji vyssi prioritu a zustavaji beze zmeny. */

:root {
    --btn-pink: #e5007d;
    --btn-pink-dark: #c4006b;
    --btn-pink-light: #fdeef6;
    --btn-border: #d6a3bf;
}

/* ---- hlavni tlacitka ------------------------------------------------------------------ */
input[type="submit"],
input[type="button"],
input[type="reset"],
button:not([class]) {
    -webkit-appearance: none;
    appearance: none;
    display: inline-block;
    padding: 7px 18px;
    border: 1px solid var(--btn-pink-dark);
    border-radius: 8px;
    background: linear-gradient(#f0268f, var(--btn-pink));
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .18);
    transition: background .15s, box-shadow .15s, transform .05s;
}

input[type="submit"]:hover,
input[type="button"]:hover,
button:not([class]):hover {
    background: linear-gradient(var(--btn-pink), var(--btn-pink-dark));
    box-shadow: 0 2px 6px rgba(197, 0, 107, .35);
}

input[type="submit"]:active,
input[type="button"]:active,
button:not([class]):active { transform: translateY(1px); box-shadow: none; }

input[type="submit"]:focus-visible,
input[type="button"]:focus-visible,
a.bookmark:focus-visible,
button:focus-visible { outline: 3px solid rgba(229, 0, 125, .35); outline-offset: 2px; }

input[type="submit"]:disabled,
input[type="button"]:disabled,
button:not([class]):disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* tlacitka v tabulkach a v radkovych formularich jsou mensi */
form.inline input[type="submit"],
td input[type="submit"],
td input[type="button"],
.inline[type="submit"] { padding: 3px 12px; font-size: 13px; border-radius: 6px; }

/* ---- odkazy ve tvaru tlacitka (zalozky) ----------------------------------------------------- */
a.bookmark,
a.gallery_button,
a.gallery_button_right,
a.gallery_box_button,
#central table tr td form input.bookmark,
#login_box a.bookmark {
    border: 1px solid var(--btn-pink-dark) !important;
    border-radius: 8px !important;
    background: linear-gradient(#f0268f, var(--btn-pink)) !important;
    color: #fff !important;
    padding: 5px 14px !important;
    font-weight: 700;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .18);
    transition: background .15s, box-shadow .15s;
}

#login_box a.bookmark { padding: 2px 7px !important; font-size: 12px; border-radius: 6px !important; margin: 0 3px 3px 0; }

a.bookmark:hover,
a.gallery_button:hover,
a.gallery_button_right:hover,
a.gallery_box_button:hover,
#central table tr td form input.bookmark:hover,
#login_box a.bookmark:hover {
    background: linear-gradient(var(--btn-pink), var(--btn-pink-dark)) !important;
    box-shadow: 0 2px 6px rgba(197, 0, 107, .35);
}

/* ---- levé menu administrace ----------------------------------------------------------------------- */
.admin_left_menu {
    padding: 6px !important;
    border: 1px solid #f0c2da !important;
    border-radius: 12px;
    background: var(--btn-pink-light) !important;
}

.admin_left_menu a {
    margin: 4px 0 !important;
    padding: 7px 10px !important;
    border: 1px solid transparent !important;
    border-radius: 8px;
    background: linear-gradient(#f0268f, var(--btn-pink)) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700;
    transition: background .15s, transform .1s;
}

.admin_left_menu a:hover {
    background: linear-gradient(var(--btn-pink), var(--btn-pink-dark)) !important;
    transform: translateX(2px);
}

/* ---- hlavni menu ------------------------------------------------------------------------------------ */
#menu a { transition: background .15s; border-radius: 6px 6px 0 0; }
#menu a:hover { background-color: rgba(255, 255, 255, .18); }

/* ---- pole formularu ------------------------------------------------------------------------------- */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="search"],
textarea,
select {
    border: 1px solid var(--btn-border);
    border-radius: 6px;
    background-color: #fff;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="search"],
textarea { padding: 4px 7px; }

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--btn-pink);
    box-shadow: 0 0 0 3px rgba(229, 0, 125, .18);
}

input[type="checkbox"], input[type="radio"] { accent-color: var(--btn-pink); }


/* ---- přihlašovací box v hlavičce: kompaktní, aby se vešel do hlavičky (159 px) a nepřekrýval menu ---- */
#login_box { box-sizing: border-box; height: auto; min-height: 120px; margin-top: 6px; padding: 5px 7px; }
#login_box .heading { font-size: 115%; padding-bottom: 1px; }
#login_box table, #login_box tbody { display: block; width: 100%; }
#login_box tr { display: block; }
#login_box td { display: block; padding: 0 0 3px 0; line-height: 1.25; }
/* řádky 1-2: popisek + pole vedle sebe */
#login_box tr:nth-child(-n+2) { display: flex; align-items: center; }
#login_box tr:nth-child(-n+2) td:first-child { flex: 0 0 48px; }
#login_box tr:nth-child(-n+2) td:last-child { flex: 1 1 auto; }
#login_box .login_form_title { font-size: 13px; }
#login_box .login_input,
#login_box input[type="text"],
#login_box input[type="password"] { width: 100%; height: 22px; padding: 1px 6px !important; font-size: 13px !important; border-radius: 5px !important; box-sizing: border-box; }
/* řádky 3-5 (pamatovat, přihlásit, problém) přes celou šířku boxu bez prázdného sloupce vlevo */
#login_box tr:nth-child(n+3) td:first-child { display: none; }
#login_box tr:nth-child(3) td { font-size: 12px; white-space: nowrap; }
#login_box input[type="checkbox"] { margin: 0 4px 0 0; vertical-align: -2px; }
#login_box input[type="submit"] { padding: 2px 12px !important; font-size: 13px !important; line-height: 1.3 !important; border-radius: 6px !important; }
#login_box tr:nth-child(5) a { font-size: 12px; }

/* css/menu.css */
/* Hlavní menu (horní lišta) - moderní vzhled: výška, rozestupy, hover, aktivní položka, klávesnice. */
#menu a { transition: background-color .15s ease, box-shadow .15s ease; }
#menu a:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

@media screen and (min-width: 821px) {
    #menu {
        display: flex; flex-wrap: wrap; align-items: stretch; height: auto; min-height: 40px; padding: 0 10px;
        background: #e5007d linear-gradient(#f0268f, #e5007d 55%, #d4006f);
        box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
    }
    #menu a {
        position: relative; float: none; display: flex; align-items: center; margin: 0; padding: 0 16px; min-height: 40px;
        border: 0; border-radius: 0; font-size: 14px; font-weight: 700; letter-spacing: .01em; line-height: 1.2; color: #fff; text-decoration: none;
    }
    #menu a + a::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 1px; background: rgba(255, 255, 255, .3); }
    #menu a:hover { background: rgba(255, 255, 255, .17); color: #fff; }
    #menu a:hover::before, #menu a:hover + a::before, #menu a.active::before, #menu a.active + a::before { opacity: 0; }
    #menu a.active { background: rgba(0, 0, 0, .2); box-shadow: inset 0 -3px 0 #fff; }
    #menu a#prvni { padding-left: 16px; }
    /* zvýrazněná položka (např. Registrace) - dříve černý text na růžové, nyní světlé tlačítko v liště */
    #menu a.emp { margin: 6px 4px; min-height: 28px; padding: 0 14px; border-radius: 6px; background: rgba(255, 255, 255, .22); color: #fff; }
    #menu a.emp:hover { background: rgba(255, 255, 255, .34); }
    #menu a.emp::before, #menu a.emp + a::before { display: none; }
}

@media screen and (max-width: 820px) {
    /* přepínač jazyků má float přímo v elementu (inline styl) - na mobilu by menu zůstalo vedle něj jako úzký sloupec vpravo */
    #lang_switch { float: none !important; clear: both !important; display: block !important; margin: 8px 6px 0 6px !important; }
    #menu { clear: both; }
    #menu a { font-weight: 700; }
    #menu a.active { background: rgba(0, 0, 0, .2); box-shadow: inset 0 -3px 0 #fff; }
    #menu a.emp { background: rgba(255, 255, 255, .22); color: #fff; }
}

/* 1Z392: emoji u položek menu jen v mobilním menu */
#menu .sm-emo { display: none; }
@media screen and (max-width: 820px) {
    #menu .sm-emo { display: inline-block; width: 1.6em; margin-right: 6px; text-align: center; font-weight: 400; }
}

@media print { #menu { display: none; } }

/* css/wide-layout.css */
/* ==========================================================================
   Siroky pocitacovy vzhled (>= 821 px): web se prizpusobi sirce okna (max. 1280 px).
   Dosavadni pevna sirka 821 px zustava jen jako minimum; mobil (<= 820 px) a tisk beze zmeny.
   Obrazky header_bg / main_bg / footer_bg se nemeni - rozsireni zajisti pruzne pozadi.
   ========================================================================== */
@media screen and (min-width: 821px) {
  body { min-width: 0; }

  #header, #menu, #main, #footer {
    box-sizing: border-box;
    width: 96% !important;
    min-width: 801px;
    max-width: 1280px;
  }

  /* hlavicka: puvodni obrazek (logo) vlevo, zbytek polopruhledny bily panel stejne barvy */
  #header { position: relative; background-color: rgba(255, 255, 255, .6); background-position: left top; }
  #header::after {
    content: ""; position: absolute; left: 821px; right: 0; bottom: 0; height: 9px;
    background: linear-gradient(to bottom, rgba(252, 250, 252, .6), rgba(227, 208, 217, .64));
    pointer-events: none;
  }
  #header > * { position: relative; z-index: 1; }
  #login_box { margin-right: 24px; }

  /* telo: tri sloupce (levy 146, pravy 146, stred se roztahne) */
  #main {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding-left: 12px;
    padding-right: 12px;
    background: rgba(255, 255, 255, .9);
  }
  #left, #right { float: none; flex: 0 0 146px; }
  #central {
    float: none;
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    box-sizing: border-box;
    padding: 10px 18px;
    background: #fff;
    align-self: stretch;
  }
  #bottomend { flex: 0 0 100%; order: 9; }

  #footer {
    background: rgba(255, 255, 255, .9);
    border-radius: 0 0 14px 14px;
    height: auto;
    min-height: 42px;
    padding-bottom: 14px;
  }

  /* obrazky a tabulky v obsahu nepretekaji */
  #central img { max-width: 100%; height: auto; }
}

/* nocni rezim */
@media screen and (min-width: 821px) {
  html[data-theme="dark"] #central { background: transparent; }
  html[data-theme="dark"] #header::after { background: linear-gradient(to bottom, #1c1c22, #2c2c35); }
}

/* css/cookie-consent.css */
/* Lista souhlasu s cookies (js/cookie-consent.js) */
.cc-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 100000; width: min(760px, calc(100% - 24px)); box-sizing: border-box; padding: 16px 18px; border: 1px solid #ead3df; border-radius: 16px; background: #fff; color: #344054; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); font: 14px/1.5 Arial, Helvetica, sans-serif; }
.cc-bar strong { display: block; margin: 0 0 4px; color: #17243a; font-size: 15px; }
.cc-bar p { margin: 0; padding: 0; text-align: left; }
.cc-bar a { color: #e5007d; font-weight: 700; }
.cc-detail { margin-top: 12px; display: grid; gap: 8px; }
.cc-detail[hidden] { display: none; }
.cc-row { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border: 1px solid #ead3df; border-radius: 12px; background: #fff7fb; cursor: pointer; }
.cc-row input { margin-top: 3px; accent-color: #e5007d; }
.cc-row small { display: block; color: #667085; font-size: 12px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.cc-btn { padding: 9px 18px; border: 1px solid #e5007d; border-radius: 999px; background: #e5007d; color: #fff; font: 700 13px Arial, Helvetica, sans-serif; cursor: pointer; }
.cc-btn:hover { filter: brightness(.93); }
.cc-ghost { background: #fff; color: #e5007d; }
html[data-theme="dark"] .cc-bar { background: #1c1c22; border-color: #3a3a45; color: #d6d6e0; }
html[data-theme="dark"] .cc-bar strong { color: #f1e9f5; }
html[data-theme="dark"] .cc-row { background: #26262e; border-color: #3a3a45; }
html[data-theme="dark"] .cc-ghost { background: transparent; }
@media (max-width: 560px) { .cc-actions { justify-content: stretch; } .cc-btn { flex: 1 1 100%; } }

/* css/file-drop.css */
/* Oblast pro pretazeni souboru u vsech poli pro nahrani souboru (js/file-drop.js). Pouze vzhled. */
.fd-zone { display: flex; align-items: center; gap: 12px; max-width: 520px; margin: 0 0 8px 0; padding: 14px 18px; border: 2px dashed rgba(229, 0, 125, .5); border-radius: 12px; background: rgba(229, 0, 125, .04); color: inherit; font-size: 13px; line-height: 1.4; text-align: left; cursor: pointer; transition: background .15s, border-color .15s; box-sizing: border-box; }
.fd-zone:hover, .fd-zone:focus, .fd-zone.fd-over { border-color: #e5007d; background: rgba(229, 0, 125, .12); outline: none; }
.fd-icon { font-size: 26px; line-height: 1; }
.fd-zone.fd-compact { display: inline-flex; max-width: none; margin: 0 0 4px 0; padding: 4px 12px; border-radius: 999px; font-size: 12px; }
.fd-zone.fd-compact .fd-icon { font-size: 16px; }
.fd-zone.fd-compact .fd-rest { display: none; }
.fd-native { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; overflow: hidden; }
.fd-list { max-width: 520px; }
.fd-item { display: flex; align-items: center; gap: 8px; margin: 4px 0; padding: 5px 10px; border: 1px solid rgba(229, 0, 125, .3); border-radius: 8px; font-size: 13px; }
.fd-item .fd-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fd-item img { width: 34px; height: 34px; object-fit: cover; border-radius: 5px; border: 1px solid rgba(0, 0, 0, .2); }
.fd-item button { border: 0; background: none; color: #c62828; font-size: 18px; line-height: 1; cursor: pointer; }
.fd-msg { min-height: 0; font-size: 12px; color: #c62828; }
/* Viditelne tlacitko "Vybrat soubor(y)" - vzdy (dotyk, klavesnice, bez mysi); na dotykovych zarizenich jen tlacitko bez textu o pretazeni */
.fd-text { flex: 1; min-width: 0; }
.fd-pick { flex: 0 0 auto; padding: 7px 16px; border-radius: 999px; background: linear-gradient(135deg, #ff4fa3, #c4006a); color: #fff; font-weight: 700; white-space: nowrap; }
.fd-zone.fd-compact .fd-pick { padding: 2px 10px; font-size: 12px; }
.fd-zone.fd-compact .fd-text { display: none; }
.fd-zone.fd-touch .fd-text { display: none; }
.fd-zone.fd-touch { justify-content: center; padding: 10px 14px; }
@media (hover: none) and (pointer: coarse) { .fd-zone .fd-text { display: none; } .fd-zone { justify-content: center; } }
@media (max-width: 480px) { .fd-zone { flex-wrap: wrap; } }

/* css/switches.css */
/* 1Z359 – přepínače typu iOS místo zaškrtávacích polí u nastavení (zapnuto / vypnuto); výběr řádků v tabulkách, souhlasy a povinná pole zůstávají jako zaškrtávací pole */
input[type="checkbox"].sw{-webkit-appearance:none;appearance:none;position:relative;display:inline-block;flex:0 0 auto;width:44px;height:26px;margin:0 6px 0 0;padding:0;border:0;border-radius:999px;background:#ddd0d7;
  vertical-align:middle;cursor:pointer;transition:background .2s;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}
input[type="checkbox"].sw::before{content:"";position:absolute;top:2px;left:2px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.22);transition:transform .2s}
input[type="checkbox"].sw:checked{background:#34c759}
input[type="checkbox"].sw:checked::before{transform:translateX(18px)}
input[type="checkbox"].sw:focus-visible{outline:3px solid #ffb3d9;outline-offset:2px}
input[type="checkbox"].sw:disabled{opacity:.5;cursor:not-allowed}
html[data-theme="dark"] input[type="checkbox"].sw{background:#4a3a43}
html[data-theme="dark"] input[type="checkbox"].sw:checked{background:#30b350}
@media (prefers-reduced-motion:reduce){input[type="checkbox"].sw,input[type="checkbox"].sw::before{transition:none}}
/* 1Z374 – přepínač v řádku .rf-check (formuláře reg-form) měl rozměry zaškrtávacího pole 18 px a překrýval text */
.reg-form .rf-check input[type="checkbox"].sw,.rf-check input[type="checkbox"].sw{width:44px;height:26px;min-width:44px;margin:0 8px 0 0;accent-color:auto}
.reg-form .rf-check:has(input.sw){align-items:center}

/* css/eu-progress.css */
/* 1Z377 – posuvníky průběhu: plovoucí posuvník (js/eu-progress.js), otáčející se přesýpací hodiny u běžících úloh */
.eu-hg{display:inline-block;flex:0 0 auto;font-size:18px;line-height:1;animation:euHgSpin 2s linear infinite;transform-origin:50% 50%}
@keyframes euHgSpin{0%{transform:rotate(0)}40%{transform:rotate(180deg)}50%{transform:rotate(180deg)}90%{transform:rotate(360deg)}100%{transform:rotate(360deg)}}
.eu-hg-row{display:flex;align-items:center;gap:8px}.eu-hg-row>*:not(.eu-hg){flex:1 1 auto;min-width:0}
.eu-hg-row.eu-hg-done .eu-hg{visibility:hidden;animation:none}
.eu-prog{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:99999;width:min(460px,calc(100% - 32px));background:#fff;border:1px solid #f0d2e2;border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.18);padding:12px 14px;font:14px/1.4 system-ui,sans-serif;color:#3a2a33}
.eu-prog b{display:flex;align-items:center;gap:8px;margin-bottom:6px}.eu-prog-t{height:12px;border-radius:999px;background:#f6e3ed;overflow:hidden;position:relative}
.eu-prog-b{position:absolute;left:0;top:0;bottom:0;width:0;background:linear-gradient(90deg,#f0268f,#e5007d);transition:width .5s}
.eu-prog-i .eu-prog-b{width:35%;animation:euProgI 1.3s ease-in-out infinite}@keyframes euProgI{0%{left:-35%}100%{left:100%}}
.eu-prog-s{font-size:12.5px;color:#6b5560;margin-top:5px;display:flex;justify-content:space-between;gap:8px}.eu-prog-x{border:0;background:none;color:#c4006a;cursor:pointer;font:inherit;font-size:12.5px;padding:0}
.eu-bar{height:12px;border-radius:999px;background:#f6e3ed;overflow:hidden}.eu-bar-fill{display:block;height:100%;width:0;background:linear-gradient(90deg,#f0268f,#e5007d);transition:width .4s}
html[data-theme="dark"] .eu-prog{background:#2a1f25;color:#f3e6ed;border-color:#4a3a43}
@media (prefers-reduced-motion:reduce){.eu-hg{animation-duration:6s}.eu-prog-i .eu-prog-b{animation:none;width:100%;opacity:.5}}
.eu-hg-row>.eu-hg-stat{flex:0 0 auto;font-size:12.5px;font-weight:600;color:#6b5560;white-space:nowrap;font-variant-numeric:tabular-nums} /* 1Z461 procenta a čas u posuvníku */
html[data-theme="dark"] .eu-hg-row>.eu-hg-stat{color:#ddd}

/* css/responsive.css */
/* ==========================================================================
   Responzivni vzhled (mobil / maly tablet)
   Nacita se jako posledni styl, jen pro obrazovku a jen do sirky 820 px.
   Pocitacovy vzhled (>= 821 px) a tisk zustavaji beze zmeny.
   ========================================================================== */

@media screen and (max-width: 820px) {

  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

  body {
    min-width: 0;
    padding: 0;
    font-size: 100%;
    background-attachment: scroll;
    background-size: cover;
  }

  img { max-width: 100%; height: auto; }

  /* ---- hlavni bloky: pruzna sirka ---------------------------------------- */
  .hlavniBloky,
  #header, #menu, #main, #footer {
    width: auto !important;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
  }

  /* ---- hlavicka: logo (obrazek) nahore, prihlaseni pod nim --------------- */
  #header {
    position: relative;
    height: auto;
    background: #fff none;
    padding: 0;
  }
  #header::before {            /* obrazek hlavicky se zmensi na sirku displeje */
    content: "";
    display: block;
    padding-bottom: 19.37%;    /* pomer 821 x 159 */
    background: url("../img/header_bg.png?v=1z163") no-repeat left top;
    background-size: 100% 100%;
  }
  #clickable {                 /* klikaci plocha loga */
    position: absolute;
    top: 0; left: 0;
    float: none;
    width: 100%;
    height: 19.37vw;
  }
  #login_box {
    float: none;
    width: auto;
    height: auto;
    margin: 6px;
    padding: 8px;
    box-sizing: border-box;
    overflow: hidden;
  }
  #login_box table { width: 100%; }
  #login_box td:first-child { white-space: nowrap; padding-right: 6px; }
  #login_box .login_input { width: 100%; max-width: 100%; box-sizing: border-box; }
  #login_box a.bookmark { display: inline-block; margin: 2px 2px 4px 0; padding: 6px 10px; }
  #lang_switch { float: none; clear: both; margin: 6px 6px 0 6px; }

  /* ---- hlavni menu: mrizka, bunky se prizpusobi sirce ---------------------- */
  #menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    height: auto;
    margin-top: 4px;
  }
  #menu a {
    float: none;
    box-sizing: border-box;
    width: auto;
    margin: 0;
    padding: 11px 8px;
    text-align: center;
    border-left: 0;
    border-bottom: 1px solid #ec6ea6;
  }
  #menu a#prvni { padding-left: 8px; }

  /* ---- obsah: sloupce pod sebe, stred prvni ------------------------------ */
  #main {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    padding: 0 6px;
    background: #fff none;
  }
  #central { order: 1; }
  #left    { order: 2; }
  #right   { order: 3; }
  #bottomend { order: 4; }

  #left, #right, #central {
    float: none;
    width: auto;
    min-height: 0;
    min-width: 0;
    box-sizing: border-box;
  }
  #central { padding: 8px 4px; }
  #left, #right { padding: 4px; }

  /* ---- formulare ---------------------------------------------------------- */
  #central form { margin: 6px 0; }
  input[type="text"], input[type="password"], input[type="email"], input[type="tel"],
  input[type="number"], input[type="date"], input[type="search"], input[type="url"],
  select, textarea {
    max-width: 100%;
    box-sizing: border-box;
    font-size: 16px;           /* iOS jinak pri zamereni pole priblizuje stranku */
  }
  textarea { width: 100%; }
  input[type="submit"], input[type="button"], button {
    padding: 8px 12px;
    font-size: 100%;
  }
  div.filter { width: auto !important; }

  /* ---- tabulky ------------------------------------------------------------ */
  #central table,
  table.pager {
    display: block;
    max-width: 100%;
    width: auto;
    margin: 0 0 10px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  /* formulare a profily zalozene na tabulkach: bunky pod sebe */
  table.reg_form, table.reg_form tbody, table.reg_form tr, table.reg_form td, table.reg_form th,
  table.profile,  table.profile tbody,  table.profile tr,  table.profile td,  table.profile th {
    display: block;
    width: auto;
    min-width: 0;
    box-sizing: border-box;
  }
  table.reg_form td, table.profile td { padding: 2px 4px; }

  /* ---- dialogy jQuery UI a lightbox -------------------------------------- */
  .ui-dialog {
    width: auto !important;
    max-width: 96vw !important;
    left: 2vw !important;
    box-sizing: border-box;
  }
  .ui-dialog .ui-dialog-content { width: auto !important; max-width: 100%; overflow: auto; }
  #colorbox, #cboxWrapper, #cboxContent { max-width: 100vw; }

  /* ---- paticka ------------------------------------------------------------ */
  #footer {
    height: auto;
    padding: 6px 8px 18px 8px;
    background: #fff none;
    clear: both;
  }
  #footer p { padding-top: 4px; }

  /* ---- plovouci prvky ladici/komunikacni listy se nesmi prekryvat obsah -- */
  #im-bar, #im-contact-list { max-width: 100vw; }
  #debug-bar, #debug-bar-bottom { max-width: 100%; box-sizing: border-box; }

  /* ---- hlasky (flash) ----------------------------------------------------- */
  #central div#flash-messages,
  #central div#flash-messages div.flash-message {
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* uplne male displeje */
@media screen and (max-width: 480px) {
  #login_box .login_input { width: 100%; }
}

/* css/theme.css */
/*
    Vzhled Day / Night / Auto
    - část 1: přepínač vzhledu (ručně psané)
    - část 2: tmavá varianta ze stávajících stylů (GENEROVANÉ skriptem – ručně neupravovat, viz theme_gen.py)
    - část 3: ruční úpravy tmavé varianty (hlavička, pozadí, jQuery UI, přepsání inline stylů ...)
    Tmavá varianta platí, když je na <html> atribut data-theme="dark" (nastavuje js/vendor/theme.js a func/func_theme.php).
*/

/* ---- přepínač vzhledu ---- */
#theme_switch { display: inline-flex; vertical-align: middle; margin-left: 8px; border: 1px solid #e5007d; border-radius: 6px; overflow: hidden; background: #fff; }
#theme_switch button { margin: 0; padding: 6px 9px; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: #e5007d !important; line-height: 0; cursor: pointer; font-size: 0; }
#theme_switch button + button { border-left: 1px solid #f3c1dc !important; }
#theme_switch button svg { display: block; width: 16px; height: 16px; fill: currentColor; }
#theme_switch button:hover { background: #fdeaf4 !important; }
#theme_switch button[aria-pressed="true"] { background: #e5007d !important; color: #fff !important; }
@media print { #theme_switch { display: none; } }

html { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }

/* ===================================================================================== */
/* ============ část 2: GENEROVANO ze stávajících stylů (theme_gen.py) =============== */
/* ===================================================================================== */
/* ==== z styl.css (58 pravidel) ==== */
html[data-theme="dark"] body { background: #1a1a1a; color: #acacac; }
html[data-theme="dark"] h1 { color: #ededed; }
html[data-theme="dark"] h2,
html[data-theme="dark"] h2 a { color: #ff6bbc; }
html[data-theme="dark"] h3 { color: #ededed; }
html[data-theme="dark"] a { color: #f188bb; }
html[data-theme="dark"] a:hover { color: #ff6bbc; }
html[data-theme="dark"] table.club_overview { color: #ededed; background-color: #1a1a1a; }
html[data-theme="dark"] td.black,
html[data-theme="dark"] table.club_overview tr th.black { color: #a5a090; }
html[data-theme="dark"] textarea.editor_simple { background-color: #1a1a1a; color: #ededed; }
html[data-theme="dark"] p.alerts_block { color: #ff7a7a; }
html[data-theme="dark"] #central { color: #d1d1d1; }
html[data-theme="dark"] #login_box { border: 1px solid #484848; background: #1a1a1a; }
html[data-theme="dark"] #login_box .login_input { border: 1px solid #3b3b3b; }
html[data-theme="dark"] #menu a { border-left: 1px solid #632c44; }
html[data-theme="dark"] #menu a.emp { color: #ededed; }
html[data-theme="dark"] #left h2,
html[data-theme="dark"] #right h2 { border-bottom: 1px solid #3b3b3b; border-top: 1px solid #3b3b3b; color: #dadada; }
html[data-theme="dark"] .highlighted { color: #ff6bbc; }
html[data-theme="dark"] .alert_red { color: #ff7a7a; }
html[data-theme="dark"] .alert_red a { color: #ff7a7a; }
html[data-theme="dark"] .alert_red a:hover { color: #ffbd7a; }
html[data-theme="dark"] .alert_orange { color: #ffbd7a; }
html[data-theme="dark"] .alert_orange a { color: #ffbd7a; }
html[data-theme="dark"] .alert_yellow { color: #f08ab7; }
html[data-theme="dark"] .alert_yellow a:hover { color: #ffbd7a; }
html[data-theme="dark"] .alert_normal a:hover { color: #ffbd7a; }
html[data-theme="dark"] #central form { background-color: #29121e; }
html[data-theme="dark"] .emp_red,
html[data-theme="dark"] form_error { color: #ff7a7a; }
html[data-theme="dark"] .emp_yellow { color: #f08ab7; }
html[data-theme="dark"] .emp_green { color: #4ce64c; }
html[data-theme="dark"] .emp_bold_green { color: #4ce64c; }
html[data-theme="dark"] .emp_bold_red { color: #ff7a7a; }
html[data-theme="dark"] .emp_bold_orange { color: #ffbd7a; }
html[data-theme="dark"] .emp_bold_yellow { color: #f08ab7; }
html[data-theme="dark"] .emp_bold_white { color: #c8c8c8; }
html[data-theme="dark"] table.reg_form tr td span.emp_bold_yellow { color: #f08ab7; }
html[data-theme="dark"] table.admin_view,
html[data-theme="dark"] table.calendar { background: #29121e; border: 1px solid #5e2a41; }
html[data-theme="dark"] table.admin_view td,
html[data-theme="dark"] table.calendar td { color: #d1d1d1; border-right: 1px solid #5e2a41; }
html[data-theme="dark"] tr.admin_view_odd,
html[data-theme="dark"] tr.calendar_header { background: #2f1321; }
html[data-theme="dark"] table.pager { border: 1px solid #4d2338; }
html[data-theme="dark"] #lang_switch select { background-color: #1a1a1a; color: #d1d1d1; }
html[data-theme="dark"] #lang_switch select:focus { outline: 2px solid #4d2338; }
html[data-theme="dark"] .gallery_box { border: 1px solid #4d2338; }
html[data-theme="dark"] .gallery_box h2,
html[data-theme="dark"] .gallery_box h2 a { background: #2f1321; border-bottom: 1px solid #4d2338; color: #ff6bbc; }
html[data-theme="dark"] .active_thumb { border: 1px solid #333333; }
html[data-theme="dark"] div.filter { background-color: #29121e; }
html[data-theme="dark"] div.admin_item { background: #1a1a1a; border: 1px solid #5e2a41; }
html[data-theme="dark"] #central div#flash-messages div.flash-message { border: 2px solid #333333; }
html[data-theme="dark"] #central div#flash-messages div.flash-success { background-color: #164b16; color: #33ff33; }
html[data-theme="dark"] #central div#flash-messages div.flash-error { background-color: #4b1616; color: #ff3333; }
html[data-theme="dark"] #central div#flash-messages div.flash-info { background-color: #4b4b16; color: #ffff33; }
html[data-theme="dark"] .debug-error { border: 1px solid #333333; }
html[data-theme="dark"] #im-contact-list { border: 1px solid #5e2a41; }
html[data-theme="dark"] .im-message-window { border: 1px solid #5e2a41; background: #1a1a1a; }
html[data-theme="dark"] .im-content { background: #1a1a1a; }
html[data-theme="dark"] .im-message-date { color: #bebebe; }
html[data-theme="dark"] .im-message-content { color: #ededed; }
html[data-theme="dark"] .im-message-content.own { color: #f189b8; }
html[data-theme="dark"] div.nicEdit-main { background-color: #1a1a1a; }

/* ==== z styl_admin.css (4 pravidel) ==== */
html[data-theme="dark"] body { background: #1a1a1a; }
html[data-theme="dark"] #header { background-color: #1a1a1a; }
html[data-theme="dark"] #main { background-color: #1a1a1a; }
html[data-theme="dark"] table.pager { background-color: #29121e; }

/* ==== z forms.css (56 pravidel) ==== */
html[data-theme="dark"] .reg-form { color: #d1d1d1; }
html[data-theme="dark"] .reg-form h1 { color: #dadada; }
html[data-theme="dark"] .reg-form .rf-info { background: #2b0c1d; color: #c8c8c8; }
html[data-theme="dark"] .reg-form .rf-info a { color: #ff6bbc; }
html[data-theme="dark"] .reg-form .rf-info-error { background: #2b1010; color: #dd5555; }
html[data-theme="dark"] .reg-form .rf-card { border: 1px solid #492c3c; background: #1a1a1a; }
html[data-theme="dark"] .reg-form .rf-card h2 { border-bottom: 1px solid #4d2338; color: #ff6bbc; }
html[data-theme="dark"] .reg-form .rf-field > label,
html[data-theme="dark"] .reg-form .rf-label { color: #c8c8c8; }
html[data-theme="dark"] .reg-form .rf-star { color: #ff6bbc; }
html[data-theme="dark"] .reg-form input[type="text"],
html[data-theme="dark"] .reg-form input[type="email"],
html[data-theme="dark"] .reg-form input[type="tel"],
html[data-theme="dark"] .reg-form input[type="url"],
html[data-theme="dark"] .reg-form input[type="password"],
html[data-theme="dark"] .reg-form input[type="date"],
html[data-theme="dark"] .reg-form select,
html[data-theme="dark"] .reg-form textarea { border: 1px solid #453a41; background: #1a1a1a; color: #dadada; }
html[data-theme="dark"] .reg-form .rf-triple label { color: #b5b5b5; }
html[data-theme="dark"] .reg-form .rf-chip span { border: 1px solid #453a41; background: #1a1a1a; }
html[data-theme="dark"] .reg-form .rf-hint { color: #acacac; }
html[data-theme="dark"] .reg-form .rf-error { color: #e88b8b; }
html[data-theme="dark"] .reg-form .rf-has-error input[type="text"],
html[data-theme="dark"] .reg-form .rf-has-error input[type="email"],
html[data-theme="dark"] .reg-form .rf-has-error input[type="tel"],
html[data-theme="dark"] .reg-form .rf-has-error input[type="password"],
html[data-theme="dark"] .reg-form .rf-has-error input[type="date"],
html[data-theme="dark"] .reg-form .rf-has-error select,
html[data-theme="dark"] .reg-form .rf-has-error textarea { background: #2a0c0c; }
html[data-theme="dark"] .reg-form .rf-group.rf-has-error .rf-chip span { border-color: #602f2f; }
html[data-theme="dark"] .reg-form .rf-more summary { color: #ff6bbc; }
html[data-theme="dark"] .reg-form .rf-toggle { border: 1px solid #453a41; background: #1a1a1a; color: #ff6bbc; }
html[data-theme="dark"] .reg-form .rf-consent { background: #2b0c1d; }
html[data-theme="dark"] .reg-form .rf-consent a { color: #ff6bbc; }
html[data-theme="dark"] .reg-form .rf-cancel { color: #ff6bbc; }
html[data-theme="dark"] .reg-form .rf-remove { border: 1px solid #453a41; background: #1a1a1a; color: #a2a2a2; }
html[data-theme="dark"] .reg-form .rf-remove:hover { color: #e89292; }
html[data-theme="dark"] .reg-form .rf-add { color: #ff6bbc; }
html[data-theme="dark"] .reg-form .rf-vies-btn { background: #1a1a1a; color: #ff6bbc; }
html[data-theme="dark"] .reg-form .rf-vies-btn:hover { background: #2b0c1d; }
html[data-theme="dark"] .reg-form .rf-vies-ok { color: #6ac86f; }
html[data-theme="dark"] .reg-form .rf-vies-bad { color: #e88b8b; }
html[data-theme="dark"] .reg-form .rf-vies-warn { color: #ffd433; }
html[data-theme="dark"] .reg-form .rf-vies-wait { color: #b5b5b5; }
html[data-theme="dark"] .reg-form .inv-vat { border: 1px solid #453a41; background: #21181c; }
html[data-theme="dark"] .reg-form .inv-vat-title { color: #b5b5b5; }
html[data-theme="dark"] .reg-form .inv-vat-sub { color: #b5b5b5; }
html[data-theme="dark"] .reg-form .inv-vat-ok { border-color: #3b5544; background: #17251b; }
html[data-theme="dark"] .reg-form .inv-vat-ok p:first-child { color: #57db81; }
html[data-theme="dark"] .reg-form .inv-vat-bad { border-color: #563131; background: #291111; }
html[data-theme="dark"] .reg-form .inv-vat-bad p:first-child { color: #e88b8b; }
html[data-theme="dark"] .reg-form .inv-vat-warn { border-color: #625631; background: #2f260e; }
html[data-theme="dark"] .reg-form .inv-vat-wait { color: #b5b5b5; }
html[data-theme="dark"] .reg-form .inv-vat-advice { background: #34290f; color: #ffbc33; }
html[data-theme="dark"] .reg-form .inv-chips button { border: 1px solid #453a41; background: #1a1a1a; color: #bebebe; }
html[data-theme="dark"] .reg-form .inv-chips button:hover { color: #ff6bbc; }
html[data-theme="dark"] .reg-form .inv-cur,
html[data-theme="dark"] .reg-form .inv-conv { color: #a2a2a2; }
html[data-theme="dark"] .reg-form .inv-summary { background: #21181c; }
html[data-theme="dark"] .reg-form .inv-summary dt { color: #bebebe; }
html[data-theme="dark"] .reg-form .inv-summary .inv-strong dt,
html[data-theme="dark"] .reg-form .inv-summary .inv-strong dd { color: #dadada; }
html[data-theme="dark"] .reg-form .inv-table th { border-bottom: 2px solid #472f3c; color: #b5b5b5; }
html[data-theme="dark"] .reg-form .inv-table td { border-bottom: 1px solid #422f3b; }
html[data-theme="dark"] .reg-form .inv-table .inv-empty { color: #acacac; }
html[data-theme="dark"] .reg-form .inv-warn { color: #f6954c; }
html[data-theme="dark"] .reg-form .inv-provider .inv-edit { color: #ff6bbc; }
html[data-theme="dark"] .reg-form .rf-card h3 { color: #d1d1d1; }
html[data-theme="dark"] .reg-form .rf-btn { background: #1a1a1a; color: #ff6bbc; }
html[data-theme="dark"] .reg-form .rf-btn:hover { background: #2b0d1c; }
html[data-theme="dark"] .reg-form .rf-ok { color: #57db81; }
html[data-theme="dark"] .reg-form .notify-page img[alt="QR"] { border: 1px solid #472f3c; background: #1a1a1a; }

/* ==== z calendar.css (23 pravidel) ==== */
html[data-theme="dark"] .cal { color: #d6d6d6; }
html[data-theme="dark"] .cal-toolbar { background: #1a1a1a; }
html[data-theme="dark"] .cal-period label { color: #bebebe; }
html[data-theme="dark"] .cal-period input[type="date"] { border: 1px solid #453a41; background: #1a1a1a; color: #dadada; }
html[data-theme="dark"] .cal-btn { background: #1a1a1a; }
html[data-theme="dark"] .cal-btn:hover { background: #2b0d1c; }
html[data-theme="dark"] .cal-legend { color: #bebebe; }
html[data-theme="dark"] .cal-week { background: #1a1a1a; }
html[data-theme="dark"] .cal-week-title { background: #2a101e; }
html[data-theme="dark"] .cal-day { border-left: 1px solid #422f3b; background: #1a1a1a; }
html[data-theme="dark"] .cal-day.cal-weekend { background: #22151d; }
html[data-theme="dark"] .cal-day.cal-outside { background: #1b1b1b; }
html[data-theme="dark"] .cal-open-btn.is-open,
html[data-theme="dark"] .cal-open-label.is-open { background: #19281d; color: #57db81; border-color: #334c3a; }
html[data-theme="dark"] .cal-open-btn.is-closed,
html[data-theme="dark"] .cal-open-label.is-closed { background: #212121; color: #b5b5b5; border-color: #3e3e3e; }
html[data-theme="dark"] .cal-name { color: #dddddd !important; }
html[data-theme="dark"] .cal-icon { color: #bebebe !important; }
html[data-theme="dark"] .cal-icon:hover { color: #ededed !important; }
html[data-theme="dark"] .cal-menu { background: #1a1a1a; border: 1px solid #463841; }
html[data-theme="dark"] .cal-menu-title { color: #b5b5b5; }
html[data-theme="dark"] .cal-menu-item { color: #dadada; }
html[data-theme="dark"] .cal-menu-item:hover,
html[data-theme="dark"] .cal-menu-item:focus { background: #2a101e; }
html[data-theme="dark"] .cal-menu-item.is-current { background: #221a1e; }
@media (max-width: 760px) {
  html[data-theme="dark"] .cal-day { border-top: 1px solid #422f3b; }
}

/* ==== z buttons.css (3 pravidel) ==== */
html[data-theme="dark"] .admin_left_menu { border: 1px solid #4f2a3d !important; }
html[data-theme="dark"] #menu a:hover { background-color: rgba(26,26,26,0.18); }
html[data-theme="dark"] input[type="text"],
html[data-theme="dark"] input[type="password"],
html[data-theme="dark"] input[type="email"],
html[data-theme="dark"] input[type="tel"],
html[data-theme="dark"] input[type="url"],
html[data-theme="dark"] input[type="number"],
html[data-theme="dark"] input[type="date"],
html[data-theme="dark"] input[type="search"],
html[data-theme="dark"] textarea,
html[data-theme="dark"] select { background-color: #1a1a1a; }

/* ==== z responsive.css (1 pravidel) ==== */
@media screen and (max-width: 820px) {
  html[data-theme="dark"] #header { background: #1a1a1a none; }
  html[data-theme="dark"] #menu a { border-bottom: 1px solid #632c44; }
  html[data-theme="dark"] #main { background: #1a1a1a none; }
  html[data-theme="dark"] #footer { background: #1a1a1a none; }
}


/* ===================================================================================== */
/* ====================== část 3: ruční úpravy tmavé varianty ========================== */
/* ===================================================================================== */

/* původní univerzální pravidlo "* { border: thin solid #fff }" – bílé okraje by na tmavém pozadí svítily */
:where(html[data-theme="dark"]) * { border-color: #17171c; }

html[data-theme="dark"] body { background: #0e0e11; color: #b9b9c4; }
html[data-theme="dark"] #main { background: #17171c !important; }
html[data-theme="dark"] #footer { background: #17171c !important; border-top: 1px solid #2c2c35; color: #8f8f9b; }
html[data-theme="dark"] #central, html[data-theme="dark"] #left, html[data-theme="dark"] #right { color: #cfcfd8; }

/* hlavička: světlá grafika (logo na světlém podkladu) se invertuje, odstín zůstává (růžové logo zůstane růžové) */
html[data-theme="dark"] #header { background-color: #17171c; }
@media screen and (min-width: 821px) {
    html[data-theme="dark"] #header { background-image: none !important; position: relative; }
    html[data-theme="dark"] #header::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: url("../img/header_bg.png?v=1z163") no-repeat left top; z-index: 0; }
    html[data-theme="dark"] #header > * { position: relative; z-index: 1; }
}
html[data-theme="dark"] #header::before { filter: invert(.92) hue-rotate(180deg) brightness(1.05); }

/* pole formulářů a výběry */
html[data-theme="dark"] input[type="text"], html[data-theme="dark"] input[type="password"], html[data-theme="dark"] input[type="email"],
html[data-theme="dark"] input[type="tel"], html[data-theme="dark"] input[type="number"], html[data-theme="dark"] input[type="date"],
html[data-theme="dark"] input[type="search"], html[data-theme="dark"] input[type="url"], html[data-theme="dark"] input:not([type]),
html[data-theme="dark"] select, html[data-theme="dark"] textarea { background-color: #1f1f26; color: #e6e6ec; border-color: #6b2a4d; }
html[data-theme="dark"] input::placeholder, html[data-theme="dark"] textarea::placeholder { color: #7d7d8a; }
html[data-theme="dark"] input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #2a2030 inset !important; -webkit-text-fill-color: #e6e6ec !important; }
html[data-theme="dark"] option { background: #1f1f26; color: #e6e6ec; }

/* přepínač jazyků má barvy přímo v elementu (inline styl) */
html[data-theme="dark"] #lang_switch select { background-color: #1f1f26 !important; color: #e6e6ec !important; border-color: #e5007d !important; }
html[data-theme="dark"] #theme_switch { background: #1f1f26; }
html[data-theme="dark"] #theme_switch button + button { border-left-color: #4a2338 !important; }
html[data-theme="dark"] #theme_switch button:hover { background: #2d1a25 !important; }

/* přihlašovací box a menu */
html[data-theme="dark"] #login_box { background: #1c1c22; border-color: #3a3a46; color: #cfcfd8; }
html[data-theme="dark"] #menu { background-color: #e5007d; }

/* jQuery UI (datepicker, dialogy, autocomplete) */
html[data-theme="dark"] .ui-widget, html[data-theme="dark"] .ui-widget-content { background: #1c1c22; color: #dcdce4; border-color: #3a3a46; }
html[data-theme="dark"] .ui-widget-header { background: #2a2a33; color: #f0f0f4; border-color: #3a3a46; }
html[data-theme="dark"] .ui-widget-content a { color: #ff6bbc; }
html[data-theme="dark"] .ui-state-default, html[data-theme="dark"] .ui-widget-content .ui-state-default, html[data-theme="dark"] .ui-widget-header .ui-state-default { background: #25252d; color: #dcdce4; border-color: #3a3a46; }
html[data-theme="dark"] .ui-state-hover, html[data-theme="dark"] .ui-state-focus, html[data-theme="dark"] .ui-widget-content .ui-state-hover { background: #34343f; color: #fff; border-color: #55556a; }
html[data-theme="dark"] .ui-state-active, html[data-theme="dark"] .ui-widget-content .ui-state-active { background: #e5007d; color: #fff; border-color: #b10061; }
html[data-theme="dark"] .ui-state-highlight, html[data-theme="dark"] .ui-widget-content .ui-state-highlight { background: #3d2a12; color: #ffd8a0; border-color: #6a4a1c; }
html[data-theme="dark"] .ui-datepicker td span, html[data-theme="dark"] .ui-datepicker td a { color: #dcdce4; }
html[data-theme="dark"] .ui-datepicker .ui-state-disabled span { color: #6d6d7a; }
html[data-theme="dark"] .ui-widget-overlay { background: #000; opacity: .6; }
html[data-theme="dark"] .ui-menu .ui-menu-item { color: #dcdce4; }

/* barevné buňky přehledů (zůstávají výrazné, text na nich tmavý) */
html[data-theme="dark"] td.red, html[data-theme="dark"] td.yellow, html[data-theme="dark"] td.orange, html[data-theme="dark"] td.green { color: #000; }

/* obrázky: mírné zeslabení, aby světlé grafiky nesvítily (ploché logo / foto) */
html[data-theme="dark"] #central img:not([src*="emoji"]):not([alt="QR"]):not(.country-flag):not([src*="flag"]) { filter: brightness(.9); }

/* posuvníky a výběr textu */
html[data-theme="dark"] ::selection { background: #7a0f4b; color: #fff; }
html[data-theme="dark"] hr { border-color: #2c2c35; }
html[data-theme="dark"] code, html[data-theme="dark"] pre { background: #1f1f26; color: #e0e0e8; }

/* proměnné používané tlačítky a kalendářem */
html[data-theme="dark"] { --btn-pink-light: #3a1428; --btn-border: #6b2a4d; }
html[data-theme="dark"] .cal { --cal-border: #4a2338; color: #d6d6de; }
/* karty angažmá v kalendáři: barvu pozadí nastavuje PHP jako světlou proměnnou --bg, v tmavém vzhledu se barva stavu jen přimíchá */
html[data-theme="dark"] .cal-chip { background: #25252d; background: color-mix(in srgb, var(--c) 22%, #1c1c22); }
html[data-theme="dark"] .cal-chip .cal-name { color: #f1f1f5 !important; }

/* css/forms-modern.css */
/* Moderni vzhled formularu pro cely web (denni i nocni rezim). Nacita se az po theme.css.
   Obsah: (1) vyber zeme / jazyka s vlajkou a hledanim (.fs), (2) telefonni pole s vlajkou (.pi), (3) sjednoceni starych formularu v #central.
   Komponenty s vlastnim vzhledem (.reg-form, .cal, .inv-form ...) zustavaji beze zmeny. */

:root {
    --fm-border: #d6c4cf;
    --fm-bg: #fff;
    --fm-text: #222;
    --fm-muted: #667085;
    --fm-hover: #fdeef6;
    --fm-pink: #e5007d;
    --fm-card: #f7f8fb;
    --fm-card-border: #e3e6ee;
    --fm-shadow: 0 8px 28px rgba(0, 0, 0, .22);
}
html[data-theme="dark"] {
    --fm-border: #453a41;
    --fm-bg: #1a1a1a;
    --fm-text: #dadada;
    --fm-muted: #9aa0ab;
    --fm-hover: #3a1d2c;
    --fm-card: #232323;
    --fm-card-border: #3a3a3a;
    --fm-shadow: 0 8px 28px rgba(0, 0, 0, .6);
}

/* ---- (1) vyber zeme / jazyka s vlajkou ---- */
.fs { position: relative; display: inline-block; vertical-align: middle; min-width: 160px; max-width: 100%; }
.reg-form .fs, .inv-form .fs { display: block; width: 100% !important; }
.fs-native { position: absolute !important; left: 0; top: 0; width: 100% !important; height: 100% !important; opacity: 0; pointer-events: none; }
.fs-btn { display: flex; align-items: center; gap: 8px; width: 100%; box-sizing: border-box; margin: 0; padding: 6px 10px; border: 1px solid var(--fm-border); border-radius: 8px; background: var(--fm-bg); color: var(--fm-text); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.reg-form .fs-btn { padding: 10px 12px; font-size: 15px; }
.fs-btn:hover { border-color: var(--fm-pink); }
.fs-btn:focus-visible { outline: none; border-color: var(--fm-pink); box-shadow: 0 0 0 3px rgba(229, 0, 125, .18); }
.fs-btn:disabled { opacity: .55; cursor: not-allowed; }
.fs-btn img, .fs-items li img { flex: 0 0 auto; width: 22px; height: 16px; object-fit: cover; border: 1px solid rgba(0, 0, 0, .2); border-radius: 2px; }
.fs-label { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-placeholder { color: var(--fm-muted); }
.fs-caret { flex: 0 0 auto; border: 4px solid transparent; border-top-color: var(--fm-muted); margin-top: 4px; }
.fs-list { position: absolute; z-index: 1000; left: 0; top: calc(100% + 4px); min-width: 100%; width: max(100%, 260px); max-width: 92vw; max-height: 320px; display: flex; flex-direction: column; background: var(--fm-bg); border: 1px solid var(--fm-border); border-radius: 10px; box-shadow: var(--fm-shadow); }
.fs-list[hidden] { display: none; }
.fs-search { margin: 8px !important; width: auto !important; padding: 7px 10px !important; border: 1px solid var(--fm-border) !important; border-radius: 8px !important; background: var(--fm-bg) !important; color: var(--fm-text) !important; font-size: 14px !important; }
.fs-items { margin: 0; padding: 0 0 6px 0; list-style: none; overflow-y: auto; }
.fs-items li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 7px 12px; cursor: pointer; font-size: 14px; line-height: 1.2; color: var(--fm-text); background: none; }
.fs-items li:hover, .fs-items li.fs-active { background: var(--fm-hover); }
.fs-items li.fs-current { font-weight: 700; }
.fs-items li.fs-disabled { opacity: .5; cursor: default; }
.fs-items li.fs-empty { padding: 10px 14px; color: var(--fm-muted); font-size: 13px; cursor: default; }

/* ---- (2) telefonni pole s vlajkou a predvolbou ---- */
.pi { position: relative; display: flex; align-items: stretch; width: 100%; }
.pi > input { flex: 1 1 auto; min-width: 0; padding-left: 12px !important; background-image: none !important; border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
.pi-btn { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid var(--fm-border); border-right: 0; border-radius: 8px 0 0 8px; background: var(--fm-bg); color: var(--fm-text); font: inherit; font-size: 14px; cursor: pointer; }
.pi-btn:hover { background: var(--fm-hover); }
.pi-btn img { width: 22px; height: 16px; border: 1px solid rgba(0, 0, 0, .2); object-fit: cover; }
.pi-btn .pi-caret { border: 4px solid transparent; border-top-color: var(--fm-muted); margin-top: 4px; }
.pi-list { position: absolute; z-index: 1000; left: 0; top: calc(100% + 4px); width: min(340px, 92vw); max-height: 300px; display: flex; flex-direction: column; background: var(--fm-bg); border: 1px solid var(--fm-border); border-radius: 10px; box-shadow: var(--fm-shadow); }
.pi-list[hidden] { display: none; }
.pi-search { margin: 8px !important; width: auto !important; padding: 7px 10px !important; border: 1px solid var(--fm-border) !important; border-radius: 8px !important; background: var(--fm-bg) !important; color: var(--fm-text) !important; }
.pi-items { margin: 0; padding: 0 0 6px 0; list-style: none; overflow-y: auto; }
.pi-items li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 7px 12px; cursor: pointer; font-size: 14px; line-height: 1.2; background: none; }
.pi-items li img { width: 22px; height: 16px; border: 1px solid rgba(0, 0, 0, .2); object-fit: cover; }
.pi-items li .pi-name { flex: 1 1 auto; color: var(--fm-text); }
.pi-items li .pi-dial { color: var(--fm-muted); }
.pi-items li.pi-active, .pi-items li:hover { background: var(--fm-hover); }
.pi-items li.pi-current { font-weight: 700; }
.pi-empty { padding: 10px 14px; color: var(--fm-muted); font-size: 13px; }

/* ---- (3) stare formulare ve stredni casti: sjednoceny moderni vzhled (jako faktura) ---- */
#central form:not(.inline):not(.reg-form) { border: 1px solid var(--fm-card-border); border-radius: 12px; background-color: var(--fm-card); box-shadow: 0 1px 2px rgba(23, 36, 58, .06); }
html[data-theme="dark"] #central form:not(.inline):not(.reg-form) { background-color: var(--fm-card); }
#central form h2, #central form h3 { letter-spacing: .01em; }
#central form input[type="text"], #central form input[type="password"], #central form input[type="email"], #central form input[type="tel"], #central form input[type="url"],
#central form input[type="number"], #central form input[type="date"], #central form input[type="search"], #central form select, #central form textarea {
    border: 1px solid var(--fm-border); border-radius: 8px; background-color: var(--fm-bg); color: var(--fm-text); padding: 5px 9px; font-family: inherit; font-size: 14px;
}
#central form input[readonly], #central form input:disabled, #central form select:disabled, #central form textarea:disabled { opacity: .7; }
#central form input[type="text"]:hover, #central form select:hover, #central form textarea:hover { border-color: var(--fm-pink); }
#central form input[type="file"] { font: inherit; font-size: 13px; color: var(--fm-text); }
#central form td:first-child:not([colspan]) { color: var(--fm-muted); }
#central form .emp_bold, #central form th { color: var(--fm-text); }

/* css/social-login.css */
/* Prihlaseni a registrace pres Google / Seznam / MojeID / Facebook */
.social-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.social-btn{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid var(--hm-border,#e3c9d6);border-radius:10px;background:var(--hm-card,#fff);color:var(--hm-text,#2a2330)!important;font-size:14px;line-height:1.2;text-decoration:none!important;transition:box-shadow .15s,transform .15s}
.social-btn:hover,.social-btn:focus{box-shadow:0 2px 10px rgba(0,0,0,.15);transform:translateY(-1px)}
.social-btn svg{flex:0 0 18px}
.social-compact{margin:8px 0 4px;gap:6px}
.social-compact .social-btn{padding:5px 9px;font-size:12px;border-radius:8px}
#login_box .social-buttons{justify-content:flex-start}
.social-register h2{margin-top:0}
.social-notice{margin:10px 0}
.social-linked{list-style:none;margin:10px 0;padding:0}
.social-linked li{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid var(--hm-border,#eee)}
.social-linked form{margin-left:auto}
html[data-theme="dark"] .social-btn{background:#241d2b;border-color:#4a3a55;color:#f1e9f5!important}
/* tmave ikony (TikTok, Threads) v tmavem rezimu invertovat, aby byly videt */
html[data-theme="dark"] #right-sidebar img[src*="/img/social/tiktok"], html[data-theme="dark"] #right-sidebar img[src*="/img/social/threads"] { filter: invert(1); }

/* css/home-modern.css */
/* Moderni vzhled uvodni stranky (a dalsich textovych stranek s obsahem v <div class="container">). Pouze vzhled - HTML ani rozlozeni se nemeni.
   Nacita se po theme.css; vraceni zpet: odebrat tento soubor a jeho odkaz v func/func_header.php.
   Specificita #central .container je zamerne vyssi nez vlastni <style> v textu stranky. */
:root {
    --hm-text: #344054;
    --hm-head: #17243a;
    --hm-pink: #e5007d;
    --hm-card: #fff;
    --hm-line: #e9d3e0;
    --hm-shadow: 0 2px 10px rgba(23, 36, 58, .12);
    --hm-shadow-hover: 0 8px 22px rgba(229, 0, 125, .28);
}
html[data-theme="dark"] {
    --hm-text: #c9ccd3;
    --hm-head: #f1f1f1;
    --hm-card: #232323;
    --hm-line: #3b2b34;
    --hm-shadow: 0 2px 10px rgba(0, 0, 0, .5);
    --hm-shadow-hover: 0 8px 22px rgba(229, 0, 125, .35);
}

/* ---- text ---- */
#central .container { font-size: 14px; line-height: 1.65; color: var(--hm-text); }
#central .container h1 { margin: 4px 0 14px 0; font-size: 22px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; color: var(--hm-head); }
#central .container h2 { margin: 26px 0 10px 0; padding: 0 0 0 10px; border-left: 4px solid var(--hm-pink); font-size: 16px; line-height: 1.3; font-weight: 800; color: var(--hm-pink); text-align: left; }
#central .container p { margin: 0 0 12px 0; padding: 0; line-height: 1.65; text-align: left; }
#central .container strong { color: var(--hm-head); }
#central .container ul { margin: 8px 0 16px 0; padding: 0; list-style: none; }
#central .container ul li { position: relative; margin: 0 0 7px 0; padding: 0 0 0 24px; line-height: 1.5; }
#central .container ul li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--hm-pink); }
#central .container a { color: var(--hm-pink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
#central .container a:hover { text-decoration-thickness: 2px; }

/* ---- tri obrazkove odkazy (pro tanecnice / kluby / agentury) jako karty ---- */
#central .container .image-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 22px 0; }
#central .container .image-links a { display: block; overflow: hidden; border-radius: 12px; background: var(--hm-card); box-shadow: var(--hm-shadow); line-height: 0; transition: transform .18s ease, box-shadow .18s ease; }
#central .container .image-links a:hover, #central .container .image-links a:focus-visible { transform: translateY(-3px); box-shadow: var(--hm-shadow-hover); outline: none; }
#central .container .image-links img { display: block; width: 100%; height: auto; border: 0; transition: transform .25s ease; }
#central .container .image-links a:hover img { transform: scale(1.04); }

/* ---- tlacitko registrace v textu ---- */
#central .container .register-box { margin: 22px 0; text-align: center; }
#central .container .register-button { display: inline-block; padding: 11px 28px; border: 1px solid #c4006b; border-radius: 999px; background: linear-gradient(#f0268f, #e5007d); color: #fff !important; font-size: 14px; font-weight: 800; text-decoration: none; box-shadow: 0 3px 10px rgba(229, 0, 125, .35); transition: transform .12s ease, box-shadow .12s ease; }
#central .container .register-button:hover { opacity: 1; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(229, 0, 125, .45); }

/* ---- levy a pravy sloupec: jemnejsi nadpisy, odkazy ---- */
#left h2, #right h2 { margin: 6px 0 6px 0; padding: 7px 4px; width: auto; border: 0; border-radius: 8px; background: rgba(229, 0, 125, .07); font-size: 14px; font-weight: 800; color: var(--hm-pink); }
#left h2.top, #right h2.top { margin-top: 10px; }
html[data-theme="dark"] #left h2, html[data-theme="dark"] #right h2 { background: rgba(229, 0, 125, .16); }
#right ul { list-style: none; margin: 0; padding: 0 0 0 4px; }
#right ul li a, #right a { transition: color .15s; }
#right ul li { margin: 0; }

@media (max-width: 560px) {
    #central .container .image-links { gap: 8px; }
    #central .container h1 { font-size: 20px; }
}
@media print { #central .container .image-links a { box-shadow: none; } }

/* ---- horni menu: o neco uzsi polozky, aby se vsechny vesly do jedne rady (dosud se "Odkazy" zalamovalo na druhy radek) ---- */
@media screen and (min-width: 821px) {
    #menu { padding: 0 6px; }
    #menu a { padding: 0 11px; font-size: 13.5px; letter-spacing: 0; }
    #menu a#prvni { padding-left: 12px; }
    #menu a.emp { margin: 6px 3px; padding: 0 11px; }
}

/* css/admin-dashboard.css */
/* Administrace - uvodni stranka: prehled stavu + zobrazeni jen sekci s obsahem */
.adm-dash { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 12px 0 18px; }
.adm-card { display: flex; flex-direction: column; gap: 2px; position: relative; padding: 10px 12px 10px 30px; border-radius: 10px; border: 1px solid #ead3df; background: #fff; color: #333; text-decoration: none; font-weight: 600; font-size: 13px; line-height: 1.3; }
.adm-card small { font-weight: 400; color: #777; font-size: 12px; }
.adm-dot { position: absolute; left: 12px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: #3aa66a; }
.adm-open { border-color: #e0158a; background: #fff3f9; }
.adm-open .adm-dot { background: #e0158a; }
.adm-open small { color: #b00f6d; }
a.adm-open:hover { box-shadow: 0 2px 8px rgba(224, 21, 138, .2); }
.adm-allclear { padding: 10px 14px; border-radius: 10px; background: #eefaf3; color: #256b45; }
html[data-theme="dark"] .adm-card { background: #23232a; border-color: #3a3a45; color: #e6e6ea; }
html[data-theme="dark"] .adm-open { background: #33202b; border-color: #e0158a; }
html[data-theme="dark"] .adm-allclear { background: #1f2d25; color: #8fd4ac; }

/* css/aida.css */
/* AIda - AI poradkyne (js/aida.js, aida.php). Plovouci tlacitko vlevo dole a okno chatu. Barvy a tmavy rezim: --hm-* z home-modern.css. */
.aida-fab { position: fixed; left: 18px; bottom: 18px; z-index: 9000; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 1px solid #c4006b; border-radius: 999px; background: linear-gradient(#f0268f, #e5007d); box-shadow: 0 6px 18px rgba(229, 0, 125, .45); color: #fff; font: 800 14px/1 inherit; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.aida-fab:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(229, 0, 125, .55); }
.aida-fab:focus-visible, .aida-x:focus-visible, .aida-chip:focus-visible, .aida-send:focus-visible { outline: 3px solid rgba(229, 0, 125, .35); outline-offset: 2px; }
body.aida-open .aida-fab { display: none; }
.aida-panel { position: fixed; left: 18px; bottom: 18px; z-index: 9001; display: flex; flex-direction: column; width: 380px; max-width: calc(100vw - 36px); height: 540px; max-height: calc(100vh - 36px); overflow: hidden; border: 1px solid var(--hm-line, #e9d3e0); border-radius: 18px; background: var(--hm-card, #fff); box-shadow: 0 18px 50px rgba(23, 36, 58, .35); color: var(--hm-text, #344054); font-size: 14px; line-height: 1.5; }
.aida-panel[hidden] { display: none; }
.aida-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 14px 16px; background: linear-gradient(135deg, #f0268f, #c4006b); color: #fff; }
.aida-title { font-size: 16px; font-weight: 800; }
.aida-sub { margin-top: 2px; font-size: 12px; opacity: .9; }
.aida-x { flex: 0 0 auto; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .2); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.aida-x:hover { background: rgba(255, 255, 255, .35); }
.aida-log { flex: 1 1 auto; overflow-y: auto; padding: 14px; }
.aida-msg { max-width: 88%; margin: 0 0 10px 0; padding: 9px 13px; border-radius: 14px; overflow-wrap: anywhere; }
.aida-msg a.aida-link { color: var(--hm-pink, #e5007d); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.aida-bot { border-top-left-radius: 4px; background: rgba(229, 0, 125, .08); }
.aida-me { margin-left: auto; border-top-right-radius: 4px; background: linear-gradient(#f0268f, #e5007d); color: #fff; }
.aida-wait { opacity: .7; font-style: italic; }
.aida-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px 14px; }
.aida-chip { padding: 6px 12px; border: 1px solid rgba(229, 0, 125, .4); border-radius: 999px; background: none; color: var(--hm-pink, #e5007d); font: 700 12px/1.3 inherit; text-align: left; cursor: pointer; }
.aida-chip:hover { background: rgba(229, 0, 125, .1); }
.aida-form { display: flex; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--hm-line, #e9d3e0); }
.aida-in { flex: 1 1 auto; min-width: 0; padding: 9px 14px; border: 1px solid var(--hm-line, #e9d3e0); border-radius: 999px; background: var(--hm-card, #fff); color: var(--hm-text, #344054); font: inherit; }
.aida-in:focus { outline: none; border-color: var(--hm-pink, #e5007d); box-shadow: 0 0 0 3px rgba(229, 0, 125, .18); }
.aida-send { padding: 9px 16px; border: 1px solid #c4006b; border-radius: 999px; background: linear-gradient(#f0268f, #e5007d); color: #fff; font: 800 13px/1 inherit; cursor: pointer; }
.aida-note { padding: 0 14px 10px 14px; font-size: 11px; opacity: .7; }
@media (max-width: 560px) {
    .aida-fab { left: 12px; bottom: 12px; padding: 10px 14px; }
    .aida-panel { left: 0; right: 0; bottom: 0; width: 100%; max-width: 100%; height: 78vh; border-radius: 18px 18px 0 0; }
}
@media print { .aida-fab, .aida-panel { display: none !important; } }

/* css/site-modern.css */
/* ==========================================================================
   Moderni vzhled celeho webu (verejna cast i ucty) - pouze vzhled.
   - HTML struktura stranek se nemeni; mobilni menu a tlacitka v hlavicce doplnuje js/site-modern.js
     (bez JavaScriptu zustava menu i prihlaseni viditelne jako dosud).
   - Nacita se jako uplne posledni styl (func/func_header.php, funkce style()).
   - Vraceni zpet: odebrat odkazy na css/site-modern.css a js/site-modern.js ve style().
   ========================================================================== */

:root {
  --sm-brand: #e5007d;
  --sm-brand-600: #c8006d;
  --sm-brand-700: #a3005a;
  --sm-brand-50: #fff1f8;
  --sm-brand-100: #ffe0ef;
  --sm-plum: #2a0b20;
  --sm-plum-2: #4a1238;
  --sm-ink: #23161f;
  --sm-text: #3b2f37;
  --sm-muted: #7a6873;
  --sm-line: #f1dbe7;
  --sm-card: #ffffff;
  --sm-page: #fbf3f7;
  --sm-radius: 18px;
  --sm-radius-sm: 12px;
  --sm-shadow: 0 1px 2px rgba(42, 11, 32, .06), 0 10px 28px -14px rgba(120, 0, 70, .28);
  --sm-shadow-hover: 0 2px 4px rgba(42, 11, 32, .08), 0 18px 36px -14px rgba(229, 0, 125, .42);
  --sm-grad: linear-gradient(135deg, #ff3d9a 0%, #e5007d 45%, #a3005a 100%);
  --sm-grad-hero: linear-gradient(135deg, rgba(42, 11, 32, .92) 0%, rgba(122, 0, 72, .88) 55%, rgba(229, 0, 125, .82) 100%);
  --sm-font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Calibri, Arial, sans-serif;
}
html[data-theme="dark"] {
  --sm-ink: #f4eef2;
  --sm-text: #d8ccd3;
  --sm-muted: #a8959f;
  --sm-line: #3a2632;
  --sm-card: #1f171c;
  --sm-page: #140f12;
  --sm-brand-50: #2a1220;
  --sm-brand-100: #3a1529;
  --sm-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px -14px rgba(0, 0, 0, .7);
  --sm-shadow-hover: 0 2px 4px rgba(0, 0, 0, .5), 0 18px 36px -14px rgba(229, 0, 125, .45);
}

@media screen {

  /* ---- zaklad: pismo, pozadi ------------------------------------------------ */
  body {
    font-family: var(--sm-font);
    color: var(--sm-text);
    background-color: var(--sm-page);
    background-image:
      radial-gradient(1200px 600px at 100% -10%, rgba(229, 0, 125, .14), transparent 60%),
      radial-gradient(900px 500px at -10% 10%, rgba(163, 0, 90, .10), transparent 60%),
      linear-gradient(rgba(251, 243, 247, .88), rgba(251, 243, 247, .94)),
      url("../img/pozadi.webp");
    background-size: auto, auto, auto, cover;
    background-attachment: fixed;
    background-position: center top;
    -webkit-font-smoothing: antialiased;
  }
  html[data-theme="dark"] body {
    background-image:
      radial-gradient(1200px 600px at 100% -10%, rgba(229, 0, 125, .16), transparent 60%),
      linear-gradient(rgba(20, 15, 18, .93), rgba(20, 15, 18, .96)),
      url("../img/pozadi.webp");
    background-size: auto, auto, cover;
  }
  a { transition: color .15s ease; }
  ::selection { background: var(--sm-brand); color: #fff; }

  /* ---- tlacitka (odeslani formulare, akce) ---------------------------------- */
  #header input[type="submit"],
  #central input[type="submit"],
  #central button:not(.ui-button):not([class*="ui-"]):not(.im-btn),
  a.sm-btn {
    border: 0;
    border-radius: 999px;
    background: var(--sm-grad);
    color: #fff;
    font-family: var(--sm-font);
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: 0 6px 16px -6px rgba(229, 0, 125, .6);
    cursor: pointer;
    transition: transform .12s ease, box-shadow .15s ease, filter .15s ease;
  }
  #header input[type="submit"]:hover,
  #central input[type="submit"]:hover,
  #central button:not(.ui-button):not([class*="ui-"]):not(.im-btn):hover,
  a.sm-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(229, 0, 125, .7); filter: saturate(1.1); }
  #central input[type="submit"]:focus-visible,
  #central button:focus-visible,
  a.sm-btn:focus-visible { outline: 3px solid rgba(229, 0, 125, .35); outline-offset: 2px; }

  a.sm-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; font-size: 15px; text-decoration: none !important; color: #fff !important; }
  a.sm-btn.sm-btn-ghost { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
  a.sm-btn.sm-btn-ghost:hover { background: rgba(255, 255, 255, .24); box-shadow: inset 0 0 0 1.5px #fff; }

  /* ---- pole formularu ------------------------------------------------------- */
  #central input[type="text"], #central input[type="password"], #central input[type="email"],
  #central input[type="tel"], #central input[type="number"], #central input[type="date"],
  #central input[type="search"], #central input[type="url"], #central select, #central textarea,
  #login_box .login_input {
    border: 1px solid #e6cfdc;
    border-radius: 10px;
    background-color: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
  }
  #central input:focus, #central select:focus, #central textarea:focus, #login_box .login_input:focus {
    border-color: var(--sm-brand);
    box-shadow: 0 0 0 3px rgba(229, 0, 125, .16);
    outline: none;
  }
  html[data-theme="dark"] #central input[type="text"], html[data-theme="dark"] #central input[type="password"],
  html[data-theme="dark"] #central input[type="email"], html[data-theme="dark"] #central input[type="tel"],
  html[data-theme="dark"] #central input[type="number"], html[data-theme="dark"] #central input[type="date"],
  html[data-theme="dark"] #central input[type="search"], html[data-theme="dark"] #central select,
  html[data-theme="dark"] #central textarea, html[data-theme="dark"] #login_box .login_input {
    background-color: #191216; border-color: #46303d; color: #eee;
  }

  /* ---- prihlasovaci box ----------------------------------------------------- */
  #login_box {
    border: 0;
    border-radius: var(--sm-radius-sm);
    background: var(--sm-card);
    box-shadow: var(--sm-shadow);
    font-family: var(--sm-font);
  }
  #login_box .heading { font-weight: 800; color: var(--sm-ink); }
  #login_box .heading a { font-weight: 700; color: var(--sm-brand); }
  #login_box input[type="submit"] { padding: 7px 20px; font-size: 13px; }
  #login_box a { color: var(--sm-brand); }
  html[data-theme="dark"] #login_box { background: var(--sm-card); border: 0; }

  /* ---- prepinac jazyka a vzhledu ------------------------------------------- */
  #lang_switch select {
    border-radius: 999px !important;
    border-color: #ecc4da !important;
    box-shadow: 0 2px 8px -4px rgba(120, 0, 70, .3);
  }
  #theme_switch { border-radius: 999px; border-color: #ecc4da; box-shadow: 0 2px 8px -4px rgba(120, 0, 70, .3); }

  /* ---- hlavni obsah --------------------------------------------------------- */
  #central h1 { color: var(--sm-ink); letter-spacing: -.015em; }
  #left h2, #right h2 {
    border: 0 !important;
    border-radius: 999px;
    background: var(--sm-brand-50);
    color: var(--sm-brand) !important;
    font-weight: 800;
    letter-spacing: .01em;
  }
  #left h2 a, #right h2 a { color: inherit !important; text-decoration: none; }

  /* ---- paticka -------------------------------------------------------------- */
  #footer {
    background: linear-gradient(135deg, var(--sm-plum) 0%, var(--sm-plum-2) 100%) !important;
    color: #e9d6e1;
  }
  #footer a { color: #ff9ccc; }
  #footer a:hover { color: #fff; }
}

/* ==========================================================================
   Pocitac a tablet na sirku (>= 821 px)
   ========================================================================== */
@media screen and (min-width: 821px) {

  .sm-tools { display: none !important; }
  /* sirka: verejne stranky az 1440 px, administrator a agent (siroke tabulky) az 1880 px; vzdy na stred */
  #header, #menu, #main, #footer { width: 96% !important; max-width: 1440px; margin-left: auto !important; margin-right: auto !important; }
  html.sm-role-3 #header, html.sm-role-3 #menu, html.sm-role-3 #main, html.sm-role-3 #footer,
  html.sm-role-4 #header, html.sm-role-4 #menu, html.sm-role-4 #main, html.sm-role-4 #footer { width: 98% !important; max-width: 1880px; }

  /* hlavicka jako bila karta s logem */
  #header {
    margin-top: 16px !important;
    border-radius: var(--sm-radius) var(--sm-radius) 0 0;
    background-color: var(--sm-card) !important;
    box-shadow: var(--sm-shadow);
  }
  #header::after { display: none !important; }
  html[data-theme="dark"] #header { background-color: var(--sm-card) !important; }
  #login_box { margin-top: 12px; margin-right: 18px; box-shadow: 0 0 0 1px var(--sm-line), 0 8px 24px -14px rgba(120, 0, 70, .35); }

  /* menu: barevny pruh pod hlavickou, pri posunu zustava nahore */
  #menu {
    position: sticky;
    top: 0;
    z-index: 60;
    padding: 6px 10px !important;
    background: var(--sm-grad) !important;
    border-radius: 0 0 var(--sm-radius) var(--sm-radius);
    box-shadow: 0 10px 24px -14px rgba(163, 0, 90, .8) !important;
    gap: 2px;
  }
  #menu a { min-height: 38px !important; border-radius: 999px; padding: 0 14px !important; font-size: 14px !important; }
  #menu a + a::before { display: none; }
  #menu a:hover { background: rgba(255, 255, 255, .18) !important; }
  #menu a.active { background: rgba(255, 255, 255, .95) !important; color: var(--sm-brand-700) !important; box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .35) !important; }
  #menu a.emp { margin: 0 2px !important; min-height: 38px !important; background: #fff !important; color: var(--sm-brand-700) !important; box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .4); }
  #menu a.emp:hover { background: var(--sm-brand-50) !important; }
  #menu a.emp.active { background: #fff !important; }

  /* telo: tri samostatne karty se mezerou */
  #main {
    margin-top: 18px !important;
    padding: 0 !important;
    gap: 18px;
    background: transparent !important;
  }
  #left, #right, #central {
    border-radius: var(--sm-radius);
    background: var(--sm-card) !important;
    box-shadow: var(--sm-shadow);
  }
  #left, #right { flex: 0 0 196px !important; padding: 14px 12px !important; box-sizing: border-box; }
  #central { padding: 26px 32px !important; }
  /* administrator a agent: siroke tabulky - uzsi boky a mensi okraje */
  html.sm-role-3 #left, html.sm-role-3 #right, html.sm-role-4 #left, html.sm-role-4 #right { flex-basis: 150px !important; padding: 10px 8px !important; }
  html.sm-role-3 #central, html.sm-role-4 #central { padding: 18px 18px !important; }
  html.sm-role-3 #main, html.sm-role-4 #main { gap: 12px; }
  html[data-theme="dark"] #central { background: var(--sm-card) !important; }

  #footer {
    margin-top: 18px !important;
    margin-bottom: 18px !important;
    padding: 18px 24px !important;
    border-radius: var(--sm-radius) !important;
    box-shadow: var(--sm-shadow);
  }
}

/* ==========================================================================
   Uvodni stranka pro navstevniky (index.php): uvod jako vyrazny "hero" blok,
   sekce s informacemi jako karty ve dvou sloupcich
   ========================================================================== */
@media screen {
  html.sm-page-index #central .container > header {
    position: relative;
    overflow: hidden;
    margin: 0 0 22px 0;
    padding: 34px 32px 30px 32px;
    border-radius: var(--sm-radius);
    background: var(--sm-grad-hero), url("../img/pozadi.webp") center 30% / cover;
    color: #fbe9f2;
    box-shadow: 0 18px 40px -20px rgba(122, 0, 72, .8);
  }
  html.sm-page-index #central .container > header::after {
    content: "";
    position: absolute;
    right: -60px; top: -60px;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 70%);
    pointer-events: none;
  }
  html.sm-page-index #central .container > header h1 {
    margin: 0 0 12px 0 !important;
    font-size: 32px !important;
    line-height: 1.15 !important;
    font-weight: 800;
    color: #fff !important;
    letter-spacing: -.02em;
  }
  html.sm-page-index #central .container > header p { color: #fbe3ef !important; font-size: 15.5px; max-width: 62ch; }
  html.sm-page-index #central .container > header strong { color: #fff !important; }
  .sm-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; position: relative; z-index: 1; }
  .sm-hero-badges { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; padding: 0; list-style: none; font-size: 13px; font-weight: 600; color: #ffd3e8; position: relative; z-index: 1; }
  .sm-hero-badges li::before { content: "✓"; margin-right: 6px; color: #fff; font-weight: 800; }
  #central .container ul.sm-hero-badges li { padding: 0; margin: 0; }
  #central .container ul.sm-hero-badges li::before { content: "✓"; color: #fff; position: static; width: auto; height: auto; background: none; border-radius: 0; display: inline; }

  /* tri karty s obrazky */
  html.sm-page-index #central .container .image-links { gap: 16px; }
  html.sm-page-index #central .container .image-links a { border-radius: var(--sm-radius); box-shadow: var(--sm-shadow); }
  html.sm-page-index #central .container .image-links a:hover { box-shadow: var(--sm-shadow-hover); transform: translateY(-4px); }

  /* karty s novymi obrazky (img/home/*.jpg); puvodni obrazek zustava v HTML jen pro citacky (alt), je skryty */
  #central .container .image-links a.sm-card {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    background: #5a1046 center / cover no-repeat;
    line-height: 1.2;
    isolation: isolate;
  }
  #central .container .image-links a.sm-card-for-dancers { background-image: url("../img/home/card-dancers-hostesses.jpg"); }
  #central .container .image-links a.sm-card-for-clubs { background-image: url("../img/home/card-clubs.jpg"); }
  #central .container .image-links a.sm-card-for-agents { background-image: url("../img/home/card-agencies.jpg"); }
  #central .container .image-links a.sm-card img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
  #central .container .image-links a.sm-card::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0; height: 45%;
    background: linear-gradient(to top, rgba(42, 11, 32, .85), rgba(42, 11, 32, 0));
    z-index: 1;
    transition: height .25s ease;
  }
  #central .container .image-links a.sm-card:hover::after { height: 60%; }
  .sm-card-label {
    position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
    color: #fff; font-size: 19px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
  }
  .sm-card-arrow {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--sm-grad); font-size: 18px; text-shadow: none;
    box-shadow: 0 6px 14px -6px rgba(229, 0, 125, .8);
    transition: transform .2s ease;
  }
  #central .container .image-links a.sm-card:hover .sm-card-arrow { transform: translateX(3px); }
  @media screen and (max-width: 820px) {
    /* mobil: karty vedle sebe s posunem prstem */
    #central .container .image-links {
      display: flex !important; gap: 12px !important;
      overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
      margin-left: -16px; margin-right: -16px; padding: 4px 16px 10px 16px;
      scrollbar-width: none;
    }
    #central .container .image-links::-webkit-scrollbar { display: none; }
    #central .container .image-links a.sm-card { flex: 0 0 62%; scroll-snap-align: start; }
    .sm-card-label { font-size: 18px; }
  }

  /* informacni sekce jako karty */
  html.sm-page-index #central .container > section {
    margin: 0 0 16px 0;
    padding: 18px 20px 8px 20px;
    border: 1px solid var(--sm-line);
    border-radius: var(--sm-radius);
    background: linear-gradient(180deg, var(--sm-brand-50), var(--sm-card) 70px);
  }
  html.sm-page-index #central .container > section h2 { margin-top: 0 !important; }
  html.sm-page-index #central .container > section:last-of-type {
    text-align: center;
    background: var(--sm-grad);
    border: 0;
    color: #fff;
    box-shadow: 0 18px 40px -20px rgba(163, 0, 90, .9);
  }
  html.sm-page-index #central .container > section:last-of-type h2 { border: 0; padding: 0; color: #fff !important; text-align: center !important; font-size: 20px; }
  html.sm-page-index #central .container > section:last-of-type p { color: #ffe3f1; text-align: center !important; }
  html.sm-page-index #central .container > section:last-of-type .register-button { background: #fff !important; color: var(--sm-brand-700) !important; border: 0; font-size: 15px; padding: 13px 30px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }
}
@media screen and (min-width: 1000px) {
  html.sm-page-index #central .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    align-items: start;
  }
  html.sm-page-index #central .container > header,
  html.sm-page-index #central .container > .image-links,
  html.sm-page-index #central .container > section:first-of-type,
  html.sm-page-index #central .container > section:last-of-type,
  html.sm-page-index #central .container > footer { grid-column: 1 / -1; }
}

/* ==========================================================================
   Mobil (<= 820 px): kompaktni hlavicka s logem, tlacitko Prihlasit a menu (hamburger).
   Plati jen kdyz bezi js/site-modern.js (trida sm-js na <html>).
   ========================================================================== */
@media screen and (max-width: 820px) {

  html.sm-js #header {
    position: sticky;
    top: 0;
    z-index: 80;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 8px 10px !important;
    background: rgba(255, 255, 255, .94) !important;
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    backdrop-filter: saturate(1.4) blur(10px);
    box-shadow: 0 6px 20px -12px rgba(120, 0, 70, .45);
  }
  html.sm-js[data-theme="dark"] #header { background: rgba(31, 23, 28, .94) !important; }
  html.sm-js #header::before { display: none !important; }
  html.sm-js #clickable {
    position: static !important;
    order: 1;
    flex: 0 0 auto;
    display: block;
    width: 156px !important;
    height: 52px !important;
    background: url("../img/header_bg.png?v=1z163") no-repeat 0 50% / auto 52px;
  }
  html.sm-js[data-theme="dark"] #clickable { filter: brightness(1.15); border-radius: 8px; background-color: rgba(255, 255, 255, .92); }
  html.sm-js .sm-tools { order: 2; margin-left: auto; display: flex; gap: 6px; }
  .sm-tool {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-width: 44px; height: 44px; padding: 0 12px;
    border: 0; border-radius: 999px;
    background: var(--sm-brand-50); color: var(--sm-brand-700);
    font: 700 14px/1 var(--sm-font);
    cursor: pointer;
  }
  .sm-tool svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  .sm-tool.sm-tool-primary { background: var(--sm-grad); color: #fff; box-shadow: 0 6px 14px -6px rgba(229, 0, 125, .7); }
  .sm-tool[aria-expanded="true"] { background: var(--sm-plum); color: #fff; }
  html[data-theme="dark"] .sm-tool:not(.sm-tool-primary) { background: #2e1d27; color: #ffb3d6; }

  /* prihlaseni a jazyk/vzhled: skryte, otevira se tlacitkem */
  html.sm-js #login_box { display: none; order: 5; flex: 1 1 100%; margin: 6px 0 2px 0 !important; padding: 14px !important; }
  html.sm-js.sm-login-open #login_box { display: block; animation: sm-drop .18s ease-out; }
  html.sm-js #lang_switch { display: none !important; order: 4; flex: 1 1 100%; margin: 6px 0 0 0 !important; }
  html.sm-js.sm-nav-open #lang_switch { display: flex !important; align-items: center; flex-wrap: wrap; gap: 8px; }
  html.sm-js #lang_switch select { flex: 1 1 160px; min-height: 42px; }

  /* menu: svisly seznam pod hlavickou */
  html.sm-js #menu { display: none !important; }
  html.sm-js.sm-nav-open #menu {
    display: flex !important;
    flex-direction: column;
    position: relative;
    z-index: 70;
    margin: 0 10px !important;
    padding: 6px !important;
    border-radius: 0 0 var(--sm-radius) var(--sm-radius);
    background: var(--sm-grad) !important;
    box-shadow: 0 18px 30px -16px rgba(122, 0, 72, .9);
    animation: sm-drop .18s ease-out;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  html.sm-js.sm-nav-open #menu a {
    display: block;
    padding: 13px 16px !important;
    border: 0 !important;
    border-radius: 12px;
    text-align: left !important;
    font-size: 16px !important;
    color: #fff !important;
    background: transparent;
    box-shadow: none !important;
  }
  html.sm-js.sm-nav-open #menu a.active { background: rgba(255, 255, 255, .2) !important; }
  html.sm-js.sm-nav-open #menu a.emp { margin-top: 4px; background: #fff !important; color: var(--sm-brand-700) !important; text-align: center !important; font-weight: 800; }

  /* obsah */
  #main { padding: 10px !important; background: transparent !important; gap: 12px; }
  #central, #left, #right {
    border-radius: var(--sm-radius);
    background: var(--sm-card) !important;
    box-shadow: var(--sm-shadow);
  }
  #central { padding: 18px 16px !important; }
  #left, #right { padding: 12px !important; }
  #footer { margin: 0 10px 14px 10px !important; padding: 16px !important; border-radius: var(--sm-radius); }

  html.sm-page-index #central .container > header { margin: -2px -4px 18px -4px; padding: 24px 18px 22px 18px; }
  html.sm-page-index #central .container > header h1 { font-size: 26px !important; }
  html.sm-page-index #central .container > header p { font-size: 15px; }
  .sm-hero-cta a.sm-btn { flex: 1 1 100%; justify-content: center; }
}

@keyframes sm-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .sm-tools, .sm-hero-cta, .sm-hero-badges { display: none !important; }
}

/* ==========================================================================
   Stranka Kluby: zalozky Vse / Tanecnice / Hostesky (func/func_clubs.php, club_type_tabs)
   ========================================================================== */
@media screen {
  .club-type-tabs {
    display: inline-flex; flex-wrap: wrap; gap: 4px;
    margin: 0 0 14px 0; padding: 5px;
    border-radius: 999px;
    background: var(--sm-brand-50);
    box-shadow: inset 0 0 0 1px var(--sm-line);
  }
  .club-type-tabs a {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    font-weight: 700; font-size: 14px;
    color: var(--sm-brand-700) !important;
    text-decoration: none !important;
    transition: background-color .15s ease, color .15s ease;
  }
  .club-type-tabs a:hover { background: rgba(229, 0, 125, .1); }
  .club-type-tabs a.active { background: var(--sm-grad); color: #fff !important; box-shadow: 0 6px 14px -6px rgba(229, 0, 125, .7); }
  .club-type-count {
    min-width: 22px; padding: 1px 7px;
    border-radius: 999px;
    background: rgba(229, 0, 125, .12);
    font-size: 12px; font-weight: 800; text-align: center;
  }
  .club-type-tabs a.active .club-type-count { background: rgba(255, 255, 255, .25); }
  html[data-theme="dark"] .club-type-tabs a { color: #ffb3d6 !important; }
  html[data-theme="dark"] .club-type-tabs a.active { color: #fff !important; }
}
@media screen {
  .club-emp-tabs { display: flex; flex-wrap: wrap; align-items: center; width: fit-content; max-width: 100%; margin-top: -6px; padding: 4px; background: transparent; box-shadow: inset 0 0 0 1px var(--sm-line); }
  .club-emp-tabs a { padding: 6px 14px; font-size: 13px; }
  .club-tabs-label { padding: 0 6px 0 10px; font-size: 13px; font-weight: 700; color: var(--sm-muted); }
  html[data-theme="dark"] .club-emp-tabs { background: transparent; }
}
@media screen and (max-width: 820px) {
  .club-type-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 20px; }
  .club-type-tabs a { flex: 1 1 auto; justify-content: center; gap: 5px; padding: 8px 10px; font-size: 13.5px; white-space: nowrap; }
  .club-tabs-label { flex: 1 1 100%; padding: 2px 8px 0 8px !important; }
  .club-type-count { min-width: 0; padding: 1px 6px; font-size: 11px; }
  .club-emp-tabs a { padding: 7px 10px; font-size: 13px; }
  .club-tabs-label { flex: 0 0 auto; padding: 0 4px 0 8px; }
}


/* ==========================================================================
   Obrazky "pro tanecnice / kluby / agentury" v obsahu stranek (Pro tanecnice, Pro kluby, Pro agentury ...):
   misto starych obrazku s ceskym textem nove karty s prelozenym popiskem (js/site-modern.js, initInlineCards).
   Puvodni obrazky se do nahrazeni skryji, aby neproblikly (trida sm-js-on nastavuje skript v hlavicce).
   ========================================================================== */
@media screen {
  html.sm-js-on:not(.sm-cards-ready) img[src*="img/for_dancers.jpg"],
  html.sm-js-on:not(.sm-cards-ready) img[src*="img/for_clubs.jpg"],
  html.sm-js-on:not(.sm-cards-ready) img[src*="img/for_agencies.jpg"] { visibility: hidden; }

  .sm-bg-for-dancers { background-image: url("../img/home/card-dancers-hostesses.jpg") !important; }
  .sm-bg-for-clubs { background-image: url("../img/home/card-clubs.jpg") !important; }
  .sm-bg-for-agents { background-image: url("../img/home/card-agencies.jpg") !important; }

  .sm-inline-card {
    position: relative;
    float: right;
    display: block;
    width: 170px;
    aspect-ratio: 2 / 3;
    margin: 0 0 14px 20px;
    border-radius: var(--sm-radius);
    overflow: hidden;
    background: #5a1046 center / cover no-repeat;
    box-shadow: var(--sm-shadow);
    line-height: 1.2;
  }
  .sm-inline-card.sm-inline-left { float: left; margin: 0 20px 14px 0; }
  .sm-inline-card img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; margin: 0 !important; opacity: 0; }
  .sm-inline-card::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0; height: 50%;
    background: linear-gradient(to top, rgba(42, 11, 32, .85), rgba(42, 11, 32, 0));
  }
  .sm-inline-card .sm-card-label { left: 12px; right: 12px; bottom: 12px; font-size: 16px; }
}
@media screen and (max-width: 560px) {
  .sm-inline-card { width: 120px; margin-left: 12px; }
  .sm-inline-card.sm-inline-left { margin-right: 12px; }
  .sm-inline-card .sm-card-label { left: 9px; right: 9px; bottom: 9px; font-size: 13.5px; }
}
/* nadpis s kartou: stejny ramecek jako dosud nadpis s obrazkem (css/content-modern.css), karta zustava uvnitr */
#central h2:has(> .sm-inline-card) { display: flow-root; margin: 4px 0 14px 0; padding: 16px 18px; border: 1px solid var(--hm-line, #e9d3e0); border-radius: 18px; background: linear-gradient(135deg, rgba(229, 0, 125, .09), rgba(229, 0, 125, .02)); font-size: 22px; line-height: 1.25; }
#central h1:has(> .sm-inline-card) { display: flow-root; }
#central h1 > .sm-inline-card, #central h2 > .sm-inline-card { margin: 0 0 6px 14px; }

/* Administrace klubu: zalozky viditelnosti a hromadne akce (func/func_club_admin.php) */
.club-admin-tabs { margin: 10px 0 8px; }
.club-admin-note { margin: 4px 0 10px; color: #667085; font-size: 13px; }
.club-bulk-bar { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 0; padding: 10px 12px; background: rgba(255, 255, 255, .96); border: 1px solid #f3c6dd; border-radius: 14px; box-shadow: 0 -6px 18px -12px rgba(120, 0, 70, .45); }
.club-bulk-label { margin-right: 6px; font-size: 14px; }
.club-bulk-btn { padding: 7px 14px; border: 0; border-radius: 999px; background: #e6007e; color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; }
.club-bulk-btn[value="hide"], .club-bulk-btn[value="lock"] { background: #6b4058; }
.club-bulk-btn:disabled { opacity: .4; cursor: default; }
.club-bulk-form input.club-select, .club-bulk-form input.club-select-all { width: 18px; height: 18px; accent-color: #e6007e; cursor: pointer; }
html[data-theme="dark"] .club-bulk-bar { background: rgba(31, 23, 28, .96); border-color: #5a2d45; }

/* Zpravy (classes/Components/Inbox.php): nova zprava s editorem, detail zpravy */
.inbox-form { display: grid; gap: 12px; max-width: 980px; margin: 12px 0; padding: 18px; background: #fff; border: 1px solid #f3c6dd; border-radius: 16px; }
.inbox-field { display: grid; grid-template-columns: 110px 1fr; align-items: start; gap: 10px; }
.inbox-field > label { padding-top: 9px; font-weight: 700; color: #6b4058; }
.inbox-form .inbox-select, .inbox-form .inbox-input, .inbox-form .fs { width: 100% !important; max-width: 100%; box-sizing: border-box; }
.inbox-form textarea, .inbox-form .tox-tinymce { width: 100% !important; box-sizing: border-box; border-radius: 12px !important; }
.inbox-actions { padding-left: 120px; }
.inbox-content { max-width: 820px; line-height: 1.5; }
.inbox-content p { margin: 0 0 .6em; }
.inbox-reply { margin-top: 10px; }
html[data-theme="dark"] .inbox-form { background: #1f171c; border-color: #5a2d45; }
html[data-theme="dark"] .inbox-field > label { color: #f3c6dd; }
@media (max-width: 640px) {
  .inbox-form { padding: 12px; }
  .inbox-field { grid-template-columns: 1fr; gap: 4px; }
  .inbox-field > label { padding-top: 0; }
  .inbox-actions { padding-left: 0; }
}

/* Karta prihlaseneho uzivatele (func/func_header.php login_box) */
#login_box.ub { display: flex; flex-direction: column; gap: 10px; min-width: 230px; padding: 14px !important; min-height: 0; }
.ub-head { display: flex; align-items: center; gap: 10px; }
.ub-avatar { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #ff4fa3, #b0005e); color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .5px; box-shadow: 0 4px 12px -6px rgba(176, 0, 94, .8); }
.ub-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.ub-name { font-weight: 800; color: #2b1220 !important; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ub-role { align-self: flex-start; margin-top: 3px; padding: 1px 8px; border-radius: 999px; background: #fde4f1; color: #b0005e; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.ub-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#login_box .ub-msg { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: #faf5f8; color: #4a2a3b; text-decoration: none; font-size: 13px; font-weight: 600; }
#login_box .ub-msg:hover { background: #fde4f1; }
.ub-msg-txt { flex: 1 1 auto; }
.ub-msg-none { color: #8a7480; font-weight: 400; font-size: 12px; }
.ub-badge { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #e6007e; color: #fff; font-size: 12px; font-weight: 800; text-align: center; }
#login_box .ub-msg-new { background: #fde4f1; box-shadow: inset 3px 0 0 #e6007e; }
.ub-links { display: flex; flex-wrap: wrap; gap: 6px; }
#login_box .ub-links a.bookmark { margin: 0 !important; padding: 5px 11px !important; border-radius: 999px !important; font-size: 12px; }
#login_box .ub-links a.ub-logout { background: #fff !important; color: #b0005e !important; box-shadow: inset 0 0 0 1.5px #e6a3c6; }
#login_box .ub-links a.ub-logout:hover { background: #fde4f1 !important; }
.ub-roles { display: flex !important; align-items: center; gap: 6px; font-size: 12px; }
.ub-roles select { flex: 1 1 auto; min-width: 0; }
html[data-theme="dark"] .ub-name { color: #f6e9f0 !important; }
html[data-theme="dark"] .ub-role { background: #3a1f2e; color: #ffb3d6; }
html[data-theme="dark"] #login_box .ub-msg { background: #2a1d24; color: #f3dbe7; }
html[data-theme="dark"] #login_box .ub-msg-new, html[data-theme="dark"] #login_box .ub-msg:hover { background: #3a1f2e; }
html[data-theme="dark"] #login_box .ub-links a.ub-logout { background: transparent !important; color: #ffb3d6 !important; box-shadow: inset 0 0 0 1.5px #7a3a5c; }
.deact-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0; }
.deact-code { width: 9em; font-size: 20px !important; letter-spacing: 4px; text-align: center; }

/* Editace uctu agentury: znacka banky, vlajka meny, vlozeni udaju z textu (func/func_bank.php, js/bank-accounts.js) */
.bank-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 26px; padding: 0 8px; border-radius: 8px; color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .3px; white-space: nowrap; box-shadow: 0 2px 6px -3px rgba(0, 0, 0, .5); }
.bank-badge-img { padding: 0; background: #fff; box-shadow: 0 0 0 1px #eadbe3; }
.bank-badge-img img { max-height: 24px; max-width: 70px; display: block; }
.bank-badge-unknown { background: #9aa3ad; }
.bank-cur { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.bank-flag { width: 22px; height: 16px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .18); }
.bank-paste { display: grid; gap: 8px; max-width: 760px; margin: 6px 0 14px; padding: 14px; background: #faf5f8; border: 1px dashed #e6a3c6; border-radius: 14px; }
.bank-paste textarea { width: 100%; box-sizing: border-box; font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.bank-paste-hint { font-weight: 400; color: #8a7480; font-size: 12px; }
.bank-paste button.sm-btn { justify-self: start; padding: 8px 18px !important; border: 0; border-radius: 999px; background: linear-gradient(135deg, #ff4fa3, #c4006a); color: #fff; font-weight: 700; font-size: 13px; line-height: 1.2; cursor: pointer; }
html[data-theme="dark"] .bank-paste { background: #2a1d24; border-color: #7a3a5c; }

/* Nastaveni: casove limity prihlaseni - pole na nejmene 4 znaky */
input.timeout-input { width: 5.5em !important; min-width: 5.5em; text-align: center; box-sizing: border-box; }

/* Karta uzivatele na pocitaci: kompaktni, cela uvnitr hlavicky a svisle na stredu */
.ub-msg-ico { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: #e6007e; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media screen and (min-width: 821px) {
  #login_box.ub { width: 330px; min-width: 0; gap: 8px; margin-top: 12px !important; padding: 12px 14px !important; }
  #login_box.ub .ub-head { gap: 10px; }
  #login_box.ub .ub-avatar { flex-basis: 38px; width: 38px; height: 38px; font-size: 14px; }
  #login_box.ub .ub-msg { padding: 6px 10px; }
  #login_box.ub .ub-links { flex-wrap: nowrap; }
  #login_box.ub .ub-links a.ub-logout { margin-left: auto !important; }
}

/* Administrace -> Deaktivovane ucty */
.da-btn { padding: 6px 14px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #ff4fa3, #c4006a); color: #fff; font-weight: 700; font-size: 12px; cursor: pointer; white-space: nowrap; }
.da-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }

/* Dokumenty -> Platby z banky (Fio) */
.fp-note { padding: 10px 14px; border-radius: 12px; background: #fff3d6; border: 1px solid #f0c060; }
.fp-status { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0; }
.fp-acc { flex: 1 1 260px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #eadbe3; box-shadow: inset 5px 0 0 #9aa3ad; line-height: 1.5; }
.fp-acc.fp-ok { box-shadow: inset 5px 0 0 #2e8b3d; }
.fp-acc.fp-err { box-shadow: inset 5px 0 0 #c62828; }
.fp-fetch, .fp-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 10px 0; }
.fp-hint { color: #8a7480; font-size: 12px; }
.fp-table td { vertical-align: top; }
.fp-amt { white-space: nowrap; font-weight: 700; color: #2e8b3d; text-align: right; }
.fp-amt.fp-neg { color: #c62828; }
.fp-none { color: #8a7480; font-size: 12px; }
.fp-tag { display: inline-block; padding: 0 6px; border-radius: 999px; background: #eef0f3; color: #4a5560; font-size: 11px; font-weight: 700; }
.fp-tag-ok { background: #e6f5e8; color: #2e8b3d; }
html[data-theme="dark"] .fp-acc { background: #1f171c; border-color: #5a2d45; }
html[data-theme="dark"] .fp-note { background: #3a2e10; border-color: #6b5420; }
.fp-fetch button { padding: 8px 18px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #ff4fa3, #c4006a); color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; }
.fp-fetch button.fp-second { background: #fff; color: #b0005e; box-shadow: inset 0 0 0 1.5px #e6a3c6; }
.fio-on { color: #2e8b3d; font-weight: 700; white-space: nowrap; }
.fio-on::before { content: "\2713\00a0"; }
.fio-small { font-size: 11px; color: #8a7480; white-space: nowrap; }
input.fio-token { width: 9em; }
.fp-note-ok { background: #e6f5e8; border-color: #9fd3a8; }
.fp-tag-warn { background: #fff3d6; color: #9a6400; }
.fp-tag-bad { background: #fdeaea; color: #c62828; }
.fp-line { font-size: 12px; margin-top: 2px; }
.fp-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.fp-actions form { display: inline-flex; gap: 4px; margin: 0; }
.fp-actions button { padding: 4px 10px; border: 0; border-radius: 999px; background: #e6007e; color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.fp-actions button.fp-second { background: #fff; color: #6b4058; box-shadow: inset 0 0 0 1px #d8b9c9; }
.fp-assign select { max-width: 200px; font-size: 12px; }

/* Dokumenty -> Dluhy klubu */
.cd-totals { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0; }
.cd-total { display: flex; flex-direction: column; min-width: 160px; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid #eadbe3; }
.cd-total span { font-size: 12px; color: #8a7480; }
.cd-total strong { font-size: 18px; color: #b0005e; }
.cd-num { text-align: center; }
.cd-debt { white-space: pre-line; font-weight: 700; text-align: right; }
.cd-age { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.cd-ok { background: #e6f5e8; color: #2e8b3d; }
.cd-mild { background: #fff3d6; color: #9a6400; }
.cd-warn { background: #ffece0; color: #e65100; }
.cd-bad { background: #fdeaea; color: #c62828; }
html[data-theme="dark"] .cd-total { background: #1f171c; border-color: #5a2d45; }
.cd-name { text-align: left; white-space: nowrap; }
.cd-flag { width: 20px; height: 15px; object-fit: cover; border-radius: 2px; vertical-align: -2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .18); }
.cd-invoices { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
td.cd-invoices { display: table-cell; }
a.cd-inv { display: inline-block; margin: 1px 2px; padding: 1px 7px; border-radius: 999px; background: #fde4f1; color: #b0005e !important; font-size: 11px; font-weight: 700; text-decoration: none !important; white-space: nowrap; }
a.cd-inv:hover { background: #e6007e; color: #fff !important; }
a.cd-inv.cd-inv-part { background: #fff3d6; color: #9a6400 !important; }
html[data-theme="dark"] a.cd-inv { background: #3a1f2e; color: #ffb3d6 !important; }
.fp-token-form { display: flex; gap: 6px; margin: 6px 0 2px; }
.fp-token-form input { flex: 1 1 auto; min-width: 0; }
.fp-token-form button { padding: 5px 12px; border: 0; border-radius: 999px; background: #e6007e; color: #fff; font-weight: 700; font-size: 12px; cursor: pointer; }
.fp-token-inline { display: inline; margin: 0; }
button.fp-link { padding: 0; border: 0; background: none; color: #b0005e; text-decoration: underline; font-size: 12px; cursor: pointer; }
.fp-acc button.fp-link { all: unset; color: #b0005e; text-decoration: underline; font-size: 12px; cursor: pointer; }
.fp-replace { margin-top: 4px; font-size: 12px; }
.fp-replace summary { cursor: pointer; color: #b0005e; text-decoration: underline; display: inline; }
.fp-replace .fio-small { display: block; margin-top: 4px; white-space: normal; }

/* Dokumenty -> Import vypisu z banky */
.bip-form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 12px 0; padding: 14px; border: 1px dashed #e6a3c6; border-radius: 14px; background: #faf5f8; }
.bip-form button { padding: 8px 18px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #ff4fa3, #c4006a); color: #fff; font-weight: 700; cursor: pointer; }
.bip-summary { margin: 10px 0; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid #eadbe3; line-height: 1.6; }
.fp-import-link a { font-weight: 700; }
.bip-form label, .bip-form select, .bip-form input[type=file] { max-width: 100%; min-width: 0; } /* 1Z428 mobil */
p.fio-small { white-space: normal; } /* 1Z428 mobil: odstavec s poznámkou se zalamuje */
html[data-theme="dark"] .bip-form { background: #2a1d24; border-color: #7a3a5c; }
html[data-theme="dark"] .bip-summary { background: #1f171c; border-color: #5a2d45; }

/* Jazyky psane zprava doleva (arabstina, hebrejstina; <html dir="rtl">): smer kazdeho odstavce podle jeho textu,
   aby neprelozene (anglicke) texty, cisla, e-maily a odkazy zustaly ve spravnem poradi. */
html[dir="rtl"] :is(p, h1, h2, h3, h4, h5, h6, li, td, th, label, dt, dd, blockquote, figcaption, option, a, button, .fd-text) { unicode-bidi: plaintext; }
html[dir="rtl"] :is(input[type="email"], input[type="tel"], input[type="url"], input[type="password"], .ltr) { direction: ltr; }

/* Faktury ucetnimu (pages/accountant.php) */
.acc-form { display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin: 10px 0 18px; padding: 16px; border: 1px solid #eadbe3; border-radius: 14px; background: #faf5f8; }
.acc-form fieldset { border: 1px solid #eadbe3; border-radius: 10px; padding: 8px 12px; }
.acc-form button, .acc-inline button { align-self: flex-start; padding: 8px 18px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #ff4fa3, #c4006a); color: #fff; font-weight: 700; cursor: pointer; }
.acc-inline { margin: 10px 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.acc-inline button.acc-send { background: linear-gradient(135deg, #2e9d5b, #1b6e3d); }
.acc-preview { width: 100%; max-width: 760px; height: 640px; border: 1px solid #eadbe3; border-radius: 14px; background: #f6eef3; }
.acc-file { display: inline-block; margin: 2px 4px 2px 0; padding: 2px 8px; border-radius: 999px; background: #fdf2f8; border: 1px solid #f3cde2; font-size: 12px; text-decoration: none; }
.acc-tag { display: inline-block; padding: 1px 8px; border-radius: 999px; background: #fff3d6; font-size: 11px; }
.acc-tag.acc-err { background: #fde2e2; color: #b00020; }
html[data-theme="dark"] .acc-form { background: #2a1d24; border-color: #5a2d45; }
html[data-theme="dark"] .acc-file { background: #2a1d24; border-color: #5a2d45; }

/* Odkaz na Kluby ve vasem okoli (pages/clubs.php) */
.nc-entry { margin: 10px 0 14px; }
.nc-entry-btn { display: inline-block; padding: 9px 18px; border-radius: 999px; background: linear-gradient(135deg, #ff4fa3, #c4006a); color: #fff !important; font-weight: 700; text-decoration: none; box-shadow: 0 6px 16px rgba(196, 0, 106, .22); }
.nc-entry-btn:hover { filter: brightness(1.06); }

/* Platby faktury (detail faktury, func/func_payments.php) */
.pay-panel { margin: 22px 0; padding: 16px 18px; border: 1px solid #eadbe3; border-radius: 16px; background: #faf5f8; }
.pay-panel h2 { margin-top: 0; }
.pay-sum { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 4px 0 12px; }
.pay-sum strong { font-size: 1.1em; }
.pay-due { color: #b00020; }
.pay-ok { color: #1b6e3d; }
.pay-table td.pay-amt { text-align: right; white-space: nowrap; }
.pay-table tr.pay-reverted td { opacity: .55; text-decoration: line-through; }
.pay-table tr.pay-reverted td:last-child { text-decoration: none; }
.pay-tag { display: inline-block; padding: 1px 8px; border-radius: 999px; background: #eee; font-size: 11px; }
.pay-inline { display: inline; margin: 0; }
.pay-undo { padding: 3px 10px; border: 1px solid #c4006a; border-radius: 999px; background: #fff; color: #c4006a; cursor: pointer; font-size: 12px; }
.pay-add { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.pay-add button { padding: 7px 16px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #2e9d5b, #1b6e3d); color: #fff; font-weight: 700; cursor: pointer; }
html[data-theme="dark"] .pay-panel { background: #2a1d24; border-color: #5a2d45; }
.fp-payer { margin-top: 4px; font-size: 12px; color: #1b6e3d; font-weight: 600; }
html[data-theme="dark"] .fp-payer { color: #7fd6a2; }
.inv-intl table.admin_view td { text-align: left; vertical-align: top; }
.inv-intl table.admin_view td:first-child { white-space: nowrap; color: #6a5862; }
.inv-intl .m-notes p, .inv-intl p { margin: 0; }

/* Archiv e-mailu (pages/email_archive.php) */
.ea-table td.ea-date { white-space: nowrap; }
.ea-prev { color: #8a7380; }
.ea-text { white-space: pre-wrap; word-wrap: break-word; padding: 14px; border: 1px solid #eadbe3; border-radius: 12px; background: #fff; font-family: inherit; font-size: 14px; max-width: 900px; }
.ea-frame { width: 100%; max-width: 900px; height: 600px; border: 1px solid #eadbe3; border-radius: 12px; background: #fff; }
.ea-meta td:first-child { white-space: nowrap; color: #6a5862; }
.ea-pager { margin: 12px 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.acc-tag.ea-artist { background: #fde7f3; } .acc-tag.ea-club { background: #e3f0ff; } .acc-tag.ea-agent { background: #e7f7ec; }
.acc-tag.ea-accountant { background: #fff3d6; } .acc-tag.ea-agency { background: #eee; }
html[data-theme="dark"] .ea-text { background: #1f171c; border-color: #5a2d45; }
.ea-meta td { text-align: left; }

/* 1Z260: postranni panel – ikona zakazu koureni a odkaz na Club Management */
#right-sidebar .euca-nosmoke { display: inline-block; width: 34px; height: 34px; flex: 0 0 34px; filter: drop-shadow(0 1px 2px rgba(23, 36, 58, .18)); }
#right-sidebar p:has(> .euca-nosmoke) { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .02em; }
#right-sidebar p:has(> .euca-nosmoke) .euca-nosmoke { margin-left: 0 !important; }
.euca-cm-link { padding: 8px 6px; border-radius: 10px; transition: background .15s, transform .15s; }
.euca-cm-link:hover, .euca-cm-link:focus-visible { background: rgba(116, 55, 254, .08); transform: translateY(-1px); }
html[data-theme="dark"] .euca-cm-link .euca-cm-logo-light { display: none !important; }
html[data-theme="dark"] .euca-cm-link .euca-cm-logo-dark { display: block !important; }
html[data-theme="dark"] .euca-cm-link:hover, html[data-theme="dark"] .euca-cm-link:focus-visible { background: rgba(162, 151, 252, .14); }

