@import url('https://fonts.googleapis.com/css?family=Merriweather');

html {
  position: relative;
  min-height: 100%;
}

body {
    padding-top: 56px;
    background-color: #f5f5f2;
}

a {
    color: #1E90FF;
}
a:hover {
    color: #1A7FE5;
}

/* ── Global button polish ── */
.btn {
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.btn-sm {
    border-radius: 6px;
}

/* Override United theme orange btn-primary — blue gradient */
.btn-primary {
    background: linear-gradient(135deg, #60A5FA 0%, #1E90FF 100%);
    border: none;
    box-shadow: 0 2px 6px rgba(59,130,246,0.25);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active,
.show > .btn-primary.dropdown-toggle {
    background: linear-gradient(135deg, #1E90FF 0%, #1A7FE5 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(59,130,246,0.35);
}
.btn-primary.disabled, .btn-primary:disabled {
    background: linear-gradient(135deg, #93C5FD 0%, #60A5FA 100%);
    border: none;
    box-shadow: none;
}

/* Override United theme orange badge-primary with blue */
.badge-primary {
    background-color: #1E90FF;
}

/* Override BS4 btn-info — lighter blue, outline feel */
.btn-info {
    background-color: #EFF6FF;
    border: 1.5px solid #93C5FD;
    color: #1E90FF;
}
.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active {
    background-color: #DBEAFE;
    border-color: #60A5FA;
    color: #1A7FE5;
}
.btn-info.disabled, .btn-info:disabled {
    background-color: #F0F9FF;
    border-color: #BFDBFE;
    color: #93C5FD;
}

.content {
    background-color: #fff;
    padding: 20px 15px 20px 15px;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    border: 1px solid #F1F5F9;
}

.inner-content {
    padding-left: 10px;
    padding-right: 10px;
}

/* Restore horizontal form layout (BS3 .form-horizontal behavior) */
.form-group {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    background-color: #f8f8f6;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 8px;
}

.form-group > .control-label,
.form-group > [class*="col-sm-"] > .control-label {
    font-weight: normal;
    font-size: 14px;
    padding-top: 6px;
}

.form-group .help-block {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
    margin-bottom: 0;
}

/* Keep card/modal form groups simple (no background/padding/radius) */
.card .form-group,
.modal .form-group,
.navbar .form-group {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
}

.navbar-custom {
    color: #FFFFFF;
    background-color: dodgerblue !important;
    border-color: dodgerblue !important;
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-custom .navbar-brand {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.navbar-custom .navbar-brand img {
    mix-blend-mode: luminosity;
}

.navbar .navbar-nav {
    align-items: stretch;
}
.navbar .navbar-nav .nav-item {
    display: flex;
    align-items: stretch;
}
.navbar .navbar-nav .nav-link {
    display: flex;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar .navbar-brand:focus,
.navbar .navbar-brand:hover,
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .show > .nav-link,
.navbar .navbar-nav .nav-item.dropdown.show > .nav-link {
    background-color: #005BC0;
}

.navbar .navbar-nav .nav-item.active > .nav-link,
.navbar .navbar-nav .nav-item.active > .nav-link:focus,
.navbar .navbar-nav .nav-item.active > .nav-link:hover {
    background-color: #0074D9;
}


.sidebar-nav > li.top-node {
    margin-top: 18px;
    margin-bottom: 10px;
    clear: left;
    display: flex;
    align-items: center;
}

.sidebar-nav > li.top-node h4 {
    font-size: 20px;
    margin: 0;
    line-height: 24px;
}

.sidebar-nav > li.top-node > a,
.sidebar-nav > li.top-node > a:focus,
.sidebar-nav > li.top-node > a:hover {
    color: darkgray;
}

.sidebar-nav > li.top-node > a {
    padding: 0;
    display: flex;
    align-items: center;
    min-height: 22px;
}

.sidebar-nav li.inner-node > a {
    display: block;
    padding: 1px 5px;
    color: #374151;
}
.sidebar-nav li.inner-node > a:hover {
    color: #1F2937;
    text-decoration: none;
    background-color: #E5E7EB;
    border-radius: 6px;
}

li.inner-node.active > a {
    background-color: #EFF6FF;
    color: #1E90FF !important;
    border-radius: 6px;
    font-weight: 600;
}

li.inner-node.active > a .inner-node-label,
li.inner-node.active > a .inner-node-icon {
    color: #1E90FF !important;
}

/* Active top-node dataspace */
.sidebar-nav > li.top-node.active > a h4 {
    color: #1E90FF;
    font-weight: 700;
}
.sidebar-nav > li.top-node.active {
    background-color: #EFF6FF;
    border-radius: 6px;
    padding: 2px 6px;
}

.inner-node-label {
    font-size: 14.5px;
    margin: 3px 0;
}

.inner-node-icon {
    padding-right: 5px;
    font-size: 14px
}

.btn-dataspace-expand-top {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    margin-right: 6px;
    font-size: 11px;
    background: none;
    border: 1.5px solid #bbb;
    border-radius: 50%;
    color: #888;
    transition: all 0.15s ease;
    cursor: pointer;
}

.btn-dataspace-expand-top:hover {
    background-color: #6B7280;
    border-color: #6B7280;
    color: #fff;
}

.datasets-div {
    margin-left: 10px;
    list-style: none;
    padding-left: 0;
}

.datasets-div > li.inner-node:not(.dataspace) {
    margin-top: 3px;
}

.navbar-brand {
    /*font-family: 'Oswald', sans-serif !important;*/
    /*font-weight: 700;*/
    margin-left: -55px !important;
    padding: 8px 20px;
    /* padding: 8px 30px; */
}

footer {
    padding-top: 10px;
    padding-bottom: 20px;
}

.menu {
    padding-top: 10px;
    padding-left: 20px;
}

#actions {
    margin-bottom: 12px;
}

.page-header {
    margin-top: 5px;
    margin-bottom: 18px;
    font-weight: 300;
    font-size: 28px;
    color: #334155;
    border-bottom: 2px solid #E2E8F0;
    padding-bottom: 10px;
}

.container .text-muted {
  margin: 15px 0;
}

code {
  font-size: 80%;
}

.topRight {
    position: absolute;
    right: 20px;
    top: 70px;
}

.showHideMessageBoxDiv {
    position: absolute;
    right: 15px;
    top: 5px;
    border-left: 2px solid #979797;
    border-top: 2px solid #979797;
    border-bottom: 2px solid #979797;
}

.showHideMessageBoxDiv > a {
    color: #979797;
    font-size:20px;
}

/* Modern table styling */
.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    font-weight: 500;
    color: #64748B;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #E2E8F0;
    padding: 10px 12px;
    background: transparent;
}

.table thead th a {
    color: #64748B;
    text-decoration: none;
}

.table thead th a:hover {
    color: #334155;
}

.table tbody td {
    padding: 12px 12px;
    border-bottom: 1px solid #F1F5F9;
    vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #FAFBFC;
}

tr.clickable-row {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

tr.clickable-row:hover,
.table-striped > tbody > tr.clickable-row:hover,
.table-striped > tbody > tr.clickable-row:nth-of-type(odd):hover {
    background-color: #EFF6FF;
}

.table th {
    font-weight: 500;
}

.table th.col {
    flex: unset;
    max-width: unset;
    width: auto;
}

.typeahead-large.tt-input,
.typeahead-large.tt-hint{
    font-size: 18px;
    height: 54px;
    width: 300px;
}

.typeahead-full-width.tt-input,
.typeahead-full-width.tt-hint{
    width: 100%;
}

.typeahead.form-control,
.tt-input.form-control {
    width: 100% !important;
    height: 38px
}

.twitter-typeahead, .tt-hint, .tt-input, .tt-menu {
    width: 100%;
}

.messageDivider {
    border-top: 3px dotted #eeeeee !important;
}

.top-padded {
    padding-top: 15px;
}

.green {
    color: green;
}

.btn-clean {
    background-color: transparent;
}

.trollbox {
    background-color: #fff;
    padding: 15px 15px 30px 15px;
    margin-right: 15px;
    margin-top: 15px;
    -webkit-border-radius: 6px 6px 6px 6px;
    -moz-border-radius: 6px 6px 6px 6px;
    border-radius: 6px 6px 6px 6px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,.15);
    box-shadow: 0 1px 2px rgba(0,0,0,.15);
    position: fixed;
}

.trollmessagebox {
    max-height:900px;
    overflow-y:auto;
}

.trollbox .tooltip-inner {
    font-size: 16px;
    max-width:300px;
}

.trollbox .alert {
    padding: 2px 10px 2px 10px;
    margin-top: 0px;
    margin-bottom: 0px
}

.trollbox .alert-success,
.trollbox .alert-info {
    padding: 10px 10px 10px 10px;
    margin-top: 5px;
    margin-bottom: 5px
}

.treeDiv {
    max-height:600px;
    overflow-y:auto;
}

.topVerticalAlign {
    vertical-align:top
}

.badge-inverse {
    color: #000000;
}

.clear-left {
    clear: left;
}

.label-filter {
    vertical-align: middle;
    margin-left: 10px;
}

.filter-container {
    display: flex;
}

.filter-part {
    flex-direction: column;
    padding: 5px 5px 5px 0;
}

.filter-name {
    font-weight: bold;
}

.filter-label {
    font-weight: normal;
}

/*.row.vertical-divider {*/
    /*overflow: hidden;*/
/*}*/

.row.vertical-divider > div[class^="col-"] {
    /*text-align: center;*/
    /*padding-bottom: 100px;*/
    /*margin-bottom: -100px;*/
    border-left: 3px solid #F2F7F9;
    border-right: 3px solid #F2F7F9;
}

.row.vertical-divider div[class^="col-"]:first-child {
    border-left: none;
}
.row.vertical-divider div[class^="col-"]:last-child {
    border-right: none;
}

.category-node {
    color:dodgerblue;
}

.jstree-default a.jstree-search {
    color:dimgrey;
}

.jsTree-filter {
    margin-left: 5px;
    padding-bottom: 10px
}

.jsTree-tree {
    margin-left: 5px;
    margin-right: 10px;
    max-height: 600px;
    overflow-y: scroll;
}

tr.vertical-divider > td {
    /*text-align: center;*/
    border-left: 3px solid #F2F7F9;
    border-right: 3px solid #F2F7F9;
}
tr.vertical-divider > td:first-child {
    border-left: none;
}
tr.vertical-divider > td:last-child {
    border-right: none;
}

#widgetSpecDiv > table > tr {
    cursor: pointer;
}

/* Carousel base class */

.carousel {
    height: 500px;
    margin-bottom: 30px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    z-index: 10;
    background: rgba(30, 144, 255, 0.7);
    position: absolute;
    top: 54%;
    padding-top: 0px;
    height:200px;
    /*transform: translateY(-60%);*/
    /*color: gray;*/
}

.carousel-indicators {
    z-index: 11;
    bottom: 5px;
}

.carousel-indicators li {
    background-color: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(0, 0, 0, 0.4) !important;
}

.carousel-indicators li.active {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

/* Declare heights because of positioning of img element */
.carousel .carousel-item {
    height: 500px
}

.carousel-inner > .carousel-item > img.carousel-img {
    position: absolute;
    top: 0%;  /* position the top  edge of the element at the middle of the parent */
    left: 50%; /* position the left edge of the element at the middle of the parent */

    transform: translate(-50%, -0%); /* This is a shorthand of
                                        translateX(-50%) and translateY(-50%) */
}

a.carousel-control-prev{
   /* background-image: linear-gradient(to right, #8e9eab 0, #eef2f3 100%); // 142 158 171       238 242 243 rgb(171,186,171) rgb(255,255,255) */
   background-image: linear-gradient(to right, rgba(142, 158, 171, 0.8) 0%, rgba(238, 242, 243, 0) 100%);
}
a.carousel-control-next{
     background-image: linear-gradient(to left, rgba(142, 158, 171, 0.8) 0%, rgba(238, 242, 243, 0) 100%);
}

.homepage-jumbotron {
     background-color:whitesmoke !important;
}

.modal.show .modal-right {
     -webkit-transform: translate(100%, 0);
     -ms-transform: translate(100%, 0);
     -o-transform: translate(100%, 0);
     transform: translate(100%, 0);
}

.modal.show .modal-left {
     -webkit-transform: translate(-100%, 0);
     -ms-transform: translate(-100%, 0);
     -o-transform: translate(-100%, 0);
     transform: translate(-100%, 0);
}

.spinner {
     border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 135px;
    height: 135px;
    animation: spin 2.5s ease-in-out infinite alternate;
}

@keyframes spin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(360deg) scale(0.95);
    }
    100% {
        transform: rotate(720deg) scale(0.8);
    }
}

.condition-modal-form-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.condition-modal-field-input {
    flex: 1 1 0;
    min-width: 0;
}

.condition-modal-field-input .twitter-typeahead {
    max-width: 100%;
    display: block;
}

.condition-modal-field-input .twitter-typeahead .tt-input,
.condition-modal-field-input .twitter-typeahead .tt-hint {
    width: 100% !important;
}

.condition-modal-operator-select {
    flex: 0 0 auto;
}

.condition-modal-value-input {
    flex: 1 1 0;
    min-width: 0;
}

.condition-modal-value-input .conditionValue {
    width: 100%;
    max-width: none;
}
.condition-modal-value-input .bootstrap-select {
    width: 100% !important;
}

.condition-modal-btns {
    flex: 0 0 auto;
    white-space: nowrap;
}

.condition-modal-btns .btn {
    margin-left: 4px;
}

#addEditConditionModal .form-check-label {
    font-size: 0.85em;
}

#conditionPanel {
    display: flex;
    overflow-x: auto;
    width: auto;
}

.condition {
    font-size: 18px;
}

#addEditConditionModal #conditionType {
    width: 80px;
    min-width: 80px;
    border-radius: 8px;
    border: 1.5px solid #E2E8F0;
    padding: 6px 8px;
    height: 38px;
    background-color: #fff;
    -webkit-appearance: menulist;
    appearance: menulist;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
#addEditConditionModal #conditionType:focus {
    border-color: #93C5FD;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
    outline: none;
}

#addEditConditionModal .conditionValue {
    border-radius: 8px;
    border: 1.5px solid #E2E8F0;
    padding: 6px 12px;
    height: 38px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
#addEditConditionModal .conditionValue:focus {
    border-color: #93C5FD;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
    outline: none;
}

