/* your styles go here */
.form-control:disabled, .form-control[readonly] {
    background-color: #282b2e;
    color: #6e7074;
}
.dropdown-menu .dropdown-item .align-fix {
    vertical-align: middle;
    display: inline-block;
    margin-top: 3px;
}
.image-32 {
    width: 32px;
    height: 32px;
}
.fancy-scroll::-webkit-scrollbar {
    width: 0.7em;
    height: 0.7em;
}
.fancy-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
}
.fancy-scroll::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
.fancy-scroll::-webkit-scrollbar-corner { background: rgba(255, 255, 255, 0.37); }
.td-text-overflow {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 0px;
}
.td-fit-content {
    width: 1%;
    white-space: nowrap;
}

/* Security & Access */
.ew-panel { border: 1px solid rgba(255,255,255,.1); border-radius: .5rem; overflow: hidden; }
.ew-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; background: rgba(255,255,255,.03); border-bottom: 1px solid rgba(255,255,255,.1); }
.ew-panel-body { padding: 1.25rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.ew-empty { padding: 1.5rem 1.25rem; text-align: center; opacity: .6; }
.ew-list .list-group-item { background: transparent; border-color: rgba(255,255,255,.08); padding: .9rem 1.25rem; }
.ew-option { display: block; height: 100%; padding: .85rem 1rem; border: 1px solid rgba(255,255,255,.15); border-radius: .5rem; cursor: pointer; }
.ew-option strong, .ew-option span { display: block; }
.btn-check:checked + .ew-option { border-color: var(--bs-primary, #8a63d2); background: rgba(138,99,210,.12); }
.btn-check:focus-visible + .ew-option { outline: 2px solid var(--bs-primary, #8a63d2); }
.ew-table th { font-weight: 600; font-size: .8rem; text-transform: uppercase; opacity: .7; }
.ew-table th, .ew-table td { padding: .75rem 1.25rem; background: transparent; }

/* Analytics: equal-height cards */
.ew-row > [class*="col-"] > .card:only-child { height: 100%; margin-bottom: 0; }
.ew-stack { display: flex; flex-direction: column; gap: 1.5rem; }
.ew-stack > .card { flex: 1 1 auto; margin-bottom: 0; }
.ew-row > [class*="col-"] > .card.h-100 { margin-bottom: 0; }

/* Table browser */
.ew-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: .85rem 1.25rem; }
.ew-search { width: 18rem; max-width: 100%; }
.ew-per { width: auto; }
.ew-sort { color: inherit; text-decoration: none; white-space: nowrap; }
.ew-sort i { opacity: .35; }
.ew-sort.active i, .ew-sort:hover i { opacity: 1; }
/* Security tab: panels run edge to edge inside the card instead of a card within a card */
.ew-flush { margin-left: -1.5rem; margin-right: -1.5rem; margin-bottom: -1.5rem; }
.ew-flush .ew-panel { border-width: 1px 0 0; border-radius: 0; }
.ew-flush .ew-panel:last-child { border-bottom-width: 0; }
.ew-flush .ew-panel + .ew-panel { margin-top: 1.5rem !important; border-top-width: 1px; border-bottom-width: 1px; }

/* a closed right-aligned dropdown sits at the right edge, not past it (it widened every page, giving a sideways scroll) */
.dropdown-menu-end { right: 0; left: auto; }

/* the theme leaves disabled pagination buttons white */
.page-item.disabled .page-link { background-color: #2d3035; border-color: #8a8d93; opacity: .45; }

/* File list */
.ew-bulk { display: flex; align-items: center; gap: 1rem; padding: .6rem 1.25rem; background: rgba(219,101,116,.12); border-bottom: 1px solid rgba(255,255,255,.1); }
