/* 
    ============================================================================
    ACOMPANHAMENTO MODULE - ENTERPRISE SAFE (PERFECT VERSION)
    ============================================================================
    Architecture: Module-Scoped + Decoupled from Global Bootstrap/Utilities
    Design: Modern Blue Gradient, Soft Shadows, Clean Typography
    Safety: Zero global leaks, structural stability, future-proof
    ============================================================================
*/

/* 1. Module Base & Layout Isolation */
.acompanhamento-page {
    background: linear-gradient(rgba(248, 250, 252, 0.85), rgba(248, 250, 252, 0.85)), 
                url('../../../content/images/bg-avaliacao.png') !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    background-position: center !important;
    min-height: 100vh;
    margin: -15px -30px -60px -30px !important; /* Neutralizes standard container padding on all sides */
    padding: 15px 30px 100px 30px; /* Restores internal spacing and adds extra room at bottom */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.acompanhamento-page .js-reveal {
    opacity: 1;
    transform: none;
    filter: none;
}

.acompanhamento-page.reveal-ready .js-reveal {
    opacity: 0;
    transform: translate3d(-28px, 14px, 0);
    filter: blur(10px);
    transition: opacity 0.55s ease, transform 0.55s ease, filter 0.55s ease;
    will-change: opacity, transform, filter;
}

.acompanhamento-page.reveal-ready .js-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
}

.acompanhamento-page .js-reveal-delay-1 { transition-delay: 0.08s; }
.acompanhamento-page .js-reveal-delay-2 { transition-delay: 0.16s; }
.acompanhamento-page .js-reveal-delay-3 { transition-delay: 0.24s; }

.acompanhamento-page .acompanhamento-loader {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
        justify-content: center;
    padding: 18px 0 8px;
}

.acompanhamento-page .loader-shell {
    width: 100%;
    max-width: 1400px;
    padding: 0 24px;
}

.acompanhamento-page .loader-card {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
        align-items: center;
    gap: 16px;
    min-height: 92px;
    padding: 18px 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(191, 219, 254, 0.85);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
}

.acompanhamento-page .loader-pulse {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #3f7ef3 0%, #0a46a6 100%);
    position: relative;
    overflow: hidden;
    -ms-flex-negative: 0;
        flex-shrink: 0;
}

.acompanhamento-page .loader-pulse::after,
.acompanhamento-page .loader-line::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0) 100%);
    animation: acompanhamentoShimmer 1.3s ease-in-out infinite;
}

.acompanhamento-page .loader-copy {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
    gap: 10px;
    width: min(420px, 100%);
}

.acompanhamento-page .loader-line {
    position: relative;
    overflow: hidden;
    border-radius: 999px;
    background: #dbeafe;
    height: 12px;
}

.acompanhamento-page .loader-line.line-short { width: 38%; }
.acompanhamento-page .loader-line.line-medium { width: 58%; }
.acompanhamento-page .loader-line.line-long { width: 82%; }

@keyframes acompanhamentoShimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Nuclear option to remove all focus/active black outlines across the module */
.acompanhamento-page *:focus,
.acompanhamento-page *:active,
.acompanhamento-page a:focus,
.acompanhamento-page a:active,
.acompanhamento-page button:focus,
.acompanhamento-page button:active {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent;
}

