:root {
    /* Cores Base */
    --gd-color-primary: var(--color-accent);
    --gd-color-primary-hover: var(--color-accent);
    --gd-color-secondary: var(--bg-subtle);
    --gd-color-secondary-hover: var(--bg-subtle);
    
    --gd-color-success: var(--color-success);
    --gd-color-success-hover: var(--color-success);
    --gd-color-warning: var(--color-warning);
    --gd-color-danger: var(--color-danger);
    --gd-color-info: var(--color-info);
    
    --gd-color-dark: var(--text-dark);
    --gd-color-text: var(--text-dark);
    --gd-color-muted: var(--text-muted);
    --gd-color-light: var(--bg-subtle);
    --gd-color-border: var(--border-color);
    --gd-color-body-bg: var(--bg-body);

    /* Fontes e Pesos */
    --gd-font-family: var(--font-family-base);
    --gd-font-weight-regular: var(--font-weight-regular);
    --gd-font-weight-medium: var(--font-weight-medium);
    --gd-font-weight-semibold: 600;
    --gd-font-weight-bold: var(--font-weight-semibold);
    --gd-font-weight-black: var(--font-weight-semibold);

    /* Bordas e Sombras */
    --gd-radius-sm: var(--radius-sm);
    --gd-radius-md: var(--radius-md);
    --gd-radius-lg: var(--radius-xl);
    --gd-radius-pill: var(--radius-pill);
    --gd-shadow-sm: var(--shadow-sm);
    --gd-shadow-md: var(--shadow-md);
}

/* ==========================================================================
   RESET & TYPOGRAPHY
   ========================================================================== */
body {
    font-family: var(--gd-font-family);
    color: var(--gd-color-dark);
    background-color: var(--gd-color-body-bg);
}

/* ==========================================================================
   HEADER PADRÃO DO SISTEMA (.gd-header-*)
   ========================================================================== */
.gd-page-header-wrapper {
    background-color: aliceblue;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.gd-header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem .5rem;
}

.gd-header-left {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.gd-header-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--bs-primary);
}

.gd-header-icon {
    font-size: 3.5rem;
    font-weight: 400;
}

.gd-header-info {
    display: flex;
    flex-direction: column;
    gap: 0rem;
}

.gd-header-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--bs-primary);
    margin-bottom: 0;
    line-height: 1.2;
}

.gd-header-subtitle {
    font-size: 0.85rem;
    font-weight: 400;
    color: #64748b;
    margin-bottom: 0;
}

.gd-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .gd-page-header-wrapper {
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }
    
    .gd-header-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.5rem;
        margin-top: 0;
    }

    .gd-header-left {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
    }

    .gd-header-icon-wrap {
        width: 42px;
        height: 42px;
        min-width: 42px;
        background: #ffffff;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.03);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .gd-header-icon {
        font-size: 1.5rem;
        color: var(--bs-primary);
    }

    .gd-header-info {
        gap: 0.1rem;
    }

    .gd-header-title {
        font-size: 1.15rem;
        font-weight: 600;
        letter-spacing: -0.02em;
        line-height: 1.2;
        color: #0f172a;
        margin-bottom: 0;
    }

    .gd-header-subtitle {
        font-size: 0.8rem;
        line-height: 1.3;
        color: #64748b;
    }

    .gd-header-actions {
        display: none !important;
    }

    .gd-header-actions::-webkit-scrollbar {
        display: none;
    }
    
    .gd-filter-btn--pill {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }
}

/* ==========================================================================
   FILTER BAR COMPONENTS
   ========================================================================== */
.gd-filter-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gd-filter-btn {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #64748b;
    text-decoration: none;
}

.gd-filter-btn:hover {
    background-color: #f8fafc;
}

.gd-filter-btn--circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

.gd-filter-btn--pill {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.875rem;
    gap: 0.5rem;
}

.gd-filter-btn--active {
    background-color: var(--bs-primary);
    color: #ffffff;
    border-color: var(--bs-primary);
}

.gd-filter-btn--active .material-symbols-outlined {
    color: #ffffff !important;
}

.gd-filter-btn--active:hover {
    background-color: #016ab3; /* slightly darker primary */
}

.gd-filter-divider {
    width: 1px;
    height: 24px;
    background-color: #cbd5e1;
    margin: 0 0.25rem;
}

.gd-filter-dropdown-menu {
    border: none !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    border-radius: 1rem !important;
    padding: 0.5rem !important;
}

.gd-filter-dropdown-item {
    border-radius: 0.5rem !important;
    padding: 0.5rem 1rem !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    color: #334155;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gd-filter-dropdown-item:hover {
    background-color: #f1f5f9;
}

.gd-filter-dropdown-item.active {
    background-color: var(--bs-primary) !important;
    color: #ffffff !important;
}

.gd-filter-dropdown-item.active .material-symbols-outlined,
.gd-filter-dropdown-item.active i {
    color: #ffffff !important;
}

/* Dropdown Sub-components & Modifiers */
.gd-filter-dropdown-wrapper { position: relative; }
.gd-filter-hide-mobile { display: none !important; }
@media (min-width: 768px) {
    .gd-filter-dropdown-wrapper--spaced { margin-right: 0.5rem; }
    .gd-filter-hide-mobile { display: flex !important; }
    .gd-filter-hide-mobile.gd-filter-divider { display: block !important; }
}

