:root {
    --xadmin-bg: #f2f5f9;
    --xadmin-surface: #ffffff;
    --xadmin-border: #dbe2ea;
    --xadmin-ink: #1e2a36;
    --xadmin-muted: #5f6f80;
    --xadmin-primary: #0f6cbd;
    --xadmin-primary-strong: #004c8f;
}

.xadmin-body {
    background:
        radial-gradient(circle at 88% 8%, rgba(15, 108, 189, 0.12) 0%, transparent 28%),
        radial-gradient(circle at 8% 78%, rgba(0, 76, 143, 0.14) 0%, transparent 26%),
        var(--xadmin-bg);
    color: var(--xadmin-ink);
    min-height: 100vh;
}

.xadmin-header {
    background: linear-gradient(135deg, #123056 0%, #0d1f36 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 6px 16px rgba(0, 20, 45, 0.22);
}

.xadmin-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.xadmin-header .navbar-brand,
.xadmin-header .nav-link {
    color: #f7fbff;
    font-family: "Sora", sans-serif;
}

.xadmin-header .nav-link {
    opacity: 0.84;
}

.xadmin-header .nav-link.active,
.xadmin-header .nav-link:hover {
    opacity: 1;
}

.xadmin-user-pill {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.85rem;
}

.xadmin-content {
    animation: xadmin-fade-in 350ms ease-out;
}

.xadmin-card {
    background: var(--xadmin-surface);
    border: 1px solid var(--xadmin-border);
    border-radius: 18px;
    padding: 1.15rem;
    box-shadow: 0 8px 24px rgba(7, 35, 68, 0.06);
}

.xadmin-hero {
    background: linear-gradient(145deg, #ffffff 0%, #eef5ff 100%);
    border: 1px solid var(--xadmin-border);
    border-radius: 20px;
    padding: 1.5rem;
}

.xadmin-hero h1 {
    font-family: "Sora", sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

.xadmin-hero p {
    color: var(--xadmin-muted);
    margin-bottom: 0;
}

.xadmin-tip {
    color: var(--xadmin-muted);
}

.xadmin-module-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--xadmin-surface);
    border: 1px solid var(--xadmin-border);
    border-radius: 18px;
    padding: 1rem 1.1rem;
    box-shadow: 0 8px 24px rgba(7, 35, 68, 0.06);
    color: var(--xadmin-text);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.xadmin-module-card:hover {
    transform: translateY(-3px);
    border-color: var(--xadmin-primary, #1f6feb);
    box-shadow: 0 14px 30px rgba(7, 35, 68, 0.12);
    color: var(--xadmin-text);
}

.xadmin-module-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 12px;
    background: linear-gradient(145deg, #eef5ff 0%, #dcebff 100%);
    color: var(--xadmin-primary, #1f6feb);
    font-size: 1.35rem;
}

.xadmin-module-card__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 auto;
}

.xadmin-module-card__name {
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1.15;
}

.xadmin-module-card__desc {
    color: var(--xadmin-muted);
    font-size: 0.8rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.xadmin-module-card__go {
    flex: 0 0 auto;
    color: var(--xadmin-muted);
    font-size: 1rem;
}

.xadmin-checkbox-card {
    display: block;
    border: 1px solid var(--xadmin-border);
    background: #fff;
    border-radius: 14px;
    padding: 0.8rem;
    cursor: pointer;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.xadmin-checkbox-card:hover {
    border-color: var(--xadmin-primary);
}

.xadmin-checkbox-card input {
    margin-right: 0.5rem;
}

.xadmin-checkbox-card span {
    display: inline-flex;
    flex-direction: column;
    vertical-align: top;
}

.xadmin-checkbox-card small,
.xadmin-checkbox-card em {
    color: var(--xadmin-muted);
    font-style: normal;
    font-size: 0.82rem;
}

.xadmin-login-page {
    min-height: 100vh;
    margin: 0;
    padding: 2rem;
    background:
        radial-gradient(circle at 20% 18%, rgba(9, 126, 186, 0.12) 0%, transparent 34%),
        radial-gradient(circle at 80% 82%, rgba(249, 176, 47, 0.10) 0%, transparent 26%),
        linear-gradient(160deg, #fbfcfe 0%, #f4f7fb 54%, #eef2f7 100%);
    display: grid;
    place-items: center;
    font-family: "Manrope", sans-serif;
}

.xadmin-auth-shell {
    width: min(1060px, 100%);
}

.xadmin-auth-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 42px rgba(17, 44, 71, 0.16);
    display: grid;
    grid-template-columns: minmax(300px, 39%) 1fr;
    min-height: 620px;
    border: 1px solid rgba(12, 50, 84, 0.08);
}

.xadmin-auth-left {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(6, 123, 186, 0.96) 0%, rgba(14, 89, 145, 0.98) 58%, rgba(11, 69, 120, 1) 100%);
}

.xadmin-auth-ribbon {
    position: absolute;
    width: 560px;
    height: 560px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.06) 100%);
    transform: rotate(45deg);
    top: -205px;
    left: -280px;
}

.xadmin-auth-ribbon.two {
    width: 600px;
    height: 600px;
    top: 210px;
    left: -390px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.28) 100%);
}

