:root {
    --ibo-black: #000000;
    --ibo-black-soft: #171717;
    --ibo-blue: #4095cf;
    --ibo-blue-dark: #2f79ab;
    --ibo-green: #13855c;
    --ibo-surface: #ffffff;
    --ibo-surface-soft: #f2f4f8;
    --ibo-surface-hover: #edf1f7;
    --ibo-input: #ffffff;
    --ibo-page: #f8f9fc;
    --ibo-border: #e3e6f0;
    --ibo-text: #5a5c69;
    --ibo-muted: #858796;
    --ibo-table-stripe: rgba(0, 0, 0, .028);
    --ibo-scroll-track: #e9ebf2;
    --ibo-scroll-thumb: #aeb8c6;
    --ibo-shadow: 0 .15rem 1.75rem 0 rgba(58, 59, 69, .15);
    --ibo-theme-primary: #000000;
    --ibo-theme-deep: #050505;
    --ibo-theme-accent: #858796;
    --ibo-theme-ink: #ffffff;
    --ibo-theme-muted-ink: rgba(255, 255, 255, .76);
    --ibo-theme-icon: rgba(255, 255, 255, .45);
    --ibo-theme-divider: rgba(255, 255, 255, .14);
    --ibo-theme-active: rgba(255, 255, 255, .11);
    --ibo-theme-panel: rgba(255, 255, 255, .06);
    --ibo-theme-panel-border: rgba(255, 255, 255, .1);
}