.documentation {
    margin-bottom: 50px;
    font-size: 18px;
}

.documentation-caption {
    color: #317eac;
}

.documentation-section-navigation-caption {
    color: #626262;
}

.col-md-10-25, .col-md-8-5, .col-md-8-25, .col-md-1-75 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 992px) {
    .col-md-10-25, .col-md-8-5, .col-md-8-25, .col-md-1-75 {
        flex: none;
    }
    .col-md-10-25 {
        width: 85.416%
    }
    .col-md-8-5 {
        width: 70.833%
    }
    .col-md-8-25 {
        width: 68.75%
    }
    .col-md-1-75 {
        width: 14.583%
    }
}

/* sub menu stuff */

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
    min-width: 250px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.float-left {
    float: none;
}

.dropdown-submenu.float-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

/* BS3→BS4 compat: auto-style dropdown menu links like .dropdown-item */
.dropdown-menu > li > a:not(.dropdown-toggle) {
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}
.dropdown-menu > li > a:not(.dropdown-toggle):hover,
.dropdown-menu > li > a:not(.dropdown-toggle):focus {
    color: #fff;
    text-decoration: none;
    background-color: #1E90FF;
}
.dropdown-menu > li.active > a:not(.dropdown-toggle),
.dropdown-menu > li.active > a {
    color: #1E90FF;
    background-color: #EFF6FF;
    font-weight: 600;
}