.xadmin-auth-cut {
    /*position: absolute;
    width: 410px;
    height: 230px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(242, 246, 250, 0.95) 100%);
    border-radius: 0 0 40px 0;
    transform: rotate(45deg);
    left: -180px;
    top: 145px;*/
    position: absolute;
    width: 450px;
    height: 450px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .98) 0%, rgba(242, 246, 250, .98) 100%);
    border-radius: 60px;
    transform: rotate(45deg);
    left: -215px;
    top: 170px;
}

.xadmin-auth-cut2 {
    position: absolute;
    width: 463px;
    height: 463px;
    background: linear-gradient(145deg, rgb(184 184 184 / 37%) 0%, rgba(184, 184, 184, .98) 100%);
    border-radius: 60px;
    transform: rotate(45deg);
    left: -218px;
    top: 163px;
}

.xadmin-auth-cut3 {
    position: absolute;
    width: 493px;
    height: 493px;
    background: linear-gradient(40deg, rgb(184 184 184 / 10%) 0%, rgb(184 184 184) 350%);
    border-radius: 60px;
    transform: rotate(45deg);
    left: -180px;
    top: 143px;
}

.xadmin-auth-cut4 {
    position: absolute;
    width: 230px;
    height: 230px;
    background: linear-gradient(40deg, rgb(184 184 184 / 10%) 0%, rgb(184 184 184) 350%);
    border-radius: 40px;
    transform: rotate(45deg);
    left: 310px;
    top: 50px;
}

.xadmin-auth-cut5 {
    position: absolute;
    width: 730px;
    height: 730px;
    background: linear-gradient(40deg, rgb(0 64 126 / 46%) 0%, rgb(184 184 184) 350%);
    border-radius: 40px;
    transform: rotate(45deg);
    left: 310px;
    top: 30px;
}

.xadmin-auth-secure {
    position: absolute;
    display: flex;
    gap: 12px;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    top: 700px;
    left: 200px;
}

.xadmin-auth-title{
    font-weight: 600;
}

.xadmin-auth-sub{
    font-size: 12px;
    opacity: 0.95;
}

.xadmin-auth-brand {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 1;
    pointer-events: none;
}

.xadmin-auth-brand-text {
    position: absolute;
    bottom: 18.5rem;
    left: 14px;
    right: 0;
    color: rgb(31 42 54);
    font-size: 13px;
    font-weight: 500;
}

.xadmin-auth-logo {
    margin-left: -190px;
    width: min(50%, 200px);
    height: auto;
    filter: drop-shadow(0 10px 22px rgba(6, 24, 44, 0.10));
}

.xadmin-auth-tabs {
    position: absolute;
    top: 190px;
    right: -1px;
    display: grid;
    gap: 0.9rem;
    text-align: center;
    min-width: 212px;
    z-index: 2;
}

.xadmin-auth-tabs span {
    display: block;
    padding: 0.82rem 1rem;
    font-family: "Sora", sans-serif;
    font-weight: 700;
    letter-spacing: 0.055em;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.2rem;
}

.xadmin-auth-tabs span.active {
    background: #ffffff;
    color: #0b6fa4;
    border-radius: 38px 0 0 38px;
}

.xadmin-auth-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.55rem 2.9rem 0;
}

.xadmin-auth-head {
    text-align: center;
    margin-top: 0.35rem;
}