body[data-panel-theme="1"] { --ibo-theme-primary:#4169d0; --ibo-theme-deep:#2f54b5; --ibo-theme-accent:#b7c6f5; }
body[data-panel-theme="2"] { --ibo-theme-primary:#003e94; --ibo-theme-deep:#002b69; --ibo-theme-accent:#72a7ee; }
body[data-panel-theme="3"] { --ibo-theme-primary:#d63c30; --ibo-theme-deep:#ac2c23; --ibo-theme-accent:#ffc1bb; }
body[data-panel-theme="4"] { --ibo-theme-primary:#c25700; --ibo-theme-deep:#984500; --ibo-theme-accent:#ffd1aa; }
body[data-panel-theme="5"] { --ibo-theme-primary:#13855c; --ibo-theme-deep:#0e6244; --ibo-theme-accent:#b1f0d8; }
body[data-panel-theme="6"] { --ibo-theme-primary:#117a65; --ibo-theme-deep:#0b5e4e; --ibo-theme-accent:#b7f2e7; }
body[data-panel-theme="7"] { --ibo-theme-primary:#247d8a; --ibo-theme-deep:#195d67; --ibo-theme-accent:#c3edf3; }
body[data-panel-theme="8"] { --ibo-theme-primary:#6f7280; --ibo-theme-deep:#535660; --ibo-theme-accent:#e1e2e8; }
body[data-panel-theme="9"] { --ibo-theme-primary:#5a5c69; --ibo-theme-deep:#373840; --ibo-theme-accent:#c8c9cf; }
body[data-panel-theme="10"] { --ibo-theme-primary:#6610f2; --ibo-theme-deep:#4707ad; --ibo-theme-accent:#cfb4fb; }
body[data-panel-theme="11"] { --ibo-theme-primary:#24272b; --ibo-theme-deep:#111315; --ibo-theme-accent:#adb5bd; }
body[data-panel-theme="12"] { --ibo-theme-primary:#400a52; --ibo-theme-deep:#260331; --ibo-theme-accent:#c794d8; }
body[data-panel-theme="13"] {
    --ibo-theme-primary:#fffc00;
    --ibo-theme-deep:#e0dd00;
    --ibo-theme-accent:#1f2327;
    --ibo-theme-ink:#1f2327;
    --ibo-theme-muted-ink:rgba(31, 35, 39, .76);
    --ibo-theme-icon:rgba(31, 35, 39, .52);
    --ibo-theme-divider:rgba(31, 35, 39, .18);
    --ibo-theme-active:rgba(31, 35, 39, .11);
    --ibo-theme-panel:rgba(31, 35, 39, .065);
    --ibo-theme-panel-border:rgba(31, 35, 39, .12);
}
body[data-panel-theme="14"] { --ibo-theme-primary:#000000; --ibo-theme-deep:#050505; --ibo-theme-accent:#858796; }

/* Os temas mais profundos do OnePlay usam também superfícies escuras, não só a barra lateral. */
body[data-panel-theme="2"],
body[data-panel-theme="9"],
body[data-panel-theme="10"],
body[data-panel-theme="12"],
body[data-panel-theme="14"] {
    --ibo-page: #15181b;
    --ibo-surface: #202529;
    --ibo-surface-soft: #282e33;
    --ibo-surface-hover: #30373d;
    --ibo-input: #181c1f;
    --ibo-border: #3a4249;
    --ibo-text: #e8eaed;
    --ibo-muted: #aeb5bd;
    --ibo-table-stripe: rgba(255, 255, 255, .035);
    --ibo-scroll-track: #191d20;
    --ibo-scroll-thumb: #515b64;
    --ibo-shadow: 0 .5rem 1.65rem rgba(0, 0, 0, .22);
    color-scheme: dark;
}

body[data-panel-theme="2"] {
    --ibo-page: #101923;
    --ibo-surface: #172431;
    --ibo-surface-soft: #1d2e3d;
    --ibo-surface-hover: #263b4d;
    --ibo-border: #30485b;
    --ibo-input: #101b25;
}

body[data-panel-theme="10"] {
    --ibo-page: #18151f;
    --ibo-surface: #24202d;
    --ibo-surface-soft: #2d2739;
    --ibo-surface-hover: #382f48;
    --ibo-border: #493d5d;
    --ibo-input: #1b1722;
}

body[data-panel-theme="12"] {
    --ibo-page: #17121a;
    --ibo-surface: #241b28;
    --ibo-surface-soft: #302238;
    --ibo-surface-hover: #3d2947;
    --ibo-border: #51365d;
    --ibo-input: #1a131d;
}

body[data-panel-theme="9"] {
    --ibo-page: #25272c;
    --ibo-surface: #30333a;
    --ibo-surface-soft: #393c44;
    --ibo-surface-hover: #43464f;
    --ibo-border: #4b4e58;
    --ibo-input: #22242a;
}

body[data-panel-theme="14"] {
    --ibo-page: #0d0f11;
    --ibo-surface: #171a1d;
    --ibo-surface-soft: #1f2327;
    --ibo-surface-hover: #282d32;
    --ibo-border: #343a40;
    --ibo-input: #0b0d0e;
}

body[data-panel-theme="13"] .text-primary,
body[data-panel-theme="13"] .ibo-topbar-title span {
    color: #706e00 !important;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--ibo-page);
    color: var(--ibo-text);
    font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

body,
button,
input,
select,
textarea {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--ibo-scroll-track);
}

::-webkit-scrollbar-thumb {
    background: var(--ibo-scroll-thumb);
    border: 2px solid var(--ibo-scroll-track);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    filter: brightness(1.15);
}

#wrapper,
#content-wrapper,
#content {
    min-width: 0;
}

#content-wrapper {
    background: var(--ibo-page);
}

.bg-gradient-primary {
    background-color: var(--ibo-theme-primary) !important;
    background-image: linear-gradient(180deg, var(--ibo-theme-primary) 10%, var(--ibo-theme-deep) 100%) !important;
}

.bg-primary {
    background-color: var(--ibo-theme-primary) !important;
}

.text-primary {
    color: var(--ibo-theme-primary) !important;
}

.border-primary {
    border-color: var(--ibo-theme-primary) !important;
}

.sidebar {
    box-shadow: .35rem 0 1.6rem rgba(0, 0, 0, .12);
    z-index: 1035;
}

.sidebar .sidebar-brand {
    height: 5.15rem;
    padding: .75rem .8rem;
    letter-spacing: .08em;
}

.ibo-brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border: 2px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .32);
}

.sidebar .sidebar-brand-text {
    color: var(--ibo-theme-ink);
    font-size: .93rem;
    font-weight: 900;
}

.sidebar .sidebar-brand-text sup {
    color: var(--ibo-theme-accent);
    font-size: .55rem;
}

.sidebar hr.sidebar-divider {
    border-top-color: var(--ibo-theme-divider);
}

.sidebar .nav-item .nav-link.boxbr {
    position: relative;
    border: 0;
    border-left: 3px solid transparent;
    color: var(--ibo-theme-muted-ink);
    text-shadow: 0 2px 4px rgba(0, 0, 0, .38);
    transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}

.sidebar .nav-item .nav-link.boxbr i {
    color: var(--ibo-theme-icon);
    transition: color .16s ease;
}

.sidebar .nav-item .nav-link.boxbr:hover,
.sidebar .nav-item.active .nav-link.boxbr {
    color: var(--ibo-theme-ink);
    text-decoration: none;
    background: var(--ibo-theme-active);
    border-left-color: var(--ibo-theme-accent);
}

.sidebar .nav-item .nav-link.boxbr:hover i,
.sidebar .nav-item.active .nav-link.boxbr i {
    color: var(--ibo-theme-ink);
}

.ibo-sidebar-status {
    margin: .8rem 1rem;
    padding: .75rem .8rem;
    color: var(--ibo-theme-muted-ink);
    background: var(--ibo-theme-panel);
    border: 1px solid var(--ibo-theme-panel-border);
    border-radius: .45rem;
    font-size: .7rem;
}

.ibo-sidebar-status div {
    display: grid;
    grid-template-columns: 12px 32px 1fr;
    align-items: center;
    gap: .3rem;
}

.ibo-sidebar-status div + div {
    margin-top: .45rem;
}

.ibo-sidebar-status .fa-circle {
    color: var(--ibo-green);
    font-size: .45rem;
}

.ibo-sidebar-status .fa-bullhorn {
    color: var(--ibo-theme-accent);
    font-size: .68rem;
}

.ibo-sidebar-status strong {
    color: var(--ibo-theme-ink);
    text-align: right;
    white-space: nowrap;
}

.sidebar hr.ibo-status-divider {
    margin-bottom: .35rem;
}

.sidebar #sidebarToggle {
    background-color: var(--ibo-theme-active);
}

.sidebar #sidebarToggle:hover {
    background-color: var(--ibo-theme-panel-border);
}

.sidebar.toggled .ibo-sidebar-status {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .2rem;
    margin: .55rem .72rem;
    padding: .48rem .25rem;
}

.sidebar.toggled .ibo-sidebar-status div {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
}

.sidebar.toggled .ibo-sidebar-status div + div {
    margin-top: 0;
}

.sidebar.toggled .ibo-sidebar-status span,
.sidebar.toggled .ibo-sidebar-status strong {
    display: none;
}

.sidebar.toggled .ibo-sidebar-status i {
    display: inline-block;
}

.sidebar.toggled .ibo-status-divider {
    margin-top: .3rem;
}

.topbar {
    min-height: 4.375rem;
    height: auto;
    color: var(--ibo-text);
    background: var(--ibo-page);
    border-bottom: 1px solid var(--ibo-border);
}

.ibo-topbar-title {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1.12;
}

.ibo-topbar-title span {
    color: var(--ibo-muted);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.ibo-topbar-title strong {
    max-width: 55vw;
    overflow: hidden;
    color: var(--ibo-text);
    font-size: 1rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ibo-topbar-badge {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    padding: .35rem .68rem;
    color: var(--ibo-text);
    background: var(--ibo-surface-soft);
    border: 1px solid var(--ibo-border);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
}

.ibo-topbar-badge .fa-circle {
    color: var(--ibo-green);
    font-size: .45rem;
}

.ibo-theme-badge {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    color: var(--ibo-theme-ink);
    background: var(--ibo-theme-primary);
    border: 1px solid var(--ibo-border);
    border-radius: .4rem;
    box-shadow: 0 .25rem .7rem rgba(0, 0, 0, .16);
}

.ibo-theme-badge i,
.ibo-logout-badge i {
    font-size: 1.2rem;
}

.topbar .nav-item.active .ibo-theme-badge,
.ibo-theme-badge:hover {
    color: var(--ibo-theme-ink);
    filter: brightness(1.12);
}

.ibo-logout-badge {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: .4rem;
    box-shadow: 0 .25rem .7rem rgba(231, 74, 59, .18);
}

.topbar .topbar-divider {
    border-right-color: var(--ibo-border);
}

.topbar #sidebarToggleTop {
    color: var(--ibo-text);
}

.ibo-content-area {
    padding-right: 1.5rem;
    padding-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.ibo-content-area > [class*="col-md-"],
.ibo-content-area > .row,
.ibo-content-area > .card {
    margin-bottom: 1.5rem;
}

.ibo-content-area > br:first-child {
    display: none;
}

#pageMessages {
    position: fixed;
    top: 1rem;
    left: 50%;
    z-index: 1100;
    width: min(520px, calc(100vw - 2rem));
    transform: translateX(-50%);
    text-align: center;
}

#pageMessages .alert {
    border: 0;
    border-radius: .5rem;
    box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .2);
}

.ibo-content-area > .col-md-6,
.ibo-content-area > .col-md-7,
.ibo-content-area > .col-md-8,
.ibo-content-area > .col-md-10,
.ibo-content-area > .col-md-12 {
    padding-right: 0;
    padding-left: 0;
}

.ibo-content-area > [class*="col-md-"] > .card-body {
    padding: 0;
}

.card {
    color: var(--ibo-text);
    background-color: var(--ibo-surface);
    border: 1px solid var(--ibo-border);
    border-radius: .42rem;
    box-shadow: var(--ibo-shadow);
}

.card.bg-primary.text-white {
    color: var(--ibo-text) !important;
    background: var(--ibo-surface) !important;
    border: 1px solid var(--ibo-border);
}

.card.bg-primary.text-white > .card-header,
.card.bg-primary.text-white > .card-header.card-header-warning {
    color: var(--ibo-theme-ink);
    background: var(--ibo-theme-primary) !important;
    border-bottom: 0;
    border-radius: .42rem .42rem 0 0;
}

.card > .card-header {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: .9rem 1.15rem;
    color: var(--ibo-text);
    background-color: var(--ibo-surface-soft);
    border-bottom-color: var(--ibo-border);
    font-weight: 800;
}

.card > .card-header:first-child {
    border-radius: .42rem .42rem 0 0;
}

.card-header h1,
.card-header h2,
.card-header h3,
.card-header h4,
.card-header h5,
.card-header h6 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
    text-align: center;
}

.card-header center {
    width: 100%;
}

.card.bg-primary.text-white > .card-body {
    padding: 1.25rem;
    color: var(--ibo-text);
    background: var(--ibo-surface);
    border-radius: 0 0 .42rem .42rem;
}

.card.bg-primary.text-white .text-light,
.card.bg-primary.text-white small.text-light {
    color: var(--ibo-muted) !important;
}

.ibo-credential-warning h3 {
    margin: 0;
    color: #1f2933;
    font-size: 1rem;
    font-weight: 700;
}

.card-body > .card {
    background: var(--ibo-surface-soft);
    border-color: var(--ibo-border);
    box-shadow: 0 .1rem .8rem rgba(0, 0, 0, .1);
}

.card-body h1.colorboard,
.ibo-content-area > [class*="col-md-"] > center > h1,
.ibo-content-area > [class*="col-md-"] > div > h1 {
    color: var(--ibo-text);
    font-size: 1.55rem;
    font-weight: 800;
}

.form-group label,
.form-group p:first-child {
    color: var(--ibo-text);
    font-weight: 700;
}

.form-group label {
    margin-bottom: .45rem;
}

.form-control {
    min-height: 42px;
    color: var(--ibo-text);
    background-color: var(--ibo-input);
    border: 1px solid var(--ibo-border);
    border-radius: .35rem;
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

textarea.form-control {
    min-height: 118px;
}

.form-control:focus {
    color: var(--ibo-text);
    background-color: var(--ibo-input);
    border-color: var(--ibo-theme-primary);
    box-shadow: 0 0 0 .2rem var(--ibo-theme-active);
}

.form-control[readonly],
.form-control:disabled {
    color: var(--ibo-muted);
    background-color: var(--ibo-surface-soft);
}

.form-control::placeholder {
    color: var(--ibo-muted);
    opacity: .82;
}

.custom-select,
select.form-control,
.input-group-text {
    color: var(--ibo-text);
    background-color: var(--ibo-input);
    border-color: var(--ibo-border);
}

.btn {
    min-height: 38px;
    border-radius: .32rem;
    font-weight: 700;
    box-shadow: 0 .15rem .45rem rgba(0, 0, 0, .09);
}

.btn-sm {
    min-height: 31px;
}

/* Ações principais no mesmo formato de botão dividido usado pelo OnePlay. */
.ibo-action-btn.btn-icon-split {
    min-height: 42px;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    border-radius: .35rem;
    box-shadow: 0 .35rem .9rem rgba(0, 0, 0, .16);
    vertical-align: middle;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.ibo-action-btn.btn-icon-split .icon,
.ibo-action-btn.btn-icon-split .text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ibo-action-btn.btn-icon-split .icon {
    min-width: 42px;
    padding: .55rem .75rem;
    background: rgba(0, 0, 0, .15);
}

.ibo-action-btn.btn-icon-split .text {
    padding: .55rem .9rem;
    white-space: nowrap;
}

.ibo-action-btn.btn-icon-split:hover,
.ibo-action-btn.btn-icon-split:focus {
    box-shadow: 0 .6rem 1.25rem rgba(0, 0, 0, .2) !important;
    transform: translateY(-1px);
}

.ibo-action-btn.btn-icon-split:disabled {
    cursor: wait;
    filter: saturate(.62);
    opacity: .78;
    transform: none;
}

.ibo-icon-action {
    display: inline-flex;
    width: 38px;
    min-width: 38px !important;
    height: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: .35rem;
    box-shadow: 0 .2rem .6rem rgba(0, 0, 0, .14);
}

.ibo-icon-action.btn-sm {
    width: 34px;
    min-width: 34px !important;
    height: 34px;
    min-height: 34px;
}

.btn-primary,
.btn-info {
    color: var(--ibo-theme-ink);
    background-color: var(--ibo-theme-primary);
    border-color: var(--ibo-theme-primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-info:hover,
.btn-info:focus,
.btn-info:active {
    color: var(--ibo-theme-ink) !important;
    background-color: var(--ibo-theme-deep) !important;
    border-color: var(--ibo-theme-deep) !important;
    box-shadow: 0 0 0 .2rem var(--ibo-theme-active) !important;
}

.btn-success {
    color: #fff;
    background-color: var(--ibo-green);
    border-color: var(--ibo-green);
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    color: #fff !important;
    background-color: #0e6244 !important;
    border-color: #0e6244 !important;
}

.btn-danger,
.badge-danger {
    color: #fff;
    background-color: #d63c30;
    border-color: #d63c30;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    color: #fff !important;
    background-color: #ac2c23 !important;
    border-color: #ac2c23 !important;
}

.btn-outline-light {
    color: var(--ibo-text);
    border-color: var(--ibo-border);
}

.btn-outline-light:hover {
    color: var(--ibo-theme-ink);
    background: var(--ibo-theme-primary);
}

.table-responsive {
    margin-top: 1rem;
    background: var(--ibo-surface);
    border: 1px solid var(--ibo-border);
    border-radius: .42rem;
    box-shadow: 0 .25rem .9rem rgba(0, 0, 0, .08);
}

.table {
    width: 100%;
    margin-bottom: 0;
    color: var(--ibo-text) !important;
    background: var(--ibo-surface);
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th,
.table > tbody:first-child > tr:first-child > th {
    color: var(--ibo-theme-ink);
    background: var(--ibo-theme-primary);
    border-color: var(--ibo-theme-deep);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
}

.table thead th:first-child {
    border-top-left-radius: .35rem;
}

.table thead th:last-child {
    border-top-right-radius: .35rem;
}

.table td,
.table th {
    padding: .78rem;
    color: inherit;
    border-top-color: var(--ibo-border);
    text-align: center;
    vertical-align: middle;
}

.table td {
    overflow-wrap: anywhere;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: var(--ibo-table-stripe);
}

.table tbody tr:hover {
    color: var(--ibo-text);
    background: var(--ibo-surface-hover);
}

.table tbody tr:last-child td,
.table tbody tr:last-child th {
    border-bottom: 0;
}

.table td.dataTables_empty,
.table tbody:empty::after {
    color: var(--ibo-muted);
}

.dataTables_wrapper {
    color: var(--ibo-text);
}

.dataTables_wrapper > .row:first-child,
.dataTables_wrapper > .row:last-child {
    margin: 0;
    padding: .8rem .85rem;
    background: var(--ibo-surface-soft);
}

.dataTables_wrapper > .row:first-child {
    border-bottom: 1px solid var(--ibo-border);
}

.dataTables_wrapper > .row:last-child {
    border-top: 1px solid var(--ibo-border);
}

.table td .btn {
    min-width: 36px;
}

.modal-content,
.modal-content[style] {
    color: var(--ibo-text) !important;
    background: var(--ibo-surface) !important;
    border: 1px solid var(--ibo-border);
    border-radius: .5rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .28);
}

.modal-backdrop.show {
    opacity: .68;
}

.modal-header {
    color: var(--ibo-theme-ink);
    background: var(--ibo-theme-primary);
    border-bottom: 0;
}

.modal-header h2,
.modal-header h2[style] {
    margin: 0;
    color: var(--ibo-theme-ink) !important;
    font-size: 1.15rem;
}

.modal-body,
.modal-body[style] {
    color: var(--ibo-text) !important;
}

.modal-footer {
    gap: .5rem;
    border-top-color: var(--ibo-border);
}

.modal-footer .btn {
    margin: 0 !important;
}

.alert {
    border: 0;
    border-radius: .4rem;
}

.badge-info {
    color: var(--ibo-theme-ink);
    background-color: var(--ibo-theme-primary);
}

.pagination-container .btn {
    margin: .15rem;
}

.pagination-container .page-item {
    margin: .15rem !important;
}

.ibo-table-toolbar {
    display: flex;
    max-width: 480px;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    margin-right: auto;
    margin-left: auto;
}

.ibo-table-toolbar .form-control {
    width: min(320px, 100%);
}

body .text-muted,
body small.text-muted,
.dataTables_info,
.dataTables_length label,
.dataTables_filter label {
    color: var(--ibo-muted) !important;
}

.dropdown-menu,
.list-group-item {
    color: var(--ibo-text);
    background: var(--ibo-surface);
    border-color: var(--ibo-border);
}

.dropdown-item {
    color: var(--ibo-text);
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--ibo-text);
    background: var(--ibo-surface-hover);
}

.page-link {
    color: var(--ibo-theme-primary);
    background: var(--ibo-surface);
    border-color: var(--ibo-border);
}

.page-link:hover {
    color: var(--ibo-theme-ink);
    background: var(--ibo-theme-primary);
    border-color: var(--ibo-theme-primary);
}

.page-item.active .page-link {
    color: var(--ibo-theme-ink);
    background: var(--ibo-theme-primary);
    border-color: var(--ibo-theme-primary);
}

.page-item.disabled .page-link {
    color: var(--ibo-muted);
    background: var(--ibo-surface-soft);
    border-color: var(--ibo-border);
}

.theme-item {
    padding: .85rem;
    color: var(--ibo-text);
    background: var(--ibo-surface-soft);
    border: 1px solid var(--ibo-border);
    border-left: 4px solid var(--ibo-border);
    border-radius: .42rem;
    box-shadow: 0 .12rem .8rem rgba(58, 59, 69, .12);
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.theme-item:hover {
    border-color: var(--ibo-theme-primary);
    transform: translateY(-2px);
}

.theme-thumbnails {
    gap: 1.25rem !important;
}

.theme-preview,
.theme-preview-wrap {
    border-radius: .35rem !important;
}

.ibo-content-area .theme-thumbnails .theme-title {
    color: var(--ibo-text);
}

.selected-theme {
    border-color: var(--ibo-theme-primary) !important;
    border-left-color: var(--ibo-theme-primary) !important;
    box-shadow: 0 0 0 3px var(--ibo-theme-active) !important;
}

footer.sticky-footer {
    padding: 1.35rem 0;
    background: var(--ibo-page);
    border-top: 1px solid var(--ibo-border);
}

.ibo-content-area .card[style*="border-radius:14px"],
.ibo-content-area .card[style*="border-radius: 14px"] {
    border-radius: .42rem !important;
}

footer.sticky-footer .copyright {
    color: var(--ibo-muted);
    font-size: .76rem;
}

.scroll-to-top {
    background: rgba(0, 0, 0, .62);
}

.ibo-theme-heading {
    color: var(--ibo-theme-ink);
    font-size: 1.08rem;
    font-weight: 800;
}

.ibo-colour-card > .card-body {
    padding: 1.4rem;
}

.ibo-colour-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ibo-current-theme {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .5rem;
    padding: .48rem .72rem;
    color: var(--ibo-text);
    background: var(--ibo-surface-soft);
    border: 1px solid var(--ibo-border);
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 800;
}

.ibo-current-theme i {
    width: 13px;
    height: 13px;
    background: var(--swatch);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
}

.ibo-tmdb-card > .card-body {
    padding: 1.35rem;
}

.ibo-tmdb-mode-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    background: var(--ibo-surface-soft);
    border: 1px solid var(--ibo-border);
    border-radius: .65rem;
}

.ibo-tmdb-mode-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.ibo-tmdb-mode-copy strong {
    color: var(--ibo-text);
    font-size: .92rem;
}

.ibo-tmdb-mode-copy small {
    margin-top: .2rem;
    color: var(--ibo-muted);
}

#slider-container.ibo-tmdb-switch-row {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    margin: 0;
    color: var(--ibo-text);
    font-size: .8rem;
    font-weight: 800;
}

.ibo-tmdb-card .switch {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 30px;
    margin: 0;
}

.ibo-tmdb-card .switch input {
    width: 0;
    height: 0;
    opacity: 0;
}

.ibo-tmdb-card .slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: var(--ibo-border);
    border: 1px solid var(--ibo-border);
    border-radius: 999px;
    transition: background-color .2s ease, border-color .2s ease;
}

.ibo-tmdb-card .slider::before {
    position: absolute;
    bottom: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    content: '';
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .25);
    transition: transform .2s ease;
}

.ibo-tmdb-card .switch input:checked + .slider {
    background: var(--ibo-theme-primary);
    border-color: var(--ibo-theme-accent);
}

.ibo-tmdb-card .switch input:checked + .slider::before {
    transform: translateX(24px);
}

.ibo-tmdb-help {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    color: var(--ibo-text);
    background: var(--ibo-surface-soft);
    border-left: 4px solid var(--ibo-theme-primary);
    border-radius: .45rem;
}

.ibo-tmdb-help h3 {
    margin: 0 0 .7rem;
    color: var(--ibo-text);
    font-size: 1rem;
    font-weight: 800;
}

.ibo-tmdb-help ol {
    margin: 0;
    padding-left: 1.25rem;
}

.ibo-tmdb-help li + li {
    margin-top: .25rem;
}

.ibo-tmdb-help a {
    color: var(--ibo-theme-accent);
    font-weight: 800;
    text-decoration: underline;
}

.ibo-tmdb-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: .8rem;
    margin-top: 1rem;
}

.ibo-tmdb-form .btn {
    min-height: 42px;
}

.ibo-tmdb-action {
    min-width: 190px;
    white-space: nowrap;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.ibo-tmdb-action:hover,
.ibo-tmdb-action:focus {
    box-shadow: 0 .55rem 1.25rem rgba(0, 0, 0, .18) !important;
    transform: translateY(-1px);
}

.ibo-tmdb-action:disabled {
    cursor: wait;
    filter: saturate(.62);
    opacity: .78;
}

.ibo-tmdb-cache-form {
    margin-top: .8rem;
    text-align: right;
}

.ibo-tmdb-alert {
    margin-bottom: 1rem;
}

.ibo-colour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: .85rem;
}

.ibo-colour-option {
    position: relative;
    display: grid;
    min-height: 78px;
    grid-template-columns: 44px 1fr 26px;
    align-items: center;
    gap: .7rem;
    margin: 0;
    padding: .82rem;
    cursor: pointer;
    color: var(--ibo-text);
    background: var(--ibo-surface-soft);
    border: 1px solid var(--ibo-border);
    border-radius: .72rem;
    box-shadow: 0 .18rem .7rem rgba(0, 0, 0, .1);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.ibo-colour-option:hover {
    background: var(--ibo-surface-hover);
    border-color: var(--ibo-theme-primary);
    transform: translateY(-1px);
}

.ibo-colour-option.is-selected,
.ibo-colour-option:has(input:checked) {
    border-color: var(--ibo-theme-primary);
    box-shadow: 0 0 0 3px var(--ibo-theme-active), 0 .25rem .9rem rgba(0, 0, 0, .12);
}

.ibo-colour-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.ibo-colour-swatch {
    width: 44px;
    height: 44px;
    background: var(--swatch);
    border: 1px solid rgba(0, 0, 0, .18);
    border-radius: 50%;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .2);
}

.ibo-colour-name {
    display: flex;
    min-width: 0;
    flex-direction: column;
    color: var(--ibo-text);
    line-height: 1.15;
}

.ibo-colour-name b {
    overflow: hidden;
    font-size: .86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ibo-colour-name small {
    margin-top: .25rem;
    color: var(--ibo-muted);
}

.ibo-colour-check {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    color: var(--ibo-theme-primary);
    background: var(--ibo-theme-active);
    border-radius: 50%;
    font-size: .72rem;
    opacity: 0;
}

.ibo-colour-option.is-selected .ibo-colour-check,
.ibo-colour-option:has(input:checked) .ibo-colour-check {
    opacity: 1;
}

@supports not selector(:has(*)) {
    .ibo-colour-option input:checked ~ .ibo-colour-check {
        opacity: 1;
    }
}

/* Login reproduzindo a composição original do OnePlay Alpha. */
@property --ibo-login-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

body.ibo-login-page {
    min-width: 280px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: #fff;
    background: #020407;
}

.ibo-login-wrap {
    position: relative;
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background-color: var(--ibo-theme-deep);
    background-image:
        linear-gradient(135deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, .5)),
        url('../img/login_bg_oneplay.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-shadow: 2px 3px 4px #000;
}

.ibo-login-wrap::before {
    position: absolute;
    inset: 0;
    content: '';
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 48%, transparent 12%, rgba(0, 0, 0, .2) 72%, rgba(0, 0, 0, .54) 100%),
        linear-gradient(115deg, color-mix(in srgb, var(--ibo-theme-primary) 13%, transparent), transparent 44%);
}

.ibo-login-shell {
    position: relative;
    z-index: 1;
    display: flex;
    overflow: hidden;
    width: min(680px, 100%);
    min-height: 432px;
    border: 1px solid rgba(255, 255, 255, .075);
    border-radius: 5px;
    box-shadow: 0 1.6rem 4.5rem rgba(0, 0, 0, .62);
    isolation: isolate;
}

.ibo-login-brand {
    position: relative;
    z-index: 2;
    display: flex;
    width: 280px;
    flex: 0 0 280px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 45px 35px;
    overflow: hidden;
    color: #fff;
    text-align: center;
    background:
        linear-gradient(to right, rgba(0, 0, 0, .98), rgba(0, 0, 0, .32)),
        rgba(9, 12, 16, .42);
    backdrop-filter: blur(8px);
    animation: ibo-login-brand-in .7s ease both;
}

.ibo-login-brand::before {
    position: absolute;
    inset: -35px;
    z-index: -1;
    content: '';
    background: linear-gradient(to right, rgba(0, 0, 0, .72), transparent);
    filter: blur(10px);
}

.ibo-login-brand img {
    position: relative;
    top: 0;
    display: block;
    width: 150px;
    height: 150px;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .5));
    animation: ibo-login-logo-in .8s .58s ease both;
}

.ibo-login-brand h1 {
    margin: 25px 0 0;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: .07em;
    animation: ibo-login-copy-in .8s .85s ease both;
}

.ibo-login-brand h1 span {
    color: #74c8ff;
}

.ibo-login-brand p {
    margin: .65rem 0 0;
    color: rgba(255, 255, 255, .64);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .08em;
    animation: ibo-login-copy-in .8s 1s ease both;
}

.ibo-login-form-panel {
    position: relative;
    display: flex;
    width: 400px;
    flex: 0 0 400px;
    align-items: center;
    padding: 36px 30px 28px;
    overflow: hidden;
    background:
        linear-gradient(to left, rgba(0, 0, 0, .97), rgba(0, 0, 0, .42)),
        rgba(12, 15, 20, .38);
    backdrop-filter: blur(8px);
    animation: ibo-login-form-in .6s .75s ease both;
}

.ibo-login-form-panel::before {
    position: absolute;
    inset: -35px;
    content: '';
    pointer-events: none;
    background: linear-gradient(to left, rgba(0, 0, 0, .73), transparent);
    filter: blur(10px);
}

.ibo-login-form-panel form {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
}

.ibo-login-intro {
    margin: 0 0 25px;
    animation: ibo-login-field-in .5s 1.05s ease both;
}

.ibo-login-intro h2 {
    margin: 0 0 .6rem;
    color: #fff;
    font-size: 1.22rem;
    font-weight: 800;
}

.ibo-login-intro span {
    display: block;
    color: #fff;
    font-size: .87rem;
    font-weight: 900;
    letter-spacing: .035em;
}

.ibo-login-field {
    margin-bottom: 22px;
    text-align: left;
    animation: ibo-login-field-in .5s ease both;
}

.ibo-login-field:nth-of-type(2) {
    animation-delay: 1.2s;
}

.ibo-login-field:nth-of-type(3) {
    animation-delay: 1.4s;
}

.ibo-login-form-panel label {
    display: block;
    margin: 0 0 7px 1px;
    color: #aaa;
    font-size: .63rem;
    font-weight: 800;
    letter-spacing: .045em;
}

.ibo-login-field .form-control {
    width: 100%;
    height: 46px;
    padding: .7rem .85rem;
    border: 1px solid rgba(157, 166, 188, .24);
    border-radius: 4px;
    color: #fff;
    background: rgba(4, 7, 12, .78);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08), 0 .55rem 1.2rem rgba(0, 0, 0, .18);
    font-size: .94rem;
    text-shadow: none;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.ibo-login-field .form-control:focus {
    color: #fff;
    border-color: rgba(0, 200, 255, .86);
    background: rgba(3, 7, 13, .94);
    box-shadow: 0 0 0 3px rgba(0, 200, 255, .11), inset 0 -1px 0 rgba(255, 255, 255, .1);
}

.ibo-login-submit {
    position: relative;
    z-index: 1;
    min-height: 50px;
    margin-top: 3px;
    overflow: hidden;
    color: #fff;
    background: rgba(2, 15, 31, .84) !important;
    border: 0 !important;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .35);
    font-size: .96rem;
    font-weight: 900;
    text-shadow: 2px 3px 4px #000;
    animation: ibo-login-field-in .5s 1.6s ease both;
    transition: transform .18s ease, box-shadow .18s ease;
}

.ibo-login-submit::before {
    position: absolute;
    inset: 0;
    padding: 2px;
    content: '';
    pointer-events: none;
    border-radius: inherit;
    background: conic-gradient(
        from var(--ibo-login-angle),
        rgba(0, 200, 255, 0) 0deg,
        rgba(0, 200, 255, .95) 55deg,
        rgba(0, 200, 255, 0) 110deg,
        rgba(0, 200, 255, 0) 360deg
    );
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    filter: drop-shadow(0 0 6px rgba(0, 200, 255, .25));
    animation: ibo-login-border-spin 3.2s linear infinite;
}

.ibo-login-submit span {
    position: relative;
    z-index: 2;
}

.ibo-login-submit:hover,
.ibo-login-submit:focus {
    color: #fff;
    background: rgba(2, 15, 31, .94) !important;
    box-shadow: 0 0 0 3px rgba(0, 200, 255, .22), 0 14px 34px rgba(0, 0, 0, .45);
    transform: translateY(-1px);
}

.ibo-login-submit:hover::before,
.ibo-login-submit:focus::before {
    filter: drop-shadow(0 0 12px rgba(0, 200, 255, .72));
    animation-duration: 1.05s;
}

.ibo-login-meta {
    margin: 17px 0 0;
    color: #b49a60;
    font-size: .64rem;
    font-weight: 700;
    line-height: 1.55;
    text-align: center;
    text-shadow: 1px 2px 3px #000;
    animation: ibo-login-field-in .5s 1.75s ease both;
}

.ibo-login-meta i {
    color: #e1cfaa;
    font-style: italic;
}

@keyframes ibo-login-brand-in {
    from { opacity: 0; transform: scale(.02); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes ibo-login-logo-in {
    from { top: -20px; opacity: 0; }
    to { top: 0; opacity: 1; }
}

@keyframes ibo-login-copy-in {
    from { margin-top: -25px; opacity: 0; }
    to { opacity: 1; }
}

@keyframes ibo-login-form-in {
    from { margin-left: -400px; opacity: 0; }
    to { margin-left: 0; opacity: 1; }
}

@keyframes ibo-login-field-in {
    from { left: -25px; opacity: 0; }
    to { left: 0; opacity: 1; }
}

@keyframes ibo-login-border-spin {
    to { --ibo-login-angle: 360deg; }
}

@media (max-width: 991.98px) {
    .ibo-content-area {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

@media (max-width: 767.98px) {
    .sidebar .sidebar-brand {
        height: 4.375rem;
        padding: .6rem .3rem;
    }

    .ibo-brand-logo {
        width: 44px;
        height: 44px;
    }

    .sidebar .nav-item .nav-link.boxbr {
        border-left-width: 2px;
    }

    .ibo-sidebar-status {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .2rem;
        margin: .55rem .72rem;
        padding: .48rem .25rem;
    }

    .ibo-sidebar-status div {
        display: flex;
        min-width: 0;
        align-items: center;
        justify-content: center;
    }

    .ibo-sidebar-status div + div {
        margin-top: 0;
    }

    .ibo-sidebar-status span,
    .ibo-sidebar-status strong {
        display: none;
    }

    .ibo-sidebar-status i {
        display: inline-block;
    }

    .ibo-status-divider {
        margin-top: .25rem;
    }

    .topbar {
        margin-bottom: 1.1rem !important;
    }

    .ibo-topbar-title span {
        font-size: .58rem;
    }

    .ibo-topbar-title strong {
        max-width: 45vw;
        font-size: .88rem;
    }

    .ibo-content-area {
        padding-right: .75rem;
        padding-left: .75rem;
    }

    .card-body {
        padding: 1rem;
    }

    .card-header h2,
    .card-header h3 {
        font-size: 1rem;
    }

    .table td,
    .table th {
        padding: .65rem;
        white-space: nowrap;
    }

    form.d-flex {
        display: block !important;
    }

    form.d-flex .form-control,
    #search {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: .65rem;
    }

    .btn {
        white-space: normal;
    }

    .ibo-colour-intro {
        align-items: flex-start;
        flex-direction: column;
    }

    .ibo-tmdb-mode-card {
        align-items: flex-start;
        flex-direction: column;
    }

    #slider-container.ibo-tmdb-switch-row {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .ibo-tmdb-form {
        grid-template-columns: 1fr;
    }

    .ibo-tmdb-form .btn,
    .ibo-tmdb-cache-form .btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .ibo-table-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .ibo-table-toolbar .form-control,
    .ibo-table-toolbar .btn {
        width: 100%;
    }

    .ibo-colour-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .ibo-login-wrap {
        min-height: 100vh;
        min-height: 100svh;
        align-items: flex-start;
        padding:
            max(8px, env(safe-area-inset-top))
            max(8px, env(safe-area-inset-right))
            max(8px, env(safe-area-inset-bottom))
            max(8px, env(safe-area-inset-left));
        background-attachment: scroll;
    }

    .ibo-login-shell {
        width: min(430px, 100%);
        min-height: 0;
        margin: auto;
        flex-direction: column;
        border-radius: 16px;
        background: rgba(2, 4, 9, .82);
    }

    .ibo-login-brand {
        width: 100%;
        flex: 0 0 auto;
        padding: 22px 20px 18px;
        background: rgba(20, 23, 29, .9);
    }

    .ibo-login-brand img {
        width: 96px;
        height: 96px;
        max-width: 34vw;
    }

    .ibo-login-brand h1 {
        margin-top: 13px;
        font-size: 1.3rem;
    }

    .ibo-login-brand p {
        margin-top: 6px;
        font-size: .65rem;
    }

    .ibo-login-form-panel {
        width: 100%;
        flex: 0 0 auto;
        padding: 20px 22px 16px;
        background: rgba(2, 4, 9, .74);
        animation: ibo-login-field-in .5s .45s ease both;
    }

    .ibo-login-intro {
        margin-bottom: 18px;
    }

    .ibo-login-intro h2 {
        display: none;
    }

    .ibo-login-intro span {
        font-size: 1.02rem;
    }

    .ibo-login-field {
        margin-bottom: 15px;
    }

    .ibo-login-form-panel label {
        margin-bottom: 7px;
        color: #b4bac8;
        font-size: .68rem;
    }

    .ibo-login-field .form-control {
        min-height: 50px;
        height: 50px;
        padding: 11px 14px;
        border-radius: 12px;
        font-size: 1rem;
    }

    .ibo-login-submit {
        min-height: 52px;
        margin-top: 2px;
    }

    .ibo-login-meta {
        margin-top: 14px;
        font-size: .62rem;
    }
}

@media (max-width: 360px) {
    .ibo-login-brand {
        padding: 19px 16px 16px;
    }

    .ibo-login-brand img {
        width: 88px;
        height: 88px;
    }

    .ibo-login-brand h1 {
        margin-top: 11px;
        font-size: 1.18rem;
    }

    .ibo-login-form-panel {
        padding: 18px 16px 14px;
    }

    .ibo-login-intro span {
        font-size: .95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
/* Configurações gerais e módulos híbridos — extensão da base visual aprovada. */
.ibo-settings-shell{max-width:1680px;margin:0 auto 1.5rem}.ibo-settings-master{overflow:hidden}.ibo-settings-master>.card-body{padding:1.35rem}.ibo-settings-grid{align-items:stretch}.ibo-settings-section{border:1px solid var(--ibo-border,#394047);border-radius:8px;background:var(--ibo-surface,#202529);overflow:hidden}.ibo-settings-section>h3{margin:0;padding:1rem 1.1rem;text-align:center;font-size:1rem;border-bottom:1px solid var(--ibo-border,#394047);background:rgba(0,0,0,.12)}.ibo-settings-section-body{padding:1.15rem}.ibo-settings-section .form-group{margin-bottom:1rem}.ibo-settings-section label{font-weight:700}.ibo-settings-section small{display:block;margin-top:.35rem;opacity:.78}.ibo-switch-list{display:grid;gap:.7rem;margin:0 0 1.1rem}.ibo-switch-list label,.ibo-check-row{display:flex;align-items:center;gap:.45rem;padding:.65rem .75rem;margin:0;border:1px solid var(--ibo-border,#394047);border-radius:6px;background:rgba(255,255,255,.025);font-weight:600}.ibo-switch-list input,.ibo-check-row input{width:1rem;height:1rem}.ibo-qr-current{display:flex;align-items:center;gap:1rem;margin:.75rem 0 1rem;padding:.75rem;border:1px solid var(--ibo-border,#394047);border-radius:7px}.ibo-qr-current img{width:88px;height:88px;object-fit:contain;background:#fff;border-radius:5px;padding:4px}.ibo-module-tabs{display:flex;flex-wrap:wrap;gap:.55rem;margin:0 0 1rem}.ibo-module-tabs .btn{border-radius:6px}.ibo-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1rem}.ibo-summary-card{padding:1rem;border:1px solid var(--ibo-border,#394047);border-radius:8px;background:var(--ibo-surface,#202529)}.ibo-summary-card strong{display:block;font-size:1.55rem;line-height:1.2}.ibo-summary-card span{opacity:.75}.ibo-state{display:inline-flex;align-items:center;padding:.25rem .55rem;border-radius:999px;font-size:.75rem;font-weight:700}.ibo-state-active,.ibo-state-success{background:rgba(32,201,151,.18);color:#20c997}.ibo-state-pending{background:rgba(255,193,7,.18);color:#ffc107}.ibo-state-revoked,.ibo-state-error,.ibo-state-blocked{background:rgba(231,74,59,.18);color:#e74a3b}.ibo-table-actions{display:flex;flex-wrap:wrap;gap:.4rem}.ibo-danger-note{border-left:4px solid #e74a3b;padding:.75rem 1rem;background:rgba(231,74,59,.08)}
@media(max-width:1199.98px){.ibo-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:575.98px){.ibo-settings-master>.card-body{padding:.8rem}.ibo-settings-section-body{padding:.85rem}.ibo-summary-grid{grid-template-columns:1fr}.ibo-qr-current{align-items:flex-start;flex-direction:column}}


/* Refinamento de ações administrativas — referência visual conservadora. */
.ibo-page-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.ibo-maintenance-actions {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
}

.ibo-maintenance-actions > *,
.ibo-row-actions > *,
.ibo-table-actions > * {
    margin: 0 !important;
}

.ibo-row-action-cell {
    white-space: nowrap;
    min-width: 96px;
}

.ibo-row-actions {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    vertical-align: middle;
    white-space: nowrap;
}

.ibo-table-actions {
    align-items: center;
    gap: .55rem;
}

.ibo-compact-danger {
    flex: 0 0 auto;
}

.ibo-card-header-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.ibo-inline-maintenance {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
}

.ibo-inline-maintenance > * {
    margin-right: 0 !important;
    margin-bottom: 0 !important;
}

@media (max-width: 575.98px) {
    .ibo-page-actions {
        align-items: flex-start;
    }
    .ibo-maintenance-actions {
        gap: .45rem;
    }
}

/* Conectados — painel de sessões online e tabela compacta. */
.ibo-online-panel {
    border: 1px solid var(--ibo-border);
    border-radius: .48rem;
    background: var(--ibo-surface-soft);
    overflow: hidden;
}

.ibo-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .72rem .85rem;
    border-bottom: 1px solid var(--ibo-border);
    background: var(--ibo-surface-soft);
}

.ibo-section-heading small {
    margin: 0;
    color: var(--ibo-muted) !important;
}

.ibo-section-title {
    display: inline-flex;
    align-items: center;
    gap: .48rem;
    min-width: 0;
}

.ibo-section-title > i {
    color: var(--ibo-theme-primary);
}

.ibo-section-title strong {
    font-size: .92rem;
    letter-spacing: .01em;
}

.ibo-section-title .badge {
    min-width: 28px;
    padding: .34rem .48rem;
    border-radius: 999px;
}

.ibo-online-table-wrap {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.ibo-online-table td,
.ibo-online-table th {
    padding: .62rem .7rem;
}

.ibo-online-device {
    white-space: nowrap;
}

.ibo-live-dot {
    display: inline-block;
    width: .52rem;
    height: .52rem;
    margin-right: .45rem;
    border-radius: 50%;
    background: var(--ibo-green);
    box-shadow: 0 0 0 .18rem rgba(28, 200, 138, .12);
    vertical-align: middle;
}

.ibo-heartbeat-age {
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    color: var(--ibo-green);
    font-weight: 700;
    white-space: nowrap;
}

.ibo-session-duration {
    display: inline-flex;
    align-items: center;
    min-width: 7.2rem;
    color: var(--ibo-green);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ibo-session-stamp {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.15;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.ibo-session-stamp > span {
    font-weight: 700;
}

.ibo-session-stamp > small {
    margin-top: .18rem;
    color: var(--ibo-muted);
    font-size: .76rem;
}

.ibo-session-signal {
    display: inline-flex;
    align-items: flex-start;
    gap: .38rem;
    white-space: nowrap;
}

.ibo-session-signal > i {
    margin-top: .08rem;
    color: var(--ibo-green);
}

.ibo-online-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 82px;
    padding: 1rem;
    color: var(--ibo-muted);
}

.ibo-access-list-heading {
    margin: .35rem 0 .8rem;
    border: 1px solid var(--ibo-border);
    border-radius: .42rem;
}

.ibo-access-table-wrap {
    margin-top: .7rem;
}

.ibo-main-access-table td,
.ibo-main-access-table th {
    padding: .62rem .58rem;
}

.ibo-main-access-table tbody tr.ibo-row-online td:first-child {
    box-shadow: inset 3px 0 0 var(--ibo-green);
}

.ibo-dns-cell,
.ibo-pin-cell,
.ibo-limit-cell {
    white-space: nowrap;
}

.ibo-device-cell {
    min-width: 142px;
    white-space: nowrap;
    font-size: .82rem;
    font-weight: 700;
}

.ibo-credential-cell {
    min-width: 190px;
    text-align: left !important;
}

.ibo-credential-user {
    display: block;
    margin-bottom: .34rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ibo-credential-password {
    width: 100%;
    max-width: 230px;
    margin: 0 auto;
}

.ibo-credential-password .form-control {
    min-width: 0;
    height: 31px;
    padding-top: .22rem;
    padding-bottom: .22rem;
    font-size: .78rem;
}

.ibo-credential-password .btn {
    min-width: 34px !important;
    height: 31px;
    padding: .25rem .52rem;
}

.ibo-access-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .38rem;
    min-width: 168px;
}

.ibo-access-state .badge {
    line-height: 1.15;
}

.ibo-online-badge .fa-circle {
    font-size: .5rem;
    margin-right: .18rem;
}

@media (max-width: 991.98px) {
    .ibo-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: .2rem;
    }
    .ibo-online-table,
    .ibo-main-access-table {
        min-width: 820px;
    }
}

@media (max-width: 575.98px) {
    .ibo-section-heading {
        padding: .65rem .72rem;
    }
    .ibo-main-access-table td,
    .ibo-main-access-table th,
    .ibo-online-table td,
    .ibo-online-table th {
        padding: .55rem .5rem;
    }
}


/* Conectados — abas separadas: Online completo e Todos paginado. */
.ibo-connected-tabs-wrap {
    margin-bottom: .85rem;
    padding: .34rem;
    border: 1px solid var(--ibo-border);
    border-radius: .52rem;
    background: var(--ibo-surface-soft);
}

.ibo-connected-tabs {
    display: flex;
    gap: .38rem;
    flex-wrap: nowrap;
}

.ibo-connected-tabs .nav-item {
    margin: 0;
}

.ibo-connected-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    min-height: 36px;
    padding: .46rem .8rem;
    border-radius: .4rem;
    color: var(--ibo-text);
    font-size: .84rem;
    font-weight: 700;
    white-space: nowrap;
}

.ibo-connected-tabs .nav-link:hover {
    background: var(--ibo-surface-hover);
    color: var(--ibo-text);
}

.ibo-connected-tabs .nav-link.active {
    background: var(--ibo-theme-primary);
    color: #fff;
}

.ibo-connected-tab-content > .tab-pane {
    min-height: 90px;
}

.ibo-tab-context {
    display: flex;
    align-items: center;
    gap: .42rem;
    padding: .62rem .78rem;
    border-bottom: 1px solid var(--ibo-border);
    color: var(--ibo-muted);
    font-size: .78rem;
    font-weight: 600;
}

.ibo-tab-context i {
    color: var(--ibo-green);
}

@media (max-width: 575.98px) {
    .ibo-connected-tabs-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .ibo-connected-tabs {
        width: max-content;
        min-width: 100%;
    }
}
