/* ==========================
   Reklamní články - Admin/UI
   ========================== */

#multi_ad_container { margin-top: 10px; }

.single_ad {
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 10px;
  background: #f9f9f9;
  position: relative;
}

.single_ad .multi_ad_remove {
  position: absolute;
  top: 10px;
  right: 10px;
}

.weight_wrapper label,
.single_ad p label { font-weight: 500; }

.single_ad textarea {
  font-family: monospace;
  font-size: 13px;
}

.single_ad input[type="text"],
.single_ad input[type="url"],
.single_ad input[type="number"],
.single_ad input[type="datetime-local"] {
  padding: 4px 6px;
  font-size: 13px;
}

.single_ad .button { margin-top: 5px; }

#rotation_wrapper { margin-bottom: 10px; }

/* conflict & error notices */
body.wp-admin .rkcl-conflict-notice,
body.wp-admin .rkcl-error-notice {
  border-left: 6px solid #d63638;
  background: #fff3f3;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
  padding-bottom: 10px;
}
body.wp-admin .rkcl-conflict-notice .rkcl-conflict-title,
body.wp-admin .rkcl-error-notice .rkcl-error-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #8a1f11;
}
body.wp-admin .rkcl-conflict-notice .dashicons,
body.wp-admin .rkcl-error-notice .dashicons {
  font-size: 20px;
  width: 20px;
  height: 20px;
  line-height: 1;
  color: #d63638;
}
body.wp-admin .rkcl-conflict-notice .rkcl-conflict-list,
body.wp-admin .rkcl-error-notice .rkcl-error-list {
  margin: 0 0 0 22px;
  padding: 0;
  list-style: disc;
}
body.wp-admin .rkcl-conflict-notice .rkcl-conflict-list li code,
body.wp-admin .rkcl-error-notice .rkcl-error-list li code {
  background: #ffe9e9;
  border-color: #f2b8b5;
}

/* frontend article bits */
.rkcl-article .rkcl-title { margin: 0 0 4px; font-size: 18px; }
.rkcl-article .rkcl-excerpt { color:#444; }

/* Statistiky – stabilní výška grafu */
#rkcl-stats-canvas {
  width: 100%;
  height: 100%; /* výšku řídí rodič (holder 420px) */
  display: block;
}


/* Autocomplete (jQuery UI) – náhledy obrázků */
.ui-autocomplete {
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 100000 !important;
}
.ui-menu-item-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}
