/* Estilos específicos para apagar.php */

/* Cabeçalho */
section.content header h2 {
    color: #b30000;
    margin-bottom: 20px;
    font-size: 1.4em;
    text-align: center;
}

/* Caixa de confirmação */
.confirm-box {
    background: #fff5f5; /* tom suave em vez de vermelho forte */
    border: 1px solid #cc0000;
    padding: 20px;
    border-radius: 6px;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.confirm-box p {
    font-size: 1em;
    margin-bottom: 20px;
    color: #660000;
    font-weight: bold;
}

/* Botões */
.doc-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.doc-actions .btn {
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease-in-out;
    text-align: center;
    min-width: 120px;   /* largura mínima consistente */
    line-height: 1.2em; /* altura uniforme */
}

/* Botão de perigo (confirmar apagar) */
.btn.btn-danger {
    background: #cc0000;
    color: #fff;
    border: none;
}

.btn.btn-danger:hover {
    background: #990000;
}

/* Botão secundário (cancelar) */
.btn.btn-secondary {
    background: #666;
    color: #fff;
    border: none;
}

.btn.btn-secondary:hover {
    background: #444;
}

/* Alertas */
.alert {
    padding: 12px;
    margin: 15px 0;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
}

.alert.success {
    background: #e6ffe6;
    border: 1px solid #33cc33;
    color: #006600;
}

.alert.error {
    background: #ffe6e6;
    border: 1px solid #cc0000;
    color: #990000;
}

/* Responsividade */
@media (max-width: 600px) {
    .doc-actions {
        flex-direction: column;
    }
    .doc-actions .btn {
        width: 100%;
    }
}
