/* 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; }

/* --- */

/* -- TABLE STYLES -- */
table {
    display: block;
    overflow-y: auto;
    border-collapse: collapse;
    width: 100%;
    margin: 1.5em 0;
    font-size: 14px;
    line-height: 1.5;
    color: #bbbbbb;
}

/* Header styling */
thead tr {
    background-color: #2b2b2b;
    border-bottom: 1px solid #3c3f41;
}

th {
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #e0e0e0;
    letter-spacing: 0.3px;
}

/* Body rows */
tbody tr {
    border-bottom: 1px solid #323232;
    transition: background-color 0.15s ease;
}

/* Zebra striping for better readability */
tbody tr:nth-child(even) {
    background-color: #262626;
}

/* Row hover effect (matches JetBrains hover behavior) */
tbody tr:hover {
    background-color: #2a3a4a;
}

/* Cell styling */
td {
    padding: 8px 12px;
    vertical-align: top;
}

/* First column subtle emphasis (optional) */
td:first-child,
th:first-child {
    padding-left: 8px;
}

/* Last column */
td:last-child,
th:last-child {
    padding-right: 8px;
}

/* Code blocks inside tables (matches editor font) */
td code,
th code {
    font-family: 'JetBrains Mono', 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 12.5px;
    background-color: #2d2d2d;
    padding: 2px 4px;
    border-radius: 3px;
    color: #e6a8a8;
}

/* Links inside tables */
td a,
th a {
    color: #589df6;
    text-decoration: none;
}

td a:hover,
th a:hover {
    text-decoration: underline;
}

/* Alignment helpers */
th[align="center"],
td[align="center"] {
    text-align: center;
}

th[align="right"],
td[align="right"] {
    text-align: right;
}

/* Borders between columns (subtle, JetBrains style) */
td, th {
    border-right: 1px solid transparent;
}

td:last-child,
th:last-child {
    border-right: none;
}

/* Footer styling if table has tfoot */
tfoot tr {
    background-color: #2b2b2b;
    border-top: 1px solid #3c3f41;
}

tfoot td {
    padding: 8px 12px;
    font-size: 13px;
    color: #999;
}

/* Responsive overflow for tables on small screens */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
