/* =========================
   NOVO POST DO BLOG - LAYOUT
   ========================= */

/* Wrapper geral da página */
.novo-post-wrapper {
    max-width: 900px;
    margin: 40px auto;
}

/* Cabeçalho da área do colaborador */
.np-collab {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 25px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.np-collab__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.np-collab__text {
    font-size: 13px;
    color: #555;
}

.np-collab__logout {
    display: inline-block;
    padding: 8px 16px;
    background: #c62828;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.1s ease;
}

.np-collab__logout:hover {
    background: #b71c1c;
    transform: translateY(-1px);
}

.np-collab__logout:active {
    background: #8e0000;
    transform: translateY(0);
}

/* Título principal da seção de publicação */
.np-section-title {
    margin-bottom: 20px;
    font-size: 26px;
    font-weight: 700;
    color: #333;
}

/* Grid 60/40 
.np-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 30px;
}*/

/* GRID DAS CAIXAS "SIGA ESTES PASSOS" E "DICAS IMPORTANTES" */

/* Desktop: duas colunas (60/40) */
.np-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); /* 60/40 */
    gap: 25px;
    margin-bottom: 30px;
    width: 100%;
}

/* Opcional: se quiser 50/50, use:
   grid-template-columns: 1fr 1fr;
*/

/* Os cartões continuam ocupando 100% da célula do grid */
.np-card--wide,
.np-card--narrow {
    width: 100%;
}

/* Mobile: empilha em uma coluna só */
@media (max-width: 768px) {
    .np-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}




/* Cartões principais */
.np-card {
    background: #fafafa;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    padding: 20px 22px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    font-size: 14px;
    color: #555;
    line-height: 1.65;
}

/* Larguras (desktop) */
.np-card--wide {
    flex: 1 1 40%;
    min-width: 50px;
}

.np-card--narrow {
    flex: 1 1 40%;
    min-width: 50px;
}

/* Título do cartão */
.np-card__title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Ícone colorido */
.np-card__icon {
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Cores dos ícones */
.np-card__icon--steps {
    color: #1976d2; /* azul */
}

.np-card__icon--tips {
    color: #f9a825; /* amarelo */
}

/* Lista ordenada dentro do cartão */
.np-card__list {
    margin: 0;
    padding-left: 22px;
}

/* Card de sucesso */
.np-alert {
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.np-alert--success {
    border: 1px solid #c8e6c9;
    background: #e8f5e9;
    color: #2e7d32;
}

.np-alert__icon {
    font-size: 20px;
    line-height: 1;
    margin-top: 2px;
}

/* Formulário ACF - botão Enviar post */
.np-form input[type="submit"],
.np-form button[type="submit"] {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    border: none;
    background: #1976d2;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.np-form input[type="submit"]:hover,
.np-form button[type="submit"]:hover {
    background: #1565c0;
    transform: translateY(-1px);
}

.np-form input[type="submit"]:active,
.np-form button[type="submit"]:active {
    background: #0d47a1;
    transform: translateY(0);
}

/* Tabela de posts do colaborador */
.np-page-title {
    margin: 30px 0 20px;
    font-size: 26px;
    font-weight: 700;
    color: #333;
}

.np-posts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.np-posts-table thead {
    background: #f5f5f5;
}

.np-posts-table th,
.np-posts-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

.np-posts-table th {
    font-weight: 600;
    color: #444;
}

.np-posts-table tr:hover td {
    background: #fafafa;
}

.np-badge-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.np-badge-status--publish {
    background: #e8f5e9;
    color: #2e7d32;
}

.np-badge-status--pending {
    background: #fff8e1;
    color: #f9a825;
}

.np-badge-status--draft {
    background: #eceff1;
    color: #546e7a;
}

.np-actions a {
    margin-right: 8px;
    font-size: 13px;
    text-decoration: none;
}

.np-actions a.np-btn-edit {
    color: #1976d2;
}

.np-actions a.np-btn-delete {
    color: #c62828;
}

/* MENU DO PAINEL DO COLABORADOR */

.np-panel-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 25px 0 35px;
}

.np-panel-link {
    flex: 1 1 200px;
    min-width: 200px;
    padding: 18px 20px;
    background: #fafafa;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease, transform 0.1s ease, background 0.2s ease;
}

.np-panel-link:hover {
    background: #f5f5f5;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

.np-panel-link__title {
    font-size: 15px;
    font-weight: 600;
}

.np-panel-link__icon {
    font-size: 22px;
}

.np-panel-link__desc {
    font-size: 13px;
    color: #666;
}

/* Responsivo */
@media (max-width: 768px) {
    .np-grid {
        gap: 15px;
    }

    .np-card--wide,
    .np-card--narrow {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .np-section-title {
        font-size: 22px;
    }

    .np-page-title {
        font-size: 22px;
    }

    .np-panel-menu {
        gap: 15px;
    }
}


/* Mini navegação do colaborador (topo das páginas) */
.np-subnav {
    margin-bottom: 18px;
    font-size: 13px;
    color: #555;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.np-subnav__label {
    font-weight: 600;
    color: #333;
}

.np-subnav a {
    text-decoration: none;
    color: #1976d2;
    font-weight: 500;
}

.np-subnav a:hover {
    text-decoration: underline;
}

.np-subnav__sep {
    color: #999;
}

/* No mobile, só diminui um pouco o espaço */
@media (max-width: 768px) {
    .np-subnav {
        margin-bottom: 14px;
        font-size: 12px;
    }
}