.gd-filter-btn__text { color: #1e293b; }
.gd-filter-btn__icon-primary { font-size: .7rem; color: #31a8ff; background-color: #001e36; padding: 3px; border-radius: 6px;}
.gd-filter-btn__icon-muted { font-size: 1.25rem; color: #64748b; }
.gd-filter-btn__icon-small { font-size: 1rem; color: #94a3b8; }

.gd-filter-dropdown-menu--sm { min-width: 220px; margin-top: 0.25rem; }
.gd-filter-dropdown-menu--md { min-width: 260px; margin-top: 0.25rem; }

.gd-filter-dropdown-header {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #64748b;
    padding: 0.5rem 1rem;
    margin: 0;
}

.gd-filter-dropdown-item--danger { color: #ef4444 !important; }
.gd-filter-dropdown-item--danger.active { background-color: #ef4444 !important; color: #ffffff !important; }
.gd-filter-dropdown-item--disabled {
    color: #94a3b8 !important;
    text-decoration: line-through;
    pointer-events: none;
    background-color: transparent !important;
}
.gd-filter-dropdown-item--flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.gd-filter-switch-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.25rem;
    border-radius: 0.5rem;
    margin-bottom: 0.125rem;
}
.gd-filter-switch-wrapper--active { background-color: var(--bs-primary); }
.gd-filter-switch-wrapper--active .gd-filter-dropdown-item { color: #ffffff !important; }
.gd-filter-switch-control { margin: 0 0.5rem; }

.gd-filter-btn--large { width: 42px; height: 42px; }
.gd-filter-btn--large-icon { font-size: 1.5rem; }

.gd-filter-dropdown-icon { font-size: 1.25rem; }
.gd-filter-dropdown-icon--primary { color: var(--bs-primary); }
.gd-filter-dropdown-icon--success { color: #10b981; }
.gd-filter-dropdown-icon--danger { color: #ef4444; }
.gd-filter-dropdown-icon--dark { color: #0f172a; }

.gd-filter-badge-danger {
    background-color: #ef4444;
    color: white;
    border-radius: 9999px;
    padding: 0.25em 0.5em;
    font-size: 0.75em;
}

/* ==========================================================================
   ANIMAÇÕES E EFEITOS (ANIMATE.CSS CUSTOMIZADO)
   ========================================================================== */

/* ==========================================================================
   BOTÕES (.gd-btn-*)
   ========================================================================== */
.gd-btn-primary, .gd-btn-secondary {
    font-family: var(--gd-font-family);
    font-weight: var(--gd-font-weight-medium);
    font-size: 0.85rem;
    border-radius: var(--gd-radius-sm);
    padding: 0.4rem 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.gd-btn-primary {
    background-color: rgba(1, 125, 211, 0);
    color: var(--color-accent);
}

.gd-btn-primary:hover {
    background-color: #017bd300;
    color: var(--gd-color-muted);
}

.gd-btn-secondary {
    background-color: transparent;
    color: var(--gd-color-muted);
}

.gd-btn-secondary:hover {
    background-color: rgba(100, 116, 139, 0.08);
    color: var(--gd-color-dark);
}

/*
.btn {
    color: var(--color-accent);
    border-color: transparent!important;
}
.btn:hover, .btn.active {
    color: var(--bs-btn-hover-color);
    border-color: transparent !important;
}
.btn.active {
    color: var(--bs-btn-active-color);
    background-color: var(--bs-btn-active-bg)!important;
    border-color: var(--bs-btn-active-border-color)!important;
}
*/
@media (max-width: 768px) {
    .gd-btn-primary, .gd-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   CARDS E KPIs (.gd-card, .gd-kpi-box)
   ========================================================================== */
.gd-card {
    padding: 1.5rem;
    border-radius: var(--gd-radius-lg, 16px);
    overflow: hidden;
    box-shadow: var(--gd-shadow-sm, 0 4px 20px rgba(0,0,0,0.015));
    position: relative;
    background: var(--bg-surface);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}
.gd-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.gd-card-header h6.text-style {
    position: relative;
    font-size: 0.875rem;
    font-weight: var(--gd-font-weight-medium);
    color: var(--gd-color-dark);
    margin-bottom: 0;
}
.gd-card-value-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.gd-card-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.gd-card-title {
    font-size: 0.85rem;
    font-weight: var(--gd-font-weight-medium);
    color: var(--gd-color-muted);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* KPI Box — definição canônica única (Fase 6) */
.gd-kpi-box {
    padding: 20px;
    border-radius: var(--gd-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--gd-color-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: transform 0.2s ease;
}

.gd-kpi-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10%;
    height: 20%;
    width: 5px;
    border-radius: 0 var(--gd-radius-sm) var(--gd-radius-sm) 0;
    background-color: var(--gd-color-primary);
}

.gd-kpi-box:hover {
    transform: translateY(-3px);
}

/* KPI values — unificado 1.7rem / regular / letter-spacing */
.gd-kpi-value {
    font-size: 1.7rem;
    font-weight: var(--gd-font-weight-regular);
    color: var(--gd-color-dark);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.06rem;
}

.gd-kpi-value--danger { color: var(--color-danger); }
.gd-kpi-value--success { color: var(--color-success); }
/* ==========================================================================
   FILTROS (.gd-filter-bar, .gd-filter-item)
   ========================================================================== */
/* Fase 4 — Filtros: sem background, cor primary, hover cinza, active underline */
.gd-filter-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0.2rem 0;
    background-color: transparent;
    border-radius: 0;
    flex-wrap: wrap;
    margin-bottom: 0;
    position: relative;
}

.gd-midle-menu {
    border-radius: 0;
    align-items: center;
    border: 0;
    padding: 0;
}
.gd-midle-menu a {
    margin: 0;
    padding: 0.4rem 0.8rem;
    background-color: transparent;
    color: var(--gd-color-primary);
    border: 0;
    border-radius: 0;
    font-weight: var(--gd-font-weight-medium);
    align-items: center;
    display: flex;
    text-decoration: none;
    transition: color 0.2s ease;
}
.gd-midle-menu a:hover {
    color: var(--gd-color-muted);
    background: transparent;
}

.gd-filter-item {
    font-family: var(--gd-font-family);
    font-weight: var(--gd-font-weight-medium);
    font-size: 0.85rem;
    color: var(--gd-color-primary);
    padding: 0.4rem;
    border-radius: var(--gd-radius-sm);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 3px;
}

.gd-filter-item:hover {
    color: var(--gd-color-muted);
    background: transparent;
}

.gd-filter-item.active {
    color: var(--gd-color-dark);
    border-bottom: 2px solid var(--gd-color-primary);
    border-radius: 0;
}

.gd-menu-job {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: -5px;
}
.gb-det-job {
    font-size: 0.8rem;
    font-weight: 400;
    display: flex;
    gap: .1rem;
    align-items: center;
    flex-wrap: wrap;
    color: var(--bs-secondary-color);
}

@media (max-width: 768px) {
    .gd-filter-bar {
        border-radius: var(--gd-radius-md);
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }
    .gd-filter-bar::-webkit-scrollbar {
        display: none;
    }
}

/* ==========================================================================
   MENU EM ABAS (.gd-tabs-nav, .gd-tab-link)
   ========================================================================== */
.gd-tabs-nav {
    display: flex;
    gap: 0.1rem;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--gd-color-border);
    padding-bottom: 0.5rem;
}

.gd-tabs-nav::-webkit-scrollbar {
    display: none;
}

/* Fase 4 — Tabs: sem background, primary default, underline no active */
.gd-tab-link {
    font-family: var(--gd-font-family);
    font-weight: var(--gd-font-weight-medium);
    font-size: 0.85rem;
    color: var(--gd-color-primary);
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.6rem 1rem;
    border-radius: 0;
    background: transparent;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.gd-tab-link:hover {
    color: var(--gd-color-muted);
    background: transparent;
}

.gd-tab-link.active {
    color: var(--gd-color-dark);
    background: transparent;
    font-weight: var(--gd-font-weight-medium);
    border-bottom: 2px solid var(--gd-color-primary);
}

/* ==========================================================================
   KANBAN, GRADES E LISTAS
   ========================================================================== */
/* Kanban */
.gd-kanban-board {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
}

.gd-kanban-column {
    min-width: 300px;
    width: 300px;
    background-color: #f8fafc;
    border-radius: var(--gd-radius-md);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gd-kanban-card {
    background-color: #ffffff;
    border: 1px solid var(--gd-color-border);
    border-radius: var(--gd-radius-sm);
    padding: 1rem;
    box-shadow: var(--gd-shadow-sm);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gd-kanban-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--gd-shadow-md);
}

/* Grid */
.gd-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gd-grid-card {
    background-color: #ffffff;
    border: 1px solid var(--gd-color-border);
    border-radius: var(--gd-radius-md);
    padding: 1.5rem;
    box-shadow: var(--gd-shadow-sm);
    transition: all 0.2s ease;
}

.gd-grid-card:hover {
    box-shadow: var(--gd-shadow-md);
}

@media (max-width: 768px) {
    .gd-grid-container {
        grid-template-columns: 1fr;
    }
}

/* List */
.gd-list-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gd-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border: 1px solid var(--gd-color-border);
    border-radius: var(--gd-radius-sm);
    padding: 1rem 1.5rem;
    transition: all 0.2s ease;
}

.gd-list-item:hover {
    background-color: var(--gd-color-secondary);
}

@media (max-width: 768px) {
    .gd-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}
/* ========================================================
   DASHBOARD COMPONENTS (GD- PREFIX)
   Migrated from ds-kpi-box, ds-card, relatorio-inter, etc.
   Absorbing Bootstrap utilities like p-4, h-100, d-flex, mb-3
   ======================================================== */

/* KPIs — duplicata removida, definição canônica está na linha ~213 */

/* Cards (ex ds-card) */


/* Progress Track */
.gd-progress-track {
    margin-bottom: 0.5rem; /* Absorbs mb-2 */
}

/* KPI Badges */
.gd-badge-success { background: rgba(34, 197, 94, 0.1); color: #22c55e; padding: 4px 8px; border-radius: 6px; font-weight: 400; font-size: 0.75rem; display: inline-flex; align-items: center; }
.gd-badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 4px 8px;
    border-radius: 25px;
    font-weight: 400;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
}
.gd-badge-info { background: rgba(59, 130, 246, 0.1); color: #3b82f6; padding: 4px 8px; border-radius: 6px; font-weight: 400; font-size: 0.75rem; display: inline-flex; align-items: center; }



/* Dashboard Internal Reports (ex relatorio-inter) */
.gd-report-item {
    position: relative;
    background: #ffffff;
    border-radius: var(--gd-radius-md, 12px);
    padding: 1.25rem 1rem;
    border: 1px solid #f2f8fd;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    text-align: right;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%; /* Absorbs h-100 */
    cursor: pointer; /* Absorbs inline cursor pointer */
}
.gd-report-item:hover {
    transform: translateY(-5px);
}
.gd-report-item:active {
    transform: scale(0.97);
    transition: transform 0.1s ease;
}
.gd-report-item .gd-icon-bg {
    position: absolute;
    left: -10px;
    bottom: -15px;
    font-size: 4.5rem;
    opacity: 0.12;
    transform: rotate(15deg);
    color: var(--card-accent-color, var(--gd-color-primary, #017dd3));
    z-index: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.gd-report-item:hover .gd-icon-bg {
    transform: rotate(20deg) scale(1.15);
    opacity: 0.2;
}
.gd-report-item .gd-kpi-value {
    font-size: 1.7rem;
    font-weight: var(--gd-font-weight-regular);
    line-height: 1;
    margin-bottom: 0.25rem;
    color: var(--gd-color-dark);
    letter-spacing: -0.06rem;
}
.gd-report-item span.text-uppercase {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #64748b;
}
.gd-report-item .gd-card-arrow {
    position: absolute;
    left: 15px;
    bottom: 15px;
    font-size: 0.8rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
    color: var(--card-accent-color, var(--gd-color-primary, #017dd3));
}
.gd-report-item:hover .gd-card-arrow {
    opacity: 1;
    transform: translateX(0);
}
.gd-report-item.card-clientes {
    --card-accent-color: #10b981;
    --card-gradient: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.08) 0%, rgba(255, 255, 255, 1) 100%);
    background: var(--card-gradient);
    border: 1px solid rgba(16, 185, 129, 0.15);
}
.gd-report-item.card-clientes:hover {
    box-shadow: 0 12px 24px -10px rgba(16, 185, 129, 0.3);
    border-color: rgba(16, 185, 129, 0.3);
}
.gd-report-item.card-leads {
    --card-accent-color: #f97316;
    --card-gradient: radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.08) 0%, rgba(255, 255, 255, 1) 100%);
    background: var(--card-gradient);
    border: 1px solid rgba(249, 115, 22, 0.15);
}
.gd-report-item.card-leads:hover {
    box-shadow: 0 12px 24px -10px rgba(249, 115, 22, 0.3);
    border-color: rgba(249, 115, 22, 0.3);
}
.gd-report-item.card-jobs {
    --card-accent-color: #0ea5e9;
    --card-gradient: radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.08) 0%, rgba(255, 255, 255, 1) 100%);
    background: var(--card-gradient);
    border: 1px solid rgba(14, 165, 233, 0.15);
}
.gd-report-item.card-jobs:hover {
    box-shadow: 0 12px 24px -10px rgba(14, 165, 233, 0.3);
    border-color: rgba(14, 165, 233, 0.3);
}
.gd-report-item.card-nuvem {
    --card-accent-color: #8b5cf6;
    --card-gradient: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, rgba(255, 255, 255, 1) 100%);
    background: var(--card-gradient);
    border: 1px solid rgba(139, 92, 246, 0.15);
}
.gd-report-item.card-nuvem:hover {
    box-shadow: 0 12px 24px -10px rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.3);
}

/* Mobile responsive resets */
@media (max-width: 767.98px) {
    .gd-card {
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        border: none !important;
        margin-bottom: 0 !important;
        margin-top: 20px;
    }
    .gd-card-header { padding: 0 20px; }
    .gd-kpi-box { padding: 15px; }
}

/* Dashboard Card Variations */
.gd-card-profile {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.gd-card-onboarding {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border: 2px dashed #cbd5e1 !important;
    box-shadow: none !important;
}
.gd-card-no-margin {
    margin: 0 !important;
}
.gd-card-empty {
    text-align: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}
/* Fix Progress Tracks */
.gd-progress-track { 
    height: 6px; 
    border-radius: 3px; 
    background-color: #f1f5f9; 
    margin: 12px 0 0.5rem 0; 
    padding: 0; 
}
.gd-progress-track .progress-bar { 
    height: 100%; 
    display: block; 
    transition: width 0.6s ease-in-out; 
}

.gd-card-breakdown-progress { 
    width: 100%; 
    margin-top: 6px; 
    z-index: 1; 
    position: relative; 
    text-align: right; 
}
.gd-card-breakdown-progress .progress { 
    height: 4px; 
    background-color: rgba(139, 92, 246, 0.15) !important; 
    border-radius: 2px; 
    margin-bottom: 3px; 
    overflow: hidden; 
    display: flex; 
}
.gd-card-breakdown-progress .progress-bar { 
    background-color: #8b5cf6 !important; 
    height: 100%; 
    border-radius: 2px; 
}
.gd-card-breakdown-progress .progress-desc { 
    font-size: 0.65rem; 
    color: #64748b; 
    font-weight: 500; 
}

.gd-card-breakdown { 
    display: flex; 
    gap: 4px; 
    margin-top: 6px; 
    flex-wrap: wrap; 
    justify-content: flex-end; 
    width: 100%; 
    z-index: 1; 
    position: relative; 
}
.gd-card-pill { 
    font-size: 0.65rem; 
    font-weight: 600; 
    padding: 2px 6px; 
    border-radius: 4px; 
    display: inline-flex; 
    align-items: center; 
    line-height: 1; 
    text-transform: none; 
}

.pill-active { background-color: rgba(16, 185, 129, 0.1) !important; color: #10b981 !important; }
.pill-lead { background-color: rgba(249, 115, 22, 0.1) !important; color: #f97316 !important; }
.pill-new { background-color: rgba(59, 130, 246, 0.1) !important; color: #3b82f6 !important; }
.pill-proposal { background-color: rgba(245, 158, 11, 0.1) !important; color: #f59e0b !important; }
.pill-agenda { background-color: rgba(14, 165, 233, 0.1) !important; color: #0ea5e9 !important; }
.pill-edicao { background-color: rgba(139, 92, 246, 0.1) !important; color: #8b5cf6 !important; }

/* ==========================================================================
   TABELAS E LISTAS (.gd-table)
   ========================================================================== */
.gd-table-container {
    background: #ffffff;
    border-radius: var(--gd-radius-md, 12px);
    box-shadow: var(--gd-shadow-sm, 0 4px 20px rgba(0,0,0,0.015));
    border: 1px solid var(--gd-color-border);
    overflow: hidden;
}

.gd-table-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--gd-color-border);
}

.gd-table {
    width: 100%;
    margin-bottom: 0;
    color: var(--gd-color-dark);
    border-collapse: collapse;
}

.gd-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gd-color-muted);
    font-weight: 600;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gd-color-border);
    background-color: var(--gd-color-light);
    white-space: nowrap;
}

.gd-table td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--gd-color-border);
    color: var(--gd-color-dark);
}

.gd-table tbody tr {
    transition: background-color 0.2s ease;
}

.gd-table tbody tr:hover {
    background-color: var(--gd-color-secondary-hover);
}

.gd-table tbody tr:last-child td {
    border-bottom: none;
}

/* ==========================================================================
   FORMULÁRIOS (.gd-form-label, .gd-input)
   ========================================================================== */
.gd-form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--gd-color-muted);
    margin-bottom: 0.4rem;
}

.gd-input {
    display: block;
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--gd-color-dark);
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    appearance: none;
    border-radius: var(--gd-radius-sm, 8px);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.gd-input:focus {
    color: var(--gd-color-dark);
    background-color: #ffffff;
    border-color: rgba(1, 125, 211, 0.5); /* Primary Accent color approx */
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(1, 125, 211, 0.15);
}

.gd-input::placeholder {
    color: #adb5bd;
    opacity: 1;
}

.gd-input:disabled,
.gd-input[readonly] {
    background-color: var(--gd-color-secondary);
    opacity: 1;
}

/* Fix for select using gd-input */
select.gd-input {
    padding-right: 2.25rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

/* ==========================================================================
   SISTEMA UNIFICADO DE OFFCANVAS / MODAIS — GD Design System
   Aplicar: class="offcanvas gd-offcanvas offcanvas-end" (ou offcanvas-bottom)
   Sub-elementos: .gd-offcanvas-header, .gd-offcanvas-body, .gd-offcanvas-footer
   Tabs internos:  .gd-offcanvas-tabs  (nav) + .gd-offcanvas-tab (link)
   ========================================================================== */

/* ── 1. Container ─────────────────────────────────────────────────────── */
.gd-offcanvas {
    background-color: var(--bg-surface, #ffffff);
    border: none;
    display: flex;
    flex-direction: column;
    /* Largura padrão — sobrescrever via style="max-width: Xpx" quando necessário */
    width: 100%;
    max-width: 600px;
}

/* Desktop: painel flutuante com cantos arredondados */
@media (min-width: 768px) {
    .gd-offcanvas {
        height: calc(100vh - 2rem) !important;
        top: 1rem !important;
        bottom: 1rem !important;
        right: 1rem !important;
        /*border-radius: var(--gd-radius-lg, 20px) !important;*/
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14) !important;
        z-index: 1060 !important;
    }
    /* Variante estreita (ex: listas, configs) */
    .gd-offcanvas.gd-offcanvas--narrow {
        max-width: 420px;
    }
    /* Variante larga (ex: formulários complexos) */
    .gd-offcanvas.gd-offcanvas--wide {
        max-width: 780px;
    }
}

/* Mobile: ocupa quase toda a tela com margem para o nav */
@media (max-width: 767.98px) {
    .gd-offcanvas {
        top: 1rem !important;
        bottom: calc(72px + env(safe-area-inset-bottom)) !important;
        right: 0.75rem !important;
        left: 0.75rem !important;
        width: calc(100% - 1.5rem) !important;
        max-width: none !important;
        height: auto !important;
        border-radius: var(--gd-radius-lg, 20px) !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.16) !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        z-index: 1060 !important;
    }
}

/* ── 2. Header ────────────────────────────────────────────────────────── */
.gd-offcanvas-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gd-color-border, #e2e8f0);
    background-color: var(--bg-surface, #ffffff);
    flex-shrink: 0;
    gap: 1rem;
    border-radius: 0; /* herda do container */
}

/* Grupo título + subtítulo */
.gd-offcanvas-header-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

/* Ícone opcional ao lado do título */
.gd-offcanvas-header-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--gd-radius-sm, 8px);
    background: rgba(1, 125, 211, 0.08);
    color: var(--gd-color-primary, #017dd3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.gd-offcanvas-title {
    font-size: 1rem;
    font-weight: var(--gd-font-weight-medium, 500);
    color: var(--gd-color-dark, #1e293b);
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.gd-offcanvas-subtitle {
    font-size: 0.8rem;
    color: var(--gd-color-muted, #64748b);
    margin: 0;
    line-height: 1.4;
}

/* Botão fechar unificado */
.gd-offcanvas-close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: var(--gd-radius-sm, 8px);
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gd-color-muted, #64748b);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    padding: 0;
    margin-top: -2px;
    opacity: 1;
}
.gd-offcanvas-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--gd-color-dark, #1e293b);
}

/* ── 3. Tabs internos (substitui nav-pills / ds-filter-nav dentro do offcanvas) */
.gd-offcanvas-tabs {
    display: flex;
    gap: 0;
    padding: 0.75rem 1.5rem 0;
    border-bottom: 1px solid var(--gd-color-border, #e2e8f0);
    background: var(--bg-surface, #ffffff);
    overflow-x: auto;
    scrollbar-width: none;
    flex-shrink: 0;
}
.gd-offcanvas-tabs::-webkit-scrollbar { display: none; }

.gd-offcanvas-tab {
    flex: 1;
    text-align: center;
    font-size: 0.82rem;
    font-weight: var(--gd-font-weight-medium, 500);
    color: var(--gd-color-primary, #017dd3);
    padding: 0.5rem 0.75rem;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: -1px; /* senta sobre o border-bottom do container */
}
.gd-offcanvas-tab:hover {
    color: var(--gd-color-muted, #64748b);
    background: transparent;
}
.gd-offcanvas-tab.active,
.gd-offcanvas-tab[aria-selected="true"] {
    color: var(--gd-color-dark, #1e293b);
    border-bottom-color: var(--gd-color-primary, #017dd3);
    background: transparent;
}

/* ── 4. Body ──────────────────────────────────────────────────────────── */
.gd-offcanvas-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.12) transparent;
}
.gd-offcanvas-body::-webkit-scrollbar {
    width: 4px;
}
.gd-offcanvas-body::-webkit-scrollbar-track {
    background: transparent;
}
.gd-offcanvas-body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 2px;
}

/* Variante sem padding (para forms com tabs próprios ou layout customizado) */
.gd-offcanvas-body.gd-offcanvas-body--flush {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* Conteúdo scrollável dentro de body flush (tab-panes, etc.) */
.gd-offcanvas-body--flush .gd-offcanvas-tab-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.1) transparent;
}

/* ── 5. Footer ────────────────────────────────────────────────────────── */
.gd-offcanvas-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--gd-color-border, #e2e8f0);
    background-color: var(--bg-surface, #ffffff);
    flex-shrink: 0;
    position: absolute;
    bottom: 0;
    width: stretch;
    max-width: 550px;
}
/* Footer com botão à esquerda (ex: deletar) e ações à direita */
.gd-offcanvas-footer.gd-offcanvas-footer--split {
    justify-content: space-between;
}

/* ── 6. Variante Bottom (filtros mobile) ──────────────────────────────── */
.gd-offcanvas.gd-offcanvas--bottom {
    border-top-left-radius: var(--gd-radius-lg, 20px) !important;
    border-top-right-radius: var(--gd-radius-lg, 20px) !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12) !important;
    height: auto !important;
    max-height: 85vh !important;
    top: auto !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: none !important;
    border: none !important;
    border-top: 1px solid var(--gd-color-border, #e2e8f0) !important;
}

/* Itens de filtro no offcanvas-bottom */
.gd-offcanvas--bottom .gd-offcanvas-body {
    padding: 0.5rem 1rem 1.5rem;
}

.gd-offcanvas-filter-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    border-radius: var(--gd-radius-sm, 8px);
    font-size: 0.875rem;
    font-weight: var(--gd-font-weight-medium, 500);
    color: var(--gd-color-primary, #017dd3);
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    transition: background 0.15s ease, color 0.15s ease;
    text-decoration: none;
    margin-bottom: 0.2rem;
}
.gd-offcanvas-filter-item:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--gd-color-muted, #64748b);
}
.gd-offcanvas-filter-item.active {
    background: rgba(1, 125, 211, 0.07);
    color: var(--gd-color-primary, #017dd3);
    font-weight: var(--gd-font-weight-medium, 500);
}

/* ── 7. Backdrop unificado ────────────────────────────────────────────── */
.offcanvas-backdrop {
    background-color: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(2px);
}

/* ── 8. Manter compatibilidade com classes legadas (offcanvas-floating) ── */
.offcanvas-floating,
.ds-offcanvas-floating {
    /* Delega para as mesmas regras do gd-offcanvas via propriedades diretas */
    background-color: var(--bg-surface, #ffffff) !important;
    border: none !important;
}
@media (min-width: 768px) {
    .offcanvas-floating,
    .ds-offcanvas-floating {
        height: calc(100vh - 2rem) !important;
        top: 1rem !important;
        bottom: 1rem !important;
        right: 1rem !important;
        border-radius: var(--gd-radius-lg, 20px) !important;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14) !important;
        z-index: 1060 !important;
    }
}
@media (max-width: 767.98px) {
    .offcanvas-floating,
    .ds-offcanvas-floating {
        top: 1rem !important;
        bottom: calc(72px + env(safe-area-inset-bottom)) !important;
        right: 0.75rem !important;
        left: 0.75rem !important;
        width: calc(100% - 1.5rem) !important;
        max-width: none !important;
        height: auto !important;
        border-radius: var(--gd-radius-lg, 20px) !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.16) !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        z-index: 1060 !important;
    }
}

/* Override: offcanvas-header legado fica alinhado ao padrão */
.offcanvas-floating .offcanvas-header,
.ds-offcanvas-floating .offcanvas-header,
.offcanvas .offcanvas-header.main-header-wrapper {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gd-color-border, #e2e8f0) !important;
    background-color: var(--bg-surface, #ffffff);
    flex-shrink: 0;
}

/* Override: título legado */
.offcanvas .offcanvas-title {
    font-size: 1rem !important;
    font-weight: var(--gd-font-weight-medium, 500) !important;
    color: var(--gd-color-dark, #1e293b) !important;
    letter-spacing: -0.01em;
}

/* Override: subtítulo small/muted legado */
.offcanvas .offcanvas-header .text-muted.small {
    font-size: 0.8rem;
    margin-top: 0.15rem;
}

/* Override: botão fechar Bootstrap */
.offcanvas .btn-close {
    opacity: 0.5;
    transition: opacity 0.15s ease, background 0.15s ease;
    border-radius: var(--gd-radius-sm, 8px);
    padding: 0.4rem;
}
.offcanvas .btn-close:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.05);
}

/* Override: tabs legadas dentro de offcanvas (nav-pills, ds-filter-nav) */
.offcanvas .nav-pills.w-100 .nav-link,
.offcanvas .ds-filter-nav .ds-filter-link,
.offcanvas .nav .gd-filter-item {
    flex: 1;
    text-align: center;
    justify-content: center;
    font-size: 0.82rem !important;
    font-weight: var(--gd-font-weight-medium, 500) !important;
    color: var(--gd-color-primary, #017dd3) !important;
    padding: 0.5rem 0.75rem !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    transition: all 0.2s ease;
    margin-bottom: -1px;
}
.offcanvas .nav-pills.w-100 .nav-link:hover,
.offcanvas .ds-filter-nav .ds-filter-link:hover,
.offcanvas .nav .gd-filter-item:hover {
    color: var(--gd-color-muted, #64748b) !important;
    background: transparent !important;
}
.offcanvas .nav-pills.w-100 .nav-link.active,
.offcanvas .ds-filter-nav .ds-filter-link.active,
.offcanvas .nav .gd-filter-item.active {
    color: var(--gd-color-dark, #1e293b) !important;
    border-bottom-color: var(--gd-color-primary, #017dd3) !important;
    background: transparent !important;
}

/* Override: container de tabs legado dentro de offcanvas */
.offcanvas .px-4.pt-3.pb-2.bg-white.border-bottom {
    background: var(--bg-surface, #ffffff) !important;
    padding: 0.75rem 1.5rem 0 !important;
    border-bottom: 1px solid var(--gd-color-border, #e2e8f0) !important;
    box-shadow: none !important;
}

/* Override: body tabs legado */
.offcanvas .offcanvas-body.offcanvas-body-tabs {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    padding: 0;
}
.offcanvas .tab-content-scrollable {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    scrollbar-width: thin;
}

/* Override: offcanvas-md-custom (cliente_detalhes) */
.offcanvas-md-custom {
    background-color: var(--bg-surface, #ffffff) !important;
    border: none !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14) !important;
}
@media (min-width: 768px) {
    .offcanvas-md-custom {
        border-radius: var(--gd-radius-lg, 20px) !important;
        height: calc(100vh - 2rem) !important;
        top: 1rem !important;
        right: 1rem !important;
    }
}
@media (max-width: 767.98px) {
    .offcanvas-md-custom {
        top: 1rem !important;
        bottom: calc(72px + env(safe-area-inset-bottom)) !important;
        right: 0.75rem !important;
        left: 0.75rem !important;
        width: calc(100% - 1.5rem) !important;
        max-width: none !important;
        height: auto !important;
        border-radius: var(--gd-radius-lg, 20px) !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.16) !important;
        z-index: 1060 !important;
    }
}

/* Override: offcanvas-bottom (filtros mobile) legado */
.offcanvas-bottom.offcanvas-bottom-filter {
    border-top-left-radius: var(--gd-radius-lg, 20px) !important;
    border-top-right-radius: var(--gd-radius-lg, 20px) !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12) !important;
    height: auto !important;
    max-height: 100vh !important;
    background: var(--bg-surface, #ffffff) !important;
    border: none !important;
    border-top: 1px solid var(--gd-color-border, #e2e8f0) !important;
}

/* Avatar Padronizado */
.gd-avatar {
    border-radius: 50% !important;
    object-fit: cover;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    flex-shrink: 0;
    line-height: 1;
    border: none !important;
}

/* ==========================================================================
   MOBILE KPIs & SCROLL ROWS
   ========================================================================== */
.gd-mobile-scroll-row { flex-wrap: nowrap !important; overflow-x: auto !important; overflow-y: hidden !important; padding-bottom: 0.75rem !important; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.gd-mobile-scroll-row::-webkit-scrollbar { display: none; }
.gd-mobile-scroll-row > * { flex: 0 0 78% !important; }

.gd-mobile-fin-title { font-size: 1.3rem; font-weight: 600; color: var(--text-body); margin-bottom: 0.5rem; }
.gd-mobile-fin-divider { opacity: 0.1; margin-top: 0; margin-bottom: .5rem; }
.gd-mobile-fin-item { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; position: relative; background: var(--bg-surface); padding: 18px; border-radius: var(--radius-xl); }
.gd-mobile-fin-item::before { content: ""; position: absolute; left: 0; top: 9%; height: 36%; width: 6px; border-radius: 0 4px 4px 0; background-color: var(--color-accent, #017dd3); }
.gd-mobile-fin-item:last-child { margin-bottom: 0; }
.gd-mobile-fin-data { display: flex; flex-direction: column; }
.gd-mobile-fin-label { font-size: 0.85rem; color: #616263; }
.gd-mobile-fin-value { font-size: 1.4rem; font-weight: 500; }
.gd-kpi-mobile-row { display: flex; flex-wrap: wrap; width: 100%; gap: 0.5rem 0; }
.gd-col-mobile { flex: 0 0 50%; max-width: 50%; padding-right: 0.5rem; }
.gd-mobile-list { width: 100%; }


/* ==========================================================================
   BOTÕES PILL E ÍCONES (.gd-btn-*-pill)
   ========================================================================== */
.gd-btn-primary-pill {
    background-color: var(--gd-color-primary) !important;
    color: #ffffff !important;
    border: none !important;
    font-family: var(--gd-font-family) !important;
    font-size: 0.85rem !important;
    font-weight: var(--gd-font-weight-medium) !important;
    border-radius: 50rem !important;
    padding: 10px 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
}
.gd-btn-primary-pill:hover {
    background-color: var(--gd-color-primary-hover) !important;
    transform: translateY(-1px);
    box-shadow: var(--gd-shadow-sm);
}

.gd-btn-outline-primary-pill {
    background-color: transparent !important;
    border: 1px solid var(--gd-color-primary) !important;
    color: var(--gd-color-primary) !important;
    font-family: var(--gd-font-family) !important;
    font-size: 0.85rem !important;
    font-weight: var(--gd-font-weight-medium) !important;
    border-radius: 50rem !important;
    padding: 10px 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
}
.gd-btn-outline-primary-pill:hover {
    background-color: var(--gd-color-primary) !important;
    color: #ffffff !important;
}

.gd-btn-outline-danger-pill {
    background-color: transparent !important;
    border: 1px solid var(--bs-danger) !important;
    color: var(--bs-danger) !important;
    font-family: var(--gd-font-family) !important;
    font-size: 0.85rem !important;
    font-weight: var(--gd-font-weight-medium) !important;
    border-radius: 50rem !important;
    padding: 10px 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
}
.gd-btn-outline-danger-pill:hover {
    background-color: var(--bs-danger) !important;
    color: #ffffff !important;
}

.gd-btn-primary-icon {
    background-color: var(--gd-color-primary);
    color: #ffffff;
    border: none;
    border-radius: var(--gd-radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}
.gd-btn-primary-icon:hover {
    background-color: var(--gd-color-primary-hover);
    transform: translateY(-1px);
}


/* Fix para gd-input quando usado em input-group container */
.input-group.gd-input {
    display: flex !important;
    padding: 0 !important;
    align-items: stretch !important;
}
.input-group.gd-input > .form-control,
.input-group.gd-input > .input-group-text {
    padding: 0.65rem 1rem;
    height: auto;
    font-size: 0.9rem;
}
.input-group.gd-input:focus-within {
    border-color: rgba(1, 125, 211, 0.5) !important;
    box-shadow: 0 0 0 0.25rem rgba(1, 125, 211, 0.15) !important;
}
.input-group.gd-input > .form-control:focus {
    box-shadow: none !important;
}


/* ==========================================================================
   MOBILE FILTERS (OFFCANVAS MENUS)
   ========================================================================== */
.gd-mobile-filter-wrapper { 
    display: inline-flex; 
    align-items: center; 
    padding: 0; 
    margin-bottom: 0; 
    border: 1px solid rgba(0,0,0,0.06) !important; 
    background: #ffffff; 
    border-radius: 12px; 
    flex-grow: 1; 
}
.gd-mobile-filter-btn { 
    background-color: transparent; 
    border: none; 
    color: inherit; 
    padding: 0.65rem 1.2rem; 
    font-weight: 600; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    width: 100%; 
    min-width: 0; 
    border-radius: 12px; 
    cursor: pointer; 
    transition: all 0.2s ease; 
}
.gd-mobile-filter-btn:hover {
    background-color: var(--bg-subtle);
}
.gd-mobile-filter-btn-label { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    white-space: nowrap; 
}
.gd-mobile-filter-btn-value { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    flex-shrink: 0; 
    color: var(--gd-color-primary);
}
@media (min-width: 992px) {
    .gd-mobile-filter-wrapper { display: none !important; }
}

/* ==========================================================================
   GRID CARDS (.gd-grid-cards)
   ========================================================================== */
.gd-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
/* ==========================================================================
   ACTION BUTTONS (.gd-btn-action)
   ========================================================================== */
/* Fase 5 — Action button: transparente, cor primary, hover cinza */
.gd-btn-action {
    color: var(--gd-color-primary);
    font-weight: var(--gd-font-weight-medium);
    font-size: 0.85rem;
    padding: 0.4rem;
    border-radius: var(--gd-radius-sm);
    transition: all 0.2s ease;
    text-decoration: none;
    background-color: transparent;
    border: 0;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}
.gd-btn-action:hover {
    /*background-color: #f8f9fa;*/
    color: var(--gd-color-muted);
}
.gd-btn-action.active {
    background-color: var(--gd-color-primary);
    color: #ffffff;
    border-color: var(--gd-color-primary);
}
.gd-linha-job {
    padding: 0 10px 10px 10px;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-direction: row !important;
    justify-content: space-between;
    border-bottom: 1px solid #eaeaea;
}
/* Fase 5 — gd-btn: fundo transparente */
.gd-btn {
    background: transparent;
    display: block;
    width: 100%;
    text-align: center;
    height: 100%;
    line-height: 2;
    border: 1px solid var(--gd-color-border);
}
/* ==========================================================================
   FASE 7 — DROPDOWNS (padrão global)
   ========================================================================== */
.dropdown-item {
    font-size: 0.875rem;
    font-weight: var(--gd-font-weight-regular);
    color: var(--gd-color-dark);
    padding: 0.5rem 1rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.dropdown-item:hover {
    background-color: rgba(1, 125, 211, 0.05);
    color: var(--gd-color-primary);
}
.dropdown-item.active,
.dropdown-item:active {
    background-color: transparent;
    color: var(--gd-color-primary);
    font-weight: var(--gd-font-weight-medium);
}

.gd-gallery-nav{

}
.form-check-input[type=checkbox] {
    border-radius: 1em;
}
.border-secondary {
    --bs-border-opacity: 1;
    border-color: rgb(219 219 219) !important;
}

.gd-banner-sistem{
background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-bottom: none; width: 220px; box-shadow: inset 0 0 20px rgba(255,255,255,0.02); border-top-left-radius: 16px; border-top-right-radius: 16px; transition: all 0.3s ease;
}

/* ==========================================================================
   ONBOARDING CHECKLIST — Design System Nativo
   ========================================================================== */

/* Animação de entrada escalonada */
@keyframes onb-fade-up {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.onb-step-anim {
    opacity: 0;
    animation: onb-fade-up 0.4s ease forwards;
    animation-delay: var(--onb-delay, 0s);
}

/* Card de passo */
.onb-step {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: var(--gd-radius-md);
    border: 1.5px solid var(--gd-color-border);
    background: #fafbfc;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.onb-step:hover {
    border-color: rgba(25,100,163,0.2);
    box-shadow: 0 2px 10px rgba(25,100,163,0.05);
    background: #fff;
}
.onb-step.is-done {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

/* Ícone numerado */
.onb-step-icon {
    width: 38px; height: 38px;
    min-width: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    background: #f1f5f9;
    color: var(--gd-color-muted);
    transition: all 0.25s ease;
    flex-shrink: 0;
}
.onb-step-icon.is-done {
    background: var(--gd-color-success);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(16,185,129,0.15);
}

/* Textos */
.onb-step-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--gd-color-dark);
    margin-bottom: 0.1rem;
}
.onb-step-label s {
    color: var(--gd-color-muted);
    font-weight: 400;
}
.onb-step-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--gd-color-muted);
    line-height: 1.4;
}
.onb-step-time {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    color: var(--gd-color-primary);
    margin-top: 0.2rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Botão de ação */
.onb-step-btn {
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border-radius: 50rem;
    border: 1.5px solid var(--gd-color-primary);
    color: var(--gd-color-primary);
    background: transparent;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.onb-step-btn:hover {
    background: var(--gd-color-primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(25,100,163,0.2);
}
.onb-step-btn.is-done {
    border-color: #bbf7d0;
    color: var(--gd-color-success);
    background: transparent;
}
.onb-step-btn.is-done:hover {
    background: var(--gd-color-success);
    color: #fff;
    box-shadow: 0 4px 10px rgba(16,185,129,0.2);
}

/* Barra de progresso com milestones */
.onb-progress-wrap {
    margin-bottom: 1.5rem;
}
.onb-progress-track {
    position: relative;
    height: 8px;
    background: var(--border-color);
    border-radius: 50rem;
    overflow: visible;
    margin-bottom: 0.5rem;
}
.onb-progress-fill {
    position: absolute;
    left: 0; top: 0;
    height: 100%;
    border-radius: 50rem;
    background: linear-gradient(90deg, var(--gd-color-primary) 0%, #38bdf8 100%);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.onb-progress-milestone {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--border-color);
    border: 2px solid var(--color-white);
    box-shadow: 0 0 0 1px var(--border-color);
    transition: all 0.4s ease;
    z-index: 1;
}
.onb-progress-milestone.is-reached {
    background: var(--gd-color-primary);
    box-shadow: 0 0 0 3px rgba(25,100,163,0.2);
    border-color: #fff;
}
.onb-progress-steps-label {
    display: flex;
    justify-content: space-between;
    padding: 0 1%;
}
.onb-step-num-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    transition: color 0.3s;
}
.onb-step-num-label.is-done {
    color: var(--gd-color-primary);
}

/* Preview Card */
.onb-preview-wrap {
    position: relative;
    border-radius: var(--gd-radius-md);
    overflow: hidden;
    border: 1px solid var(--gd-color-border);
}
.onb-preview-img {
    width: 100%;
    display: block;
    filter: blur(1.5px) brightness(0.92);
    transition: filter 0.3s ease;
}
.onb-preview-card:hover .onb-preview-img {
    filter: blur(0px) brightness(1);
}
.onb-preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(25, 100, 163, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(1px);
    transition: all 0.3s ease;
}
.onb-preview-card:hover .onb-preview-overlay {
    background: rgba(25, 100, 163, 0.05);
    backdrop-filter: blur(0px);
}
.onb-preview-overlay-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.92);
    color: var(--gd-color-primary);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 50rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid rgba(25,100,163,0.15);
}

/* Toast de Celebração */
.onb-toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #ffffff;
    color: var(--gd-color-dark);
    border: 1.5px solid #bbf7d0;
    border-left: 4px solid var(--gd-color-success);
    border-radius: var(--gd-radius-md);
    padding: 0.75rem 1.25rem;
    font-size: 0.88rem;
    font-weight: 500;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    z-index: 9999;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    pointer-events: none;
}
.onb-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   UPGRADE BANNER — DNA do Sistema (Light, Coeso, Moderno)
   ========================================================================== */

.banner-upgrade-wrapper {
    background: #ffffff;
    color: var(--gd-color-dark);
    border: 1px solid var(--gd-color-border);
    border-radius: var(--gd-radius-lg);
    box-shadow: 0 4px 24px rgba(25, 100, 163, 0.07);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column;
}
@media (min-width: 768px) {
    .banner-upgrade-wrapper {
        flex-direction: row;
        align-items: flex-end;
    }
}

/* Linha de acento superior — usa a cor primária do sistema */
.banner-upgrade-decorator {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--gd-color-primary) 0%, #38bdf8 60%, var(--gd-color-success) 100%);
    border-radius: var(--gd-radius-lg) var(--gd-radius-lg) 0 0;
}

.banner-upgrade-inner {
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1;
    min-width: 0;
}

/* ---- Ícone Decorativo ---- */
.banner-upgrade-icon-wrap {
    display: none;
    margin-right: 1.25rem;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 0.25rem;
}
@media (min-width: 576px) {
    .banner-upgrade-icon-wrap { display: flex; align-items: center; justify-content: center; }
}
.banner-upgrade-icon-bubble {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, rgba(25,100,163,0.10) 0%, rgba(56,189,248,0.10) 100%);
    border: 1px solid rgba(25,100,163,0.12);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
}
.banner-upgrade-icon {
    font-size: 1.4rem;
    color: var(--gd-color-primary);
}

/* ---- Bloco de Texto ---- */
.banner-upgrade-text-wrap {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 1.5rem;
}

.banner-upgrade-eyebrow {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gd-color-primary);
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.banner-upgrade-eyebrow-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gd-color-primary);
    display: inline-block;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

.banner-upgrade-title {
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--gd-color-dark);
    font-size: 1.1rem;
    line-height: 1.3;
}
.banner-upgrade-title strong {
    color: var(--gd-color-primary);
}

.banner-upgrade-desc {
    margin-bottom: 0;
    color: var(--gd-color-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Chip do WhatsApp */
.banner-upgrade-wpp-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.85rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 50rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: #166534;
    text-decoration: none;
    width: fit-content;
    transition: all 0.2s ease;
}
.banner-upgrade-wpp-chip:hover {
    background: #dcfce7;
    border-color: #86efac;
    color: #14532d;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(22,163,74,0.12);
}
.banner-upgrade-wpp-chip i {
    font-size: 0.95rem;
    color: #16a34a;
}

/* ---- Progress Bar ---- */
.banner-upgrade-progress-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.1rem;
    margin-bottom: 0;
}
.banner-upgrade-progress-bg {
    flex-grow: 1;
    height: 5px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: visible;
    position: relative;
}
.banner-upgrade-progress-fill {
    background: linear-gradient(90deg, var(--gd-color-primary) 0%, #38bdf8 100%);
    position: relative;
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.banner-upgrade-progress-dot {
    position: absolute;
    right: -5px; top: -4px;
    width: 13px; height: 13px;
    background-color: var(--gd-color-primary);
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(25,100,163,0.15);
}
.banner-upgrade-progress-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gd-color-muted);
    white-space: nowrap;
    flex-shrink: 0;
}
.banner-upgrade-progress-label span {
    color: var(--gd-color-primary);
}

/* ---- Cards dos Planos (virados/subindo) ---- */
.banner-upgrade-cards-wrap {
    flex-shrink: 0;
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
    padding: 0 1.5rem 0 1.5rem;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
}
.banner-upgrade-cards-wrap::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
    .banner-upgrade-cards-wrap {
        padding: 0 1.5rem 0 0;
        overflow-x: visible;
        width: auto;
        align-self: flex-end;
    }
}

.banner-upgrade-link {
    text-decoration: none;
    display: block;
}

/* Cada card tem uma rotação sutil e parece estar "emergindo" do banner */
.banner-upgrade-link:nth-child(1) .banner-upgrade-minicard {
    transform: rotate(-1.5deg) translateY(4px);
}
.banner-upgrade-link:nth-child(2) .banner-upgrade-minicard {
    transform: rotate(0deg) translateY(0px); /* destaque: sem rotação, mais alto */
}
.banner-upgrade-link:nth-child(3) .banner-upgrade-minicard {
    transform: rotate(1.5deg) translateY(4px);
}
.banner-upgrade-link:nth-child(1) .banner-upgrade-minicard:hover {
    transform: rotate(-0.5deg) translateY(-4px);
}
.banner-upgrade-link:nth-child(2) .banner-upgrade-minicard:hover {
    transform: rotate(0deg) translateY(-6px);
}
.banner-upgrade-link:nth-child(3) .banner-upgrade-minicard:hover {
    transform: rotate(0.5deg) translateY(-4px);
}

.banner-upgrade-minicard {
    padding: 1rem;
    position: relative;
    overflow: hidden;
    background: var(--bg-surface);
    border: 1.5px solid var(--border-color);
    border-bottom: none;
    width: 160px;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}
.banner-upgrade-minicard:hover {
    box-shadow: 0 -8px 28px rgba(25,100,163,0.12);
}

/* Card de destaque tem borda primary e fundo ligeiramente azulado */
.banner-upgrade-minicard-destaque {
    border-color: var(--gd-color-primary);
    border-width: 2px;
    background: #f0f7ff;
    width: 175px;
}

.banner-upgrade-minicard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}
.banner-upgrade-minicard-title {
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--gd-color-muted);
    font-size: 0.65rem;
    letter-spacing: 0.07em;
}
.banner-upgrade-minicard-destaque .banner-upgrade-minicard-title {
    color: var(--gd-color-primary);
}
.banner-upgrade-minicard-badge {
    background: var(--gd-color-primary);
    color: #fff;
    font-size: 0.5rem;
    padding: 0.18em 0.45em;
    border-radius: 50rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.banner-upgrade-minicard-price {
    margin-bottom: 0.5rem;
    margin-top: 0.4rem;
    line-height: 1;
    display: flex;
    align-items: flex-start;
    gap: 1px;
}
.banner-upgrade-minicard-currency {
    font-size: 0.8rem;
    color: var(--gd-color-muted);
    vertical-align: top;
    margin-top: 0.2rem;
    font-weight: 600;
}
.banner-upgrade-minicard-amount {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--gd-color-dark);
    line-height: 1;
}
.banner-upgrade-minicard-destaque .banner-upgrade-minicard-amount {
    color: var(--gd-color-primary);
}
.banner-upgrade-minicard-cents {
    font-size: 0.85rem;
    color: var(--gd-color-muted);
    font-weight: 600;
    margin-top: 0.2rem;
}
.banner-upgrade-minicard-period {
    font-size: 0.65rem;
    color: var(--gd-color-muted);
    display: block;
    margin-top: 0.15rem;
    font-weight: 400;
}

.banner-upgrade-minicard-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    font-size: 0.65rem;
    color: var(--gd-color-muted);
    margin-top: 0.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 0.5rem;
}
.banner-upgrade-minicard-destaque .banner-upgrade-minicard-features {
    border-top-color: rgba(25,100,163,0.15);
}
.banner-upgrade-minicard-features li {
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.banner-upgrade-minicard-features i {
    color: var(--gd-color-success);
    font-size: 0.6rem;
    flex-shrink: 0;
}

/* Botão de fechar — leve, nativo do sistema */
.banner-upgrade-close {
    position: absolute;
    top: 10px; right: 10px;
    margin: 0; z-index: 100;
    background: transparent;
    border: 1px solid var(--gd-color-border);
    border-radius: 50%;
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--gd-color-muted);
    font-size: 0.7rem;
    transition: all 0.2s ease;
    opacity: 0.7;
}
.banner-upgrade-close:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    opacity: 1;
    color: var(--gd-color-dark);
}

/* ==========================================================================
   MOBILE RESPONSIVO — Onboarding + Banner Upgrade
   ========================================================================== */

@media (max-width: 767.98px) {

    /* ---- Saudação ---- */
    .saudacao-pessoal { font-size: 0.8rem; }
    .saudacao-entrada  { font-size: 1.25rem; }

    /* ---- Onboarding: passo em mobile ---- */
    .onb-step {
        flex-wrap: wrap;
        gap: 0.6rem;
        align-items: flex-start;
    }
    .onb-step-icon {
        width: 32px; height: 32px;
        min-width: 32px;
        font-size: 0.8rem;
        margin-top: 0.1rem;
    }
    .onb-step-label { font-size: 0.88rem; }
    .onb-step-desc  { font-size: 0.78rem; }

    /* Botão alinha com o texto */
    .onb-step-btn {
        margin-left: calc(32px + 0.6rem);
        font-size: 0.74rem;
        padding: 0.3rem 0.75rem;
    }

    /* ---- Barra de progresso ---- */
    .onb-progress-steps-label { display: none; }
    .onb-progress-milestone { width: 12px; height: 12px; }

    /* ---- Preview card ---- */
    .onb-preview-overlay-text { font-size: 0.72rem; padding: 0.35rem 0.75rem; }

    /* ---- Toast ---- */
    .onb-toast {
        width: calc(100vw - 2rem);
        white-space: normal;
        text-align: center;
        font-size: 0.82rem;
        bottom: 1rem;
    }

    /* ---- Banner Upgrade ---- */
    .banner-upgrade-wrapper { border-radius: var(--gd-radius-md); }
    .banner-upgrade-inner   { padding: 1.1rem 1rem 0 1rem; flex-direction: column; }
    .banner-upgrade-title   { font-size: 0.95rem; }
    .banner-upgrade-desc    { font-size: 0.8rem; }

    .banner-upgrade-wpp-chip {
        font-size: 0.72rem;
        padding: 0.25rem 0.6rem;
        white-space: normal;
        line-height: 1.4;
    }

    /* Cards: ajuste de tamanho em mobile (scroll já está no base CSS) */
    .banner-upgrade-cards-wrap {
        padding: 0 1rem 1rem 1rem;
    }

    .banner-upgrade-minicard {
        width: 130px;
        min-width: 130px;
        padding: 0.75rem;
    }
    .banner-upgrade-minicard-destaque {
        width: 145px;
        min-width: 145px;
    }
    .banner-upgrade-minicard-amount  { font-size: 1.5rem; }
    .banner-upgrade-minicard-features { font-size: 0.6rem; }

    /* Sem rotação em mobile */
    .banner-upgrade-link:nth-child(1) .banner-upgrade-minicard,
    .banner-upgrade-link:nth-child(2) .banner-upgrade-minicard,
    .banner-upgrade-link:nth-child(3) .banner-upgrade-minicard { transform: none; }

    .banner-upgrade-link:nth-child(1) .banner-upgrade-minicard:hover,
    .banner-upgrade-link:nth-child(2) .banner-upgrade-minicard:hover,
    .banner-upgrade-link:nth-child(3) .banner-upgrade-minicard:hover { transform: translateY(-4px); }

    /* Botão fechar maior p/ toque */
    .banner-upgrade-close { width: 32px; height: 32px; top: 8px; right: 8px; font-size: 0.8rem; }
}

/* Telas muito pequenas < 400px */
@media (max-width: 399.98px) {
    .onb-step-btn { margin-left: 0; width: 100%; text-align: center; }
    .banner-upgrade-minicard           { width: 115px; min-width: 115px; }
    .banner-upgrade-minicard-destaque  { width: 128px; min-width: 128px; }
}
.gd-entregas{
    max-width: 160px;
    cursor: pointer;
    font-size: 0.8rem !important;
    outline: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
    font-weight: 500 !important;
    padding-left: 0 !important;
}

.gd-card-premium {
    padding: 1rem;
    border: 1px solid #efefef;
    border-radius: 16px;
}
