/* =========================================
   TRUUD KNOWLEDGE BASE STYLES (PLAYBOOKS)
   ========================================= */

.truud-doc-container {
    font-family: 'Montserrat', sans-serif !important;
    background-color: #1a1a1a !important;
    color: #e0e0e0 !important;
    padding: 40px; /* Mais respiro interno */
    line-height: 1.6;
    
    /* O HACK PARA PREENCHER O ESPAÇO BRANCO */
    margin: -25px !important; /* Puxa para fora cobrindo o padding original do Perfex */
    width: calc(100% + 50px) !important; /* Compensa a largura perdida */
    border-radius: 4px; /* Arredondamento suave */
    box-shadow: 0 0 20px rgba(0,0,0,0.5); /* Sombra para dar profundidade */
}

.truud-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #333;
    padding-bottom: 20px;
}

.truud-title {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    /* Gradiente no texto */
    background: -webkit-linear-gradient(45deg, #0071bc, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.truud-subtitle {
    font-size: 14px;
    color: #a0a0a0 !important;
    letter-spacing: 1px;
}

/* FASES / MARCOS */
.phase-block {
    background-color: #242424 !important;
    border: 1px solid #333;
    border-left: 5px solid #0071bc !important;
    border-radius: 6px;
    margin-bottom: 40px;
    padding: 20px;
}

.phase-title {
    color: #fff !important;
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.phase-badge {
    background: #0071bc;
    color: #fff !important;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 10px;
    text-transform: uppercase;
    vertical-align: middle;
}

.phase-desc {
    color: #bbb !important;
    font-size: 13px;
    margin-bottom: 20px;
    font-style: italic;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

/* TAREFAS */
.task-item {
    background-color: #1a1a1a !important;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #2a2a2a;
}

.task-header {
    color: #ff00ff !important;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.task-meta {
    font-size: 10px;
    color: #fff !important;
    background: #333;
    padding: 2px 8px;
    border-radius: 3px;
    text-transform: uppercase;
}

.task-desc {
    font-size: 13px;
    color: #ccc !important;
    margin-bottom: 15px;
}

/* CHECKLIST */
ul.truud-checklist {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

ul.truud-checklist li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #d0d0d0 !important;
}

ul.truud-checklist li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #0071bc;
    font-weight: bold;
}

ul.truud-checklist strong {
    color: #fff !important;
    font-weight: 600;
}

/* RECORRÊNCIA E ALERTAS */
.ongoing-block {
    border-left-color: #ff00ff !important;
}
.ongoing-block .phase-badge {
    background: #ff00ff !important;
}

.warning-box {
    background-color: #3e1a1a !important; /* Vermelho escuro */
    border: 1px solid #800;
    color: #ffcccc !important;
    padding: 10px;
    font-size: 12px;
    border-radius: 4px;
    margin-top: 10px;
}

/* FORÇAR LARGURA TOTAL NA PÁGINA DE ARTIGO (KNOWLEDGE BASE) */
body.kb-view-article .col-md-8.col-md-offset-2 {
    width: 100% !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body.kb-view-article .container {
    width: 98% !important; /* Usa quase toda a tela */
}

/* ESTILOS EXTRAS PARA O MANUAL DETALHADO */
.script-box {
    background-color: #0d0d0d !important;
    border: 1px dashed #444;
    padding: 15px;
    margin: 10px 0;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #00ff9d !important; /* Verde Matrix para destacar scripts */
    font-size: 12px;
}
.script-label {
    display: block;
    font-weight: bold;
    color: #888;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 10px;
}
.step-title {
    color: #0071bc;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 5px;
    display: block;
}