.xadmin-auth-avatar {
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.xadmin-auth-head h1 {
    margin: 0.95rem 0 0;
    font-family: "Sora", sans-serif;
    font-size: 2.1rem;
    color: #6c6f76;
    letter-spacing: 0.045em;
}

.xadmin-auth-form {
    max-width: 540px;
    width: 100%;
    margin: 1.65rem auto 0;
}

.xadmin-auth-field {
    display: flex;
    align-items: center;
    gap: 0.88rem;
    border-bottom: 2px solid rgba(107, 116, 129, 0.32);
    padding: 0.42rem 0;
    margin-bottom: 0.5rem;
}

.xadmin-auth-icon {
    color: #6a7380;
    font-size: 1.45rem;
}

.xadmin-auth-field input {
    flex: 1;
    border: 0;
    padding: 0.65rem 0.2rem;
    outline: none;
    font-size: 2rem;
    color: #2e3742;
    background: transparent;
    line-height: 1.1;
}

.xadmin-auth-field input::placeholder {
    color: #8b95a1;
}

.xadmin-auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.2rem;
}

.xadmin-auth-forgot {
    color: #0b6fa4;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
}

.xadmin-auth-submit {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #0c7fbb 0%, #0b5f96 100%);
    color: #ffffff;
    min-width: 168px;
    padding: 0.66rem 1.55rem;
    font-family: "Sora", sans-serif;
    letter-spacing: 0.08em;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(162, 45, 113, 0.28);
}

.xadmin-auth-submit:hover {
    filter: brightness(0.95);
}

.xadmin-auth-remember {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #67727f;
}

.xadmin-auth-foot {
    border-top: 1px solid #ece5ea;
    margin: 2rem -2.9rem 0;
    padding: 1.08rem 2.9rem 1.18rem;
    display: flex;
    align-items: center;
    gap: 2.1rem;
    flex-wrap: wrap;
    color: #6d6d6d;
    font-weight: 600;
}

.xadmin-auth-foot a {
    text-decoration: none;
    color: #3f3f3f;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.xadmin-auth-foot .bi-google {
    color: #4285f4;
}

.xadmin-auth-foot .bi-facebook {
    color: #1877f2;
}

@keyframes xadmin-fade-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .xadmin-login-page {
        padding: 0.85rem;
    }

    .xadmin-auth-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .xadmin-auth-left {
        min-height: 250px;
    }

    .xadmin-auth-tabs {
        /*top: auto;
        right: auto;
        left: 1rem;
        bottom: 1rem;
        min-width: 160px;
        text-align: left;*/
        display: none;
    }

    .xadmin-auth-right {
        padding: 1.45rem 1.05rem 0;
    }

    .xadmin-auth-head h1 {
        font-size: 1.65rem;
    }

    .xadmin-auth-field input {
        font-size: 1.45rem;
    }

    .xadmin-auth-foot {
        margin: 1.35rem -1.05rem 0;
        padding: 1rem 1.05rem;
        gap: 1rem;
    }
}

/* ===== Novo Dashboard XAdmin ===== */
.xadmin-dashboard {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: #F8FAFC;
    color: #0F172A;
}

.xdb {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.xdb-sidebar {
    width: 240px;
    flex: 0 0 240px;
    background: #FFFFFF;
    border-right: 1px solid #E5E7EB;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}

.xdb-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 8px 24px;
}

.xdb-brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #2563EB;
    color: #fff;
    font-size: 1.2rem;
}

.xdb-brand__name {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.xdb-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 auto;
}

.xdb-nav__label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94A3B8;
    padding: 8px 12px;
}

.xdb-nav__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.15s ease, color 0.15s ease;
}

.xdb-nav__item i {
    font-size: 1.05rem;
}

.xdb-nav__item:hover {
    background: #F1F5F9;
    color: #0F172A;
}

.xdb-nav__item.active {
    background: #EFF6FF;
    color: #2563EB;
    font-weight: 600;
}

.xdb-nav__item.disabled {
    color: #CBD5E1;
    pointer-events: none;
}

.xdb-roadmap {
    margin-top: 16px;
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 16px;
}

.xdb-roadmap__title {
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.xdb-roadmap__desc {
    font-size: 0.75rem;
    color: #64748B;
    margin-bottom: 10px;
    line-height: 1.4;
}

.xdb-roadmap__link {
    font-size: 0.8rem;
    font-weight: 600;
    color: #2563EB;
    text-decoration: none;
}

.xdb-roadmap__link:hover {
    text-decoration: underline;
}

/* Main */
.xdb-main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.xdb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 32px 40px 8px;
}