/* Custom Page Container (Decoupled from global Bootstrap overrides) */
.acompanhamento-page .page-container {
    padding-left: 24px;
    padding-right: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.acompanhamento-page .avaliacoes-page {
    margin-top: 0;
    padding-top: 0; /* Eliminated top padding */
    background: transparent !important;
}

/* 2. Hero Section */
.acompanhamento-page .acompanhamento-hero {
    background: linear-gradient(135deg, #3f7ef3 0%, #0a46a6 100%);
    padding: 28px 48px; /* Restored balanced padding */
    color: #fff;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    margin-top: 3px;
    margin-bottom: 1px; /* Gap narrowed to 1px */
    box-shadow: 0 10px 25px rgba(22, 62, 110, 0.2);
}

.acompanhamento-page .acompanhamento-hero .hero-icon {
    position: absolute;
    right: 80px; /* Nudged left as requested */
    top: 50%;
    transform: translateY(-50%) rotate(15deg);
    font-size: 120px;
    color: #fff;
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
}

.acompanhamento-page .acompanhamento-hero::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
    transform: rotate(25deg);
    pointer-events: none;
}

.acompanhamento-page .acompanhamento-hero h1 {
    font-size: 32px; /* Less 'shouting' title */
    font-weight: 800;
    line-height: 1.15;
    max-width: 600px;
    margin-bottom: 12px;
    color: #fff;
}

.acompanhamento-page .acompanhamento-hero h2 {
    font-size: 16px; /* Balanced subtitle size */
    line-height: 1.5;
    max-width: 500px;
    opacity: 0.85;
    margin-bottom: 24px;
    font-weight: 400;
    color: #fff;
}

.acompanhamento-page .acompanhamento-hero .btn {
    background: #ffffff;
    color: #163e6e;
    border: none;
    border-radius: 999px;
    padding: 12px 28px; /* Compact button */
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.acompanhamento-page .acompanhamento-hero .btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.6) 50%, 
        rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: none;
}

.acompanhamento-page .acompanhamento-hero .btn:hover::after {
    left: 150%;
    transition: all 0.6s ease-in-out;
}

.acompanhamento-page .acompanhamento-hero .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    background: #ffffff;
    color: #1c64a3;
}

/* 3. Radar Section & Card Scoping */
.acompanhamento-page .acompanhamento-card {
    border: none;
    border-radius: 24px;
    background: #ffffff !important;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08) !important;
    margin-bottom: 0; /* Eliminated bottom margin */
    overflow: hidden;
}

.acompanhamento-page .product-list-col {
    margin-bottom: 28px;
}

/* Neutralize the legacy .ibox container only for the evaluations list to prevent "ghost borders" */
.acompanhamento-page .avaliacoes-page .ibox {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
}

.acompanhamento-page .acompanhamento-list-title {
    text-align: center;
    margin: 12px 0; /* Reduced spacing */
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    position: relative;
    z-index: 2;
}

.acompanhamento-page .ibox-content {
    background: transparent;
    border: none;
    padding: 0;
}

.acompanhamento-page .acompanhamento-lista,
.acompanhamento-page .acompanhamento-lista > .page-container,
.acompanhamento-page .avaliacoes-page .row,
.acompanhamento-page .avaliacoes-page .row-eq-height {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.acompanhamento-page .row,
.acompanhamento-page .col-md-12,
.acompanhamento-page .col-md-6,
.acompanhamento-page .col-md-4 {
    background: transparent;
}

.acompanhamento-page .acompanhamento-card .ibox-content {
    padding: 48px !important;
    border: none;
    min-height: 520px; /* Lock height to prevent jitter */
}

.acompanhamento-page .acompanhamento-title-left {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 32px;
    margin-top: 0;
}

.acompanhamento-page .acompanhamento-profile-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
        align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.acompanhamento-page .profile-photo img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    outline: none !important;
}

.acompanhamento-page .profile-photo a {
    outline: none !important;
    text-decoration: none !important;
}

.acompanhamento-page .profile-meta {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
}

.acompanhamento-page .profile-name {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.acompanhamento-page .profile-subtitle {
    font-size: 14px;
    color: #64748b;
}

.acompanhamento-page .acompanhamento-presentation {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 32px;
    text-align: justify;
    max-width: 100%;
}

.acompanhamento-page .acompanhamento-actions-left {
    display: -ms-flexbox;
    display: flex;
    gap: 4px; /* Even closer together */
    margin-top: auto;
}

.acompanhamento-page .acompanhamento-actions-left .label {
    padding: 8px 24px; /* Restored comfortable width */
    border-radius: 50px;
    font-size: 13px; /* Restored font size */
    font-weight: 700;
    background: #f1f5f9;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
        align-items: center;
    -ms-flex-pack: center;
        justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.acompanhamento-page .acompanhamento-actions-left .label::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.6) 50%, 
        rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: none;
}

.acompanhamento-page .acompanhamento-actions-left .label:hover::after {
    left: 150%;
    transition: all 0.6s ease-in-out;
}