.nowrap {
    white-space: nowrap ;
}

.horizontal-scroll {
    overflow-x: auto;
    width: auto;
}

.aligned-container {
    display: flex;
    align-items: center;
   /* flex-wrap: wrap; */
}

.fixed-table {
    table-layout: fixed;
    width: 100%;
}

.fixed-table>tbody>tr>td {
    border-left: 6px solid #F2F7F9;
    border-right: 6px solid #F2F7F9;
}

.fixed-table>tbody>tr>td:first-child {
    border-left: none;
}

.fixed-table>tbody>tr>td:last-child {
    border-right: none;
}

.bootstrap-select .btn {
    background-color: white;
    color: #626262;
}

.bootstrap-select .dropdown-toggle.btn-secondary {
    background-color: white;
    color: #626262;
}

.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
}

.input-lg-full {
    height: 54px;
    line-height: 54px;
    padding: 14px 16px;
    font-size: 18px;
    border-radius: 6px;
    width: 100%
}

/*.data-space-menu, .categorical-tree-menu {*/
    /*position: absolute;*/
    /*left: 0;*/
    /*right: 0;*/
/*}*/

#data-space-menu {
    height: 45%;
    overflow-y:scroll;
}

#categorical-tree-menu {
    height: 45%;
}

#categorical-tree-menu>.jsTree-tree {
    max-height: 100%;
}

