/* CSS ESPECIFICO PARA OS BLOCOS NA PÁGINA INICIAL */

.adicionar-blocos-container {
    max-width: 520px;      /* Um pouco mais estreito */
    width: 100%;
    justify-content: center;
    gap: 0.5rem;           /* Aproxima mais os ícones */
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    display: flex;
    flex-wrap: wrap;
}

/* Botão minimalista, só ícone, com tooltip e animação sutil */
.bloco-btn-minimal {
    width: 40px;           /* Menor */
    height: 40px;
    font-size: 1.15rem;    /* Ícone menor */
    margin-bottom: 0.1rem;
    flex: 0 0 16%;         /* 6 ícones por linha, ajusta conforme preferir */
    min-width: 36px;
    max-width: 44px;
    border-radius: 50px;
    border: 1.5px solid #e3f0fc;
    background: #fff;
    color: #1976d2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.13s, border-color 0.13s, background 0.13s, color 0.13s, transform 0.13s;
    text-decoration: none;
    position: relative;
    z-index: 2;
    cursor: pointer;
    outline: none;
    overflow: visible;
}
.bloco-btn-minimal:hover, .bloco-btn-minimal:focus {
    box-shadow: 0 2px 8px rgba(30,144,255,0.10);
    border-color: #b3daff;
    background: #f5faff;
    color: #125ea7;
    transform: scale(1.13);
}

/* Tooltip customizado */
.bloco-btn-minimal[data-tooltip]:hover:after,
.bloco-btn-minimal[data-tooltip]:focus:after {
    content: attr(data-tooltip);
    position: absolute;
    top: -2.2em;
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    padding: 2px 10px;
    border-radius: 8px;
    font-size: 0.95rem;
    white-space: nowrap;
    z-index: 9999;
    opacity: 0.97;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.13);
}

