/* ============================================
   jQuery UI Tabs — Dark-Hive Theme (CSS-only)
   Drop-in module. No JS or images required.
   Source: Janesville dark-hive jquery-ui-1.8.17
   ============================================ */

/* Helper reset (scoped to tab nav) */
.ui-tabs-nav {
    margin: 0;
    padding: 3px 3px 0;
    list-style: none;
    display: flex;
    align-items: flex-end;
    gap: 0;
    /* Widget header — dark-hive highlight-soft 44% */
    border: 1px solid #333333;
    background: linear-gradient(to bottom,
        rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 50%), #444444;
    border-radius: 6px;
    font-weight: bold;
}

.ui-tabs-nav::after {
    content: "";
    display: table;
    clear: both;
}

/* Tab items */
.ui-tabs-nav li {
    position: relative;
    top: 1px;
    margin: 0 2px 1px 0;
    border-bottom: 0 !important;
    padding: 0;
    white-space: nowrap;
    /* Default state — dark-hive highlight-soft 35% */
    border: 1px solid #444444;
    background: linear-gradient(to bottom,
        rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 50%), #222222;
    border-radius: 6px 6px 0 0;
    font-weight: normal;
}

.ui-tabs-nav li a {
    display: block;
    padding: 5px 10px;
    color: #eeeeee;
    text-decoration: none;
    font-size: 14px;
    outline: none;
}

/* Hover */
.ui-tabs-nav li:hover {
    border-color: #0b93d5;
    background: linear-gradient(to bottom,
        rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 50%), #0b93d5;
}

.ui-tabs-nav li:hover a {
    color: #ffffff;
}

/* Active / Selected */
.ui-tabs-nav li.ui-state-active {
    margin-bottom: 0;
    padding-bottom: 1px;
    border-color: #26b3f7;
    background: linear-gradient(to bottom,
        rgba(255,255,255,0.20) 0%, rgba(255,255,255,0) 50%), #0972a5;
}

.ui-tabs-nav li.ui-state-active a {
    color: #ffffff;
    cursor: default;
}
