/* Markdown Notices */
.notices.yellow {
    border-left: 10px solid #935b0c;
    background: #31220b;
    color: #eea034;
}

.notices.red {
    border-left: 10px solid #89211e;
    background: #2e0b0b;
    color: #db5a56;
}

.notices.blue {
    border-left: 10px solid #1b6e86;
    background: #13222a;
    color: #4bb9da;
}

.notices.green {
    border-left: 10px solid #347834;
    background: #192c13;
    color: #7ac57a;
}
/* --- */

/* Shortcode UI */

.accordion-wrapper {
    margin: 30px 0;
    text-align: left; }
    .accordion-wrapper label {
      color: #ccc;
      background: #272727;
      border: 1px solid #000; 
      border-bottom: 1px solid transparent; }
      .accordion-wrapper label:hover {
        background: #2d2d2d;
        color: #fff; }
    .accordion-wrapper article {
      background: rgba(39, 39, 39, 0.5);
      border: 1px solid #000; }
  .accordion-wrapper input:checked + label {
    border-bottom: 1px solid #000; }
  .accordion-wrapper > div:last-child label, .accordion-wrapper > div:last-child input:checked ~ article {
    border-bottom: 1px solid #000; }


.tab {
    border-bottom: .05rem solid rgba(39, 39, 39, 0.5); }

.tabs-wrapper {
    display: block; }
    .tabs-wrapper.ui-theme-lite .tabs-nav li.current a {
        border-bottom: 1px solid #3085ee; }
    .tabs-wrapper.ui-theme-lite .tabs-nav li:hover {
        background: rgba(39, 39, 39, 0.5); }
    .tabs-wrapper.ui-theme-lite.bottom-right .tabs-nav li.current a, .tabs-wrapper.ui-theme-lite.bottom-left .tabs-nav li.current a {
        border-top: 1px solid #909090; }
    .tabs-wrapper.ui-theme-lite.bottom-right .tab, .tabs-wrapper.ui-theme-lite.bottom-left .tab {
        border-bottom: 1px solid #e9e9e9; }
    .tabs-wrapper.ui-theme-lite .tab {
        border-top: 1px solid #000;
        background-color: rgba(39, 39, 39, 0.5); 
        padding: 0.4rem; }


.browser-frame {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid #272727; }
  .browser-frame .btoolbar {
    height: 40px;
    background: #272727;
    color: #bbb;
    border-bottom: 1px solid #272727; }
  .browser-frame .btoolbar-button {
    background: #bbb; }
  .browser-frame .btoolbar-address {
    background: rgba(39, 39, 39, 0.5);
    border: 1px solid #bbb; }

.cd-image-container {
    position: relative; }
    .cd-image-label {
    color: #ccc; }
    .cd-handle {
    color: #ccc;
    background: #3085ee; }
    .cd-handle.draggable {
    background-color: #1e6bc9; }

.polaroid-wrapper .polaroid {
  background: #272727;
  border: 1px solid #272727; }

.polaroid-wrapper .polaroid-img {
  background: #272727; }

/* --- */

.language-bar {
  background-color: #222;
  text-align: right;
  padding: 0.5rem 1rem;
}

.language-switcher {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: 0.5rem;
}

.language-switcher img {
  border: 1px solid #444;
  border-radius: 3px;
  opacity: 0.85;
  transition: opacity 0.2s;
  cursor: pointer;
}

.language-switcher img:hover {
  opacity: 1;
}

.language-switcher .active img {
  opacity: 0.5;
  pointer-events: none;
}

.language-topbar {
  position: fixed;           /* Unosi pasek ponad wszystko */
  top: 0;
  left: 0;
  right: 0;
  background: #111;
  padding: 0.3rem 1rem;
  text-align: right;
  z-index: 9999;             /* Wyżej niż header */
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