.acompanhamento-page .acompanhamento-actions-left .label-success {
    background: linear-gradient(135deg, #3f7ef3, #1a56db) !important;
    color: #fff !important;
    border: 1px solid transparent !important;
    box-shadow: 0 6px 15px rgba(63, 126, 243, 0.3);
}

.acompanhamento-page .acompanhamento-radar {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
        justify-content: center;
    -ms-flex-align: center;
        align-items: center;
    height: 400px; /* Fixed height to prevent jitter */
    padding-top: 32px;
}

.acompanhamento-page #radarCorporateGeral {
    width: 100% !important;
    max-height: 400px;
    animation: fadeInRadar 0.6s ease-out;
}

@keyframes fadeInRadar {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 4. Evaluations List & Product Cards */
.acompanhamento-page .product-box {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
    height: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.acompanhamento-page .product-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.acompanhamento-page .product-imitation {
    height: 120px;
    background-size: cover !important;
    background-position: center !important;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    position: relative; /* For the overlay */
}

.acompanhamento-page .product-imitation::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    pointer-events: none;
    transition: background 0.3s ease;
}

.acompanhamento-page .product-imitation.filter-finalizado::after {
    background: rgba(16, 185, 129, 0.35); /* Increased saturation */
}

.acompanhamento-page .product-imitation.filter-andamento::after {
    background: rgba(245, 158, 11, 0.35); /* Increased saturation */
}

.acompanhamento-page .product-desc {
    padding: 24px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
    -ms-flex-positive: 1;
        flex-grow: 1;
}

.acompanhamento-page .product-desc h3 {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin: 24px 0 12px; /* Increased top margin for breathing space */
    line-height: 1.4;
}

/* Status Badges - Scoped */
.acompanhamento-page .status-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    z-index: 5;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.acompanhamento-page .status-badge.finalizado {
    background: linear-gradient(135deg, #10b981, #059669);
}

.acompanhamento-page .status-badge.inativo {
    background: linear-gradient(135deg, #64748b, #475569);
}

/* Buttons - Scoped & Layout Fix */
.acompanhamento-page .btn-responder {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
        align-items: center;
    -ms-flex-pack: center;
        justify-content: center;
    padding: 10px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2d7fc2, #325691);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

/* Decoupled Product Footer */
.acompanhamento-page .product-footer {
    padding: 0 24px 24px;
    margin-top: auto;
    width: 100%;
    background: transparent;
}

.acompanhamento-page .btn-resultado {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
        align-items: center;
    -ms-flex-pack: center;
        justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 14px;
    background: #f1f5f9; /* Subtle by default */
    color: #1e293b;
    font-weight: 700;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    width: 100%;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden; /* For shine effect */
}

.acompanhamento-page .btn-resultado:hover {
    background: linear-gradient(135deg, #3f7ef3, #1a56db); /* Cleaner, pure blue */
    color: #ffffff !important;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(63, 126, 243, 0.3);
}

/* Shine Animation (Home Style) */
.acompanhamento-page .btn-resultado::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.6) 50%, 
        rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: none;
}

.acompanhamento-page .btn-resultado:hover::after {
    left: 150%;
    transition: all 0.6s ease-in-out;
}

/* 5. Results Modal (Scoped to .modal-resultados) */
.modal-resultados .modal-header {
    padding: 32px;
    border-bottom: none;
}

.modal-resultados .modal-title {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
    margin-top: 16px;
}

.modal-resultados .modal-body {
    padding: 0 32px 32px;
}

.modal-resultados .radar-modal-container {
    width: 100%;
    height: 400px;
    margin-top: 40px; /* Space (respiro) between header and radar */
    margin-bottom: 40px;
}

/* Scoped Relevancy Table */
.modal-resultados .tabela-relevancias {
    width: 100%;
    margin-bottom: 32px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-collapse: separate;
}

.modal-resultados .tabela-relevancias td {
    padding: 16px 20px !important;
    background: #fff;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 15px;
}

.modal-resultados .tabela-relevancias tr:last-child td {
    border-bottom: none !important;
}

/* Module-Specific Utilities (Replacing Global Overrides) */
.acompanhamento-page .acompanhamento-center { text-align: center; }
.acompanhamento-page .acompanhamento-right { text-align: right; }
.acompanhamento-page .text-warning { color: #f59e0b; }
.acompanhamento-page .text-success { color: #10b981; }
.acompanhamento-page .m-t-md { margin-top: 20px; }
.acompanhamento-page .m-b-md { margin-bottom: 20px; }

/* 6. Media Queries (Scoped to .page-container) */
@media (max-width: 991px) {
    .acompanhamento-page .acompanhamento-hero h1 { font-size: 36px; }
    .acompanhamento-page .acompanhamento-radar { min-height: 350px; }
}

@media (max-width: 768px) {
    .acompanhamento-page {
        background-attachment: scroll !important;
        margin: -15px -15px -60px -15px !important;
        padding: 12px 0 72px;
    }

    .acompanhamento-page .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }

    .acompanhamento-page .page-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .acompanhamento-page .m-t-md {
        margin-top: 12px;
    }

    .acompanhamento-page .avaliacoes-page .page-container {
        padding-top: 0;
        padding-bottom: 0;
    }

    .acompanhamento-page .acompanhamento-hero {
        padding: 32px 22px;
        border-radius: 22px;
        margin-top: 0;
    }

    .acompanhamento-page .acompanhamento-hero::after {
        width: 220px;
        height: 220px;
        top: auto;
        bottom: -92px;
        right: -88px;
    }

    .acompanhamento-page .acompanhamento-hero .hero-icon {
        right: 22px;
        bottom: 26px;
        top: auto;
        transform: rotate(15deg);
        font-size: 84px;
    }

    .acompanhamento-page .acompanhamento-hero h1 {
        font-size: 26px;
        max-width: 280px;
    }

    .acompanhamento-page .acompanhamento-hero h2 {
        font-size: 15px;
        margin-bottom: 22px;
        max-width: 100%;
    }

    .acompanhamento-page .loader-shell { padding: 0 12px; }
    .acompanhamento-page .loader-card { padding: 16px 18px; }
    .acompanhamento-page .loader-copy { width: 100%; }

    .acompanhamento-page .acompanhamento-card {
        border-radius: 22px;
        overflow: hidden;
    }

    .acompanhamento-page .acompanhamento-card .ibox-content {
        padding: 30px 20px !important;
        min-height: 0;
        border-radius: inherit;
    }

    .acompanhamento-page .acompanhamento-title-left {
        font-size: 20px;
        margin-bottom: 24px;
        text-align: center;
    }

    .acompanhamento-page .acompanhamento-profile-header {
        -ms-flex-pack: center;
            justify-content: center;
        text-align: left;
    }

    .acompanhamento-page .acompanhamento-presentation {
        text-align: left;
        margin-bottom: 24px;
    }

    .acompanhamento-page .acompanhamento-actions-left {
        width: 100%;
        -ms-flex-pack: center;
            justify-content: center;
        -ms-flex-align: center;
            align-items: center;
        gap: 10px;
    }

    .acompanhamento-page .acompanhamento-actions-left .label {
        min-width: 88px;
    }

    .acompanhamento-page .acompanhamento-radar {
        height: auto;
        min-height: 320px;
        padding-top: 20px;
        padding-bottom: 4px;
    }

    .acompanhamento-page #radarCorporateGeral {
        width: min(100%, 320px) !important;
        height: min(calc(100vw - 56px), 320px) !important;
        max-width: 320px;
        max-height: 320px;
        margin: 0 auto;
    }

    .acompanhamento-page .acompanhamento-list-title {
        margin: 4px 0 10px;
        background: transparent !important;
    }

    .acompanhamento-page .avaliacoes-page .row.row-eq-height {
        margin-left: 0;
        margin-right: 0;
    }

    .acompanhamento-page .product-list-col {
        margin-bottom: 16px;
        padding-left: 0;
        padding-right: 0;
    }

    .acompanhamento-page .acompanhamento-card,
    .acompanhamento-page .product-box {
        margin-left: 0;
        margin-right: 0;
    }

    .acompanhamento-page .product-desc {
        padding: 22px 20px 18px;
    }

    .acompanhamento-page .product-footer {
        padding: 0 20px 18px;
        background: transparent !important;
    }

    .acompanhamento-page .btn-resultado {
        margin-bottom: 0;
    }
}

/*# sourceMappingURL=acompanhamento-2d0db5d004.css.map */