#data-set-menu-separator {
    height:3px;
    border:none;
    color:gray;
    background-color:gray;
}

#data-set-menu-separator:hover {
    cursor: pointer;
}

.jstree-anchor {
    margin-left : -10px !important;
}

.jstree-node {
    margin-left : 10px !important;
}

.dragged-over {
    border: 2px dotted #A9A9A9 !important;
    /*border-bottom: 2px dotted #A9A9A9 !important;*/
    background-color: #F5F5F5 !important;
    opacity: 0.6;
}

.alert-very-light {
    background-color: #f5f5f5;
    padding-bottom: 0px;
}

.bi-chevron-down > a,.bi-chevron-up > a {
    font-family: "Ubuntu",Tahoma,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #1E90FF;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-help-modal {
    border-color: #7A9437;
}

.btn-help-modal {
    color: #7A9437;
}

.dot {
    height: 17px;
    width: 17px;
    background-color: #666666;
    border-radius: 50%;
    display: inline-block;
}

.form-section {
    background-color: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.section-header {
    font-size: 16px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid #E2E8F0;
}

.help-block {
    color: #666;
    font-size: 12px;
    font-style: italic;
    margin-top: 5px;
    margin-bottom: 10px;
}

/* ── Light design: form controls & modals ── */
.form-control {
    border-radius: 8px;
    border: 1.5px solid #E2E8F0;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-control:focus {
    border-color: #93C5FD;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.modal-content {
    border-radius: 14px;
    border: none;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.modal-header {
    border-bottom: 1.5px solid #F1F5F9;
}
.modal-footer {
    border-top: 1.5px solid #F1F5F9;
}

.card {
    border-radius: 12px;
    border: 1px solid #F1F5F9;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

/* btn-success — softer green */
.btn-success {
    background: linear-gradient(135deg, #6EE7B7 0%, #34D399 100%);
    border: none;
    color: #fff;
    box-shadow: 0 2px 6px rgba(52,211,153,0.25);
}
.btn-success:hover, .btn-success:focus, .btn-success:active {
    background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
    box-shadow: 0 4px 12px rgba(52,211,153,0.35);
    color: #fff;
}

/* ── Pagination — airy rounded style ── */
.pagination {
    margin-top: 16px;
    gap: 6px;
}
.page-item .page-link {
    border: 1.5px solid #E2E8F0;
    border-radius: 8px;
    color: #6B7280;
    font-size: 13px;
    padding: 6px 14px;
    background-color: #FAFBFC;
    transition: all 0.15s ease;
}
.page-item .page-link:hover {
    background-color: #F1F5F9;
    border-color: #CBD5E1;
    color: #374151;
}
.page-item.disabled .page-link {
    background-color: #FAFBFC;
    border-color: #F1F5F9;
    color: #CBD5E1;
}
.page-item.page-info .page-link {
    color: #6B7280;
}

/* ── Sub-nav: highlight active tab ── */
.nav-tabs {
    margin-bottom: 0;
    border-bottom: 2px solid #E2E8F0;
}
.nav-tabs .nav-link {
    margin-bottom: -2px;
    padding: 10px 16px 12px;
}
.nav-tabs .nav-item.active > a,
.nav-tabs .nav-item.active > a.nav-link {
    color: #1E90FF !important;
    background-color: #EFF6FF;
    border-color: #DBEAFE #DBEAFE transparent;
    border-bottom: 3px solid #1E90FF;
    font-weight: 600;
    border-radius: 6px 6px 0 0;
    margin-bottom: -2px;
    padding: 10px 16px 12px;
}

/* btn-secondary — lighter, cleaner */
.btn-secondary {
    background-color: #F8FAFC;
    border: 1.5px solid #CBD5E1;
    color: #475569;
}
.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
    background-color: #F1F5F9;
    border-color: #94A3B8;
    color: #334155;
}