/* Gamification Stardust (leve, opcional) */
.stardust {
    position: absolute;
    top: -8px; right: -8px;
    font-size: 1.1rem;
    color: #ffd700;
    animation: stardust-pop 0.7s;
}
@keyframes stardust-pop {
    0% { transform: scale(0.2) rotate(-20deg); opacity: 0; }
    60% { transform: scale(1.2) rotate(10deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* Mobile: ícones maiores e até 3 linhas */
@media (max-width: 600px) {
    .adicionar-blocos-container {
        max-width: 100%;
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .bloco-btn-minimal {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        flex: 0 0 22%; /* Aproximadamente 4 por linha */
        min-width: 44px;
        max-width: 60px;
    }
    .bloco-btn-minimal[data-tooltip]:hover:after,
    .bloco-btn-minimal[data-tooltip]:focus:after {
        font-size: 0.95rem;
        top: -2.2em;
    }
}

@media (min-width: 601px) {
    .adicionar-blocos-container {
        max-width: 350px; /* 5 ícones x 64px + gaps */
    }
    .bloco-btn-minimal {
        flex: 0 0 18%; /* Aproximadamente 5 por linha */
    }
}
.personalizacao_post{
    transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
}
.personalizacao_post:hover{
    box-shadow: 0 2px 8px rgba(30,144,255,0.07);
    transform: translateY(-2px) scale(1.00);
    border-color: #e0ebf5;
}

.coluna-esquerda > .bloco {
    transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
}

.coluna-esquerda > .bloco:hover {
    box-shadow: 0 2px 8px rgba(30,144,255,0.07);
    transform: translateY(-2px) scale(1.00);
    border-color: #e0ebf5;
}

.bloco-vazio {
    border: 1.5px dashed #b3daff;
    border-radius: 14px;
    background: #f6fafd;
    box-shadow: 0 2px 8px rgba(30,144,255,0.04);
    text-align: center;
    padding: 2rem 1rem 1.5rem 1rem;
    margin-top: 1.5rem;
}
.bloco-vazio-icone {
    font-size: 2.2rem;
    color: #b3daff;
    margin-bottom: 0.5rem;
    display: block;
}
.bloco-vazio-titulo {
    font-size: 1.15rem;
    color: #1976d2;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.bloco-vazio-msg {
    color: #6c757d;
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}
.bloco-vazio-tip {
    color: #b3b3b3;
    font-size: 0.95rem;
}

/* CSS PARA O BLOCO VAZIO */
.bloco-vazio {
    border: 1.5px dashed #b3daff;
    border-radius: 14px;
    background: #f6fafd;
    box-shadow: 0 2px 8px rgba(30,144,255,0.04);
    text-align: center;
    padding: 2rem 1rem 1.5rem 1rem;
    margin-top: 1.5rem;
}
.bloco-vazio-icone {
    font-size: 2.2rem;
    color: #b3daff;
    margin-bottom: 0.5rem;
    display: block;
}
.bloco-vazio-titulo {
    font-size: 1.15rem;
    color: #1976d2;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.bloco-vazio-msg {
    color: #6c757d;
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}
.bloco-vazio-tip {
    color: #b3b3b3;
    font-size: 0.95rem;
}

/* CSS PERSONALIZADO PARA OS BLOCOS CENTRAL */
.adicionar-blocos-container_centro {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    max-width: 600px;
    margin: 0.5rem auto 0.7rem auto; /* Menor espaço acima, um pouco abaixo */
    padding: 0 0.5rem;
    overflow: visible;
}

.adicionar-blocos-container_centro .btn-adicionar-centro {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 1.25rem;
    border: 1.5px solid #b3daff; /* Azul igual ao bloco destacado */
    color: #1a237e;
    background: #fff;
    transition: box-shadow 0.13s, border-color 0.13s, background 0.13s, color 0.13s, transform 0.13s;
    box-shadow: none;
    margin: 0;
}
.adicionar-blocos-container_centro .btn-adicionar-centro:hover,
.adicionar-blocos-container_centro .btn-adicionar-centro:focus {
    box-shadow: 0 2px 8px rgba(30,144,255,0.10);
    border-color: #1976d2; /* Azul mais forte no hover */
    background: #f5faff;
    color: #125ea7;
    transform: scale(1.10);
}

@media (max-width: 900px) {
    .adicionar-blocos-container_centro {
        max-width: 380px; /* Menos ícones por linha, mais linhas */
    }
}
@media (max-width: 600px) {
    .adicionar-blocos-container_centro {
        max-width: 100%;
        gap: 0.4rem;
        padding: 0 0.2rem;
    }
    .adicionar-blocos-container_centro .btn-adicionar-centro {
        width: 38px;
        height: 38px;
        font-size: 1.05rem;
    }
}

/* CSS PARA PÁGINAS DE IMPORTAÇÃO */
.importacao-passoapasso {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    gap: 0.5rem;
}
.passo {
    background: #e3f0fc;
    color: #1976d2;
    padding: 0.3em 0.8em;
    border-radius: 16px;
    font-weight: 500;
}
.passo.ativo {
    background: #1976d2;
    color: #fff;
}
.seta {
    color: #b3daff;
    font-size: 1.2em;
}
.card-importacao {
    background: #f8fafc;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(30,144,255,0.07);
    padding: 1.5rem 1.2rem;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.card-importacao h3 {
    color: #1976d2;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}
.card-importacao ol {
    padding-left: 1.2em;
}
.card-importacao li {
    margin-bottom: 0.5em;
    font-size: 1.05rem;
}
.card-importacao .dica {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    padding: 0.8em 1em;
    margin-top: 1.2em;
    font-size: 1rem;
}

/* TELA DE CONFIRMAÇÃO DE IMPORTAÇÃO DE USUÁRIOS */
.confirmacao-importacao-card {
    max-width: 620px;
    margin: 3rem auto 2rem auto;
    background: #f8fafc;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(30,144,255,0.07);
    padding: 2.2rem 2rem 1.5rem 2rem;
    text-align: center;
}
.confirmacao-importacao-card .icone-alerta {
    font-size: 3rem;
    color: #f7b731;
    margin-bottom: 1rem;
}
.confirmacao-importacao-card h2 {
    color: #1976d2;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}
.confirmacao-importacao-card p {
    color: #444;
    font-size: 1.08rem;
    margin-bottom: 1.2rem;
}
.confirmacao-importacao-card .btn {
    padding: 0.6em 1.5em;
    font-size: 1.05rem;
    border-radius: 22px;
    margin: 0 0.3em;
}

/* CONFIRMAÇÃO DE EXCLUSÃO */
.confirmacao-excluir-card {
    max-width: 800px;
    margin: 3rem auto 2rem auto;
    background: #fff8f0;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(255,87,34,0.07);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    border: 1.5px solid #ffd6b3;
}
.confirmacao-excluir-card .icone-alerta {
    font-size: 2.5rem;
    color: #ff9800;
    margin-bottom: 1rem;
}
.confirmacao-excluir-card h3 {
    color: #d84315;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}
.confirmacao-excluir-card .btn {
    padding: 0.5em 1.3em;
    font-size: 1rem;
    border-radius: 20px;
    margin: 0 0.3em;
}

/* CAMPO BUSCA */
.campo-busca-custom {
    width: 100%;
    margin: 0;
}
.campo-busca-custom .input-group {
    width: 100%;
}
.campo-busca-custom .form-control {
    border-radius: 18px 0 0 18px;
    border: 1px solid #b3daff;
    font-size: 0.98rem;
    height: 36px;
    padding: 0 0.9em;
    box-shadow: none;
    transition: border-color 0.2s;
}
.campo-busca-custom .form-control:focus {
    border-color: #1976d2;
    box-shadow: 0 0 0 2px #e3f0fc;
}
.campo-busca-custom .btn-busca {
    border-radius: 0 18px 18px 0;
    background: #1976d2;
    color: #fff;
    border: 1px solid #1976d2;
    font-size: 1.05rem;
    padding: 0 0.9em;
    height: 36px;
    min-width: 38px;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.campo-busca-custom .btn-busca:hover {
    background: #125ea7;
    color: #fff;
}
.campo-busca-custom .oi {
    font-size: 1.1em;
}