.xdb-greeting {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

.xdb-wave {
    font-size: 1.3rem;
}

.xdb-subtitle {
    color: #64748B;
    margin: 4px 0 0;
    font-size: 0.9rem;
}

.xdb-header__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.xdb-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: #fff;
    color: #475569;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.xdb-icon-btn:hover {
    background: #F1F5F9;
}

.xdb-user {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #E5E7EB;
    background: #fff;
    border-radius: 12px;
    padding: 6px 10px 6px 6px;
    cursor: pointer;
}

.xdb-user__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2563EB;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.xdb-user__meta {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}

.xdb-user__name {
    font-size: 0.85rem;
    font-weight: 600;
}

.xdb-user__role {
    font-size: 0.72rem;
    color: #64748B;
}

.xdb-content {
    padding: 24px 40px 8px;
    flex: 1 1 auto;
}

.xdb-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 40px;
    color: #94A3B8;
    font-size: 0.78rem;
}

/* Page title for internal sections (Users, Profiles, etc.) */
.xdb-page-title {
    margin: 0 0 24px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0F172A;
}

/* Modules DataTable: add breathing room inside the card */
.xadmin-card .dataTables_wrapper {
    padding: 20px 24px;
}

.xadmin-card .dataTable {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.xadmin-card table.dataTable thead th,
.xadmin-card table.dataTable tbody td {
    padding-left: 16px;
    padding-right: 16px;
}

.xadmin-card .dataTables_filter,
.xadmin-card .dataTables_length {
    padding-top: 4px;
}

/* Top cards */
.xdb-cards-top {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.xdb-topcard {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.xdb-topcard:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.xdb-topcard__icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.xdb-topcard__icon--blue {
    background: #EFF6FF;
    color: #2563EB;
}

.xdb-topcard__icon--green {
    background: #ECFDF5;
    color: #16A34A;
}

.xdb-topcard__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.xdb-topcard__title {
    font-weight: 700;
    font-size: 1rem;
}

.xdb-topcard__desc {
    color: #64748B;
    font-size: 0.82rem;
    margin-top: 4px;
    line-height: 1.35;
}

.xdb-topcard__arrow {
    color: #94A3B8;
    font-size: 1.2rem;
}

/* Modules section */
.xdb-modules__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.xdb-modules__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.xdb-modules__sub {
    color: #64748B;
    font-size: 0.85rem;
    margin: 4px 0 0;
}

.xdb-modules__tools {
    display: flex;
    align-items: center;
    gap: 12px;
}

.xdb-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 8px 12px;
    color: #94A3B8;
}

.xdb-search input {
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 0.85rem;
    width: 180px;
    color: #0F172A;
}

.xdb-viewtoggle {
    display: inline-flex;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.xdb-viewtoggle button {
    border: 0;
    background: transparent;
    padding: 9px 12px;
    cursor: pointer;
    color: #94A3B8;
    font-size: 1rem;
}

.xdb-viewtoggle button.active {
    background: #EFF6FF;
    color: #2563EB;
}

/* Grid / List */
.xdb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.xdb-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.xdb-module {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 160px;
    position: relative;
}

.xdb-module:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.10);
}

.xdb-module__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: color-mix(in srgb, var(--module-color) 14%, #fff);
    color: var(--module-color);
    margin-bottom: 16px;
}

.xdb-module__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.xdb-module__name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}

.xdb-module__desc {
    color: #64748B;
    font-size: 0.82rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.xdb-module__go {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #E5E7EB;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 0.9rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.xdb-module:hover .xdb-module__go {
    background: #2563EB;
    border-color: #2563EB;
    color: #fff;
}

/* List mode */
.xdb-list .xdb-module {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    min-height: 0;
    padding: 16px 20px;
}

.xdb-list .xdb-module__icon {
    margin-bottom: 0;
    flex: 0 0 48px;
}

.xdb-list .xdb-module__body {
    flex: 1 1 auto;
}

.xdb-list .xdb-module__go {
    position: static;
}

.xdb-noresult {
    grid-column: 1 / -1;
    padding: 40px;
    text-align: center;
    color: #94A3B8;
}

@media (max-width: 1200px) {
    .xdb-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .xdb-sidebar { display: none; }
    .xdb-grid { grid-template-columns: 1fr; }
    .xdb-cards-top { grid-template-columns: 1fr; }
    .xdb-header, .xdb-content, .xdb-footer { padding-left: 20px; padding-right: 20px; }
}
